* 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.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 17.0.0 (clang-1700.3.19.1)’ using SDK: ‘MacOSX14.5.sdk’ clang -arch arm64 -std=gnu23 -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/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo && \ cp rust/vendor-config.toml /Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo/config.toml; \ fi export MACOSX_DEPLOYMENT_TARGET=15.0 && \ export CARGO_HOME=/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo && \ export PATH="/opt/R/arm64/bin:/opt/gfortran/bin:/Applications/CMake.app/CMake.app/Contents/bin:/Library/Frameworks/R.framework/Resources/bin:/opt/gfortran/bin:/opt/R/arm64/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/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:/Library/Apple/usr/bin:/Users/rbuild/.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 unicode-ident v1.0.12 Compiling proc-macro2 v1.0.92 Compiling memchr v2.7.2 Compiling shlex v1.3.0 Compiling wasm-bindgen-shared v0.2.100 Compiling regex-syntax v0.8.5 Compiling cc v1.2.24 Compiling bumpalo v3.17.0 Compiling log v0.4.21 Compiling aho-corasick v1.1.3 Compiling serde v1.0.203 Compiling rustversion v1.0.21 Compiling tree-sitter v0.24.7 Compiling quote v1.0.35 Compiling syn v2.0.90 Compiling regex-automata v0.4.9 Compiling once_cell v1.21.3 Compiling wasm-bindgen v0.2.100 Compiling tree-sitter-language v0.1.3 Compiling build-print v0.1.1 Compiling streaming-iterator v0.1.9 Compiling extendr-ffi v0.8.0 Compiling itoa v1.0.11 Compiling thiserror v2.0.9 Compiling serde_json v1.0.140 Compiling cfg-if v1.0.0 Compiling ryu v1.0.17 Compiling regex v1.11.1 Compiling wasm-bindgen-backend v0.2.100 Compiling serde_derive_internals v0.29.1 Compiling bit-vec v0.8.0 Compiling equivalent v1.0.1 Compiling paste v1.0.15 Compiling anyhow v1.0.98 Compiling schemars v0.8.21 Compiling serde_derive v1.0.203 Compiling thiserror-impl v2.0.9 Compiling hashbrown v0.14.3 Compiling wasm-bindgen-macro-support v0.2.100 Compiling indexmap v2.2.6 Compiling wasm-bindgen-macro v0.2.100 Compiling schemars_derive v0.8.21 Compiling bit-set v0.8.0 Compiling tree-sitter-r v1.0.1 Compiling bstr v1.9.1 Compiling dyn-clone v1.0.17 Compiling extendr-api v0.8.0 Compiling unsafe-libyaml v0.2.11 Compiling globset v0.4.14 Compiling tree-sitter-facade-sg v0.24.5 Compiling extendr-macros v0.8.0 Compiling ast-grep-core v0.32.3 Compiling serde_yaml v0.9.34+deprecated Compiling ast-grep-config v0.32.3 Compiling astgrepr v0.1.0 (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust) warning: hiding a lifetime that's elided elsewhere is confusing --> src/language.rs:21:46 | 21 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 21 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow<'_, str> { | +++ 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 warning: `astgrepr` (lib) generated 1 warning (run `cargo fix --lib -p astgrepr` to apply 1 suggestion) Finished `release` profile [optimized] target(s) in 27.63s # Always clean up CARGOTMP rm -Rf /Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo; clang -arch arm64 -std=gnu23 -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 (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[2](astgrepr-5506178f025efd51.astgrepr.ee8f74833b720cd3-cgu.0.rcgu.o)) was built for newer 'macOS' version (15.0) than being linked (14.0) ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[3](ea708c7824d36062-parser.o)) was built for newer 'macOS' version (15.0) than being linked (14.0) ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[4](ea708c7824d36062-scanner.o)) was built for newer 'macOS' version (15.0) than being linked (14.0) ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[5](98490c8781b409d2-lib.o)) was built for newer 'macOS' version (15.0) than being linked (14.0) rm -Rf /Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/.cargo /Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/vendor ./rust/target installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00LOCK-astgrepr/00new/astgrepr/libs ** generating debug symbols (dSYM) warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/./rust/target/release/libastgrepr.a(astgrepr-5506178f025efd51.astgrepr.ee8f74833b720cd3-cgu.0.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)