[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 try#5ec4d3b0c83717313176eefa7d71e9d36dc83355 for 155501-infallible-never-with-reservation [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan%2Fadventofcode2020" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tristan/adventofcode2020 on toolchain 5ec4d3b0c83717313176eefa7d71e9d36dc83355 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa15a707a2201e77620121dd0d1b02d11c27e7cbc0c4c2e0a03e60023bdae79d [INFO] running `Command { std: "docker" "start" "-a" "fa15a707a2201e77620121dd0d1b02d11c27e7cbc0c4c2e0a03e60023bdae79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa15a707a2201e77620121dd0d1b02d11c27e7cbc0c4c2e0a03e60023bdae79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa15a707a2201e77620121dd0d1b02d11c27e7cbc0c4c2e0a03e60023bdae79d", kill_on_drop: false }` [INFO] [stdout] fa15a707a2201e77620121dd0d1b02d11c27e7cbc0c4c2e0a03e60023bdae79d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2acf61281d093b43b5d5c523fb8419e827c78d957b9f2457bc4530d226597131 [INFO] running `Command { std: "docker" "start" "-a" "2acf61281d093b43b5d5c523fb8419e827c78d957b9f2457bc4530d226597131", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day_08.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | InstructionOverflow(usize), [INFO] [stdout] | ------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BootLoaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 66 - InstructionOverflow(usize), [INFO] [stdout] 66 + InstructionOverflow(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/day_08.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | InvalidJump(usize, i32), [INFO] [stdout] | ----------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BootLoaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 67 - InvalidJump(usize, i32), [INFO] [stdout] 67 + InvalidJump((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day_08.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | LoopDetected(usize, i32), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BootLoaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 68 - LoopDetected(usize, i32), [INFO] [stdout] 68 + LoopDetected((), i32), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/day_04.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | }).collect::>()?; [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [INFO] [stdout] help: the trait `FromIterator>` is implemented for `Result` [INFO] [stdout] --> /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/result.rs:2109:0 [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/iter/traits/iterator.rs:2079:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/day_04.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | }).collect::>()?; [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [INFO] [stdout] help: the trait `FromIterator>` is implemented for `Result` [INFO] [stdout] --> /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/result.rs:2109:0 [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/iter/traits/iterator.rs:2079:4 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day_04") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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] running `Command { std: "docker" "inspect" "2acf61281d093b43b5d5c523fb8419e827c78d957b9f2457bc4530d226597131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2acf61281d093b43b5d5c523fb8419e827c78d957b9f2457bc4530d226597131", kill_on_drop: false }` [INFO] [stdout] 2acf61281d093b43b5d5c523fb8419e827c78d957b9f2457bc4530d226597131