* installing *source* package ‘tok’ ...
** this is package ‘tok’ version ‘0.2.2’
** package ‘tok’ 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.
Using MACOSX_DEPLOYMENT_TARGET=14.0
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
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/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/.cargo && \
cp rust/vendor-config.toml /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/.cargo/config.toml; \
fi
export MACOSX_DEPLOYMENT_TARGET="14.0" && export CARGO_HOME=/Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/.cargo && \
export PATH="/opt/R/arm64/bin:/opt/gfortran/bin:/Applications/CMake.app/CMake.app/Contents/bin:/Library/Frameworks/R.framework/Resources/bin:/opt/gfortran/bin:/opt/R/arm64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/rbuild/.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.106
Compiling unicode-ident v1.0.24
Compiling quote v1.0.45
Compiling serde_core v1.0.228
Compiling libc v0.2.185
Compiling shlex v1.3.0
Compiling find-msvc-tools v0.1.9
Compiling crossbeam-utils v0.8.21
Compiling cc v1.2.60
Compiling serde v1.0.228
Compiling ident_case v1.0.1
Compiling getrandom v0.3.4
Compiling strsim v0.11.1
Compiling cfg-if v1.0.4
Compiling zerocopy v0.8.48
Compiling fnv v1.0.7
Compiling memchr v2.8.0
Compiling crossbeam-epoch v0.9.18
Compiling rayon-core v1.13.0
Compiling syn v2.0.117
Compiling paste v1.0.15
Compiling pkg-config v0.3.33
Compiling rustversion v1.0.22
Compiling onig_sys v69.9.1
Compiling crossbeam-deque v0.8.6
Compiling once_cell v1.21.4
Compiling darling_core v0.20.11
Compiling either v1.15.0
Compiling zmij v1.0.21
Compiling extendr-ffi v0.9.0
Compiling version_check v0.9.5
Compiling portable-atomic v1.13.1
Compiling serde_derive v1.0.228
Compiling ppv-lite86 v0.2.21
Compiling ahash v0.8.12
Compiling darling_macro v0.20.11
Compiling rand_core v0.9.5
Compiling aho-corasick v1.1.4
Compiling darling v0.20.11
Compiling esaxx-rs v0.1.10
Compiling minimal-lexical v0.2.1
Compiling itoa v1.0.18
Compiling unicode-width v0.2.2
Compiling thiserror v2.0.18
Compiling serde_json v1.0.149
Compiling regex-syntax v0.8.10
Compiling derive_builder_core v0.20.2
Compiling derive_builder_macro v0.20.2
Compiling console v0.16.3
Compiling nom v7.1.3
Compiling regex-automata v0.4.14
Compiling castaway v0.2.4
Compiling rand_chacha v0.9.0
Compiling rayon v1.12.0
Compiling monostate-impl v0.1.18
Compiling thiserror-impl v2.0.18
Compiling itertools v0.14.0
Compiling lazy_static v1.5.0
Compiling base64 v0.13.1
Compiling ryu v1.0.23
Compiling unicode-segmentation v1.13.2
Compiling bitflags v2.11.1
Compiling macro_rules_attribute-proc_macro v0.2.2
Compiling extendr-api v0.9.0
Compiling smallvec v1.15.1
Compiling unit-prefix v0.5.2
Compiling static_assertions v1.1.0
Compiling compact_str v0.9.0
Compiling onig v6.5.1
Compiling unicode-normalization-alignments v0.1.12
Compiling indicatif v0.18.4
Compiling rayon-cond v0.4.0
Compiling macro_rules_attribute v0.2.2
Compiling spm_precompiled v0.1.4
Compiling extendr-macros v0.9.0
Compiling regex v1.12.3
Compiling monostate v0.1.18
Compiling rand v0.9.4
Compiling dary_heap v0.3.8
Compiling derive_builder v0.20.2
Compiling readonly v0.2.13
Compiling unicode_categories v0.1.1
Compiling log v0.4.29
Compiling tokenizers v0.22.2
Compiling tok v0.1.0 (/Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/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: -lc++ -liconv -lR -lSystem -lc -lm
Finished `release` profile [optimized] target(s) in 53.59s
# Always clean up CARGOTMP
rm -Rf /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/.cargo;
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 tok.so entrypoint.o -L./rust/target/release -ltok -F/Library/Frameworks/R.framework/.. -framework R
rm -Rf /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/.cargo /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/vendor ./rust/target
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00LOCK-tok/00new/tok/libs
** generating debug symbols (dSYM)
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/./rust/target/release/libtok.a(tok-7998bccf59c19911.tok.f52da1db497d0d75-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/./rust/target/release/libtok.a(compiler_builtins-bb76018b1173caf6.compiler_builtins.bb2d8bfdf3b709a9-cgu.014.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/./rust/target/release/libtok.a(compiler_builtins-bb76018b1173caf6.compiler_builtins.bb2d8bfdf3b709a9-cgu.108.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/tok.Rcheck/00_pkg_src/tok/src/./rust/target/release/libtok.a(compiler_builtins-bb76018b1173caf6.compiler_builtins.bb2d8bfdf3b709a9-cgu.212.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 (tok)