[INFO] cloning repository https://github.com/Salehbigdeli/lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Salehbigdeli/lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalehbigdeli%2Flists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalehbigdeli%2Flists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d9b30cec385d5b443129951b143f87cc71ac8ac [INFO] checking Salehbigdeli/lists against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalehbigdeli%2Flists" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Salehbigdeli/lists [INFO] finished tweaking git repo https://github.com/Salehbigdeli/lists [INFO] tweaked toml for git repo https://github.com/Salehbigdeli/lists written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Salehbigdeli/lists 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] crate git repo https://github.com/Salehbigdeli/lists 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 60c3d3f164b2afa157776ddb1160fe974a8870cad7fe478a12f60b35cbd0ac86 [INFO] running `Command { std: "docker" "start" "-a" "60c3d3f164b2afa157776ddb1160fe974a8870cad7fe478a12f60b35cbd0ac86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60c3d3f164b2afa157776ddb1160fe974a8870cad7fe478a12f60b35cbd0ac86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c3d3f164b2afa157776ddb1160fe974a8870cad7fe478a12f60b35cbd0ac86", kill_on_drop: false }` [INFO] [stdout] 60c3d3f164b2afa157776ddb1160fe974a8870cad7fe478a12f60b35cbd0ac86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 476f27ba613664725195a6fe949d8e91cf6794ca1887eab394eb802aceb4b9e5 [INFO] running `Command { std: "docker" "start" "-a" "476f27ba613664725195a6fe949d8e91cf6794ca1887eab394eb802aceb4b9e5", kill_on_drop: false }` [INFO] [stderr] Checking lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `first::Node` is more private than the item `List1::More::0` [INFO] [stdout] --> src/first.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | More(Box), [INFO] [stdout] | ^^^^^^^^^ field `List1::More::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `first::Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/first.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node1` is never constructed [INFO] [stdout] --> src/first.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Node1 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `More` is never constructed [INFO] [stdout] --> src/first.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum Link { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 23 | Empty, [INFO] [stdout] 24 | More(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elem` is never read [INFO] [stdout] --> src/first.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 28 | elem: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/first.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 33 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn push(&mut self, val: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Iter` is never constructed [INFO] [stdout] --> src/second.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Iter<'a, T> { [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] error: struct `IterMut` is never constructed [INFO] [stdout] --> src/second.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IterMut<'a, T> { [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] [INFO] [stdout] [INFO] [stdout] error: struct `IntoIter` is never constructed [INFO] [stdout] --> src/second.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IntoIter(List); [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] [INFO] [stdout] [INFO] [stdout] error: struct `List` is never constructed [INFO] [stdout] --> src/second.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct List { [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] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/second.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 53 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn push(&mut self, val: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn iter<'a>(&'a self) -> Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn iter_mut<'a>(&'a mut self) -> IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` (lib) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `first::Node` is more private than the item `List1::More::0` [INFO] [stdout] --> src/first.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | More(Box), [INFO] [stdout] | ^^^^^^^^^ field `List1::More::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `first::Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/first.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node1` is never constructed [INFO] [stdout] --> src/first.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Node1 { [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" "476f27ba613664725195a6fe949d8e91cf6794ca1887eab394eb802aceb4b9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476f27ba613664725195a6fe949d8e91cf6794ca1887eab394eb802aceb4b9e5", kill_on_drop: false }` [INFO] [stdout] 476f27ba613664725195a6fe949d8e91cf6794ca1887eab394eb802aceb4b9e5