[INFO] cloning repository https://github.com/imageofyeshua/embedded_rust_basic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imageofyeshua/embedded_rust_basic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimageofyeshua%2Fembedded_rust_basic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimageofyeshua%2Fembedded_rust_basic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9b823fbdb8fcb0ea481a7f0e37850ea833591c97
[INFO] checking imageofyeshua/embedded_rust_basic against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimageofyeshua%2Fembedded_rust_basic" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/imageofyeshua/embedded_rust_basic
[INFO] finished tweaking git repo https://github.com/imageofyeshua/embedded_rust_basic
[INFO] tweaked toml for git repo https://github.com/imageofyeshua/embedded_rust_basic written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/imageofyeshua/embedded_rust_basic on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/imageofyeshua/embedded_rust_basic 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b74d9bcdca467e89da9f061db791c9d00bc433df5e2da5f23a0c7d247b94d62
[INFO] running `Command { std: "docker" "start" "-a" "6b74d9bcdca467e89da9f061db791c9d00bc433df5e2da5f23a0c7d247b94d62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b74d9bcdca467e89da9f061db791c9d00bc433df5e2da5f23a0c7d247b94d62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b74d9bcdca467e89da9f061db791c9d00bc433df5e2da5f23a0c7d247b94d62", kill_on_drop: false }`
[INFO] [stdout] 6b74d9bcdca467e89da9f061db791c9d00bc433df5e2da5f23a0c7d247b94d62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a4d70ff03d685ccf706a0473a3553468c943941836f3e5ef1ec44993d1d7c60
[INFO] running `Command { std: "docker" "start" "-a" "6a4d70ff03d685ccf706a0473a3553468c943941836f3e5ef1ec44993d1d7c60", kill_on_drop: false }`
[INFO] [stderr]     Checking embedded_rust_basic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::slice`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::slice;
[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 imports: `Ordering`, `array`, `f32::consts`, `panic`, and `thread`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{array, f32::consts, panic, sync::atomic::{AtomicBool, Ordering}, thread};
[INFO] [stdout]   |           ^^^^^  ^^^^^^^^^^^  ^^^^^                             ^^^^^^^^   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::slice`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::slice;
[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 imports: `Ordering`, `array`, `f32::consts`, `panic`, and `thread`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{array, f32::consts, panic, sync::atomic::{AtomicBool, Ordering}, thread};
[INFO] [stdout]   |           ^^^^^  ^^^^^^^^^^^  ^^^^^                             ^^^^^^^^   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_car_status` is never read
[INFO] [stdout]    --> src/main.rs:187:34
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut current_car_status = CarStatus::Pause(Point {x: 0.0, y: 0.0});
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 188 |
[INFO] [stdout] 189 |     current_car_status = CarStatus::Up(100, 67, 78);
[INFO] [stdout]     |     ----------------------------------------------- `current_car_status` 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: static `FAIL_SAFE_MODE` is never used
[INFO] [stdout]  --> src/main.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | static FAIL_SAFE_MODE: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `COUNTER` is never used
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | static mut COUNTER: u32 = 0;
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE` is never used
[INFO] [stdout]  --> src/main.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const MAX_VALUE: u32 = 100;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Down` is never constructed
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum CarStatus {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 11 |     Up(u32, i32, i32),
[INFO] [stdout] 12 |     Down{speed: u32},
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/main.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Circle { x: f32, y: f32, radius: f32},
[INFO] [stdout]    |     ------   ^       ^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Rectangle{ x: f32, y: f32, h: f32, w: f32 },
[INFO] [stdout]    |     ---------  ^       ^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Square` is never constructed
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Shape {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 20 |     Square(f32, f32, f32),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AddStringError` is never used
[INFO] [stdout]   --> src/main.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum AddStringError {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `description` is never used
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AddStringError {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 30 |     fn description(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]   --> src/main.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct Circle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_male`, `height`, and `initial` are never read
[INFO] [stdout]   --> src/main.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct Person {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     is_male: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 89 |     height: f32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 90 |     initial: char
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Process` is never constructed
[INFO] [stdout]   --> src/main.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | struct Process {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_shape_point` is never used
[INFO] [stdout]    --> src/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn print_shape_point(point: &Point) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_shape_circle` is never used
[INFO] [stdout]    --> src/main.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn print_shape_circle(circle: &Circle) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_strings` is never used
[INFO] [stdout]    --> src/main.rs:608:4
[INFO] [stdout]     |
[INFO] [stdout] 608 | fn add_strings(s1: &str, s2: &str) -> Result<String, AddStringError> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_car_status` is never read
[INFO] [stdout]    --> src/main.rs:187:34
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut current_car_status = CarStatus::Pause(Point {x: 0.0, y: 0.0});
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 188 |
[INFO] [stdout] 189 |     current_car_status = CarStatus::Up(100, 67, 78);
[INFO] [stdout]     |     ----------------------------------------------- `current_car_status` 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: static `FAIL_SAFE_MODE` is never used
[INFO] [stdout]  --> src/main.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | static FAIL_SAFE_MODE: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `COUNTER` is never used
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | static mut COUNTER: u32 = 0;
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE` is never used
[INFO] [stdout]  --> src/main.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const MAX_VALUE: u32 = 100;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Down` is never constructed
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum CarStatus {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 11 |     Up(u32, i32, i32),
[INFO] [stdout] 12 |     Down{speed: u32},
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/main.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Circle { x: f32, y: f32, radius: f32},
[INFO] [stdout]    |     ------   ^       ^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Rectangle{ x: f32, y: f32, h: f32, w: f32 },
[INFO] [stdout]    |     ---------  ^       ^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Square` is never constructed
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Shape {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 20 |     Square(f32, f32, f32),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AddStringError` is never used
[INFO] [stdout]   --> src/main.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum AddStringError {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `description` is never used
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AddStringError {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 30 |     fn description(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]   --> src/main.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct Circle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_male`, `height`, and `initial` are never read
[INFO] [stdout]   --> src/main.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct Person {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     is_male: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 89 |     height: f32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 90 |     initial: char
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Process` is never constructed
[INFO] [stdout]   --> src/main.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | struct Process {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_shape_point` is never used
[INFO] [stdout]    --> src/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn print_shape_point(point: &Point) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_shape_circle` is never used
[INFO] [stdout]    --> src/main.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn print_shape_circle(circle: &Circle) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_strings` is never used
[INFO] [stdout]    --> src/main.rs:608:4
[INFO] [stdout]     |
[INFO] [stdout] 608 | fn add_strings(s1: &str, s2: &str) -> Result<String, AddStringError> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "6a4d70ff03d685ccf706a0473a3553468c943941836f3e5ef1ec44993d1d7c60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a4d70ff03d685ccf706a0473a3553468c943941836f3e5ef1ec44993d1d7c60", kill_on_drop: false }`
[INFO] [stdout] 6a4d70ff03d685ccf706a0473a3553468c943941836f3e5ef1ec44993d1d7c60
