[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#1c4199da70f816f2239f41c55168ff75a3663718 for 155501-infallible-never-no-reservation [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] 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] validating manifest of git repo https://github.com/tristan/adventofcode2020 on toolchain 1c4199da70f816f2239f41c55168ff75a3663718 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "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" "+1c4199da70f816f2239f41c55168ff75a3663718" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bf6ea131e266c7ab3f3f2ac14e3d6e2af34ab5ae4b94654eece59b7c8d64955 [INFO] running `Command { std: "docker" "start" "-a" "3bf6ea131e266c7ab3f3f2ac14e3d6e2af34ab5ae4b94654eece59b7c8d64955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bf6ea131e266c7ab3f3f2ac14e3d6e2af34ab5ae4b94654eece59b7c8d64955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf6ea131e266c7ab3f3f2ac14e3d6e2af34ab5ae4b94654eece59b7c8d64955", kill_on_drop: false }` [INFO] [stdout] 3bf6ea131e266c7ab3f3f2ac14e3d6e2af34ab5ae4b94654eece59b7c8d64955 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27d6aecc23973c31285ed9408c971d30f9487d95c905c60361f2855d78bc5e90 [INFO] running `Command { std: "docker" "start" "-a" "27d6aecc23973c31285ed9408c971d30f9487d95c905c60361f2855d78bc5e90", 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/1c4199da70f816f2239f41c55168ff75a3663718/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/1c4199da70f816f2239f41c55168ff75a3663718/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/1c4199da70f816f2239f41c55168ff75a3663718/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/1c4199da70f816f2239f41c55168ff75a3663718/library/core/src/iter/traits/iterator.rs:2079:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day_04" test) due to 2 previous errors [INFO] [stdout] error: 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: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: 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 error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day_11" test) due to 16 previous errors [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] running `Command { std: "docker" "inspect" "27d6aecc23973c31285ed9408c971d30f9487d95c905c60361f2855d78bc5e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d6aecc23973c31285ed9408c971d30f9487d95c905c60361f2855d78bc5e90", kill_on_drop: false }` [INFO] [stdout] 27d6aecc23973c31285ed9408c971d30f9487d95c905c60361f2855d78bc5e90