[INFO] cloning repository https://github.com/Xiaobin0860/rust-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xiaobin0860/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaobin0860%2Frust-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaobin0860%2Frust-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aaabedcb3384c8c5e4ae64556142a966fc3a0ba5
[INFO] checking Xiaobin0860/rust-demo against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiaobin0860%2Frust-demo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Xiaobin0860/rust-demo
[INFO] finished tweaking git repo https://github.com/Xiaobin0860/rust-demo
[INFO] tweaked toml for git repo https://github.com/Xiaobin0860/rust-demo written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Xiaobin0860/rust-demo 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/Xiaobin0860/rust-demo 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 471d8ce7252dd93ee3bac82c54e38eca1df1053f4643c5210b2d62bd44395dfd
[INFO] running `Command { std: "docker" "start" "-a" "471d8ce7252dd93ee3bac82c54e38eca1df1053f4643c5210b2d62bd44395dfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "471d8ce7252dd93ee3bac82c54e38eca1df1053f4643c5210b2d62bd44395dfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "471d8ce7252dd93ee3bac82c54e38eca1df1053f4643c5210b2d62bd44395dfd", kill_on_drop: false }`
[INFO] [stdout] 471d8ce7252dd93ee3bac82c54e38eca1df1053f4643c5210b2d62bd44395dfd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 882310e207b985ce7684ef604f486c39017932ba31507e9105100dc5b4a2edb5
[INFO] running `Command { std: "docker" "start" "-a" "882310e207b985ce7684ef604f486c39017932ba31507e9105100dc5b4a2edb5", kill_on_drop: false }`
[INFO] [stderr]     Checking smart-pointer v0.1.0 (/opt/rustwide/workdir/smart-pointer)
[INFO] [stderr]     Checking common_traits v0.1.0 (/opt/rustwide/workdir/common_traits)
[INFO] [stderr]     Checking adder v0.1.0 (/opt/rustwide/workdir/adder)
[INFO] [stderr]     Checking basic v0.1.0 (/opt/rustwide/workdir/basic)
[INFO] [stderr]     Checking ds v0.1.0 (/opt/rustwide/workdir/ds)
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> common_traits/src/main.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Pointer {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 65 |     x: u32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 66 |     y: u32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pointer` has derived impls for the traits `Debug` and `Clone`, but these are 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: fields `name`, `age`, `title`, `role`, and `skills` are never read
[INFO] [stdout]   --> common_traits/src/dv.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Employee {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 19 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 20 |     age: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     title: Box<str>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 22 |     role: Role,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     skills: HashMap<Box<str>, u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Employee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Rect` is never constructed
[INFO] [stdout]  --> adder/src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rect {
[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 `v` is never read
[INFO] [stdout]   --> adder/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Guess {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 23 |     v: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Guess` 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] [stderr] error: could not compile `adder` (lib) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> ds/src/shap.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let shapes: [&Shape<f64>; 3] = [
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let shapes: [&dyn Shape<f64>; 3] = [
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> ds/src/shap.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let shapes: [&Shape<f64>; 3] = [
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let shapes: [&dyn Shape<f64>; 3] = [
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> basic/src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Person {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     age: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` 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: fields `0` and `1` are never read
[INFO] [stdout]  --> smart-pointer/src/linklist.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Item(Box<u32>, Box<Linklist>),
[INFO] [stdout]   |     ---- ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Linklist` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 -     Item(Box<u32>, Box<Linklist>),
[INFO] [stdout] 6 +     Item((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> smart-pointer/src/rc.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Item(u32, Rc<Linklist>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Linklist` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Item(u32, Rc<Linklist>),
[INFO] [stdout] 9 +     Item((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> smart-pointer/src/refcell.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]   |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 3 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 3 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> basic/src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Person {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     age: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` 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: field `v` is never read
[INFO] [stdout]   --> adder/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Guess {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 23 |     v: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Guess` 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: fields `0` and `1` are never read
[INFO] [stdout]  --> smart-pointer/src/linklist.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Item(Box<u32>, Box<Linklist>),
[INFO] [stdout]   |     ---- ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Linklist` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 -     Item(Box<u32>, Box<Linklist>),
[INFO] [stdout] 6 +     Item((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> smart-pointer/src/rc.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Item(u32, Rc<Linklist>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Linklist` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Item(u32, Rc<Linklist>),
[INFO] [stdout] 9 +     Item((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> smart-pointer/src/refcell.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]   |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 3 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 3 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> common_traits/src/main.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Pointer {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 65 |     x: u32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 66 |     y: u32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pointer` has derived impls for the traits `Debug` and `Clone`, but these are 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: fields `name`, `age`, `title`, `role`, and `skills` are never read
[INFO] [stdout]   --> common_traits/src/dv.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Employee {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 19 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 20 |     age: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     title: Box<str>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 22 |     role: Role,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     skills: HashMap<Box<str>, u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Employee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "882310e207b985ce7684ef604f486c39017932ba31507e9105100dc5b4a2edb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "882310e207b985ce7684ef604f486c39017932ba31507e9105100dc5b4a2edb5", kill_on_drop: false }`
[INFO] [stdout] 882310e207b985ce7684ef604f486c39017932ba31507e9105100dc5b4a2edb5
