* installing *source* package ‘llmjson’ ...
** this is package ‘llmjson’ version ‘0.1.0’
** package ‘llmjson’ 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
# 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/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo && \
cp rust/vendor-config.toml /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo/config.toml; \
fi; \
fi
export CARGO_HOME=/Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/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/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 paste v1.0.15
Compiling serde_core v1.0.228
Compiling extendr-api v0.8.1
Compiling serde_json v1.0.148
Compiling thiserror v1.0.69
Compiling hashbrown v0.16.1
Compiling syn v2.0.111
Compiling memchr v2.7.6
Compiling itoa v1.0.17
Compiling equivalent v1.0.2
Compiling once_cell v1.21.3
Compiling zmij v1.0.0
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/sonoma-arm64/results/4.6/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 6.14s
# Always clean up CARGOTMP
rm -Rf /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/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 llmjson.so entrypoint.o -L./rust/target/release -lllmjson -F/Library/Frameworks/R.framework/.. -framework R
rm -Rf /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/vendor ./rust/target
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00LOCK-llmjson/00new/llmjson/libs
** generating debug symbols (dSYM)
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(std-c48c539199cbc88b.std.f73b6248ed8abe8b-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(panic_unwind-d69228d077d46f36.panic_unwind.7112f9c795799583-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(hashbrown-9571ba9e0f6c7a90.hashbrown.df8ee38b896356be-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(alloc-14b12edc9f8cd90b.alloc.ef2fe32f695d90ab-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(core-a7a40eb546f9e2b0.core.dab634a26e66240f-cgu.0.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(compiler_builtins-bb76018b1173caf6.compiler_builtins.bb2d8bfdf3b709a9-cgu.014.rcgu.o) unable to open object file: No such file or directory
warning: (arm64) /Volumes/Builds/packages/sonoma-arm64/results/4.6/llmjson.Rcheck/00_pkg_src/llmjson/src/./rust/target/release/libllmjson.a(compiler_builtins-bb76018b1173caf6.compiler_builtins.bb2d8bfdf3b709a9-cgu.212.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)