* installing *source* package ‘rtiktoken’ ...
** package ‘rtiktoken’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.70.0 (ec8a8a0ca 2023-04-25)
Using rustc 1.70.0 (90c541806 2023-05-31)
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
rm -Rf rtiktoken.so ./rust/target/release/librtiktoken.a entrypoint.o /Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo /Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/vendor
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c entrypoint.c -o entrypoint.o
if [ -f ./rust/vendor.tar.xz ]; then \
		tar xf rust/vendor.tar.xz && \
		mkdir -p /Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo && \
		cp rust/vendor-config.toml /Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/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=/Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo; \
	fi && \
		export PATH="/opt/gfortran/bin:/opt/R/arm64/bin:/Library/TeX/texbin:/usr/texbin:/opt/R/arm64/gfortran/bin:/usr/local/bin:/usr/local/gfortran/bin:/usr/local/teTeX/bin/arm64-apple-darwin-current:/Library/Frameworks/R.framework/Resources/bin:/opt/gfortran/bin:/opt/R/arm64/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/pkgbuild/.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 aho-corasick v1.1.3
   Compiling regex-syntax v0.8.5
   Compiling unicode-ident v1.0.13
   Compiling libc v0.2.159
   Compiling autocfg v1.4.0
   Compiling lock_api v0.4.12
   Compiling regex-automata v0.4.8
   Compiling parking_lot_core v0.9.10
   Compiling libR-sys v0.7.1
   Compiling quote v1.0.37
   Compiling smallvec v1.13.2
   Compiling bit-vec v0.6.3
   Compiling paste v1.0.15
   Compiling anyhow v1.0.89
   Compiling scopeguard v1.2.0
   Compiling cfg-if v1.0.0
   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 lazy_static v1.5.0
   Compiling base64 v0.21.7
   Compiling rustc-hash v1.1.0
   Compiling once_cell v1.20.2
   Compiling tiktoken-rs v0.5.9
   Compiling rtiktoken v0.1.0 (/Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/rust)
    Finished release [optimized] target(s) in 38.03s
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
rustc 1.70.0 (90c541806 2023-05-31)
rm -Rf /Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/.cargo /Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00_pkg_src/rtiktoken/src/vendor ./rust/target/release/build; \

clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o rtiktoken.so entrypoint.o -L./rust/target/release -lrtiktoken -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/rtiktoken.Rcheck/00LOCK-rtiktoken/00new/rtiktoken/libs
** generating debug symbols (dSYM)
** 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)