* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘rtiktoken’ ...
** package ‘rtiktoken’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.82.0 (8f40fc59f 2024-08-21)
Using rustc 1.82.0 (f6e511eec 2024-10-15) (built from a source tarball)
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src'
rm -Rf rtiktoken.so ./rust/target/release/librtiktoken.a entrypoint.o /tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/.cargo /tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/vendor
gcc-14 -I"/home/hornik/tmp/R.check/r-devel-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
if [ -f ./rust/vendor.tar.xz ]; then \
	tar xf rust/vendor.tar.xz && \
	mkdir -p /tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/.cargo && \
	cp rust/vendor-config.toml /tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/.cargo/config.toml; \
fi
# In some environments, ~/.cargo/bin might not be included in PATH, so we need
# to set it here to ensure cargo can be invoked. It is appended to PATH and
# therefore is only used if cargo is absent from the user's PATH.
if [ "" != "true" ]; then \
	export CARGO_HOME=/tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/.cargo; \
fi && \
	export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \
		cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target && \
		echo `cargo --version` && echo `rustc --version`;
   Compiling memchr v2.7.4
   Compiling proc-macro2 v1.0.87
   Compiling autocfg v1.4.0
   Compiling aho-corasick v1.1.3
   Compiling regex-syntax v0.8.5
   Compiling libc v0.2.159
   Compiling unicode-ident v1.0.13
   Compiling regex-automata v0.4.8
   Compiling lock_api v0.4.12
   Compiling parking_lot_core v0.9.10
   Compiling libR-sys v0.7.1
   Compiling quote v1.0.37
   Compiling paste v1.0.15
   Compiling anyhow v1.0.89
   Compiling bit-vec v0.6.3
   Compiling cfg-if v1.0.0
   Compiling smallvec v1.13.2
   Compiling scopeguard v1.2.0
   Compiling bit-set v0.5.3
   Compiling regex v1.11.0
   Compiling syn v2.0.79
   Compiling extendr-api v0.7.1
   Compiling extendr-macros v0.7.1
   Compiling fancy-regex v0.12.0
   Compiling parking_lot v0.12.3
   Compiling bstr v1.10.0
   Compiling once_cell v1.20.2
   Compiling base64 v0.21.7
   Compiling lazy_static v1.5.0
   Compiling rustc-hash v1.1.0
   Compiling tiktoken-rs v0.5.9
   Compiling rtiktoken v0.1.0 (/tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/rust)
    Finished `release` profile [optimized] target(s) in 51.22s
cargo 1.82.0 (8f40fc59f 2024-08-21)
rustc 1.82.0 (f6e511eec 2024-10-15) (built from a source tarball)
rm -Rf /tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/.cargo /tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src/vendor ./rust/target/release/build; \

gcc-14 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o rtiktoken.so entrypoint.o -L./rust/target/release -lrtiktoken -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src'
make[1]: Entering directory '/tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src'
make[1]: Leaving directory '/tmp/RtmpLbMLpL/R.INSTALLa7e0064967409/rtiktoken/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-rtiktoken/00new/rtiktoken/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (rtiktoken)