* installing *source* package ‘tinyimg’ ...
** package ‘tinyimg’ successfully unpacked and MD5 sums checked
** using staged installation
Using /Users/rbuild/.cargo/bin/cargo
Rustc version: rustc 1.91.1 (ed61e7d7e 2025-11-07)
Note: vendor/ directory not found. Cargo will fetch from crates.io
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c entrypoint.c -o entrypoint.o
# Report rustc version for R CMD check (per CRAN policy)
Using Rust compiler:
rustc 1.91.1 (ed61e7d7e 2025-11-07)
# Extract vendored dependencies if present (for CRAN releases)
Extracting vendored dependencies...
# Configure cargo to use vendored sources if vendor/ directory exists
# The config must be in CARGO_HOME (which we set to /Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00_pkg_src/tinyimg/src/.cargo = /Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00_pkg_src/tinyimg/src/.cargo)
Configuring cargo to use vendored sources...
# In some environments, ~/.cargo/bin might not be included in PATH, so we need
# to set it here to ensure that cargo will be found. `rustc --print sysroot`
# is a way to get the Rust sysroot without needing cargo itself.
# Limit to 2 jobs per CRAN policy (cargo build -j defaults to number of logical CPUs)
export CARGO_HOME=/Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00_pkg_src/tinyimg/src/.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/bin:/bin:/usr/sbin:/sbin:/Users/rbuild/.cargo/bin" && \
if [ "$(uname -s)" = "Darwin" ] && [ -z "$MACOSX_DEPLOYMENT_TARGET" ]; then \
R_FLAGS="$(R CMD config CC 2>/dev/null) $(R CMD config CFLAGS 2>/dev/null) $(R CMD config LDFLAGS 2>/dev/null)"; \
DEPLOY_TARGET="$(echo "$R_FLAGS" | sed -n 's/.*-version-min=\([0-9][0-9.]*\).*/\1/p' | head -n 1)"; \
if [ -z "$DEPLOY_TARGET" ]; then \
DARWIN_VER="$(R --version | sed -n 's/.*-apple-darwin\([0-9]*\).*/\1/p')"; \
if [ -n "$DARWIN_VER" ]; then \
DEPLOY_TARGET=$((DARWIN_VER - 9)); \
fi; \
fi; \
if [ -n "$DEPLOY_TARGET" ]; then \
if [ -z "$CI" ] || [ "$DEPLOY_TARGET" != "11" ]; then \
export MACOSX_DEPLOYMENT_TARGET="$DEPLOY_TARGET"; \
fi; \
fi; \
fi && \
cargo build --lib --release --jobs 2 --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 shlex v1.3.0
Compiling proc-macro2 v1.0.106
Compiling find-msvc-tools v0.1.9
Compiling libc v0.2.182
Compiling unicode-ident v1.0.23
Compiling quote v1.0.44
Compiling libR-sys v0.7.1
Compiling cc v1.2.56
Compiling radium v0.7.0
Compiling bytemuck v1.25.0
Compiling libdeflate-sys v1.25.2
Compiling tap v1.0.1
Compiling paste v1.0.15
Compiling syn v2.0.115
Compiling wyz v0.5.1
Compiling rgb v0.8.52
Compiling extendr-api v0.7.1
Compiling equivalent v1.0.2
Compiling log v0.4.29
Compiling cfg-if v1.0.4
Compiling funty v2.0.0
Compiling simd-adler32 v0.3.8
Compiling bumpalo v3.19.1
Compiling hashbrown v0.16.1
Compiling zopfli v0.8.3
Compiling filetime v0.2.27
Compiling bitvec v1.0.1
Compiling indexmap v2.13.0
Compiling rustc-hash v2.1.1
Compiling once_cell v1.21.3
Compiling lodepng v2.7.3
Compiling exoquant v0.2.0
Compiling extendr-macros v0.7.1
Compiling libdeflater v1.25.2
Compiling oxipng v9.1.5
Compiling tinyimg v0.1.0 (/Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00_pkg_src/tinyimg/src/rust)
Finished `release` profile [optimized] target(s) in 12.31s
rm -Rf /Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00_pkg_src/tinyimg/src/.cargo && \
rm -Rf ./rust/target/release/build && \
rm -Rf ./rust/vendor
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 tinyimg.so entrypoint.o -L./rust/target/release -ltinyimg -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
rm -Rf ./rust/target/release/libtinyimg.a ./rust/target
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00LOCK-tinyimg/00new/tinyimg/libs
** generating debug symbols (dSYM)
warning: (arm64) /Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00_pkg_src/tinyimg/src/./rust/target/release/libtinyimg.a(tinyimg-404a61de852e0fcf.tinyimg.f0721c7fe802b3b1-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/big-sur-arm64/results/4.4/tinyimg.Rcheck/00_pkg_src/tinyimg/src/./rust/target/release/libtinyimg.a(compiler_builtins-280d7aeef4a08f72.compiler_builtins.ad497b731f529524-cgu.188.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
** 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 (tinyimg)