* installing *source* package ‘tok’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 16.0.6 (3)’ rm -Rf tok.so ./rust/target/release/libtok.a entrypoint.o # In some environments, ~/.cargo/bin might not be included in PATH, so we need # to set it here to ensure cargo can be invoked. It is appended to PATH and # therefore is only used if cargo is absent from the user's PATH. export PATH="/srv/hornik/tmp/CRAN/tok.Rcheck/R_check_bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \ if [ "" != "true" ]; then \ export CARGO_HOME=/srv/hornik/tmp/CRAN/tok.Rcheck/00_pkg_src/tok/src/.cargo; \ fi && \ cargo build --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target Updating git repository `https://github.com/extendr/extendr.git` Updating crates.io index Downloading crates ... Downloaded aho-corasick v1.0.2 Downloaded pkg-config v0.3.27 Downloaded paste v1.0.11 Downloaded ppv-lite86 v0.2.17 Downloaded rand v0.8.5 Downloaded syn v1.0.107 Downloaded unicode-segmentation v1.10.1 Downloaded smallvec v1.10.0 Downloaded thiserror v1.0.40 Downloaded scopeguard v1.1.0 Downloaded rand_core v0.6.4 Downloaded monostate v0.1.6 Downloaded unicode-ident v1.0.6 Downloaded serde_derive v1.0.164 Downloaded proc-macro2 v1.0.63 Downloaded tokenizers v0.13.3 Downloaded unicode-normalization-alignments v0.1.12 Downloaded serde_json v1.0.99 Downloaded nom v7.1.3 Downloaded minimal-lexical v0.2.1 Downloaded syn v2.0.23 Downloaded esaxx-rs v0.1.8 Downloaded indicatif v0.15.0 Downloaded crossbeam-epoch v0.9.15 Downloaded memchr v2.5.0 Downloaded regex-syntax v0.6.29 Downloaded regex v1.8.4 Downloaded regex-syntax v0.7.2 Downloaded itertools v0.8.2 Downloaded aho-corasick v0.7.20 Downloaded serde v1.0.164 Downloaded darling_core v0.14.4 Downloaded spm_precompiled v0.1.4 Downloaded base64 v0.13.1 Downloaded log v0.4.19 Downloaded onig_sys v69.8.1 Downloaded unicode-width v0.1.10 Downloaded unicode_categories v0.1.1 Downloaded crossbeam-deque v0.8.3 Downloaded either v1.8.1 Downloaded strsim v0.10.0 Downloaded crossbeam-channel v0.5.8 Downloaded rayon v1.7.0 Downloaded rayon-core v1.11.0 Downloaded cfg-if v1.0.0 Downloaded libc v0.2.147 Downloaded crossbeam-utils v0.8.16 Downloaded cc v1.0.79 Downloaded rand_chacha v0.3.1 Downloaded quote v1.0.29 Downloaded onig v6.4.0 Downloaded getrandom v0.2.10 Downloaded darling v0.14.4 Downloaded console v0.15.7 Downloaded memoffset v0.9.0 Downloaded macro_rules_attribute-proc_macro v0.1.3 Downloaded derive_builder_core v0.12.0 Downloaded darling_macro v0.14.4 Downloaded ryu v1.0.13 Downloaded rayon-cond v0.1.0 Downloaded once_cell v1.18.0 Downloaded monostate-impl v0.1.6 Downloaded macro_rules_attribute v0.1.3 Downloaded itoa v1.0.7 Downloaded derive_builder v0.12.0 Downloaded bitflags v1.3.2 Downloaded lazy_static v1.4.0 Downloaded fnv v1.0.7 Downloaded thiserror-impl v1.0.40 Downloaded num_cpus v1.16.0 Downloaded autocfg v1.1.0 Downloaded number_prefix v0.3.0 Downloaded itertools v0.9.0 Downloaded derive_builder_macro v0.12.0 Downloaded ident_case v1.0.1 Downloaded libR-sys v0.5.0 Compiling proc-macro2 v1.0.63 Compiling unicode-ident v1.0.6 Compiling quote v1.0.29 Compiling libc v0.2.147 Compiling cfg-if v1.0.0 Compiling syn v1.0.107 Compiling autocfg v1.1.0 Compiling memchr v2.5.0 Compiling crossbeam-utils v0.8.16 Compiling cc v1.0.79 Compiling strsim v0.10.0 Compiling serde v1.0.164 Compiling ident_case v1.0.1 Compiling fnv v1.0.7 Compiling libR-sys v0.5.0 Compiling scopeguard v1.1.0 Compiling paste v1.0.11 Compiling either v1.8.1 Compiling pkg-config v0.3.27 Compiling rayon-core v1.11.0 Compiling lazy_static v1.4.0 Compiling minimal-lexical v0.2.1 Compiling unicode-width v0.1.10 Compiling serde_json v1.0.99 Compiling ppv-lite86 v0.2.17 Compiling thiserror v1.0.40 Compiling regex-syntax v0.7.2 Compiling extendr-engine v0.4.0 (https://github.com/extendr/extendr.git#dfeab400) Compiling number_prefix v0.3.0 Compiling smallvec v1.10.0 Compiling unicode-segmentation v1.10.1 Compiling base64 v0.13.1 Compiling extendr-api v0.4.0 (https://github.com/extendr/extendr.git#dfeab400) Compiling once_cell v1.18.0 Compiling macro_rules_attribute-proc_macro v0.1.3 Compiling itoa v1.0.7 Compiling bitflags v1.3.2 Compiling ryu v1.0.13 Compiling regex-syntax v0.6.29 Compiling log v0.4.19 Compiling unicode_categories v0.1.1 Compiling itertools v0.8.2 Compiling itertools v0.9.0 Compiling unicode-normalization-alignments v0.1.12 Compiling memoffset v0.9.0 Compiling crossbeam-epoch v0.9.15 Compiling crossbeam-channel v0.5.8 Compiling aho-corasick v1.0.2 Compiling nom v7.1.3 Compiling aho-corasick v0.7.20 Compiling onig_sys v69.8.1 Compiling esaxx-rs v0.1.8 Compiling macro_rules_attribute v0.1.3 Compiling syn v2.0.23 Compiling crossbeam-deque v0.8.3 Compiling getrandom v0.2.10 Compiling num_cpus v1.16.0 Compiling console v0.15.7 Compiling rand_core v0.6.4 Compiling rand_chacha v0.3.1 Compiling rand v0.8.5 Compiling rayon v1.7.0 Compiling regex v1.8.4 Compiling indicatif v0.15.0 Compiling serde_derive v1.0.164 Compiling monostate-impl v0.1.6 Compiling thiserror-impl v1.0.40 Compiling rayon-cond v0.1.0 Compiling darling_core v0.14.4 Compiling extendr-macros v0.4.0 (https://github.com/extendr/extendr.git#dfeab400) Compiling darling_macro v0.14.4 Compiling darling v0.14.4 Compiling derive_builder_core v0.12.0 Compiling derive_builder_macro v0.12.0 Compiling derive_builder v0.12.0 Compiling onig v6.4.0 Compiling monostate v0.1.6 Compiling spm_precompiled v0.1.4 Compiling tokenizers v0.13.3 Compiling tok v0.3.0 (/srv/hornik/tmp/CRAN/tok.Rcheck/00_pkg_src/tok/src/rust) warning: unused import: `std::thread::panicking` --> src/tokenizer.rs:1:5 | 1 | use std::thread::panicking; | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: field `model` is never read --> src/models.rs:9:5 | 8 | struct RModel { | ------ field in this struct 9 | pub model: Arc>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `tok` (lib) generated 2 warnings Finished release [optimized] target(s) in 1m 25s if [ "" != "true" ]; then \ rm -Rf /srv/hornik/tmp/CRAN/tok.Rcheck/00_pkg_src/tok/src/.cargo && \ rm -Rf ./rust/target/release/build; \ fi *** Cleaning headers "/home/hornik/tmp/R-d-clang-16/bin/Rscript" "../tools/patch.R" clang-16 -I"/home/hornik/tmp/R-d-clang-16/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 clang-16 -shared -L/home/hornik/tmp/R-d-clang-16/lib -Wl,-O1 -o tok.so entrypoint.o -L./rust/target/release -ltok -L/home/hornik/tmp/R-d-clang-16/lib -lR installing to /srv/hornik/tmp/CRAN/tok.Rcheck/00LOCK-tok/00new/tok/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 (tok)