[INFO] fetching crate trie-generic 1.1.8... [INFO] checking trie-generic-1.1.8 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate trie-generic 1.1.8 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trie-generic 1.1.8 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90f2633345c14376de46c9de77c34b4fa9add17f355f8872911b477ebf9cfd2c [INFO] running `Command { std: "docker" "start" "-a" "90f2633345c14376de46c9de77c34b4fa9add17f355f8872911b477ebf9cfd2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90f2633345c14376de46c9de77c34b4fa9add17f355f8872911b477ebf9cfd2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f2633345c14376de46c9de77c34b4fa9add17f355f8872911b477ebf9cfd2c", kill_on_drop: false }` [INFO] [stdout] 90f2633345c14376de46c9de77c34b4fa9add17f355f8872911b477ebf9cfd2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4c4855c4cbc544e4fbb0561f40c9769050f72ccadce6346b65bc9c17f38cf1a [INFO] running `Command { std: "docker" "start" "-a" "f4c4855c4cbc544e4fbb0561f40c9769050f72ccadce6346b65bc9c17f38cf1a", 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.38s [INFO] running `Command { std: "docker" "inspect" "f4c4855c4cbc544e4fbb0561f40c9769050f72ccadce6346b65bc9c17f38cf1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4c4855c4cbc544e4fbb0561f40c9769050f72ccadce6346b65bc9c17f38cf1a", kill_on_drop: false }` [INFO] [stdout] f4c4855c4cbc544e4fbb0561f40c9769050f72ccadce6346b65bc9c17f38cf1a