[INFO] fetching crate trie-generic 1.1.8... [INFO] checking trie-generic-1.1.8 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate trie-generic 1.1.8 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate trie-generic 1.1.8 [INFO] finished tweaking crates.io crate trie-generic 1.1.8 [INFO] tweaked toml for crates.io crate trie-generic 1.1.8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trie-generic 1.1.8 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trie-generic 1.1.8 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08804b37ad3d55bdd4407bf26d66ea1587002c95dfc4eef0cf3233f776715c72 [INFO] running `Command { std: "docker" "start" "-a" "08804b37ad3d55bdd4407bf26d66ea1587002c95dfc4eef0cf3233f776715c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08804b37ad3d55bdd4407bf26d66ea1587002c95dfc4eef0cf3233f776715c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08804b37ad3d55bdd4407bf26d66ea1587002c95dfc4eef0cf3233f776715c72", kill_on_drop: false }` [INFO] [stdout] 08804b37ad3d55bdd4407bf26d66ea1587002c95dfc4eef0cf3233f776715c72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfea0133e966438fd84969c9447f3f0d2be852d76af7a6d610a522c0971b43ab [INFO] running `Command { std: "docker" "start" "-a" "dfea0133e966438fd84969c9447f3f0d2be852d76af7a6d610a522c0971b43ab", kill_on_drop: false }` [INFO] [stderr] Checking trie-generic v1.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LongestPrefFlags` is never constructed [INFO] [stdout] --> src/trie.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct LongestPrefFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LongestPrefResult` is never used [INFO] [stdout] --> src/trie.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type LongestPrefResult = Option<(Vec, LongestPrefFlags)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyNotFound` is never constructed [INFO] [stdout] --> src/trie.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct KeyNotFound; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/trie.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a, T: Display + Debug> TNode<'a, T> { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] 82 | fn to_leaf(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn to_empty(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn is_childless(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn content(&self) -> &Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | fn remove(&mut self, str_left: &'a str, remove_subtree: bool) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn remove_fn(&mut self, str_left: &'a str, remove_subtree: bool) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add(&mut self, s: &str, cont: &'a Option) -> Result<&TNode, KeyExists> { [INFO] [stdout] | ^^^^^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add(&mut self, s: &str, cont: &'a Option) -> Result<&TNode<'_, T>, KeyExists> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn find(&self, s: &str, must_be_terminal: bool) -> Option<&TNode> { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn find(&self, s: &str, must_be_terminal: bool) -> Option<&TNode<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 231 | ) -> FindResults { [INFO] [stdout] | -------------- 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | ) -> FindResults<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LongestPrefFlags` is never constructed [INFO] [stdout] --> src/trie.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct LongestPrefFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LongestPrefResult` is never used [INFO] [stdout] --> src/trie.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type LongestPrefResult = Option<(Vec, LongestPrefFlags)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyNotFound` is never constructed [INFO] [stdout] --> src/trie.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct KeyNotFound; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_empty` is never used [INFO] [stdout] --> src/trie.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a, T: Display + Debug> TNode<'a, T> { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | fn to_empty(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add(&mut self, s: &str, cont: &'a Option) -> Result<&TNode, KeyExists> { [INFO] [stdout] | ^^^^^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add(&mut self, s: &str, cont: &'a Option) -> Result<&TNode<'_, T>, KeyExists> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn find(&self, s: &str, must_be_terminal: bool) -> Option<&TNode> { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn find(&self, s: &str, must_be_terminal: bool) -> Option<&TNode<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trie.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 231 | ) -> FindResults { [INFO] [stdout] | -------------- 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | ) -> FindResults<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "dfea0133e966438fd84969c9447f3f0d2be852d76af7a6d610a522c0971b43ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfea0133e966438fd84969c9447f3f0d2be852d76af7a6d610a522c0971b43ab", kill_on_drop: false }` [INFO] [stdout] dfea0133e966438fd84969c9447f3f0d2be852d76af7a6d610a522c0971b43ab