[INFO] cloning repository https://github.com/d0c-s4vage/resmack_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d0c-s4vage/resmack_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd0c-s4vage%2Fresmack_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd0c-s4vage%2Fresmack_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17574446a74e6cb6f86e839efd1ee6e77e3fa5f6 [INFO] checking d0c-s4vage/resmack_rust against db8f076d2619ce2585b0380dda06e8da25a40da4 for pr-163699 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd0c-s4vage%2Fresmack_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d0c-s4vage/resmack_rust [INFO] finished tweaking git repo https://github.com/d0c-s4vage/resmack_rust [INFO] tweaked toml for git repo https://github.com/d0c-s4vage/resmack_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d0c-s4vage/resmack_rust on toolchain db8f076d2619ce2585b0380dda06e8da25a40da4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d0c-s4vage/resmack_rust 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" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_isaac v0.2.0 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded criterion v0.3.2 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.63 [INFO] [stderr] Downloaded oorandom v11.1.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.63 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.63 [INFO] [stderr] Downloaded criterion-plot v0.4.2 [INFO] [stderr] Downloaded crossbeam-queue v0.2.2 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded js-sys v0.3.40 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.63 [INFO] [stderr] Downloaded syn v1.0.30 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded web-sys v0.3.40 [INFO] [stderr] Downloaded plotters v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d [INFO] running `Command { std: "docker" "start" "611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d" "/opt/rustwide/cargo-home/bin/cargo" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d" "/opt/rustwide/cargo-home/bin/cargo" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_isaac v0.2.0 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_hc v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking resmack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:443:53 [INFO] [stdout] | [INFO] [stdout] 443 | let mut min_ref_length: usize = std::usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:465:42 [INFO] [stdout] | [INFO] [stdout] 465 | if min_ref_length == std::usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pre_output` [INFO] [stdout] --> src/fields.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | pre_output: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | unresolved_refs: &mut HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 213 - panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] 213 + panic!("Could not build rule for rule_idx {}", rule_idx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 576 - None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] 576 + None => panic!("Rule {:?} was never resolved", self.ref_rule), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 599 | | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | | self [INFO] [stdout] 601 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 598 ~ panic!( [INFO] [stdout] 599 | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | self [INFO] [stdout] 601 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules.rs:386:58 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:443:53 [INFO] [stdout] | [INFO] [stdout] 443 | let mut min_ref_length: usize = std::usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:465:42 [INFO] [stdout] | [INFO] [stdout] 465 | if min_ref_length == std::usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pre_output` [INFO] [stdout] --> src/fields.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | pre_output: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | unresolved_refs: &mut HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PreFlush` is never constructed [INFO] [stdout] --> src/fields.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Item { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | PreFlush, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: method `print_options` is never used [INFO] [stdout] --> src/fields.rs:494:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl Or { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn print_options(&self, shortest: bool, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_item` is never used [INFO] [stdout] --> src/fields.rs:1037:12 [INFO] [stdout] | [INFO] [stdout] 1018 | impl PreId { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1037 | pub fn add_item(mut self, item: T) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fields.rs:1167:12 [INFO] [stdout] | [INFO] [stdout] 1166 | impl Scoped { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 1167 | pub fn new(item: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_rule_or` is never used [INFO] [stdout] --> src/rules.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl RuleList { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_rule_or(&self, rule_idx: usize) -> &RefCell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rules_root` is never read [INFO] [stdout] --> src/rules.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct RuleSet { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub rules_root: Rc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 213 - panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] 213 + panic!("Could not build rule for rule_idx {}", rule_idx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 576 - None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] 576 + None => panic!("Rule {:?} was never resolved", self.ref_rule), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 599 | | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | | self [INFO] [stdout] 601 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 598 ~ panic!( [INFO] [stdout] 599 | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | self [INFO] [stdout] 601 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules.rs:386:58 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:443:53 [INFO] [stdout] | [INFO] [stdout] 443 | let mut min_ref_length: usize = std::usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:465:42 [INFO] [stdout] | [INFO] [stdout] 465 | if min_ref_length == std::usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:443:53 [INFO] [stdout] | [INFO] [stdout] 443 | let mut min_ref_length: usize = std::usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/fields.rs:465:42 [INFO] [stdout] | [INFO] [stdout] 465 | if min_ref_length == std::usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pre_output` [INFO] [stdout] --> src/fields.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | pre_output: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pre_output` [INFO] [stdout] --> src/fields.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | pre_output: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | unresolved_refs: &mut HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_options` is never used [INFO] [stdout] --> src/fields.rs:494:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl Or { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn print_options(&self, shortest: bool, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_rule_or` is never used [INFO] [stdout] --> src/rules.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl RuleList { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_rule_or(&self, rule_idx: usize) -> &RefCell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rules_root` is never read [INFO] [stdout] --> src/rules.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct RuleSet { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub rules_root: Rc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 213 - panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] 213 + panic!("Could not build rule for rule_idx {}", rule_idx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 576 - None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] 576 + None => panic!("Rule {:?} was never resolved", self.ref_rule), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 599 | | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | | self [INFO] [stdout] 601 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 598 ~ panic!( [INFO] [stdout] 599 | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | self [INFO] [stdout] 601 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules.rs:386:58 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rules.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 646 | _ => panic!(format!("Id {:?} did not exist", rule_name)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 646 - _ => panic!(format!("Id {:?} did not exist", rule_name)), [INFO] [stdout] 646 + _ => panic!("Id {:?} did not exist", rule_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | unresolved_refs: &mut HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unresolved_refs` [INFO] [stdout] --> src/rules.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn calc_shortest_ref_length(&mut self, unresolved_refs: &mut HashSet) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unresolved_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 213 - panic!(format!("Could not build rule for rule_idx {}", rule_idx)); [INFO] [stdout] 213 + panic!("Could not build rule for rule_idx {}", rule_idx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 576 - None => panic!(format!("Rule {:?} was never resolved", self.ref_rule)), [INFO] [stdout] 576 + None => panic!("Rule {:?} was never resolved", self.ref_rule), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 599 | | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | | self [INFO] [stdout] 601 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 598 ~ panic!( [INFO] [stdout] 599 | "{} was never resolved! Was finalize not called?", [INFO] [stdout] 600 | self [INFO] [stdout] 601 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules.rs:386:58 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new(rule_map: &'a BTreeMap) -> RefFetcher<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rules.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 646 | _ => panic!(format!("Id {:?} did not exist", rule_name)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 646 - _ => panic!(format!("Id {:?} did not exist", rule_name)), [INFO] [stdout] 646 + _ => panic!("Id {:?} did not exist", rule_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d", kill_on_drop: false }` [INFO] [stdout] 611b1616d1adcee20ff17f29d8f791125440918fbcfc2148843c86ff92fbf22d