[INFO] cloning repository https://github.com/Norman-h/hello_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Norman-h/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNorman-h%2Fhello_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNorman-h%2Fhello_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eb254f1bfbb5299b3156af365316d93560e19ad3
[INFO] checking Norman-h/hello_rust against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNorman-h%2Fhello_rust" "/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/Norman-h/hello_rust
[INFO] finished tweaking git repo https://github.com/Norman-h/hello_rust
[INFO] tweaked toml for git repo https://github.com/Norman-h/hello_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Norman-h/hello_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/Norman-h/hello_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-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] 0e4971f18178d48ecef100c2045a09a469c2e5e5a5d9294e427817726415943d
[INFO] running `Command { std: "docker" "start" "-a" "0e4971f18178d48ecef100c2045a09a469c2e5e5a5d9294e427817726415943d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e4971f18178d48ecef100c2045a09a469c2e5e5a5d9294e427817726415943d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e4971f18178d48ecef100c2045a09a469c2e5e5a5d9294e427817726415943d", kill_on_drop: false }`
[INFO] [stdout] 0e4971f18178d48ecef100c2045a09a469c2e5e5a5d9294e427817726415943d
[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] 4054047c1b4f3356e57425ed0659b7ebad139321385bcadad45b906b30d28d65
[INFO] running `Command { std: "docker" "start" "-a" "4054047c1b4f3356e57425ed0659b7ebad139321385bcadad45b906b30d28d65", kill_on_drop: false }`
[INFO] [stderr]     Checking hello_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/test_error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod test_error;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/test_error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod test_error;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error::Error` and `fmt::Debug`
[INFO] [stdout]  --> src/test_error.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use std::{fs::File, error::Error, fmt::Debug, io::{self, Read}};
[INFO] [stdout]   |                         ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/test_error.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub mod my_test_error {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/test_vec_and_hash.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub mod test_vec_and_hash;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/test_time.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub mod test_time;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/test_time.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub mod test_time;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/test_error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/test_error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error::Error` and `fmt::Debug`
[INFO] [stdout]  --> src/test_error.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use std::{fs::File, error::Error, fmt::Debug, io::{self, Read}};
[INFO] [stdout]   |                         ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/test_vec_and_hash.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/test_time.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/test_time.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/test_enum.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let res = match card {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/test_error.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |             Ok(file) => {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Error`
[INFO] [stdout]   --> src/test_error.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             Error => {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample` is never used
[INFO] [stdout]  --> src/test_closure.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fn sample(a: i16) -> i16 {
[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 `Cacher` is never constructed
[INFO] [stdout]  --> src/test_closure.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     struct Cacher<T, E>
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/test_closure.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | /     impl<T, E> Cacher<T, E>
[INFO] [stdout] 17 | |     where
[INFO] [stdout] 18 | |         T: Fn(E) -> E,
[INFO] [stdout] 19 | |         E: Copy,
[INFO] [stdout]    | |________________- associated items in this implementation
[INFO] [stdout] 20 |       {
[INFO] [stdout] 21 |           fn new(query: T) -> Cacher<T, E> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |           fn value(&mut self, arg: E) -> E {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Point` is never constructed
[INFO] [stdout]   --> src/test_struct.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub struct Point<T: std::ops::Mul<Output = 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]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active` is never read
[INFO] [stdout]  --> src/test_struct.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub struct User {
[INFO] [stdout]   |                ---- field in this struct
[INFO] [stdout] 4 |         active: bool,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/test_struct.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn add<T: std::ops::Add<Output = T>>(a:T, b:T) -> T {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]   --> src/test_struct.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub struct Point<T: std::ops::Mul<Output = T>> {
[INFO] [stdout]    |                ----- field in this struct
[INFO] [stdout] 51 |         x: T,
[INFO] [stdout] 52 |         y: T,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Error` should have a snake case name
[INFO] [stdout]   --> src/test_error.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             Error => {
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_rust` (lib) due to 1 previous error; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/test_enum.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let res = match card {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/test_error.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |             Ok(file) => {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Error`
[INFO] [stdout]   --> src/test_error.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             Error => {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test_vec_and_hash.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut teams_map: HashMap<_,_> = teams_list.into_iter().collect();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Point` is never constructed
[INFO] [stdout]   --> src/test_struct.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub struct Point<T: std::ops::Mul<Output = 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]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active` is never read
[INFO] [stdout]  --> src/test_struct.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub struct User {
[INFO] [stdout]   |                ---- field in this struct
[INFO] [stdout] 4 |         active: bool,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` 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: function `add` is never used
[INFO] [stdout]   --> src/test_struct.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn add<T: std::ops::Add<Output = T>>(a:T, b:T) -> T {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]   --> src/test_struct.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub struct Point<T: std::ops::Mul<Output = T>> {
[INFO] [stdout]    |                ----- field in this struct
[INFO] [stdout] 51 |         x: T,
[INFO] [stdout] 52 |         y: T,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Error` should have a snake case name
[INFO] [stdout]   --> src/test_error.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             Error => {
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_rust` (lib test) due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4054047c1b4f3356e57425ed0659b7ebad139321385bcadad45b906b30d28d65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4054047c1b4f3356e57425ed0659b7ebad139321385bcadad45b906b30d28d65", kill_on_drop: false }`
[INFO] [stdout] 4054047c1b4f3356e57425ed0659b7ebad139321385bcadad45b906b30d28d65
