[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] testing benjaminbours/advent-of-code against try#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminbours%2Fadvent-of-code" "/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/benjaminbours/advent-of-code on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--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-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96d61331179b304aa13651f5ec2b59b7ad9b8b8cf4d95d516993af11b27e8d5c [INFO] running `Command { std: "docker" "start" "-a" "96d61331179b304aa13651f5ec2b59b7ad9b8b8cf4d95d516993af11b27e8d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96d61331179b304aa13651f5ec2b59b7ad9b8b8cf4d95d516993af11b27e8d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d61331179b304aa13651f5ec2b59b7ad9b8b8cf4d95d516993af11b27e8d5c", kill_on_drop: false }` [INFO] [stdout] 96d61331179b304aa13651f5ec2b59b7ad9b8b8cf4d95d516993af11b27e8d5c [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 21816f054e3a70d2868b4050dbd60217d5ca1131700dd8e77e5704a45f5143ab [INFO] running `Command { std: "docker" "start" "-a" "21816f054e3a70d2868b4050dbd60217d5ca1131700dd8e77e5704a45f5143ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling day-12 v0.1.0 (/opt/rustwide/workdir/day-12) [INFO] [stderr] Compiling day-7 v0.1.0 (/opt/rustwide/workdir/day-7) [INFO] [stderr] Compiling day-1 v0.1.0 (/opt/rustwide/workdir/day-1) [INFO] [stderr] Compiling day-5 v0.1.0 (/opt/rustwide/workdir/day-5) [INFO] [stderr] Compiling day-6 v0.1.0 (/opt/rustwide/workdir/day-6) [INFO] [stderr] Compiling day-11 v0.1.0 (/opt/rustwide/workdir/day-11) [INFO] [stderr] Compiling day-9 v0.1.0 (/opt/rustwide/workdir/day-9) [INFO] [stderr] Compiling day-8 v0.1.0 (/opt/rustwide/workdir/day-8) [INFO] [stderr] Compiling day-2 v0.1.0 (/opt/rustwide/workdir/day-2) [INFO] [stderr] Compiling thread_local v1.0.1 [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: 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: function `part_1` is never used [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 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: 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] = note: `#[warn(illegal_floating_point_literal_pattern)]` 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: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 `part_one` is never used [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 `can_contains_shiny` is never used [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 `update_direction` is never used [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: function `part_one` is never used [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] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling 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] Compiling day-3 v0.1.0 (/opt/rustwide/workdir/day-3) [INFO] [stdout] warning: function `print_line` is never used [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling modinverse v0.1.1 [INFO] [stderr] Compiling day-13 v0.1.0 (/opt/rustwide/workdir/day-13) [INFO] [stderr] Compiling regex v1.4.2 [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 `find_earliest_timestamp` is never used [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 `check_departure` is never used [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 `vec_compare` is never used [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] [stderr] Compiling day-4 v0.1.0 (/opt/rustwide/workdir/day-4) [INFO] [stderr] Compiling day-14 v0.1.0 (/opt/rustwide/workdir/day-14) [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.07s [INFO] running `Command { std: "docker" "inspect" "21816f054e3a70d2868b4050dbd60217d5ca1131700dd8e77e5704a45f5143ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21816f054e3a70d2868b4050dbd60217d5ca1131700dd8e77e5704a45f5143ab", kill_on_drop: false }` [INFO] [stdout] 21816f054e3a70d2868b4050dbd60217d5ca1131700dd8e77e5704a45f5143ab [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 91692bd5923d4eb88b15e694c21f9d3e5bb99765a0f4a96bd36bac61fb85af4b [INFO] running `Command { std: "docker" "start" "-a" "91692bd5923d4eb88b15e694c21f9d3e5bb99765a0f4a96bd36bac61fb85af4b", kill_on_drop: false }` [INFO] [stderr] Compiling day-9 v0.1.0 (/opt/rustwide/workdir/day-9) [INFO] [stderr] Compiling day-8 v0.1.0 (/opt/rustwide/workdir/day-8) [INFO] [stderr] Compiling day-6 v0.1.0 (/opt/rustwide/workdir/day-6) [INFO] [stderr] Compiling day-1 v0.1.0 (/opt/rustwide/workdir/day-1) [INFO] [stderr] Compiling day-11 v0.1.0 (/opt/rustwide/workdir/day-11) [INFO] [stderr] Compiling day-2 v0.1.0 (/opt/rustwide/workdir/day-2) [INFO] [stderr] Compiling day-12 v0.1.0 (/opt/rustwide/workdir/day-12) [INFO] [stderr] Compiling day-7 v0.1.0 (/opt/rustwide/workdir/day-7) [INFO] [stderr] Compiling day-5 v0.1.0 (/opt/rustwide/workdir/day-5) [INFO] [stderr] Compiling day-10 v0.1.0 (/opt/rustwide/workdir/day-10) [INFO] [stderr] Compiling day-13 v0.1.0 (/opt/rustwide/workdir/day-13) [INFO] [stderr] Compiling day-4 v0.1.0 (/opt/rustwide/workdir/day-4) [INFO] [stderr] Compiling day-14 v0.1.0 (/opt/rustwide/workdir/day-14) [INFO] [stderr] Compiling day-3 v0.1.0 (/opt/rustwide/workdir/day-3) [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: 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: function `print_line` is never used [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: 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 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: 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: `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: 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] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [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: 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 `part_1` is never used [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 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 `part_one` is never used [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 `can_contains_shiny` is never used [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 `update_direction` is never used [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: 1 warning emitted [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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "91692bd5923d4eb88b15e694c21f9d3e5bb99765a0f4a96bd36bac61fb85af4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91692bd5923d4eb88b15e694c21f9d3e5bb99765a0f4a96bd36bac61fb85af4b", kill_on_drop: false }` [INFO] [stdout] 91692bd5923d4eb88b15e694c21f9d3e5bb99765a0f4a96bd36bac61fb85af4b [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1847022affab96db8d9e1f307b76f9975567d37eba74cc9748195d6c905859bd [INFO] running `Command { std: "docker" "start" "-a" "1847022affab96db8d9e1f307b76f9975567d37eba74cc9748195d6c905859bd", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> day-7/src/main.rs:134:21 [INFO] [stderr] | [INFO] [stderr] 134 | .map(|(key, value)| key) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `part_one` is never used [INFO] [stderr] --> day-7/src/main.rs:83:4 [INFO] [stderr] | [INFO] [stderr] 83 | fn part_one() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `can_contains_shiny` is never used [INFO] [stderr] --> day-7/src/main.rs:140:4 [INFO] [stderr] | [INFO] [stderr] 140 | fn can_contains_shiny( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> day-8/src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instructions_total_count` [INFO] [stderr] --> day-8/src/main.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | let instructions_total_count = instructions.iter().count(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions_total_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `part_one` is never used [INFO] [stderr] --> day-8/src/main.rs:121:4 [INFO] [stderr] | [INFO] [stderr] 121 | fn part_one() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> day-12/src/main.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | 0. | 360. => Directions::East, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> day-12/src/main.rs:146:14 [INFO] [stderr] | [INFO] [stderr] 146 | 0. | 360. => Directions::East, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> day-12/src/main.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | 90. => Directions::North, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> day-12/src/main.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | 180. => Directions::West, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> day-12/src/main.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | 270. => Directions::South, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `initial_direction` [INFO] [stderr] --> day-12/src/main.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | initial_direction: Directions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_direction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `update_direction` is never used [INFO] [stderr] --> day-12/src/main.rs:121:4 [INFO] [stderr] | [INFO] [stderr] 121 | fn update_direction(direction: &mut Directions, rotation: f64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `part_1` is never used [INFO] [stderr] --> day-6/src/main.rs:52:4 [INFO] [stderr] | [INFO] [stderr] 52 | fn part_1() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> day-9/src/main.rs:41:56 [INFO] [stderr] | [INFO] [stderr] 41 | numbers.iter().enumerate().for_each(|(index_start, n)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `day-7` (bin "day-7" test) generated 3 warnings [INFO] [stderr] warning: `day-8` (bin "day-8" test) generated 3 warnings [INFO] [stderr] warning: `day-12` (bin "day-12" test) generated 7 warnings [INFO] [stderr] warning: `day-6` (bin "day-6" test) generated 1 warning [INFO] [stderr] warning: `day-9` (bin "day-9" test) generated 1 warning [INFO] [stderr] warning: unused variable: `initial_lines` [INFO] [stderr] --> day-10/src/main.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let initial_lines: Vec = input.lines().map(|x| x.parse::().unwrap()).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_lines` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `day-10` (bin "day-10" test) generated 1 warning [INFO] [stderr] warning: unused import: `fmt` [INFO] [stderr] --> day-14/src/main.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{collections::HashMap, fmt, fs, iter, u64}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `earliest_timestamp` [INFO] [stderr] --> day-13/src/main.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | let earliest_timestamp = lines.next().unwrap().parse::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_earliest_timestamp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `print_line` is never used [INFO] [stderr] --> day-3/src/main.rs:75:4 [INFO] [stderr] | [INFO] [stderr] 75 | fn print_line(line: &str, chart: &String, char_index: i32) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `day-14` (bin "day-14" test) generated 1 warning [INFO] [stderr] warning: `day-13` (bin "day-13" test) generated 1 warning [INFO] [stderr] warning: `day-3` (bin "day-3" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/day_1-ab691dec23ba2716) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/day_10-967b80e6341b9623) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/day_11-d6fadeffddc52955) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/day_12-fbf1a4de40b9e38d) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/day_13-812b5732ff21addd) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::first_example ... ok [INFO] [stdout] test tests::second_example ... ok [INFO] [stdout] test tests::third_example has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "1847022affab96db8d9e1f307b76f9975567d37eba74cc9748195d6c905859bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1847022affab96db8d9e1f307b76f9975567d37eba74cc9748195d6c905859bd", kill_on_drop: false }` [INFO] [stdout] 1847022affab96db8d9e1f307b76f9975567d37eba74cc9748195d6c905859bd