[INFO] cloning repository https://github.com/neshkatrapati/cxn_splitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neshkatrapati/cxn_splitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneshkatrapati%2Fcxn_splitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneshkatrapati%2Fcxn_splitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa03a9c5a8276f0cc5008edf4b0119e800da9f37 [INFO] checking neshkatrapati/cxn_splitter against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneshkatrapati%2Fcxn_splitter" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/neshkatrapati/cxn_splitter [INFO] finished tweaking git repo https://github.com/neshkatrapati/cxn_splitter [INFO] tweaked toml for git repo https://github.com/neshkatrapati/cxn_splitter written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/neshkatrapati/cxn_splitter on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/neshkatrapati/cxn_splitter 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" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b896c52fa91e7ef7acbce1b17ef82c7aa2ce99c93cbf86906407ee0d38a4efbc [INFO] running `Command { std: "docker" "start" "-a" "b896c52fa91e7ef7acbce1b17ef82c7aa2ce99c93cbf86906407ee0d38a4efbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b896c52fa91e7ef7acbce1b17ef82c7aa2ce99c93cbf86906407ee0d38a4efbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b896c52fa91e7ef7acbce1b17ef82c7aa2ce99c93cbf86906407ee0d38a4efbc", kill_on_drop: false }` [INFO] [stdout] b896c52fa91e7ef7acbce1b17ef82c7aa2ce99c93cbf86906407ee0d38a4efbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Zstrict-projection-item-bounds" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bdc4778a552db411fc0776492142ed82ff0dd52804d9b9913a732466a3cf854 [INFO] running `Command { std: "docker" "start" "-a" "2bdc4778a552db411fc0776492142ed82ff0dd52804d9b9913a732466a3cf854", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking mask_templates_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use unicode_segmentation::UnicodeSegmentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use unicode_segmentation::UnicodeSegmentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bigram_native` [INFO] [stdout] --> benches/batch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bigram_native::{ /* main.rs symbols aren’t public, so re-import */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `bigram_native` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/batch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `merge_counts` in this scope [INFO] [stdout] --> benches/batch.rs:25:95 [INFO] [stdout] | [INFO] [stdout] 25 | let counts = corpus.par_iter().map(|s| count_sentence(s)).reduce(Counts::default, merge_counts); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigram_native::{ /* main.rs symbols aren’t public, so re-import */ }` [INFO] [stdout] --> benches/batch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bigram_native::{ /* main.rs symbols aren’t public, so re-import */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> benches/batch.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | (0..rng.gen_range(5..=25)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `gen_ratio` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | fn gen_ratio(&mut self, numerator: u32, denominator: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> benches/batch.rs:11:78 [INFO] [stdout] | [INFO] [stdout] 11 | let tokens: Vec<_> = vocab.choose_multiple(&mut rng, rng.gen_range(1..=4)).cloned().collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `gen_ratio` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | fn gen_ratio(&mut self, numerator: u32, denominator: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec>` in the current scope [INFO] [stdout] --> benches/batch.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | let counts = corpus.par_iter().map(|s| count_sentence(s)).reduce(Counts::default, merge_counts); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.10.0/src/iter/mod.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn par_iter(&'data self) -> Self::Iter; [INFO] [stdout] | -------- the method is available for `Vec>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoParallelRefIterator` which provides `par_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rayon::iter::IntoParallelRefIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - let counts = corpus.par_iter().map(|s| count_sentence(s)).reduce(Counts::default, merge_counts); [INFO] [stdout] 25 + let counts = corpus.iter().map(|s| count_sentence(s)).reduce(Counts::default, merge_counts); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `count_sentence` in this scope [INFO] [stdout] --> benches/batch.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | let counts = corpus.par_iter().map(|s| count_sentence(s)).reduce(Counts::default, merge_counts); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Counts` in this scope [INFO] [stdout] --> benches/batch.rs:25:78 [INFO] [stdout] | [INFO] [stdout] 25 | let counts = corpus.par_iter().map(|s| count_sentence(s)).reduce(Counts::default, merge_counts); [INFO] [stdout] | ^^^^^^ use of undeclared type `Counts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `criterion` in this scope [INFO] [stdout] --> benches/batch.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | criterion::black_box(counts); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_lit` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let first_lit = c.tpl.iter().find(|t| *t != WILDCARD).cloned(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_lit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_lit` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let first_lit = c.tpl.iter().find(|t| *t != WILDCARD).cloned(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_lit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mask_templates_cli` (bench "batch") due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `re` is never read [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct CompiledTpl { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | re: Regex, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompiledTpl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `re` is never read [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct CompiledTpl { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | re: Regex, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompiledTpl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2bdc4778a552db411fc0776492142ed82ff0dd52804d9b9913a732466a3cf854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bdc4778a552db411fc0776492142ed82ff0dd52804d9b9913a732466a3cf854", kill_on_drop: false }` [INFO] [stdout] 2bdc4778a552db411fc0776492142ed82ff0dd52804d9b9913a732466a3cf854