[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] building nouman-96/december_twentytwo against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnouman-96%2Fdecember_twentytwo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nouman-96/december_twentytwo on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afc81e7b214cfcf7802eb2871ed7dc0ef35eb414e3dd98970ecb3e0289207984 [INFO] running `Command { std: "docker" "start" "-a" "afc81e7b214cfcf7802eb2871ed7dc0ef35eb414e3dd98970ecb3e0289207984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afc81e7b214cfcf7802eb2871ed7dc0ef35eb414e3dd98970ecb3e0289207984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc81e7b214cfcf7802eb2871ed7dc0ef35eb414e3dd98970ecb3e0289207984", kill_on_drop: false }` [INFO] [stdout] afc81e7b214cfcf7802eb2871ed7dc0ef35eb414e3dd98970ecb3e0289207984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4800b4212336cbac5917e41ecacf2e69a2de89c6fa432bf6c7553aaea2b90f5e [INFO] running `Command { std: "docker" "start" "-a" "4800b4212336cbac5917e41ecacf2e69a2de89c6fa432bf6c7553aaea2b90f5e", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "4800b4212336cbac5917e41ecacf2e69a2de89c6fa432bf6c7553aaea2b90f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4800b4212336cbac5917e41ecacf2e69a2de89c6fa432bf6c7553aaea2b90f5e", kill_on_drop: false }` [INFO] [stdout] 4800b4212336cbac5917e41ecacf2e69a2de89c6fa432bf6c7553aaea2b90f5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9241f1b5facc4f20172ed54c0349143b396a043b88c60693eadd2679083de0b9 [INFO] running `Command { std: "docker" "start" "-a" "9241f1b5facc4f20172ed54c0349143b396a043b88c60693eadd2679083de0b9", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "9241f1b5facc4f20172ed54c0349143b396a043b88c60693eadd2679083de0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9241f1b5facc4f20172ed54c0349143b396a043b88c60693eadd2679083de0b9", kill_on_drop: false }` [INFO] [stdout] 9241f1b5facc4f20172ed54c0349143b396a043b88c60693eadd2679083de0b9