[INFO] fetching crate basic_tree 0.2.5... [INFO] checking basic_tree-0.2.5 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] extracting crate basic_tree 0.2.5 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate basic_tree 0.2.5 [INFO] finished tweaking crates.io crate basic_tree 0.2.5 [INFO] tweaked toml for crates.io crate basic_tree 0.2.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate basic_tree 0.2.5 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c74780348c7968c7789324b038b0d698be4638268186d653e3bf4ee067c1c519 [INFO] running `Command { std: "docker" "start" "-a" "c74780348c7968c7789324b038b0d698be4638268186d653e3bf4ee067c1c519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c74780348c7968c7789324b038b0d698be4638268186d653e3bf4ee067c1c519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74780348c7968c7789324b038b0d698be4638268186d653e3bf4ee067c1c519", kill_on_drop: false }` [INFO] [stdout] c74780348c7968c7789324b038b0d698be4638268186d653e3bf4ee067c1c519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d5908fcbf253eac0f4c7f02f81fe0e225b533c38ef5bb65269b0a6d02e77ebf [INFO] running `Command { std: "docker" "start" "-a" "0d5908fcbf253eac0f4c7f02f81fe0e225b533c38ef5bb65269b0a6d02e77ebf", kill_on_drop: false }` [INFO] [stderr] Checking basic_tree v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/trie/word.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/trie/word.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/trie/word.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/trie/word.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `WordTrie` is never constructed [INFO] [stdout] --> src/trie/word.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct WordTrie { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/trie/word.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct WordTrie { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | inner: Rc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordTrie` has a derived impl for the trait `Debug`, 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: associated items `new`, `insert_words`, `split_words`, `insert`, and `get_leaf` are never used [INFO] [stdout] --> src/trie/word.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl WordTrie { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 29 | fn new() -> WordTrie { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn insert_words(&self, words: &str, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn split_words(words: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn insert(&self, words: &[String], target: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_leaf(&self, words: &[String]) -> Leaf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_tree` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `get_leaf` is never used [INFO] [stdout] --> src/trie/word.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl WordTrie { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_leaf(&self, words: &[String]) -> Leaf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d5908fcbf253eac0f4c7f02f81fe0e225b533c38ef5bb65269b0a6d02e77ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5908fcbf253eac0f4c7f02f81fe0e225b533c38ef5bb65269b0a6d02e77ebf", kill_on_drop: false }` [INFO] [stdout] 0d5908fcbf253eac0f4c7f02f81fe0e225b533c38ef5bb65269b0a6d02e77ebf