* installing *source* package ‘tok’ ...
** package ‘tok’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
rm -Rf tok.so ./rust/target/release/libtok.a entrypoint.o
# 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 [ "yes" = "yes" ]; then \
		/usr/bin/tar --extract --xz -f ./rust/vendor.tar.xz -C ./rust && \
	    mkdir -p ./rust/.cargo; \
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" && \
		if [ "" != "true" ]; then \
 			export CARGO_HOME=/Volumes/Builds/packages/big-sur-arm64/results/4.4/tok.Rcheck/00_pkg_src/tok/src/.cargo; \
		fi && \
		cargo build --lib --release --offline --config rust/config/cargo-config.toml --manifest-path=./rust/Cargo.toml --target-dir ./rust/target -j 2
   Compiling libc v0.2.147
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling cfg-if v1.0.0
   Compiling quote v1.0.32
   Compiling autocfg v1.1.0
   Compiling syn v1.0.109
   Compiling memchr v2.5.0
   Compiling syn v2.0.28
   Compiling crossbeam-utils v0.8.16
   Compiling cc v1.0.82
   Compiling memoffset v0.9.0
   Compiling crossbeam-epoch v0.9.15
   Compiling fnv v1.0.7
   Compiling strsim v0.10.0
   Compiling ident_case v1.0.1
   Compiling darling_core v0.14.4
   Compiling libR-sys v0.4.0
   Compiling serde v1.0.183
   Compiling scopeguard v1.2.0
   Compiling darling_macro v0.14.4
   Compiling serde_derive v1.0.183
   Compiling paste v1.0.14
   Compiling either v1.9.0
   Compiling rayon-core v1.11.0
   Compiling pkg-config v0.3.27
   Compiling onig_sys v69.8.1
   Compiling darling v0.14.4
   Compiling crossbeam-deque v0.8.3
   Compiling crossbeam-channel v0.5.8
   Compiling aho-corasick v1.0.4
   Compiling getrandom v0.2.10
   Compiling num_cpus v1.16.0
   Compiling lazy_static v1.4.0
   Compiling regex-syntax v0.7.4
   Compiling regex-automata v0.3.6
   Compiling rand_core v0.6.4
   Compiling derive_builder_core v0.12.0
   Compiling esaxx-rs v0.1.8
   Compiling extendr-engine v0.4.0
   Compiling serde_json v1.0.105
   Compiling minimal-lexical v0.2.1
   Compiling thiserror v1.0.46
   Compiling unicode-width v0.1.10
   Compiling ppv-lite86 v0.2.17
   Compiling console v0.15.7
   Compiling rand_chacha v0.3.1
   Compiling nom v7.1.3
   Compiling derive_builder_macro v0.12.0
   Compiling regex v1.9.3
   Compiling rayon v1.7.0
   Compiling itertools v0.8.2
   Compiling thiserror-impl v1.0.46
   Compiling monostate-impl v0.1.9
   Compiling smallvec v1.11.0
   Compiling ryu v1.0.15
   Compiling base64 v0.13.1
   Compiling extendr-api v0.4.0
   Compiling itoa v1.0.9
   Compiling once_cell v1.18.0
   Compiling bitflags v1.3.2
   Compiling unicode-segmentation v1.10.1
   Compiling number_prefix v0.3.0
   Compiling macro_rules_attribute-proc_macro v0.1.3
   Compiling macro_rules_attribute v0.1.3
   Compiling spm_precompiled v0.1.4
   Compiling indicatif v0.15.0
   Compiling onig v6.4.0
   Compiling unicode-normalization-alignments v0.1.12
   Compiling monostate v0.1.9
   Compiling rayon-cond v0.1.0
   Compiling derive_builder v0.12.0
   Compiling rand v0.8.5
   Compiling itertools v0.9.0
   Compiling aho-corasick v0.7.20
   Compiling extendr-macros v0.4.0
   Compiling unicode_categories v0.1.1
   Compiling log v0.4.20
   Compiling tokenizers v0.13.4
   Compiling tok v0.3.0 (/Volumes/Builds/packages/big-sur-arm64/results/4.4/tok.Rcheck/00_pkg_src/tok/src/rust)
warning: field `model` is never read
 --> src/models.rs:9:9
8 | struct RModel {
  |        ------ field in this struct
9 |     pub model: Arc<RwLock<ModelWrapper>>,
  |         ^^^^^
  = note: `#[warn(dead_code)]` on by default

warning: `tok` (lib) generated 1 warning
    Finished release [optimized] target(s) in 1m 30s
if [ "" != "true" ]; then \
		rm -Rf /Volumes/Builds/packages/big-sur-arm64/results/4.4/tok.Rcheck/00_pkg_src/tok/src/.cargo && \
		rm -Rf ./rust/target/release/build; \
*** Cleaning headers
"/Library/Frameworks/R.framework/Resources/bin/Rscript" "../tools/patch.R"
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
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 -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/tok.Rcheck/00LOCK-tok/00new/tok/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 (tok)