[INFO] cloning repository https://github.com/tristan/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44a55bddeedee868b915243e157c8cdbfbaf8348 [INFO] checking tristan/adventofcode2020 against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan%2Fadventofcode2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tristan/adventofcode2020 on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tristan/adventofcode2020 [INFO] finished tweaking git repo https://github.com/tristan/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/tristan/adventofcode2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tristan/adventofcode2020 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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8b36c42f3c194f052af560882688059512c6c19851c0507b099f361c497a716 [INFO] running `Command { std: "docker" "start" "-a" "a8b36c42f3c194f052af560882688059512c6c19851c0507b099f361c497a716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8b36c42f3c194f052af560882688059512c6c19851c0507b099f361c497a716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b36c42f3c194f052af560882688059512c6c19851c0507b099f361c497a716", kill_on_drop: false }` [INFO] [stdout] a8b36c42f3c194f052af560882688059512c6c19851c0507b099f361c497a716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c62bb9501a4ae45121ea4f992cc1255059e6aecf7433b0b7be2369669509ca4b [INFO] running `Command { std: "docker" "start" "-a" "c62bb9501a4ae45121ea4f992cc1255059e6aecf7433b0b7be2369669509ca4b", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_20.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_20.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let mut t1 = tiles.get_mut(&t1).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | let mut t2 = tiles.get_mut(&t2).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_17.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl PocketDimension3d { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/day_04.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / fn read_input(reader: R) -> Result, ReadError> [INFO] [stdout] 107 | | where R: BufRead [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/day_04.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | }).collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 138 ~ }).collect::>()?; [INFO] [stdout] 139 | } [INFO] [stdout] 140 | [INFO] [stdout] 141 | Ok(()) [INFO] [stdout] 142 ~ }).collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let mut t1 = tiles.get_mut(&t1).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | let mut t2 = tiles.get_mut(&t2).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 152 | let topleft = check!(state, (0..x).rev(), (0..y).rev()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | let topmiddle = check!(state, repeat(x), (0..y).rev()); [INFO] [stdout] | -------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | let topright = check!(state, x+1.., (0..y).rev()); [INFO] [stdout] | ---------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | let left = check!(state, (0..x).rev(), repeat(y)); [INFO] [stdout] | -------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | let right = check!(state, x+1.., repeat(y)); [INFO] [stdout] | ------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 157 | let bottomleft = check!(state, (0..x).rev(), y+1..); [INFO] [stdout] | ---------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 158 | let bottommiddle = check!(state, repeat(x), y+1..); [INFO] [stdout] | ------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_11.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | .unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 159 | let bottomright = check!(state, x+1.., y+1..); [INFO] [stdout] | --------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_17.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl PocketDimension3d { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/day_15.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `part1` in this scope [INFO] [stdout] --> src/day_15.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(part1(&[0,3,6], 2020), 436); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `part1` in this scope [INFO] [stdout] --> src/day_15.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(part1(&[1,3,2], 2020), 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `part1` in this scope [INFO] [stdout] --> src/day_15.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(part1(&[2,1,3], 2020), 10); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `part1` in this scope [INFO] [stdout] --> src/day_15.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(part1(&[1,2,3], 2020), 27); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `part1` in this scope [INFO] [stdout] --> src/day_15.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(part1(&[2,3,1], 2020), 78); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `part1` in this scope [INFO] [stdout] --> src/day_15.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(part1(&[3,2,1], 2020), 438); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `part1` in this scope [INFO] [stdout] --> src/day_15.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(part1(&[3,1,2], 2020), 1836); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/day_04.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / fn read_input(reader: R) -> Result, ReadError> [INFO] [stdout] 107 | | where R: BufRead [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/day_04.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | }).collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 138 ~ }).collect::>()?; [INFO] [stdout] 139 | } [INFO] [stdout] 140 | [INFO] [stdout] 141 | Ok(()) [INFO] [stdout] 142 ~ }).collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day_15" test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c62bb9501a4ae45121ea4f992cc1255059e6aecf7433b0b7be2369669509ca4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62bb9501a4ae45121ea4f992cc1255059e6aecf7433b0b7be2369669509ca4b", kill_on_drop: false }` [INFO] [stdout] c62bb9501a4ae45121ea4f992cc1255059e6aecf7433b0b7be2369669509ca4b