[INFO] cloning repository https://github.com/matthausen/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthausen/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthausen%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthausen%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ef8f3dbc0fafe359af71a3a66540fd651e6e2b2 [INFO] checking matthausen/advent_of_code against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthausen%2Fadvent_of_code" "/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/matthausen/advent_of_code on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matthausen/advent_of_code [INFO] finished tweaking git repo https://github.com/matthausen/advent_of_code [INFO] tweaked toml for git repo https://github.com/matthausen/advent_of_code written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matthausen/advent_of_code 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" "+667247db71ea18c4130dd018d060e7f09d589490" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f395271c24b0aafcfc0ddd60c2bba14c4b65a2ded347be13718ed16f9460571 [INFO] running `Command { std: "docker" "start" "-a" "1f395271c24b0aafcfc0ddd60c2bba14c4b65a2ded347be13718ed16f9460571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f395271c24b0aafcfc0ddd60c2bba14c4b65a2ded347be13718ed16f9460571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f395271c24b0aafcfc0ddd60c2bba14c4b65a2ded347be13718ed16f9460571", kill_on_drop: false }` [INFO] [stdout] 1f395271c24b0aafcfc0ddd60c2bba14c4b65a2ded347be13718ed16f9460571 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d491ae2ec939146c13a38cea1aac24e253c43f8b26921c919f5837de7e2dc00d [INFO] running `Command { std: "docker" "start" "-a" "d491ae2ec939146c13a38cea1aac24e253c43f8b26921c919f5837de7e2dc00d", kill_on_drop: false }` [INFO] [stderr] Checking rust_advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day07.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let score = (game.bid * (index as i32 +1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - let score = (game.bid * (index as i32 +1)); [INFO] [stdout] 75 + let score = game.bid * (index as i32 +1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day07.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let score = (game.bid * (index as i32 +1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - let score = (game.bid * (index as i32 +1)); [INFO] [stdout] 75 + let score = game.bid * (index as i32 +1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hand` is never read [INFO] [stdout] --> src/bin/day07.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct CamelGameData{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 17 | hand: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CamelGameData` 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 `hand` is never read [INFO] [stdout] --> src/bin/day07.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct CamelGameData{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 17 | hand: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CamelGameData` 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: constant `input` is never used [INFO] [stdout] --> src/bin/day06.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const input:&str = "Time: 7 15 30 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `input` should have an upper case name [INFO] [stdout] --> src/bin/day06.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const input:&str = "Time: 7 15 30 [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INPUT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "d491ae2ec939146c13a38cea1aac24e253c43f8b26921c919f5837de7e2dc00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d491ae2ec939146c13a38cea1aac24e253c43f8b26921c919f5837de7e2dc00d", kill_on_drop: false }` [INFO] [stdout] d491ae2ec939146c13a38cea1aac24e253c43f8b26921c919f5837de7e2dc00d