* installing *source* package ‘llmjson’ ... ** this is package ‘llmjson’ version ‘0.1.0’ ** using staged installation Using cargo 1.91.1 (ea2d97820 2025-10-10) (built from a source tarball) Using rustc 1.91.1 (ed61e7d7e 2025-11-07) (built from a source tarball) Building for CRAN. Writing `src/Makevars`. `tools/config.R` has finished. ** libs using C compiler: ‘Debian clang version 21.1.8 (3+b1)’ clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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 /srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo && \ cp rust/vendor-config.toml /srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo/config.toml; \ fi; \ fi export CARGO_HOME=/srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo && \ export PATH="/srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/R_check_bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.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.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 syn v2.0.111 Compiling paste v1.0.15 Compiling serde_json v1.0.148 Compiling thiserror v1.0.69 Compiling extendr-api v0.8.1 Compiling equivalent v1.0.2 Compiling itoa v1.0.17 Compiling memchr v2.7.6 Compiling extendr-macros v0.8.1 Compiling thiserror-impl v1.0.69 Compiling zmij v1.0.0 Compiling hashbrown v0.16.1 Compiling once_cell v1.21.3 Compiling indexmap v2.12.1 Compiling rllmjson v0.1.0 (/srv/hornik/tmp/CRAN_pretest/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 -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc warning: `rllmjson` (lib) generated 2 warnings Finished `release` profile [optimized] target(s) in 16.30s # Always clean up CARGOTMP rm -Rf /srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo; clang-21 -std=gnu23 -shared -L/home/hornik/tmp/R-d-clang-21/lib -Wl,-O1 -o llmjson.so entrypoint.o -L./rust/target/release -lllmjson -L/home/hornik/tmp/R-d-clang-21/lib -lR rm -Rf /srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/00_pkg_src/llmjson/src/.cargo /srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/00_pkg_src/llmjson/src/vendor ./rust/target installing to /srv/hornik/tmp/CRAN_pretest/llmjson.Rcheck/00LOCK-llmjson/00new/llmjson/libs ** 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)