* installing *source* package ‘rtiktoken’ ...
** this is package ‘rtiktoken’ version ‘0.0.7’
** package ‘rtiktoken’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.93.0 (083ac5135 2025-12-15)
Using rustc 1.93.0 (254b59607 2026-01-19)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
Warning in system2("xcrun", "--show-sdk-version", TRUE, TRUE) :
  running command ''xcrun' --show-sdk-version 2>&1' had status 1
using SDK: ‘NA’
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -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 /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo && \
			cp rust/vendor-config.toml /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo/config.toml; \
		fi; \
	fi
export CARGO_HOME=/Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo && \
	export PATH="/opt/R/x86_64/bin:/opt/gfortran/bin:/Applications/CMake.app/CMake.app/Contents/bin:/Library/Frameworks/R.framework/Resources/bin:/opt/gfortran/bin:/opt/R/x86_64/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/opt/X11/bin:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/urbanek/.cargo/bin" && \
	RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target
warning: a `-j` argument was passed to Cargo but Cargo is also configured with an external jobserver in its environment, ignoring the `-j` parameter
   Compiling proc-macro2 v1.0.94
   Compiling memchr v2.7.4
   Compiling regex-syntax v0.8.5
   Compiling unicode-ident v1.0.18
   Compiling autocfg v1.4.0
   Compiling libc v0.2.171
   Compiling build-print v0.1.1
   Compiling extendr-ffi v0.8.0
   Compiling parking_lot_core v0.9.10
   Compiling lock_api v0.4.12
   Compiling aho-corasick v1.1.3
   Compiling quote v1.0.40
   Compiling bit-vec v0.6.3
   Compiling paste v1.0.15
   Compiling cfg-if v1.0.0
   Compiling anyhow v1.0.97
   Compiling scopeguard v1.2.0
   Compiling smallvec v1.15.0
   Compiling bit-set v0.5.3
   Compiling syn v2.0.100
   Compiling extendr-api v0.8.0
   Compiling parking_lot v0.12.3
   Compiling rustc-hash v1.1.0
   Compiling regex-automata v0.4.9
   Compiling base64 v0.21.7
   Compiling lazy_static v1.5.0
   Compiling once_cell v1.21.3
   Compiling extendr-macros v0.8.0
   Compiling regex v1.11.1
   Compiling bstr v1.12.0
   Compiling fancy-regex v0.12.0
   Compiling tiktoken-rs v0.5.9
   Compiling rtiktoken v0.1.0 (/Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/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: -liconv -lR -lSystem -lc -lm

    Finished `release` profile [optimized] target(s) in 42.16s
# Always clean up CARGOTMP
rm -Rf /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo;
clang -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o rtiktoken.so entrypoint.o -L./rust/target/release -lrtiktoken -F/Library/Frameworks/R.framework/.. -framework R
rm -Rf /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/vendor ./rust/target
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00LOCK-rtiktoken/00new/rtiktoken/libs
** generating debug symbols (dSYM)
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(std-80c57efd13e5c60f.std.6723c73a6a2c3812-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(panic_unwind-609eec6b68420c23.panic_unwind.8a11b8e3a536324e-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(memchr-7633c0af176ce18f.memchr.62151324e58f9a71-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(std_detect-3d2b83b4ef271faf.std_detect.f484fbc3183826d-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(hashbrown-d63660a4bacc6e0d.hashbrown.d999ac00aa297d90-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(alloc-2ae10ae5c48735a7.alloc.cd66f8b944d0d1ee-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(core-ebd38e986244aca3.core.35ed32324c362c64-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(compiler_builtins-5f28702a8bd39742.compiler_builtins.3e851ac2cc681d13-cgu.087.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(compiler_builtins-5f28702a8bd39742.compiler_builtins.3e851ac2cc681d13-cgu.090.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/./rust/target/release/librtiktoken.a(compiler_builtins-5f28702a8bd39742.compiler_builtins.3e851ac2cc681d13-cgu.127.rcgu.o) unable to open object file: No such file or directory
** 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)