* installing *source* package ‘llmjson’ ... ** package ‘llmjson’ successfully unpacked and MD5 sums checked ** using staged installation Using cargo 1.91.1 (ea2d97820 2025-10-10) Using rustc 1.91.1 (ed61e7d7e 2025-11-07) 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.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 # Check if NOT_CRAN is false and unzip vendor.tar.xz if so if [ "" != "true" ]; then \ if [ -f ./rust/vendor.tar.xz ]; then \ tar xf rust/vendor.tar.xz && \ mkdir -p /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo && \ cp rust/vendor-config.toml /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo/config.toml; \ fi; \ fi export CARGO_HOME=/Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/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" && \ 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.104 Compiling quote v1.0.42 Compiling unicode-ident v1.0.22 Compiling extendr-ffi v0.8.1 Compiling serde_core v1.0.228 Compiling paste v1.0.15 Compiling thiserror v1.0.69 Compiling serde_json v1.0.148 Compiling extendr-api v0.8.1 Compiling equivalent v1.0.2 Compiling memchr v2.7.6 Compiling once_cell v1.21.3 Compiling zmij v1.0.0 Compiling itoa v1.0.17 Compiling hashbrown v0.16.1 Compiling syn v2.0.111 Compiling indexmap v2.12.1 Compiling extendr-macros v0.8.1 Compiling thiserror-impl v1.0.69 Compiling rllmjson v0.1.0 (/Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/src/rust) warning: variant `UnrepairableJson` is never constructed --> src/llm_json.rs:56:5 | 54 | pub enum JsonRepairError { | --------------- variant in this enum 55 | #[error("JSON string is too broken to repair")] 56 | UnrepairableJson, | ^^^^^^^^^^^^^^^^ | = note: `JsonRepairError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `return_objects` and `stream_stable` are never read --> src/llm_json.rs:88:9 | 84 | pub struct RepairOptions { | ------------- fields in this struct ... 88 | pub return_objects: bool, | ^^^^^^^^^^^^^^ ... 92 | pub stream_stable: bool, | ^^^^^^^^^^^^^ | = note: `RepairOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis 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: `rllmjson` (lib) generated 2 warnings Finished `release` profile [optimized] target(s) in 7.03s # Always clean up CARGOTMP rm -Rf /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/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 llmjson.so entrypoint.o -L./rust/target/release -lllmjson -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation rm -Rf /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/src/vendor ./rust/target installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00LOCK-llmjson/00new/llmjson/libs ** generating debug symbols (dSYM) warning: (arm64) /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(std-478fce78004a205f.std.61e3cf0e49db9e2-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/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(panic_unwind-94469ee954f3a0ad.panic_unwind.346ed8875cadb263-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/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(hashbrown-429032899dc837aa.hashbrown.b223c639777fddc9-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/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(alloc-0519d0a3831de83e.alloc.9f300485f014b380-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/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(core-19a4bfc8f68687d7.core.5e47c8f4dec2dc26-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/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(compiler_builtins-280d7aeef4a08f72.compiler_builtins.ad497b731f529524-cgu.007.rcgu.o) unable to open object file: No such file or directory warning: (arm64) /Volumes/Builds/packages/big-sur-arm64/results/4.4/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(compiler_builtins-280d7aeef4a08f72.compiler_builtins.ad497b731f529524-cgu.155.rcgu.o) unable to open object file: No such file or directory ** R ** 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 (llmjson)