[INFO] cloning repository https://github.com/jacobhq/yr12-transition-coding-challenges [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobhq/yr12-transition-coding-challenges" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobhq%2Fyr12-transition-coding-challenges", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobhq%2Fyr12-transition-coding-challenges'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0912fecb94bdbeb050adeb8a6155fe58c49fb905 [INFO] checking jacobhq/yr12-transition-coding-challenges against try#8cf44c88fc5805dc578c5c987397615b47d2e2b2 for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobhq%2Fyr12-transition-coding-challenges" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobhq/yr12-transition-coding-challenges on toolchain 8cf44c88fc5805dc578c5c987397615b47d2e2b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacobhq/yr12-transition-coding-challenges [INFO] finished tweaking git repo https://github.com/jacobhq/yr12-transition-coding-challenges [INFO] tweaked toml for git repo https://github.com/jacobhq/yr12-transition-coding-challenges written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jacobhq/yr12-transition-coding-challenges 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" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 502601d85f337ec1f31a07b28d3830fd4cf49fbbfd715cc54fe291451a20dc22 [INFO] running `Command { std: "docker" "start" "-a" "502601d85f337ec1f31a07b28d3830fd4cf49fbbfd715cc54fe291451a20dc22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "502601d85f337ec1f31a07b28d3830fd4cf49fbbfd715cc54fe291451a20dc22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "502601d85f337ec1f31a07b28d3830fd4cf49fbbfd715cc54fe291451a20dc22", kill_on_drop: false }` [INFO] [stdout] 502601d85f337ec1f31a07b28d3830fd4cf49fbbfd715cc54fe291451a20dc22 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e434377e120125c6b601fe454a5da59c5b8f3d838409b59cf43e72358c6dd97 [INFO] running `Command { std: "docker" "start" "-a" "1e434377e120125c6b601fe454a5da59c5b8f3d838409b59cf43e72358c6dd97", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking yr12-transition-coding-challenges v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/order/mod.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if (cost_in_pounds > 50f32) { cost_in_pounds *= 0.95f32 }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (cost_in_pounds > 50f32) { cost_in_pounds *= 0.95f32 }; [INFO] [stdout] 31 + if cost_in_pounds > 50f32 { cost_in_pounds *= 0.95f32 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/order/mod.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if (cost_in_pounds > 50f32) { cost_in_pounds *= 0.95f32 }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (cost_in_pounds > 50f32) { cost_in_pounds *= 0.95f32 }; [INFO] [stdout] 31 + if cost_in_pounds > 50f32 { cost_in_pounds *= 0.95f32 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name`, `last_name`, and `date` are never read [INFO] [stdout] --> src/customer_management/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Customer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name`, `last_name`, and `date` are never read [INFO] [stdout] --> src/customer_management/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Customer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "1e434377e120125c6b601fe454a5da59c5b8f3d838409b59cf43e72358c6dd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e434377e120125c6b601fe454a5da59c5b8f3d838409b59cf43e72358c6dd97", kill_on_drop: false }` [INFO] [stdout] 1e434377e120125c6b601fe454a5da59c5b8f3d838409b59cf43e72358c6dd97