[INFO] cloning repository https://github.com/jcrist1/rustnlp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcrist1/rustnlp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcrist1%2Frustnlp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcrist1%2Frustnlp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0602c521e682b2074c0ece1344fcdd40ab1fbd5e [INFO] checking jcrist1/rustnlp against try#51b1964e35e5e26f8cd938940f0da6f7b5cc54fc for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcrist1%2Frustnlp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/tokenizer.json [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking jcrist1/rustnlp against try#51b1964e35e5e26f8cd938940f0da6f7b5cc54fc for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcrist1%2Frustnlp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcrist1/rustnlp on toolchain 51b1964e35e5e26f8cd938940f0da6f7b5cc54fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jcrist1/rustnlp [INFO] finished tweaking git repo https://github.com/jcrist1/rustnlp [INFO] tweaked toml for git repo https://github.com/jcrist1/rustnlp written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jcrist1/rustnlp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `rustnlp` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1217252a3cf3ed0bd1402114582acfb02afa4fc562ab88078b8b57ee594b2279 [INFO] running `Command { std: "docker" "start" "-a" "1217252a3cf3ed0bd1402114582acfb02afa4fc562ab88078b8b57ee594b2279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1217252a3cf3ed0bd1402114582acfb02afa4fc562ab88078b8b57ee594b2279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1217252a3cf3ed0bd1402114582acfb02afa4fc562ab88078b8b57ee594b2279", kill_on_drop: false }` [INFO] [stdout] 1217252a3cf3ed0bd1402114582acfb02afa4fc562ab88078b8b57ee594b2279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccc8ab85433ff1880e1b3ab5308613d264f309806cc9891a572181c19473009e [INFO] running `Command { std: "docker" "start" "-a" "ccc8ab85433ff1880e1b3ab5308613d264f309806cc9891a572181c19473009e", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `rustnlp` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling strck v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling strck_ident v0.1.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking diplomat-runtime v0.8.1 (https://github.com/rust-diplomat/diplomat?rev=588f6ffe413bfca367bbb2a749a5965d40a3d5b3#588f6ffe) [INFO] [stderr] Checking whichlang v0.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Compiling diplomat_core v0.8.0 (https://github.com/rust-diplomat/diplomat?rev=588f6ffe413bfca367bbb2a749a5965d40a3d5b3#588f6ffe) [INFO] [stderr] Checking monostate v0.1.13 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tokenizers v0.20.0 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling diplomat v0.8.0 (https://github.com/rust-diplomat/diplomat?rev=588f6ffe413bfca367bbb2a749a5965d40a3d5b3#588f6ffe) [INFO] [stderr] Checking rustnlp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/lib.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use tokenizers::{Encoding, Model, Tokenizer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/lib.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use tokenizers::{Encoding, Model, Tokenizer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Strr(str); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | struct Strings(Vec); [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offsets` and `offsets_8` are never read [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct EncodeResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 136 | // Token boundaries as utf code points [INFO] [stdout] 137 | offsets: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | offsets_8: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Strr(str); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | struct Strings(Vec); [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offsets` and `offsets_8` are never read [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct EncodeResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 136 | // Token boundaries as utf code points [INFO] [stdout] 137 | offsets: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | offsets_8: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> benches/bench.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | b.iter(|| black_box(split((&lipsum)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - b.iter(|| black_box(split((&lipsum)))) [INFO] [stdout] 40 + b.iter(|| black_box(split(&lipsum))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> benches/bench.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let tok = Tok::create(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lipsum` [INFO] [stdout] --> benches/bench.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let lipsum = include_str!("lipsum.txt"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lipsum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> benches/bench.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let file = File::open("benches/lipsum.txt") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> benches/bench.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / r.split(text) [INFO] [stdout] 35 | | .map(|s| s.to_string()) [INFO] [stdout] 36 | | .collect::>(); [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = r.split(text) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.85s [INFO] running `Command { std: "docker" "inspect" "ccc8ab85433ff1880e1b3ab5308613d264f309806cc9891a572181c19473009e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc8ab85433ff1880e1b3ab5308613d264f309806cc9891a572181c19473009e", kill_on_drop: false }` [INFO] [stdout] ccc8ab85433ff1880e1b3ab5308613d264f309806cc9891a572181c19473009e