[INFO] cloning repository https://github.com/ChinKX/rust_workshop
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChinKX/rust_workshop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChinKX%2Frust_workshop", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChinKX%2Frust_workshop'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 211f62f03773a8baf9925da7863a21351598bb18
[INFO] building ChinKX/rust_workshop against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChinKX%2Frust_workshop" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ChinKX/rust_workshop on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ChinKX/rust_workshop
[INFO] finished tweaking git repo https://github.com/ChinKX/rust_workshop
[INFO] tweaked toml for git repo https://github.com/ChinKX/rust_workshop written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ChinKX/rust_workshop 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d4b9631c9a5cce85807fab252564a879690a3e0e284545d82d2812357f16d0b2
[INFO] running `Command { std: "docker" "start" "-a" "d4b9631c9a5cce85807fab252564a879690a3e0e284545d82d2812357f16d0b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4b9631c9a5cce85807fab252564a879690a3e0e284545d82d2812357f16d0b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4b9631c9a5cce85807fab252564a879690a3e0e284545d82d2812357f16d0b2", kill_on_drop: false }`
[INFO] [stdout] d4b9631c9a5cce85807fab252564a879690a3e0e284545d82d2812357f16d0b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44c4b044e3aca012afaa677a9895ad9fc8ed8e34c28b611de84225ac71c93d38
[INFO] running `Command { std: "docker" "start" "-a" "44c4b044e3aca012afaa677a9895ad9fc8ed8e34c28b611de84225ac71c93d38", kill_on_drop: false }`
[INFO] [stderr]    Compiling hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let s: String = "hello world".to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spongebob`
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut spongebob = "hello world".to_string();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spongebob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut spongebob = "hello world".to_string();
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `humans`
[INFO] [stdout]    --> src/main.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let humans = vec![
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_humans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mylist`
[INFO] [stdout]    --> src/main.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |     let mylist: List<u32> = List::Nil;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mylist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 |     let y = *x + 2;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shape2`
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let shape2 = BadShape {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shape0`
[INFO] [stdout]    --> src/main.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let shape0 = Shape::Circle { radius: 32.0 };
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let x = match shape.radius {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]    --> src/main.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |     let hello = if true { "hello" } else { "world" };
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:373:9
[INFO] [stdout]     |
[INFO] [stdout] 373 |     let x = {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_`
[INFO] [stdout]    --> src/main.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |     let x_ = shape
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_x_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account`
[INFO] [stdout]    --> src/main.rs:488:18
[INFO] [stdout]     |
[INFO] [stdout] 488 | fn debit_account(account: &Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> src/main.rs:488:37
[INFO] [stdout]     |
[INFO] [stdout] 488 | fn debit_account(account: &Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/main.rs:514:9
[INFO] [stdout]     |
[INFO] [stdout] 514 |     let result = withdraw_account(from_account, amount)?;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_string_1` is never used
[INFO] [stdout]    --> src/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn print_string_1<'s>(s: &'s String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_string_2` is never used
[INFO] [stdout]    --> src/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn print_string_2(s: &String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_krab_2` is never used
[INFO] [stdout]    --> src/main.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn append_krab_2(a: &mut String, b: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Rectangle`, `Triangle`, and `TwoShapes` are never constructed
[INFO] [stdout]    --> src/main.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 139 | enum Shape {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] 140 |     Circle { radius: f32 },
[INFO] [stdout] 141 |     Rectangle { side: f32, length: f32 },
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 142 |     Triangle { base: f32, height: f32 },
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 143 |     TwoShapes(Box<Shape>, Box<Shape>),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Boolean` is never used
[INFO] [stdout]    --> src/main.rs:147:6
[INFO] [stdout]     |
[INFO] [stdout] 147 | enum Boolean {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]    --> src/main.rs:153:6
[INFO] [stdout]     |
[INFO] [stdout] 153 | enum Color {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Human` is never constructed
[INFO] [stdout]    --> src/main.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | struct Human {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Human2` is never used
[INFO] [stdout]    --> src/main.rs:166:6
[INFO] [stdout]     |
[INFO] [stdout] 166 | type Human2 = (String, String); // tuple
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Human3` is never constructed
[INFO] [stdout]    --> src/main.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 | struct Human3 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `possible_humans` is never used
[INFO] [stdout]    --> src/main.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn possible_humans() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Human12` is never constructed
[INFO] [stdout]    --> src/main.rs:194:8
[INFO] [stdout]     |
[INFO] [stdout] 194 | struct Human12 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Human22` is never used
[INFO] [stdout]    --> src/main.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 | type Human22 = (Boolean, Boolean, Color);
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_red_crazy_short_human_normal` is never used
[INFO] [stdout]    --> src/main.rs:204:4
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn is_red_crazy_short_human_normal(human: Human12) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_red_crazy_short_human_better` is never used
[INFO] [stdout]    --> src/main.rs:223:4
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn is_red_crazy_short_human_better(human: Human12) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_red_crazy_short_human22_better` is never used
[INFO] [stdout]    --> src/main.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn is_red_crazy_short_human22_better(human: Human22) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_circle_normal` is never used
[INFO] [stdout]    --> src/main.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn is_two_circle_normal(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_circle_better` is never used
[INFO] [stdout]    --> src/main.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn is_two_circle_better(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_big_circles_normal` is never used
[INFO] [stdout]    --> src/main.rs:283:4
[INFO] [stdout]     |
[INFO] [stdout] 283 | fn is_two_big_circles_normal(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_big_circles_better` is never used
[INFO] [stdout]    --> src/main.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn is_two_big_circles_better(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BadShape` is never constructed
[INFO] [stdout]    --> src/main.rs:321:8
[INFO] [stdout]     |
[INFO] [stdout] 321 | struct BadShape {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `List` is never used
[INFO] [stdout]    --> src/main.rs:327:6
[INFO] [stdout]     |
[INFO] [stdout] 327 | enum List<T> {
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `foo` is never used
[INFO] [stdout]    --> src/main.rs:337:4
[INFO] [stdout]     |
[INFO] [stdout] 337 | fn foo() {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `area_1` is never used
[INFO] [stdout]    --> src/main.rs:391:4
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn area_1(shape: BadShape) -> f32 {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `area_12` is never used
[INFO] [stdout]    --> src/main.rs:414:4
[INFO] [stdout]     |
[INFO] [stdout] 414 | fn area_12(shape: Shape) -> f32 {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial2` is never used
[INFO] [stdout]    --> src/main.rs:440:4
[INFO] [stdout]     |
[INFO] [stdout] 440 | fn factorial2(mut n: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial3` is never used
[INFO] [stdout]    --> src/main.rs:453:4
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn factorial3(mut n: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]    --> src/main.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 | struct Account {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `withdraw_account` is never used
[INFO] [stdout]    --> src/main.rs:470:4
[INFO] [stdout]     |
[INFO] [stdout] 470 | fn withdraw_account(account: Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debit_account` is never used
[INFO] [stdout]    --> src/main.rs:488:4
[INFO] [stdout]     |
[INFO] [stdout] 488 | fn debit_account(account: &Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transfer_amount_1` is never used
[INFO] [stdout]    --> src/main.rs:492:4
[INFO] [stdout]     |
[INFO] [stdout] 492 | fn transfer_amount_1(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transfer_amount_2` is never used
[INFO] [stdout]    --> src/main.rs:509:4
[INFO] [stdout]     |
[INFO] [stdout] 509 | fn transfer_amount_2(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "44c4b044e3aca012afaa677a9895ad9fc8ed8e34c28b611de84225ac71c93d38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44c4b044e3aca012afaa677a9895ad9fc8ed8e34c28b611de84225ac71c93d38", kill_on_drop: false }`
[INFO] [stdout] 44c4b044e3aca012afaa677a9895ad9fc8ed8e34c28b611de84225ac71c93d38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7bb9a9fcdd95b8e1f01696fb0d42481b0042c02fa2c5aa5ae85c7439e02cafc
[INFO] running `Command { std: "docker" "start" "-a" "a7bb9a9fcdd95b8e1f01696fb0d42481b0042c02fa2c5aa5ae85c7439e02cafc", kill_on_drop: false }`
[INFO] [stderr]    Compiling hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let s: String = "hello world".to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spongebob`
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut spongebob = "hello world".to_string();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spongebob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut spongebob = "hello world".to_string();
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `humans`
[INFO] [stdout]    --> src/main.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let humans = vec![
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_humans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mylist`
[INFO] [stdout]    --> src/main.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |     let mylist: List<u32> = List::Nil;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mylist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 |     let y = *x + 2;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shape2`
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let shape2 = BadShape {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shape0`
[INFO] [stdout]    --> src/main.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let shape0 = Shape::Circle { radius: 32.0 };
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:368:9
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let x = match shape.radius {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]    --> src/main.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |     let hello = if true { "hello" } else { "world" };
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:373:9
[INFO] [stdout]     |
[INFO] [stdout] 373 |     let x = {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_`
[INFO] [stdout]    --> src/main.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |     let x_ = shape
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_x_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account`
[INFO] [stdout]    --> src/main.rs:488:18
[INFO] [stdout]     |
[INFO] [stdout] 488 | fn debit_account(account: &Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> src/main.rs:488:37
[INFO] [stdout]     |
[INFO] [stdout] 488 | fn debit_account(account: &Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/main.rs:514:9
[INFO] [stdout]     |
[INFO] [stdout] 514 |     let result = withdraw_account(from_account, amount)?;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_string_1` is never used
[INFO] [stdout]    --> src/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn print_string_1<'s>(s: &'s String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_string_2` is never used
[INFO] [stdout]    --> src/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn print_string_2(s: &String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_krab_2` is never used
[INFO] [stdout]    --> src/main.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn append_krab_2(a: &mut String, b: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Rectangle`, `Triangle`, and `TwoShapes` are never constructed
[INFO] [stdout]    --> src/main.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 139 | enum Shape {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] 140 |     Circle { radius: f32 },
[INFO] [stdout] 141 |     Rectangle { side: f32, length: f32 },
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 142 |     Triangle { base: f32, height: f32 },
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 143 |     TwoShapes(Box<Shape>, Box<Shape>),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Boolean` is never used
[INFO] [stdout]    --> src/main.rs:147:6
[INFO] [stdout]     |
[INFO] [stdout] 147 | enum Boolean {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]    --> src/main.rs:153:6
[INFO] [stdout]     |
[INFO] [stdout] 153 | enum Color {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Human` is never constructed
[INFO] [stdout]    --> src/main.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | struct Human {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Human2` is never used
[INFO] [stdout]    --> src/main.rs:166:6
[INFO] [stdout]     |
[INFO] [stdout] 166 | type Human2 = (String, String); // tuple
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Human3` is never constructed
[INFO] [stdout]    --> src/main.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 | struct Human3 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `possible_humans` is never used
[INFO] [stdout]    --> src/main.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn possible_humans() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Human12` is never constructed
[INFO] [stdout]    --> src/main.rs:194:8
[INFO] [stdout]     |
[INFO] [stdout] 194 | struct Human12 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Human22` is never used
[INFO] [stdout]    --> src/main.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 | type Human22 = (Boolean, Boolean, Color);
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_red_crazy_short_human_normal` is never used
[INFO] [stdout]    --> src/main.rs:204:4
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn is_red_crazy_short_human_normal(human: Human12) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_red_crazy_short_human_better` is never used
[INFO] [stdout]    --> src/main.rs:223:4
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn is_red_crazy_short_human_better(human: Human12) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_red_crazy_short_human22_better` is never used
[INFO] [stdout]    --> src/main.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn is_red_crazy_short_human22_better(human: Human22) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_circle_normal` is never used
[INFO] [stdout]    --> src/main.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn is_two_circle_normal(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_circle_better` is never used
[INFO] [stdout]    --> src/main.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn is_two_circle_better(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_big_circles_normal` is never used
[INFO] [stdout]    --> src/main.rs:283:4
[INFO] [stdout]     |
[INFO] [stdout] 283 | fn is_two_big_circles_normal(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_two_big_circles_better` is never used
[INFO] [stdout]    --> src/main.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn is_two_big_circles_better(shape: Shape) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BadShape` is never constructed
[INFO] [stdout]    --> src/main.rs:321:8
[INFO] [stdout]     |
[INFO] [stdout] 321 | struct BadShape {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `List` is never used
[INFO] [stdout]    --> src/main.rs:327:6
[INFO] [stdout]     |
[INFO] [stdout] 327 | enum List<T> {
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `foo` is never used
[INFO] [stdout]    --> src/main.rs:337:4
[INFO] [stdout]     |
[INFO] [stdout] 337 | fn foo() {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `area_1` is never used
[INFO] [stdout]    --> src/main.rs:391:4
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn area_1(shape: BadShape) -> f32 {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `area_12` is never used
[INFO] [stdout]    --> src/main.rs:414:4
[INFO] [stdout]     |
[INFO] [stdout] 414 | fn area_12(shape: Shape) -> f32 {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial2` is never used
[INFO] [stdout]    --> src/main.rs:440:4
[INFO] [stdout]     |
[INFO] [stdout] 440 | fn factorial2(mut n: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial3` is never used
[INFO] [stdout]    --> src/main.rs:453:4
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn factorial3(mut n: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]    --> src/main.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 | struct Account {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `withdraw_account` is never used
[INFO] [stdout]    --> src/main.rs:470:4
[INFO] [stdout]     |
[INFO] [stdout] 470 | fn withdraw_account(account: Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debit_account` is never used
[INFO] [stdout]    --> src/main.rs:488:4
[INFO] [stdout]     |
[INFO] [stdout] 488 | fn debit_account(account: &Account, amount: f32) -> Result<f32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transfer_amount_1` is never used
[INFO] [stdout]    --> src/main.rs:492:4
[INFO] [stdout]     |
[INFO] [stdout] 492 | fn transfer_amount_1(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transfer_amount_2` is never used
[INFO] [stdout]    --> src/main.rs:509:4
[INFO] [stdout]     |
[INFO] [stdout] 509 | fn transfer_amount_2(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "a7bb9a9fcdd95b8e1f01696fb0d42481b0042c02fa2c5aa5ae85c7439e02cafc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7bb9a9fcdd95b8e1f01696fb0d42481b0042c02fa2c5aa5ae85c7439e02cafc", kill_on_drop: false }`
[INFO] [stdout] a7bb9a9fcdd95b8e1f01696fb0d42481b0042c02fa2c5aa5ae85c7439e02cafc
