* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘rtiktoken’ ...
** package ‘rtiktoken’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.81.0 (2dbb1af80 2024-08-20)
Using rustc 1.81.0
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-6) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src'
rm -Rf rtiktoken.so ./rust/target/release/librtiktoken.a entrypoint.o /home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src/.cargo /home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src/vendor
gcc-14 -I"/home/hornik/tmp/R.check/r-release-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 /home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/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=/home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/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 proc-macro2 v1.0.87
   Compiling memchr v2.7.4
   Compiling unicode-ident v1.0.13
   Compiling libc v0.2.159
   Compiling aho-corasick v1.1.3
   Compiling autocfg v1.4.0
   Compiling regex-syntax v0.8.5
   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 cfg-if v1.0.0
   Compiling bit-vec v0.6.3
   Compiling smallvec v1.13.2
   Compiling anyhow v1.0.89
   Compiling scopeguard v1.2.0
   Compiling paste v1.0.15
   Compiling bit-set v0.5.3
   Compiling syn v2.0.79
   Compiling regex v1.11.0
   Compiling extendr-api v0.7.1
   Compiling fancy-regex v0.12.0
   Compiling extendr-macros v0.7.1
   Compiling parking_lot v0.12.3
   Compiling bstr v1.10.0
   Compiling base64 v0.21.7
   Compiling rustc-hash v1.1.0
   Compiling once_cell v1.20.2
   Compiling lazy_static v1.5.0
   Compiling tiktoken-rs v0.5.9
   Compiling rtiktoken v0.1.0 (/home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src/rust)
    Finished `release` profile [optimized] target(s) in 1m 10s
cargo 1.81.0 (2dbb1af80 2024-08-20)
rustc 1.81.0
rm -Rf /home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src/.cargo /home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src/vendor ./rust/target/release/build; \

gcc-14 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o rtiktoken.so entrypoint.o -L./rust/target/release -lrtiktoken -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpm993TL/R.INSTALL1fa801134264a9/rtiktoken/src'
installing to /home/hornik/tmp/R.check/r-release-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)