[INFO] fetching crate trie-generic 1.1.8... [INFO] checking trie-generic-1.1.8 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [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 cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ed32e42fe9c0a44ea7f2eecce69b141a292d6f2aeac02714ee5f11133b8e03c [INFO] running `Command { std: "docker" "start" "-a" "4ed32e42fe9c0a44ea7f2eecce69b141a292d6f2aeac02714ee5f11133b8e03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ed32e42fe9c0a44ea7f2eecce69b141a292d6f2aeac02714ee5f11133b8e03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed32e42fe9c0a44ea7f2eecce69b141a292d6f2aeac02714ee5f11133b8e03c", kill_on_drop: false }` [INFO] [stdout] 4ed32e42fe9c0a44ea7f2eecce69b141a292d6f2aeac02714ee5f11133b8e03c [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01b0d47ff934cb641600d089046041ad5175205eae50a714c8b6fac6f4a25e38 [INFO] running `Command { std: "docker" "start" "-a" "01b0d47ff934cb641600d089046041ad5175205eae50a714c8b6fac6f4a25e38", 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trie.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 231 | ) -> FindResults { [INFO] [stdout] | -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trie.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 231 | ) -> FindResults { [INFO] [stdout] | -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.43s [INFO] running `Command { std: "docker" "inspect" "01b0d47ff934cb641600d089046041ad5175205eae50a714c8b6fac6f4a25e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b0d47ff934cb641600d089046041ad5175205eae50a714c8b6fac6f4a25e38", kill_on_drop: false }` [INFO] [stdout] 01b0d47ff934cb641600d089046041ad5175205eae50a714c8b6fac6f4a25e38