* installing *source* package ‘annsearchR’ ...
** this is package ‘annsearchR’ version ‘0.1.0’
** package ‘annsearchR’ 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.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
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 [ -d ./vendor ]; then \
echo "=== Using offline vendor directory ==="; \
mkdir -p /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo && \
cp rust/vendor-config.toml /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo/config.toml; \
elif [ -f ./rust/vendor.tar.xz ]; then \
echo "=== Using offline vendor tarball ==="; \
tar xf rust/vendor.tar.xz && \
mkdir -p /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo && \
cp rust/vendor-config.toml /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo && \
export PATH="/opt/R/x86_64/bin:/opt/gfortran/bin:/Applications/CMake.app/CMake.app/Contents/bin:/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" && \
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.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.26
Compiling libm v0.2.16
Compiling autocfg v1.5.1
Compiling crossbeam-utils v0.8.23
Compiling bytemuck v1.25.2
Compiling rand_core v0.6.4
Compiling num-traits v0.2.19
Compiling libc v0.2.190
Compiling rand v0.8.8
Compiling crossbeam-epoch v0.9.21
Compiling crossbeam-deque v0.8.8
Compiling cfg-if v1.0.5
Compiling nano-gemm-codegen v0.2.1
Compiling syn v2.0.119
Compiling bitflags v2.13.2
Compiling rayon-core v1.13.0
Compiling paste v1.0.15
Compiling version_check v0.9.5
Compiling pulp v0.22.3
Compiling raw-cpuid v11.6.0
Compiling either v1.19.0
Compiling thiserror v1.0.69
Compiling num-complex v0.4.6
Compiling byteorder v1.5.0
Compiling rayon v1.12.0
Compiling heck v0.5.0
Compiling pulp-wasm-simd-flag v0.1.1
Compiling reborrow v0.5.5
Compiling dyn-stack-macros v0.1.3
Compiling dyn-stack v0.13.2
Compiling once_cell v1.21.4
Compiling syn v3.0.6
Compiling seq-macro v0.3.6
Compiling syn v1.0.109
Compiling memchr v2.8.3
Compiling zerocopy v0.8.61
Compiling ucd-trie v0.1.7
Compiling getrandom v0.3.4
Compiling pest v2.9.2
Compiling thiserror-impl v1.0.69
Compiling enum-as-inner v0.6.1
Compiling nano-gemm-core v0.2.1
Compiling pest_meta v2.9.2
Compiling rand_core v0.9.5
Compiling equator-macro v0.4.2
Compiling sysctl v0.6.0
Compiling pest_generator v2.9.2
Compiling num-integer v0.1.47
Compiling nano-gemm-c64 v0.2.1
Compiling nano-gemm-f64 v0.2.1
Compiling nano-gemm-f32 v0.2.1
Compiling nano-gemm-c32 v0.2.1
Compiling crossbeam-channel v0.5.17
Compiling crossbeam-queue v0.3.14
Compiling serde_core v1.0.229
Compiling defer v0.2.1
Compiling crossbeam v0.8.5
Compiling num-bigint v0.4.8
Compiling gemm-common v0.19.0
Compiling interpol v0.2.1
Compiling private-gemm-x86 v0.1.22
Compiling pest_derive v2.9.2
Compiling equator v0.4.2
Compiling equator-macro v0.2.1
Compiling atomic-wait v1.1.0
Compiling extendr-ffi v0.9.0
Compiling serde v1.0.229
Compiling spindle v0.2.6
Compiling ppv-lite86 v0.2.21
Compiling equator v0.2.2
Compiling py_literal v0.4.0
Compiling rand_chacha v0.9.0
Compiling rand v0.9.5
Compiling gemm-f64 v0.19.0
Compiling gemm-c64 v0.19.0
Compiling gemm-f32 v0.19.0
Compiling gemm-c32 v0.19.0
Compiling qd v0.8.0
Compiling serde_derive v1.0.229
Compiling num_cpus v1.17.0
Compiling generativity v1.2.1
Compiling equator-macro v0.6.0
Compiling thiserror v2.0.21
Compiling virtue v0.0.18
Compiling equator v0.6.0
Compiling bincode_derive v2.0.1
Compiling faer-traits v0.24.0
Compiling gemm v0.19.0
Compiling npyz v0.8.4
Compiling rand_distr v0.5.1
Compiling nano-gemm v0.2.2
Compiling thiserror-impl v2.0.21
Compiling safe_arch v1.2.0
Compiling arbitrary-chunks v0.4.1
Compiling ann-search-rs v0.11.0
Compiling partition v0.1.2
Compiling extendr-api v0.9.0
Compiling litrs v1.0.0
Compiling lazy_static v1.5.1
Compiling unty v0.0.4
Compiling bincode v2.0.1
Compiling document-features v0.2.12
Compiling wide v1.7.1
Compiling extendr-macros v0.9.0
Compiling rdst v0.20.14
Compiling faer v0.24.4
Compiling readonly v0.2.14
Compiling fixedbitset v0.5.7
Compiling rustc-hash v2.1.3
Compiling thousands v0.2.0
Compiling annsearchr v0.1.0 (/Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/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: -lR -framework Accelerate -lc++ -liconv -lSystem -lc -lm
Finished `release` profile [optimized] target(s) in 25m 07s
# --release matters here. config.R pins it to --release, and without it
# cargo builds the document bin into target/debug, recompiling the lib and
# every transitive dependency a second time just to emit the wrappers.
#
# RUSTFLAGS and the dev profile overrides have to match the build above for
# the same reason. Both invocations share one target dir, and cargo keys its
# fingerprint on RUSTFLAGS, so a flag set on one and not the other rebuilds
# the whole dependency tree just to emit the wrappers.
# Only under roxygen (ROXYGEN_PKG set). The wrappers ship in R/, and on
# win-builder linking the bin overran MAX_PATH and failed the install.
if [ -n "$ROXYGEN_PKG" ]; then \
export CARGO_HOME=/Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo && \
export PATH="/opt/R/x86_64/bin:/opt/gfortran/bin:/Applications/CMake.app/CMake.app/Contents/bin:/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" && \
RUSTFLAGS=" --print=native-static-libs" cargo run -j 2 --offline --release --bin document --manifest-path=./rust/Cargo.toml --target-dir ./rust/target ; \
fi
# Always clean up CARGOTMP
rm -Rf /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo;
clang -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o annsearchR.so entrypoint.o -L./rust/target/release -lannsearchR -F/Library/Frameworks/R.framework/.. -framework R
rm -Rf /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/.cargo /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/vendor ./rust/target
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00LOCK-annsearchR/00new/annsearchR/libs
** generating debug symbols (dSYM)
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(std-80c57efd13e5c60f.std.6723c73a6a2c3812-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(panic_unwind-609eec6b68420c23.panic_unwind.8a11b8e3a536324e-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(memchr-7633c0af176ce18f.memchr.62151324e58f9a71-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(std_detect-3d2b83b4ef271faf.std_detect.f484fbc3183826d-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(hashbrown-d63660a4bacc6e0d.hashbrown.d999ac00aa297d90-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(alloc-2ae10ae5c48735a7.alloc.cd66f8b944d0d1ee-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(core-ebd38e986244aca3.core.35ed32324c362c64-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(compiler_builtins-5f28702a8bd39742.compiler_builtins.3e851ac2cc681d13-cgu.087.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(compiler_builtins-5f28702a8bd39742.compiler_builtins.3e851ac2cc681d13-cgu.090.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(compiler_builtins-5f28702a8bd39742.compiler_builtins.3e851ac2cc681d13-cgu.127.rcgu.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/big-sur-x86_64/results/4.6/annsearchR.Rcheck/00_pkg_src/annsearchR/src/./rust/target/release/libannsearchR.a(compiler_builtins-5f28702a8bd39742.compiler_builtins.3e851ac2cc681d13-cgu.193.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
*** copying figures
** building package indices
** installing vignettes
** 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 (annsearchR)