[INFO] cloning repository https://github.com/mveytsman/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mveytsman/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8412721be21f49f4728faf35f452629524be661d [INFO] checking mveytsman/advent-of-code-2019 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mveytsman/advent-of-code-2019 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mveytsman/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/mveytsman/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/mveytsman/advent-of-code-2019 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mveytsman/advent-of-code-2019 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded num v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e82eddfd2666054b15ad520b815366a15d30e13dc932f782f87722ae9fc4c58 [INFO] running `Command { std: "docker" "start" "-a" "4e82eddfd2666054b15ad520b815366a15d30e13dc932f782f87722ae9fc4c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e82eddfd2666054b15ad520b815366a15d30e13dc932f782f87722ae9fc4c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e82eddfd2666054b15ad520b815366a15d30e13dc932f782f87722ae9fc4c58", kill_on_drop: false }` [INFO] [stdout] 4e82eddfd2666054b15ad520b815366a15d30e13dc932f782f87722ae9fc4c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd73637f696a476ea64e785ffeec4bea4bcbd26e2fef061f7c336ad956b3abad [INFO] running `Command { std: "docker" "start" "-a" "fd73637f696a476ea64e785ffeec4bea4bcbd26e2fef061f7c336ad956b3abad", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking advent2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | for i in 0..46867749 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | let min_x = *panels.keys().map (|(x,y)| x).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | let max_x = *panels.keys().map (|(x,y)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 90 | let min_y = *panels.keys().map (|(x,y)| y).min().unwrap(); [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/day11.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | let max_y = *panels.keys().map (|(x,y)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_1` [INFO] [stdout] --> src/day3.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_2` [INFO] [stdout] --> src/day3.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day3.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_1` [INFO] [stdout] --> src/day3.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_2` [INFO] [stdout] --> src/day3.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day3.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | for i in 0..46867749 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day8.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn print_layer(layer: &Vec, width: usize, height: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | let min_x = *panels.keys().map (|(x,y)| x).min().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day11.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | let max_x = *panels.keys().map (|(x,y)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 90 | let min_y = *panels.keys().map (|(x,y)| y).min().unwrap(); [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/day11.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | let max_y = *panels.keys().map (|(x,y)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intcode.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut memory = Memory::load(text); [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: field `0` is never read [INFO] [stdout] --> src/day3_2.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | ParseIntError(std::num::ParseIntError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | ParseIntError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid2` is never used [INFO] [stdout] --> src/day4.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn valid2(num: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/intcode.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day12.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | for i in 0..9 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_1` [INFO] [stdout] --> src/day3.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_2` [INFO] [stdout] --> src/day3.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `x_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day3.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | Self::HorizontalSegment { x_1, x_2, y } => None, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_1` [INFO] [stdout] --> src/day3.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_2` [INFO] [stdout] --> src/day3.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^^^ help: try ignoring the field: `y_2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day3.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | Self::VerticalSegment { y_1, y_2, x } => None, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day8.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn print_layer(layer: &Vec, width: usize, height: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/intcode.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut memory = Memory::load(text); [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: field `0` is never read [INFO] [stdout] --> src/day3_2.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | ParseIntError(std::num::ParseIntError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | ParseIntError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.44s [INFO] running `Command { std: "docker" "inspect" "fd73637f696a476ea64e785ffeec4bea4bcbd26e2fef061f7c336ad956b3abad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd73637f696a476ea64e785ffeec4bea4bcbd26e2fef061f7c336ad956b3abad", kill_on_drop: false }` [INFO] [stdout] fd73637f696a476ea64e785ffeec4bea4bcbd26e2fef061f7c336ad956b3abad