[INFO] cloning repository https://github.com/huchenxu97/learn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huchenxu97/learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuchenxu97%2Flearn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuchenxu97%2Flearn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 420b0a7c501febfbdc18bfd2a9ee7e037d5ecb4d
[INFO] checking huchenxu97/learn against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuchenxu97%2Flearn" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/huchenxu97/learn
[INFO] finished tweaking git repo https://github.com/huchenxu97/learn
[INFO] tweaked toml for git repo https://github.com/huchenxu97/learn written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/huchenxu97/learn on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/huchenxu97/learn 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 218d05d6f12c8fa08db16e1a625fe828644945b5135797f8f0de1586c1e80d68
[INFO] running `Command { std: "docker" "start" "-a" "218d05d6f12c8fa08db16e1a625fe828644945b5135797f8f0de1586c1e80d68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "218d05d6f12c8fa08db16e1a625fe828644945b5135797f8f0de1586c1e80d68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "218d05d6f12c8fa08db16e1a625fe828644945b5135797f8f0de1586c1e80d68", kill_on_drop: false }`
[INFO] [stdout] 218d05d6f12c8fa08db16e1a625fe828644945b5135797f8f0de1586c1e80d68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a882504a912b5691b3d4cb6449b27848d716a0d25790179c59ba2dab90af6fa6
[INFO] running `Command { std: "docker" "start" "-a" "a882504a912b5691b3d4cb6449b27848d716a0d25790179c59ba2dab90af6fa6", kill_on_drop: false }`
[INFO] [stderr]     Checking learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: struct `List` is never constructed
[INFO] [stdout]  --> src/first.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]  --> src/first.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct  List{
[INFO] [stdout]   |             ---- field in this struct
[INFO] [stdout] 3 |     header: Link,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Empty` and `More` are never constructed
[INFO] [stdout]  --> src/first.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Link {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 7 |     Empty,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     More(Box<Node>)
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Link` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `elem` and `next` are never read
[INFO] [stdout]   --> src/first.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Node{
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 12 |     elem: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     next: Link,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/first.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl List {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 17 |     fn new()->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn push(&mut self, elem: i32){
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn pop(&mut self) -> Option<i32>{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `IntoIter` is never constructed
[INFO] [stdout]  --> src/second.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct IntoIter<T>(List<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 `List` is never constructed
[INFO] [stdout]  --> src/second.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct List<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] warning: associated items `new`, `push`, `peek`, `peek_mut`, and `into_iter` are never used
[INFO] [stdout]   --> src/second.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> List<T> {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new()->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn push(&mut self, item: T){
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn peek(&self)->Option<&T>{
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn peek_mut(&mut self)->Option<&mut T>{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn into_iter(self)->IntoIter<T>{
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn` (bin "learn") due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a882504a912b5691b3d4cb6449b27848d716a0d25790179c59ba2dab90af6fa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a882504a912b5691b3d4cb6449b27848d716a0d25790179c59ba2dab90af6fa6", kill_on_drop: false }`
[INFO] [stdout] a882504a912b5691b3d4cb6449b27848d716a0d25790179c59ba2dab90af6fa6
