[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] testing mveytsman/advent-of-code-2019 against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmveytsman%2Fadvent-of-code-2019" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mveytsman/advent-of-code-2019 on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "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-1-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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38015c088daaa8c5d56013a576bc776dfb57e1de30b46b576a0316bf60da0434 [INFO] running `Command { std: "docker" "start" "-a" "38015c088daaa8c5d56013a576bc776dfb57e1de30b46b576a0316bf60da0434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38015c088daaa8c5d56013a576bc776dfb57e1de30b46b576a0316bf60da0434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38015c088daaa8c5d56013a576bc776dfb57e1de30b46b576a0316bf60da0434", kill_on_drop: false }` [INFO] [stdout] 38015c088daaa8c5d56013a576bc776dfb57e1de30b46b576a0316bf60da0434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b46d18357f379f72de47fa2ed3893bad8661f505fd0f8362c1b83a3b883bf71c [INFO] running `Command { std: "docker" "start" "-a" "b46d18357f379f72de47fa2ed3893bad8661f505fd0f8362c1b83a3b883bf71c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling 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-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling 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: `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(std::num::ParseIntError), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s [INFO] running `Command { std: "docker" "inspect" "b46d18357f379f72de47fa2ed3893bad8661f505fd0f8362c1b83a3b883bf71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b46d18357f379f72de47fa2ed3893bad8661f505fd0f8362c1b83a3b883bf71c", kill_on_drop: false }` [INFO] [stdout] b46d18357f379f72de47fa2ed3893bad8661f505fd0f8362c1b83a3b883bf71c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64964685bfd0fa922135e7fcb6b3bdaea70281cdc139d95fd980cd0a0c5419e3 [INFO] running `Command { std: "docker" "start" "-a" "64964685bfd0fa922135e7fcb6b3bdaea70281cdc139d95fd980cd0a0c5419e3", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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(std::num::ParseIntError), [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/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: `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: 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(std::num::ParseIntError), [INFO] [stdout] 5 + ParseIntError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustccFZdH2/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libpermutohedron-e777eb04221a2e44.rlib,libitertools-c04df8960c8bf652.rlib,libeither-d5be8a455e3dc4f2.rlib,libnum-7955d12bd03ebd1d.rlib,libnum_rational-775824bec546ab9d.rlib,libnum_iter-aaa6b0436889a92e.rlib,libnum_complex-7a8ed324cd261de5.rlib,libnum_bigint-b2ffd3bd10d8c64f.rlib,libnum_integer-210ed6b9dc6fe801.rlib,libnum_traits-110c6172bd6c9690.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/advent2019-dfffd95f0d64a2d7" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2019` (lib test) due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64964685bfd0fa922135e7fcb6b3bdaea70281cdc139d95fd980cd0a0c5419e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64964685bfd0fa922135e7fcb6b3bdaea70281cdc139d95fd980cd0a0c5419e3", kill_on_drop: false }` [INFO] [stdout] 64964685bfd0fa922135e7fcb6b3bdaea70281cdc139d95fd980cd0a0c5419e3