[INFO] cloning repository https://github.com/Yougigun/rust-trait-and-generic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yougigun/rust-trait-and-generic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYougigun%2Frust-trait-and-generic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYougigun%2Frust-trait-and-generic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 61dc7d02c7032fa849266b8716d64f9f06675cab
[INFO] checking Yougigun/rust-trait-and-generic against df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYougigun%2Frust-trait-and-generic" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Yougigun/rust-trait-and-generic
[INFO] finished tweaking git repo https://github.com/Yougigun/rust-trait-and-generic
[INFO] tweaked toml for git repo https://github.com/Yougigun/rust-trait-and-generic written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Yougigun/rust-trait-and-generic on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Yougigun/rust-trait-and-generic 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae
[INFO] running `Command { std: "docker" "start" "e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking trait_object_with_generic_trait v0.1.0 (/opt/rustwide/workdir/trait_object_with_generic_trait)
[INFO] [stderr]     Checking phantom_data_for_id_type v0.1.0 (/opt/rustwide/workdir/phantom_data_for_id_type)
[INFO] [stderr]     Checking auto_trait_impl v0.1.0 (/opt/rustwide/workdir/auto_trait_impl)
[INFO] [stderr]     Checking using_generic_imple_multiple_same_trait_for_one_generic_struct_with_different_type v0.1.0 (/opt/rustwide/workdir/using_generic_imple_multiple_same_trait_for_one_generic_struct_with_different_type)
[INFO] [stderr]     Checking phantom_data_for_customer_case v0.1.0 (/opt/rustwide/workdir/phantom_data_for_customer_case)
[INFO] [stderr]     Checking default_trait v0.1.0 (/opt/rustwide/workdir/default_trait)
[INFO] [stderr]     Checking struct_generic_impl v0.1.0 (/opt/rustwide/workdir/struct_generic_impl)
[INFO] [stdout] warning: struct `A` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct A;
[INFO] [stdout]   |        ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `D` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/C.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct D;
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `B` should have a snake case name
[INFO] [stdout]  --> trait_object_with_generic_trait/src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod B;
[INFO] [stdout]   |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `C` should have a snake case name
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod C;
[INFO] [stdout]   |     ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]  --> struct_generic_impl/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Animal` is never constructed
[INFO] [stdout]  --> struct_generic_impl/src/main.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Animal<T>(T);
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `speak` is never used
[INFO] [stdout]   --> struct_generic_impl/src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> Animal<T> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 15 |     fn speak(&self) {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]  --> struct_generic_impl/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Animal` is never constructed
[INFO] [stdout]  --> struct_generic_impl/src/main.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Animal<T>(T);
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `speak` is never used
[INFO] [stdout]   --> struct_generic_impl/src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> Animal<T> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 15 |     fn speak(&self) {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> phantom_data_for_customer_case/src/lib.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PersonalPlan(f32);
[INFO] [stdout]    |            ------------ ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> default_trait/src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait Article {
[INFO] [stdout]    |       ------- associated function in this trait
[INFO] [stdout] 14 |     // required methods
[INFO] [stdout] 15 |     fn new() -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> default_trait/src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait Article {
[INFO] [stdout]    |       ------- associated function in this trait
[INFO] [stdout] 14 |     // required methods
[INFO] [stdout] 15 |     fn new() -> Self;
[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: `trait_object_with_generic_trait::B as Ba`
[INFO] [stdout]  --> trait_object_with_generic_trait/src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use trait_object_with_generic_trait::B as Ba;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Trait` is never used
[INFO] [stdout]  --> trait_object_with_generic_trait/src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Trait<T> {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `A` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct A;
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `D` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/C.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct D;
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `B` should have a snake case name
[INFO] [stdout]   --> trait_object_with_generic_trait/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod B;
[INFO] [stdout]    |     ^ help: convert the identifier to snake case: `b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `C` should have a snake case name
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod C;
[INFO] [stdout]   |     ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `A` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct A;
[INFO] [stdout]   |        ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `D` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/C.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct D;
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `B` should have a snake case name
[INFO] [stdout]  --> trait_object_with_generic_trait/src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod B;
[INFO] [stdout]   |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `C` should have a snake case name
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod C;
[INFO] [stdout]   |     ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trait_object_with_generic_trait::B as Ba`
[INFO] [stdout]  --> trait_object_with_generic_trait/src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use trait_object_with_generic_trait::B as Ba;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Trait` is never used
[INFO] [stdout]  --> trait_object_with_generic_trait/src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Trait<T> {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `A` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct A;
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `D` is never constructed
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/C.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct D;
[INFO] [stdout]   |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `B` should have a snake case name
[INFO] [stdout]   --> trait_object_with_generic_trait/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod B;
[INFO] [stdout]    |     ^ help: convert the identifier to snake case: `b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `C` should have a snake case name
[INFO] [stdout]  --> trait_object_with_generic_trait/src/B/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod C;
[INFO] [stdout]   |     ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> phantom_data_for_customer_case/src/lib.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PersonalPlan(f32);
[INFO] [stdout]    |            ------------ ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae", kill_on_drop: false }`
[INFO] [stdout] e5bd38a7cef690e1e24e4b7620379cdedaebcddf12d44521db0575ea1ba665ae
