[INFO] cloning repository https://github.com/Gerson2102/learning-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gerson2102/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGerson2102%2Flearning-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGerson2102%2Flearning-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 944ca14836d5b526c5a8f108c4efeb9a3c0d9601
[INFO] checking Gerson2102/learning-rust against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGerson2102%2Flearning-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/Gerson2102/learning-rust
[INFO] finished tweaking git repo https://github.com/Gerson2102/learning-rust
[INFO] tweaked toml for git repo https://github.com/Gerson2102/learning-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gerson2102/learning-rust on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gerson2102/learning-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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2
[INFO] running `Command { std: "docker" "start" "31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2", 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" "31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2", 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" "31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]     Checking modules-intro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `opt1` is never read
[INFO] [stdout]  --> src/optiontest.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut opt1: Option<String> = None;
[INFO] [stdout]   |                                    ^^^^ this value is reassigned later and never used
[INFO] [stdout] 3 |     opt1 = Some("Gerson".to_string());
[INFO] [stdout]   |     ---- `opt1` is overwritten here before the previous value is read
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `age`, and `email` are never read
[INFO] [stdout]  --> src/structs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Student {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 4 |     age: u16,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 5 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Student` 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: value assigned to `opt1` is never read
[INFO] [stdout]  --> src/optiontest.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut opt1: Option<String> = None;
[INFO] [stdout]   |                                    ^^^^ this value is reassigned later and never used
[INFO] [stdout] 3 |     opt1 = Some("Gerson".to_string());
[INFO] [stdout]   |     ---- `opt1` is overwritten here before the previous value is read
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `age`, and `email` are never read
[INFO] [stdout]  --> src/structs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Student {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 4 |     age: u16,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 5 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Student` 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]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking quote v1.0.35
[INFO] [stderr]     Checking syn v2.0.58
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.5
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking macros v0.1.0 (/opt/rustwide/workdir/substrate/rust-state-machine/macros)
[INFO] [stderr]     Checking rust-state-machine v0.1.0 (/opt/rustwide/workdir/substrate/rust-state-machine)
[INFO] [stdout] warning: unused import: `Dispatch`
[INFO] [stdout]  --> substrate/rust-state-machine/src/proof_of_existence.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::support::{Dispatch, DispatchResult};
[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: `DispatchResult`
[INFO] [stdout]  --> substrate/rust-state-machine/src/main.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::support::{Dispatch, DispatchResult};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Dispatch`
[INFO] [stdout]  --> substrate/rust-state-machine/src/proof_of_existence.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::support::{Dispatch, DispatchResult};
[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: `DispatchResult`
[INFO] [stdout]  --> substrate/rust-state-machine/src/main.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::support::{Dispatch, DispatchResult};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Balance` is never used
[INFO] [stdout]   --> substrate/rust-state-machine/src/main.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub type Balance = u128;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Nonce` is never used
[INFO] [stdout]   --> substrate/rust-state-machine/src/main.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub type Nonce = u32;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Balance` is never used
[INFO] [stdout]   --> substrate/rust-state-machine/src/main.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub type Balance = u128;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Nonce` is never used
[INFO] [stdout]   --> substrate/rust-state-machine/src/main.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub type Nonce = u32;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.75s
[INFO] running `Command { std: "docker" "inspect" "31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2", kill_on_drop: false }`
[INFO] [stdout] 31fe338a95784e2eac60742cb594559bfa14eacfeb1dd0613f130e29981782f2
