* 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.1 (083ac5135 2025-12-15) (Fedora 1.93.1-1.fc42)
Using rustc 1.93.1 (01f6ddf75 2026-02-11) (Fedora 1.93.1-1.fc42)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/llmjson/src'
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -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 /data/gannet/ripley/R/packages/tests-devel/llmjson/src/.cargo && \
cp rust/vendor-config.toml /data/gannet/ripley/R/packages/tests-devel/llmjson/src/.cargo/config.toml; \
fi; \
fi
export CARGO_HOME=/data/gannet/ripley/R/packages/tests-devel/llmjson/src/.cargo && \
export PATH="/data/gannet/ripley/bin:/usr/local/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.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 syn v2.0.111
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 thiserror-impl v1.0.69
Compiling extendr-macros v0.8.1
Compiling equivalent v1.0.2
Compiling once_cell v1.21.3
Compiling zmij v1.0.0
Compiling itoa v1.0.17
Compiling memchr v2.7.6
Compiling hashbrown v0.16.1
Compiling indexmap v2.12.1
Compiling rllmjson v0.1.0 (/data/gannet/ripley/R/packages/tests-devel/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 2m 19s
# Always clean up CARGOTMP
rm -Rf /data/gannet/ripley/R/packages/tests-devel/llmjson/src/.cargo;
gcc -shared -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -fpic -L/usr/local/lib64 -o llmjson.so entrypoint.o -L./rust/target/release -lllmjson
rm -Rf /data/gannet/ripley/R/packages/tests-devel/llmjson/src/.cargo /data/gannet/ripley/R/packages/tests-devel/llmjson/src/vendor ./rust/target
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/llmjson/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/llmjson/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/llmjson/src'
installing to /data/gannet/ripley/R/packages/tests-devel/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)