* installing *source* package ‘arcpbf’ ...
** package ‘arcpbf’ 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 arcpbf.so ./rust/target/release/libarcpbf.a entrypoint.o /Volumes/Builds/packages/big-sur-x86_64/results/4.3/arcpbf.Rcheck/00_pkg_src/arcpbf/src/.cargo /Volumes/Builds/packages/big-sur-x86_64/results/4.3/arcpbf.Rcheck/00_pkg_src/arcpbf/src/vendor
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
if [ -f ./rust/vendor.tar.xz ]; then \
		tar xf rust/vendor.tar.xz && \
		mkdir -p /Volumes/Builds/packages/big-sur-x86_64/results/4.3/arcpbf.Rcheck/00_pkg_src/arcpbf/src/.cargo && \
		cp rust/vendor-config.toml /Volumes/Builds/packages/big-sur-x86_64/results/4.3/arcpbf.Rcheck/00_pkg_src/arcpbf/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-x86_64/results/4.3/arcpbf.Rcheck/00_pkg_src/arcpbf/src/.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" && \
			cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target && \
			echo `cargo --version` && echo `rustc --version`;
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /Volumes/Builds/packages/big-sur-x86_64/results/4.3/arcpbf.Rcheck/00_pkg_src/arcpbf/src/rust/arcpbf/Cargo.toml
workspace: /Volumes/Builds/packages/big-sur-x86_64/results/4.3/arcpbf.Rcheck/00_pkg_src/arcpbf/src/rust/Cargo.toml
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 anyhow v1.0.75
   Compiling libR-sys v0.7.0
   Compiling autocfg v1.3.0
   Compiling either v1.9.0
   Compiling paste v1.0.14
   Compiling itertools v0.11.0
   Compiling num-traits v0.2.19
   Compiling core-foundation-sys v0.8.6
   Compiling extendr-api v0.7.0
   Compiling bytes v1.5.0
   Compiling quote v1.0.33
   Compiling iana-time-zone v0.1.60
   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/arcpbf.Rcheck/00_pkg_src/arcpbf/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/arcpbf.Rcheck/00_pkg_src/arcpbf/src/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/arcpbf.Rcheck/00_pkg_src/arcpbf/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/arcpbf.Rcheck/00_pkg_src/arcpbf/src/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

   Compiling once_cell v1.18.0
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/libarcpbf.a] Error 101
ERROR: compilation failed for package ‘arcpbf’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/arcpbf.Rcheck/arcpbf’