* installing *source* package ‘fcl’ ... ** package ‘fcl’ successfully unpacked and MD5 sums checked ** using staged installation Using system rustc version: rustc 1.70.0 (90c541806 2023-05-31) *** Checking if cargo is installed *** cargo is ok ** libs using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using SDK: ‘MacOSX11.3.sdk’ rm -Rf fcl.so entrypoint.o ./rust/.cargo ./rust/target/release/libfcl.a 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 # vendoring (Note: to avoid NOTE of "Found the following hidden files and # directories", .cargo needs to be created here) if [ "yes" = "yes" ]; then \ /usr/bin/tar --extract --xz -f ./rust/vendor.tar.xz -C ./rust && \ mkdir -p ./rust/.cargo && \ cp ./cargo_vendor_config.toml ./rust/.cargo/config.toml; \ fi export LIBRSYS_R_VERSION="4.3.3" && . "/Users/urbanek/.cargo/env" && export CARGO_HOME="/Volumes/Builds/packages/big-sur-x86_64/results/4.3/fcl.Rcheck/00_pkg_src/fcl/src/.cargo" && cd ./rust && cargo build --lib --release --offline --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.69 Compiling unicode-ident v1.0.12 Compiling libR-sys v0.7.0 Compiling autocfg v1.1.0 Compiling paste v1.0.14 Compiling core-foundation-sys v0.8.4 Compiling extendr-api v0.7.0 Compiling iana-time-zone v0.1.57 Compiling once_cell v1.18.0 Compiling num-traits v0.2.17 Compiling quote v1.0.33 Compiling syn v2.0.38 error[E0428]: the name `R_altrep_Coerce_method_t` is defined multiple times --> /Volumes/Builds/packages/big-sur-x86_64/results/4.3/fcl.Rcheck/00_pkg_src/fcl/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/fcl.Rcheck/00_pkg_src/fcl/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/fcl.Rcheck/00_pkg_src/fcl/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/fcl.Rcheck/00_pkg_src/fcl/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/libfcl.a] Error 101 ERROR: compilation failed for package ‘fcl’ * removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/fcl.Rcheck/fcl’