[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#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[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 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/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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d7e238057db36ad993287b4e20ca2d2d407620181f9c04298fcd2ccc55362703
[INFO] running `Command { std: "docker" "start" "-a" "d7e238057db36ad993287b4e20ca2d2d407620181f9c04298fcd2ccc55362703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7e238057db36ad993287b4e20ca2d2d407620181f9c04298fcd2ccc55362703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7e238057db36ad993287b4e20ca2d2d407620181f9c04298fcd2ccc55362703", kill_on_drop: false }`
[INFO] [stdout] d7e238057db36ad993287b4e20ca2d2d407620181f9c04298fcd2ccc55362703
[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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 322e45d8b10c22ee24fee1aafb3d0fffe576601ecc5225999db848dbe2e01f1b
[INFO] running `Command { std: "docker" "start" "-a" "322e45d8b10c22ee24fee1aafb3d0fffe576601ecc5225999db848dbe2e01f1b", 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 web v0.1.0 (/opt/rustwide/workdir/web)
[INFO] [stderr]     Checking object-feature v0.1.0 (/opt/rustwide/workdir/object-feature)
[INFO] [stderr]     Checking intelligent-point v0.1.0 (/opt/rustwide/workdir/intelligent-point)
[INFO] [stderr]     Checking advance-feature v0.1.0 (/opt/rustwide/workdir/advance-feature)
[INFO] [stderr]     Checking fearless-concurrent v0.1.0 (/opt/rustwide/workdir/fearless-concurrent)
[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_struct)]` (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] [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] error: could not compile `object-feature` (lib) due to 3 previous errors; 2 warnings emitted
[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] warning: build failed, waiting for other jobs to finish...
[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: 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: function `split_at_mut` is never used
[INFO] [stdout]   --> advance-feature/src/main.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Red` is never used
[INFO] [stdout]   --> advance-feature/src/main.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | trait Red {}
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ball` is never constructed
[INFO] [stdout]   --> advance-feature/src/main.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Ball<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `baby_name` is never used
[INFO] [stdout]   --> advance-feature/src/main.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Dog {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 46 |     fn baby_name() -> String {
[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_struct)]` (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 test) due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] warning: function `split_at_mut` is never used
[INFO] [stdout]   --> advance-feature/src/main.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Red` is never used
[INFO] [stdout]   --> advance-feature/src/main.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | trait Red {}
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ball` is never constructed
[INFO] [stdout]   --> advance-feature/src/main.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Ball<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `baby_name` is never used
[INFO] [stdout]   --> advance-feature/src/main.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Dog {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 46 |     fn baby_name() -> String {
[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" "322e45d8b10c22ee24fee1aafb3d0fffe576601ecc5225999db848dbe2e01f1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "322e45d8b10c22ee24fee1aafb3d0fffe576601ecc5225999db848dbe2e01f1b", kill_on_drop: false }`
[INFO] [stdout] 322e45d8b10c22ee24fee1aafb3d0fffe576601ecc5225999db848dbe2e01f1b
