[INFO] cloning repository https://github.com/benjaminbours/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/benjaminbours/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminbours%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminbours%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca3b8e4ccf71a2c85e6357c60b194feee6d94b52 [INFO] checking benjaminbours/advent-of-code against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminbours%2Fadvent-of-code" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benjaminbours/advent-of-code on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benjaminbours/advent-of-code [INFO] finished tweaking git repo https://github.com/benjaminbours/advent-of-code [INFO] tweaked toml for git repo https://github.com/benjaminbours/advent-of-code written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/benjaminbours/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded modinverse v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9dea7c96a0adcadf5133c883b731c415247f67db4ce831c98787097644b8e0a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9dea7c96a0adcadf5133c883b731c415247f67db4ce831c98787097644b8e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9dea7c96a0adcadf5133c883b731c415247f67db4ce831c98787097644b8e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9dea7c96a0adcadf5133c883b731c415247f67db4ce831c98787097644b8e0a", kill_on_drop: false }` [INFO] [stdout] f9dea7c96a0adcadf5133c883b731c415247f67db4ce831c98787097644b8e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8bc6062825cf71a7760afff369a7a50136a92030b2ba2f1e79dd0b3ebc113a17 [INFO] running `Command { std: "docker" "start" "-a" "8bc6062825cf71a7760afff369a7a50136a92030b2ba2f1e79dd0b3ebc113a17", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking day-7 v0.1.0 (/opt/rustwide/workdir/day-7) [INFO] [stderr] Checking day-1 v0.1.0 (/opt/rustwide/workdir/day-1) [INFO] [stderr] Checking day-9 v0.1.0 (/opt/rustwide/workdir/day-9) [INFO] [stderr] Checking day-6 v0.1.0 (/opt/rustwide/workdir/day-6) [INFO] [stderr] Checking day-5 v0.1.0 (/opt/rustwide/workdir/day-5) [INFO] [stderr] Checking day-2 v0.1.0 (/opt/rustwide/workdir/day-2) [INFO] [stderr] Checking day-11 v0.1.0 (/opt/rustwide/workdir/day-11) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> day-9/src/main.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | numbers.iter().enumerate().for_each(|(index_start, n)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-12 v0.1.0 (/opt/rustwide/workdir/day-12) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> day-7/src/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | .map(|(key, value)| key) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-8 v0.1.0 (/opt/rustwide/workdir/day-8) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-7/src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `can_contains_shiny` [INFO] [stdout] --> day-7/src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn can_contains_shiny( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_1` [INFO] [stdout] --> day-6/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn part_1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> day-7/src/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | .map(|(key, value)| key) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_1` [INFO] [stdout] --> day-6/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn part_1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> day-8/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> day-8/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 0. | 360. => Directions::East, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | 0. | 360. => Directions::East, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 90. => Directions::North, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 180. => Directions::West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 270. => Directions::South, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_direction` [INFO] [stdout] --> day-12/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | initial_direction: Directions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 0. | 360. => Directions::East, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | 0. | 360. => Directions::East, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 90. => Directions::North, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 180. => Directions::West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 270. => Directions::South, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_direction` [INFO] [stdout] --> day-12/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | initial_direction: Directions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-7/src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `can_contains_shiny` [INFO] [stdout] --> day-7/src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn can_contains_shiny( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 0. | 360. => Directions::East, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_direction` [INFO] [stdout] --> day-12/src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn update_direction(direction: &mut Directions, rotation: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> day-12/src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | 0. | 360. => Directions::East, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_direction` [INFO] [stdout] --> day-12/src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn update_direction(direction: &mut Directions, rotation: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions_total_count` [INFO] [stdout] --> day-8/src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let instructions_total_count = instructions.iter().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions_total_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> day-9/src/main.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | numbers.iter().enumerate().for_each(|(index_start, n)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions_total_count` [INFO] [stdout] --> day-8/src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let instructions_total_count = instructions.iter().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions_total_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-8/src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-8/src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking day-10 v0.1.0 (/opt/rustwide/workdir/day-10) [INFO] [stdout] warning: unused variable: `initial_lines` [INFO] [stdout] --> day-10/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let initial_lines: Vec = input.lines().map(|x| x.parse::().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking colored v2.0.0 [INFO] [stdout] warning: unused variable: `initial_lines` [INFO] [stdout] --> day-10/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let initial_lines: Vec = input.lines().map(|x| x.parse::().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-3 v0.1.0 (/opt/rustwide/workdir/day-3) [INFO] [stdout] warning: function is never used: `print_line` [INFO] [stdout] --> day-3/src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn print_line(line: &str, chart: &String, char_index: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_line` [INFO] [stdout] --> day-3/src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn print_line(line: &str, chart: &String, char_index: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking modinverse v0.1.1 [INFO] [stderr] Checking day-13 v0.1.0 (/opt/rustwide/workdir/day-13) [INFO] [stdout] warning: unused variable: `earliest_timestamp` [INFO] [stdout] --> day-13/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let earliest_timestamp = lines.next().unwrap().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_earliest_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_earliest_timestamp` [INFO] [stdout] --> day-13/src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn find_earliest_timestamp(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_departure` [INFO] [stdout] --> day-13/src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn check_departure(timestamp: &i64, bus_id: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vec_compare` [INFO] [stdout] --> day-13/src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn vec_compare(va: &Vec<(usize, i32)>, vb: &Vec<(usize, i32)>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `earliest_timestamp` [INFO] [stdout] --> day-13/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let earliest_timestamp = lines.next().unwrap().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_earliest_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking day-14 v0.1.0 (/opt/rustwide/workdir/day-14) [INFO] [stderr] Checking day-4 v0.1.0 (/opt/rustwide/workdir/day-4) [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> day-14/src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt, fs, iter, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> day-14/src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt, fs, iter, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.00s [INFO] running `Command { std: "docker" "inspect" "8bc6062825cf71a7760afff369a7a50136a92030b2ba2f1e79dd0b3ebc113a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc6062825cf71a7760afff369a7a50136a92030b2ba2f1e79dd0b3ebc113a17", kill_on_drop: false }` [INFO] [stdout] 8bc6062825cf71a7760afff369a7a50136a92030b2ba2f1e79dd0b3ebc113a17