[INFO] fetching crate trie-generic 1.1.8... [INFO] building trie-generic-1.1.8 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate trie-generic 1.1.8 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trie-generic 1.1.8 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a609f0af931f60ca7c305087077b708c38bf41f0e39a2bd0ee713afe97fd53da [INFO] running `Command { std: "docker" "start" "-a" "a609f0af931f60ca7c305087077b708c38bf41f0e39a2bd0ee713afe97fd53da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a609f0af931f60ca7c305087077b708c38bf41f0e39a2bd0ee713afe97fd53da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a609f0af931f60ca7c305087077b708c38bf41f0e39a2bd0ee713afe97fd53da", kill_on_drop: false }` [INFO] [stdout] a609f0af931f60ca7c305087077b708c38bf41f0e39a2bd0ee713afe97fd53da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e79712e88ff141d89fdcf4194d6a6fdd1b8023d53155eac59f436e6e720683d [INFO] running `Command { std: "docker" "start" "-a" "3e79712e88ff141d89fdcf4194d6a6fdd1b8023d53155eac59f436e6e720683d", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "3e79712e88ff141d89fdcf4194d6a6fdd1b8023d53155eac59f436e6e720683d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e79712e88ff141d89fdcf4194d6a6fdd1b8023d53155eac59f436e6e720683d", kill_on_drop: false }` [INFO] [stdout] 3e79712e88ff141d89fdcf4194d6a6fdd1b8023d53155eac59f436e6e720683d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13b02812295e2c512524c916d26f880f7a1f1aa519c1114d34815a5c89e2a2b2 [INFO] running `Command { std: "docker" "start" "-a" "13b02812295e2c512524c916d26f880f7a1f1aa519c1114d34815a5c89e2a2b2", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "13b02812295e2c512524c916d26f880f7a1f1aa519c1114d34815a5c89e2a2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b02812295e2c512524c916d26f880f7a1f1aa519c1114d34815a5c89e2a2b2", kill_on_drop: false }` [INFO] [stdout] 13b02812295e2c512524c916d26f880f7a1f1aa519c1114d34815a5c89e2a2b2