[INFO] cloning repository https://github.com/LiWenGu/learing-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiWenGu/learing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1018016a1d796e913f4132017e0b754036fa4939
[INFO] checking LiWenGu/learing-rust against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LiWenGu/learing-rust
[INFO] finished tweaking git repo https://github.com/LiWenGu/learing-rust
[INFO] tweaked toml for git repo https://github.com/LiWenGu/learing-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LiWenGu/learing-rust 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/LiWenGu/learing-rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5f511a9aa3cb2c2c22710f4ff7bdbba567301747760ea25b47c19968e950b2c5
[INFO] running `Command { std: "docker" "start" "-a" "5f511a9aa3cb2c2c22710f4ff7bdbba567301747760ea25b47c19968e950b2c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f511a9aa3cb2c2c22710f4ff7bdbba567301747760ea25b47c19968e950b2c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f511a9aa3cb2c2c22710f4ff7bdbba567301747760ea25b47c19968e950b2c5", kill_on_drop: false }`
[INFO] [stdout] 5f511a9aa3cb2c2c22710f4ff7bdbba567301747760ea25b47c19968e950b2c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 94b6fa313d15eb544b93b5f1b906b6099998d5e43d7fa277bb5d5c23f8810937
[INFO] running `Command { std: "docker" "start" "-a" "94b6fa313d15eb544b93b5f1b906b6099998d5e43d7fa277bb5d5c23f8810937", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro)
[INFO] [stderr]     Checking intelligent-point v0.1.0 (/opt/rustwide/workdir/intelligent-point)
[INFO] [stderr]     Checking web v0.1.0 (/opt/rustwide/workdir/web)
[INFO] [stderr]     Checking object-feature v0.1.0 (/opt/rustwide/workdir/object-feature)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> intelligent-point/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking fearless-concurrent v0.1.0 (/opt/rustwide/workdir/fearless-concurrent)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> intelligent-point/src/lib.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]    |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> web/src/lib.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | type Job = Box<FnBox + Send + 'static>;
[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] 4 | type Job = Box<dyn FnBox + Send + 'static>;
[INFO] [stdout]   |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]    --> object-feature/src/lib.rs:180:27
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `AveragedCollection` is never constructed
[INFO] [stdout]  --> object-feature/src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct AveragedCollection {
[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 `DraftPost` is never constructed
[INFO] [stdout]   --> object-feature/src/lib.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct DraftPost {
[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 `PendingReviewPost` is never constructed
[INFO] [stdout]   --> object-feature/src/lib.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct PendingReviewPost {
[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: struct `SelectBox` is never constructed
[INFO] [stdout]   --> object-feature/src/lib.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct SelectBox {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `object-feature` (lib) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]  --> intelligent-point/src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let list = Cons(1,
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> intelligent-point/src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let c = CustomSmartPointer {data: String::from("my stuff")};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> intelligent-point/src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let d = CustomSmartPointer {data: String::from("other stuff")};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> intelligent-point/src/main.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |     Cons(i32, Box<List>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[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] 37 -     Cons(i32, Box<List>),
[INFO] [stdout] 37 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Listz` is never used
[INFO] [stdout]   --> intelligent-point/src/main.rs:67:6
[INFO] [stdout]    |
[INFO] [stdout] 67 | enum Listz {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> intelligent-point/src/main.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 |     Cons(Rc<RefCell<i32>>, Rc<Lists>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Lists` 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] 74 -     Cons(Rc<RefCell<i32>>, Rc<Lists>),
[INFO] [stdout] 74 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]  --> intelligent-point/src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let list = Cons(1,
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> intelligent-point/src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let c = CustomSmartPointer {data: String::from("my stuff")};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> intelligent-point/src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let d = CustomSmartPointer {data: String::from("other stuff")};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> intelligent-point/src/main.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |     Cons(i32, Box<List>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[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] 37 -     Cons(i32, Box<List>),
[INFO] [stdout] 37 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Listz` is never used
[INFO] [stdout]   --> intelligent-point/src/main.rs:67:6
[INFO] [stdout]    |
[INFO] [stdout] 67 | enum Listz {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> intelligent-point/src/main.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 |     Cons(Rc<RefCell<i32>>, Rc<Lists>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Lists` 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] 74 -     Cons(Rc<RefCell<i32>>, Rc<Lists>),
[INFO] [stdout] 74 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `MutexExample` should have a snake case name
[INFO] [stdout]   --> fearless-concurrent/src/main.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn MutexExample() {
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `mutex_example`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `MutexExample` should have a snake case name
[INFO] [stdout]   --> fearless-concurrent/src/main.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn MutexExample() {
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `mutex_example`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "94b6fa313d15eb544b93b5f1b906b6099998d5e43d7fa277bb5d5c23f8810937", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94b6fa313d15eb544b93b5f1b906b6099998d5e43d7fa277bb5d5c23f8810937", kill_on_drop: false }`
[INFO] [stdout] 94b6fa313d15eb544b93b5f1b906b6099998d5e43d7fa277bb5d5c23f8810937
