* installing *source* package ‘tok’ ...
** package ‘tok’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
rm -Rf tok.so ./rust/target/release/libtok.a entrypoint.o
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
# 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; \
	fi
export PATH="/opt/gfortran/bin:/opt/R/x86_64/bin:/Library/TeX/texbin:/usr/texbin:/opt/R/x86_64/gfortran/bin:/usr/local/bin:/usr/local/gfortran/bin:/usr/local/teTeX/bin/x86_64-apple-darwin-current:/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" && \
		if [ "" != "true" ]; then \
 			export CARGO_HOME=/Volumes/Builds/packages/big-sur-x86_64/results/4.3/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 --jobs 1
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.86
   Compiling unicode-ident v1.0.6
   Compiling libc v0.2.155
   Compiling syn v1.0.107
   Compiling memchr v2.7.4
   Compiling crossbeam-utils v0.8.20
   Compiling cc v1.0.100
   Compiling strsim v0.10.0
   Compiling fnv v1.0.7
   Compiling ident_case v1.0.1
   Compiling serde v1.0.203
   Compiling quote v1.0.36
   Compiling paste v1.0.11
   Compiling syn v2.0.68
   Compiling crossbeam-epoch v0.9.18
   Compiling cfg-if v1.0.0
   Compiling pkg-config v0.3.30
   Compiling either v1.12.0
   Compiling rayon-core v1.12.1
   Compiling crossbeam-deque v0.8.5
   Compiling onig_sys v69.8.1
   Compiling getrandom v0.2.15
   Compiling aho-corasick v1.1.3
   Compiling libR-sys v0.7.0
   Compiling regex-syntax v0.8.4
   Compiling rand_core v0.6.4
   Compiling regex-automata v0.4.7
   Compiling darling_core v0.14.4
   Compiling serde_derive v1.0.203
   Compiling esaxx-rs v0.1.10
   Compiling serde_json v1.0.118
   Compiling minimal-lexical v0.2.1
   Compiling unicode-width v0.1.13
   Compiling lazy_static v1.4.0
   Compiling thiserror v1.0.61
   Compiling ppv-lite86 v0.2.17
   Compiling darling_macro v0.14.4
   Compiling darling v0.14.4
   Compiling once_cell v1.19.0
   Compiling rand_chacha v0.3.1
   Compiling derive_builder_core v0.12.0
   Compiling console v0.15.8
   Compiling nom v7.1.3
   Compiling derive_builder_macro v0.12.0
   Compiling monostate-impl v0.1.13
   Compiling thiserror-impl v1.0.61
   Compiling regex v1.10.5
   Compiling rayon v1.10.0
   Compiling itertools v0.8.2
   Compiling number_prefix v0.3.0
   Compiling itoa v1.0.11
   Compiling ryu v1.0.18
   Compiling macro_rules_attribute-proc_macro v0.1.3
   Compiling base64 v0.13.1
   Compiling smallvec v1.13.2
   Compiling bitflags v1.3.2
   Compiling unicode-segmentation v1.11.0
   Compiling extendr-api v0.7.0
   Compiling unicode-normalization-alignments v0.1.12
   Compiling onig v6.4.0
   Compiling macro_rules_attribute v0.1.3
   Compiling indicatif v0.15.0
   Compiling monostate v0.1.13
   Compiling spm_precompiled v0.1.4
   Compiling rayon-cond v0.1.0
   Compiling derive_builder v0.12.0
   Compiling rand v0.8.5
   Compiling extendr-macros v0.7.0
error[E0428]: the name `R_altrep_Coerce_method_t` is defined multiple times
   --> /Volumes/Builds/packages/big-sur-x86_64/results/4.3/tok.Rcheck/00_pkg_src/tok/src/./rust/target/release/build/libR-sys-de9b16e0a549bbcb/out/bindings.rs:594:1
    |
594 | / pub type R_altrep_Coerce_method_t =
595 | |     ::std::option::Option<unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP>;
    | |_________________________________________________________________________________________________^ `R_altrep_Coerce_method_t` redefined here
    |
   ::: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/tok.Rcheck/00_pkg_src/tok/src/rust/vendor/libR-sys/src/lib.rs:80:1
    |
80  | / pub type R_altrep_Coerce_method_t =
81  | |     ::std::option::Option<unsafe extern "C" fn(arg1: SEXP, arg2: SEXPTYPE) -> SEXP>;
    | |____________________________________________________________________________________- previous definition of the type `R_altrep_Coerce_method_t` here
    |
    = note: `R_altrep_Coerce_method_t` must be defined only once in the type namespace of this module

error[E0428]: the name `Rf_isS4` is defined multiple times
    --> /Volumes/Builds/packages/big-sur-x86_64/results/4.3/tok.Rcheck/00_pkg_src/tok/src/./rust/target/release/build/libR-sys-de9b16e0a549bbcb/out/bindings.rs:1733:5
     |
1733 |     pub fn Rf_isS4(arg1: SEXP) -> Rboolean;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rf_isS4` redefined here
     |
    ::: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/tok.Rcheck/00_pkg_src/tok/src/rust/vendor/libR-sys/src/lib.rs:83:1
     |
83   | pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean {
     | --------------------------------------------- previous definition of the value `Rf_isS4` here
     |
     = note: `Rf_isS4` must be defined only once in the value namespace of this module

For more information about this error, try `rustc --explain E0428`.
error: could not compile `libR-sys` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [rust/target/release/libtok.a] Error 101
ERROR: compilation failed for package ‘tok’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/tok.Rcheck/tok’