* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘rbm25’ ...
** this is package ‘rbm25’ version ‘0.0.4’
** package ‘rbm25’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.85.0 (d73d2caf9 2024-12-31)
Using rustc 1.85.0 (4d91de4e4 2025-02-17) (built from a source tarball)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-19) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src'
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c entrypoint.c -o entrypoint.o
# Check if NOT_CRAN is false and unzip vendor.tar.xz if so
if [ "" != "true" ]; then \
	if [ -f ./rust/vendor.tar.xz ]; then \
		tar xf rust/vendor.tar.xz && \
		mkdir -p /home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src/.cargo && \
		cp rust/vendor-config.toml /home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src/.cargo/config.toml; \
	fi; \
fi
export CARGO_HOME=/home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src/.cargo && \
export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \
RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target
   Compiling proc-macro2 v1.0.94
   Compiling unicode-ident v1.0.18
   Compiling serde_json v1.0.140
   Compiling serde v1.0.219
   Compiling ident_case v1.0.1
   Compiling version_check v0.9.5
   Compiling quote v1.0.40
   Compiling strsim v0.11.1
   Compiling syn v2.0.100
   Compiling fnv v1.0.7
   Compiling ahash v0.8.11
   Compiling darling_core v0.20.11
   Compiling itoa v1.0.15
   Compiling once_cell v1.21.3
   Compiling build-print v0.1.1
   Compiling memchr v2.7.4
   Compiling ryu v1.0.20
   Compiling darling_macro v0.20.11
   Compiling extendr-ffi v0.8.0
   Compiling zerocopy v0.7.35
   Compiling cfg-if v1.0.0
   Compiling thiserror v1.0.69
   Compiling stop-words v0.8.1
   Compiling darling v0.20.11
   Compiling thiserror-impl v1.0.69
   Compiling allocator-api2 v0.2.21
   Compiling paste v1.0.15
   Compiling hashbrown v0.14.5
   Compiling cached_proc_macro v0.23.0
   Compiling serde_derive v1.0.219
   Compiling web-time v1.1.0
   Compiling byteorder v1.5.0
   Compiling extendr-api v0.8.0
   Compiling cached_proc_macro_types v0.1.1
   Compiling cached v0.53.1
   Compiling fxhash v0.2.1
   Compiling extendr-macros v0.8.0
   Compiling rust-stemmers v1.2.0
   Compiling whichlang v0.1.1
   Compiling bm25 v0.3.1
   Compiling rbm25 v0.1.0 (/home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src/rust)
note: Link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.

note: native-static-libs: -lR -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc

    Finished `release` profile [optimized] target(s) in 55.44s
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src/.cargo;
gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o rbm25.so entrypoint.o -L./rust/target/release -lrbm25 -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src/.cargo /home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpq5b8Is/R.INSTALL1c786b2c59de38/rbm25/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-rbm25/00new/rbm25/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘rbm25’
    finding HTML links ... done
    BM25                                    html  
    bm25_score                              html  
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rbm25)