* installing *source* package ‘astgrepr’ ...
** this is package ‘astgrepr’ version ‘0.1.1’
** package ‘astgrepr’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.84.1 (66221abde 2024-11-19)
Using rustc 1.84.1 (e71f9a9a9 2025-01-27)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/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-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo && \
cp rust/vendor-config.toml /Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo/config.toml; \
fi
export MACOSX_DEPLOYMENT_TARGET=15.0 && \
export CARGO_HOME=/Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/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/R/arm64/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/pkgbuild/.cargo/bin" && \
RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.12
Compiling memchr v2.7.2
Compiling quote v1.0.35
Compiling syn v2.0.90
Compiling shlex v1.3.0
Compiling cc v1.2.24
Compiling wasm-bindgen-shared v0.2.100
Compiling aho-corasick v1.1.3
Compiling regex-syntax v0.8.5
Compiling tree-sitter v0.24.7
Compiling log v0.4.21
Compiling bumpalo v3.17.0
Compiling wasm-bindgen-backend v0.2.100
Compiling regex-automata v0.4.9
Compiling serde v1.0.203
Compiling rustversion v1.0.21
Compiling regex v1.11.1
Compiling wasm-bindgen-macro-support v0.2.100
Compiling serde_derive v1.0.203
Compiling streaming-iterator v0.1.9
Compiling once_cell v1.21.3
Compiling build-print v0.1.1
Compiling wasm-bindgen v0.2.100
Compiling tree-sitter-language v0.1.3
Compiling extendr-ffi v0.8.0
Compiling wasm-bindgen-macro v0.2.100
Compiling cfg-if v1.0.0
Compiling thiserror v2.0.9
Compiling itoa v1.0.11
Compiling serde_json v1.0.140
Compiling ryu v1.0.17
Compiling thiserror-impl v2.0.9
Compiling serde_derive_internals v0.29.1
Compiling equivalent v1.0.1
Compiling schemars v0.8.21
Compiling hashbrown v0.14.3
Compiling anyhow v1.0.98
Compiling paste v1.0.15
Compiling bit-vec v0.8.0
Compiling bit-set v0.8.0
Compiling indexmap v2.2.6
Compiling schemars_derive v0.8.21
Compiling tree-sitter-facade-sg v0.24.5
Compiling tree-sitter-r v1.0.1
Compiling bstr v1.9.1
Compiling unsafe-libyaml v0.2.11
Compiling dyn-clone v1.0.17
Compiling extendr-api v0.8.0
Compiling globset v0.4.14
Compiling serde_yaml v0.9.34+deprecated
Compiling ast-grep-core v0.32.3
Compiling extendr-macros v0.8.0
Compiling ast-grep-config v0.32.3
Compiling astgrepr v0.1.0 (/Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/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 -lSystem -lc -lm
Finished `release` profile [optimized] target(s) in 1m 21s
# Always clean up CARGOTMP
rm -Rf /Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo;
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 astgrepr.so entrypoint.o -L./rust/target/release -lastgrepr -lutil -F/Library/Frameworks/R.framework/.. -framework R
ld: warning: object file (./rust/target/release/libastgrepr.a(astgrepr-5f1de7d46cd142cf.astgrepr.90dbe017508edb30-cgu.0.rcgu.o)) was built for newer macOS version (15.0) than being linked (11.0)
ld: warning: object file (./rust/target/release/libastgrepr.a(ea708c7824d36062-parser.o)) was built for newer macOS version (15.0) than being linked (11.0)
ld: warning: object file (./rust/target/release/libastgrepr.a(ea708c7824d36062-scanner.o)) was built for newer macOS version (15.0) than being linked (11.0)
ld: warning: object file (./rust/target/release/libastgrepr.a(98490c8781b409d2-lib.o)) was built for newer macOS version (15.0) than being linked (11.0)
rm -Rf /Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo /Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/src/vendor ./rust/target
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00LOCK-astgrepr/00new/astgrepr/libs
** generating debug symbols (dSYM)
warning: (arm64) /Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/src/./rust/target/release/libastgrepr.a(astgrepr-5f1de7d46cd142cf.astgrepr.90dbe017508edb30-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/big-sur-arm64/results/4.5/astgrepr.Rcheck/00_pkg_src/astgrepr/src/./rust/target/release/libastgrepr.a(compiler_builtins-e5fa8134aebe74bd.compiler_builtins.1acaeb3627230d6-cgu.135.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
** 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 (astgrepr)