[INFO] cloning repository https://github.com/nouman-96/december_twentytwo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nouman-96/december_twentytwo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnouman-96%2Fdecember_twentytwo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnouman-96%2Fdecember_twentytwo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c5484da4b74b1b84150f60bf8de0670e28fc20d [INFO] checking nouman-96/december_twentytwo against try#c4ca24658d934444a28db36abebef17a8651701a for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnouman-96%2Fdecember_twentytwo" "/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/nouman-96/december_twentytwo [INFO] finished tweaking git repo https://github.com/nouman-96/december_twentytwo [INFO] tweaked toml for git repo https://github.com/nouman-96/december_twentytwo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nouman-96/december_twentytwo on toolchain c4ca24658d934444a28db36abebef17a8651701a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nouman-96/december_twentytwo 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" "+c4ca24658d934444a28db36abebef17a8651701a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6fa57aeb9fa207acb49be18f0e74a377fcf3ad52f1e36cb0d8ef48f633f1a90 [INFO] running `Command { std: "docker" "start" "-a" "d6fa57aeb9fa207acb49be18f0e74a377fcf3ad52f1e36cb0d8ef48f633f1a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6fa57aeb9fa207acb49be18f0e74a377fcf3ad52f1e36cb0d8ef48f633f1a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6fa57aeb9fa207acb49be18f0e74a377fcf3ad52f1e36cb0d8ef48f633f1a90", kill_on_drop: false }` [INFO] [stdout] d6fa57aeb9fa207acb49be18f0e74a377fcf3ad52f1e36cb0d8ef48f633f1a90 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 985c9ae71da159a3a89f32cbd49b064e5c2b5ecf74db86af9d88ccecfa23f9ae [INFO] running `Command { std: "docker" "start" "-a" "985c9ae71da159a3a89f32cbd49b064e5c2b5ecf74db86af9d88ccecfa23f9ae", kill_on_drop: false }` [INFO] [stderr] Checking december_twentytwo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `class` and `season` are never read [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct Food{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | calories: f32, [INFO] [stdout] 5 | class : String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | season: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Food` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Team{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `price`, and `serving` are never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foody{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 20 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | price : u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | serving: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UDF` should have a snake case name [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn UDF (name:String,price:u16,serving:u8) -> Foody{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `udf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Foody_1` should have a snake case name [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let Foody_1 = UDF("Banana".to_string(),50,12); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `foody_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Foody_2` should have a snake case name [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let Foody_2 = Foody::UDF("Apple".to_string(),120,2); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `foody_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `UDF` should have a snake case name [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn UDF (name:String,price:u16,serving:u8) -> Foody{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `udf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `season` are never read [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct Food{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | calories: f32, [INFO] [stdout] 5 | class : String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | season: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Food` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Team{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `price`, and `serving` are never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foody{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 20 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | price : u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | serving: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UDF` should have a snake case name [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn UDF (name:String,price:u16,serving:u8) -> Foody{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `udf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Foody_1` should have a snake case name [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let Foody_1 = UDF("Banana".to_string(),50,12); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `foody_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Foody_2` should have a snake case name [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let Foody_2 = Foody::UDF("Apple".to_string(),120,2); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `foody_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `UDF` should have a snake case name [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn UDF (name:String,price:u16,serving:u8) -> Foody{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `udf` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] running `Command { std: "docker" "inspect" "985c9ae71da159a3a89f32cbd49b064e5c2b5ecf74db86af9d88ccecfa23f9ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985c9ae71da159a3a89f32cbd49b064e5c2b5ecf74db86af9d88ccecfa23f9ae", kill_on_drop: false }` [INFO] [stdout] 985c9ae71da159a3a89f32cbd49b064e5c2b5ecf74db86af9d88ccecfa23f9ae