[INFO] cloning repository https://github.com/weargoggles/aoc-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weargoggles/aoc-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Faoc-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Faoc-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5aa31407ae6c8890e495a271995c3797a0a556a [INFO] checking weargoggles/aoc-2019 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Faoc-2019" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/weargoggles/aoc-2019 [INFO] finished tweaking git repo https://github.com/weargoggles/aoc-2019 [INFO] tweaked toml for git repo https://github.com/weargoggles/aoc-2019 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weargoggles/aoc-2019 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/weargoggles/aoc-2019 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] [stderr] Downloaded rand_xoshiro v0.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded bitmaps v2.0.0 [INFO] [stderr] Downloaded refpool v0.2.3 [INFO] [stderr] Downloaded sized-chunks v0.5.1 [INFO] [stderr] Downloaded version_check v0.9.1 [INFO] [stderr] Downloaded im v14.2.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e722ba365863f4367616316cc3ce559ea27819add59dca68c2fd66829d0f909d [INFO] running `Command { std: "docker" "start" "-a" "e722ba365863f4367616316cc3ce559ea27819add59dca68c2fd66829d0f909d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e722ba365863f4367616316cc3ce559ea27819add59dca68c2fd66829d0f909d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e722ba365863f4367616316cc3ce559ea27819add59dca68c2fd66829d0f909d", kill_on_drop: false }` [INFO] [stdout] e722ba365863f4367616316cc3ce559ea27819add59dca68c2fd66829d0f909d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d78948ad51978ba4106c18c54e862d668c0019b477b9dbf791122b63b09b1a6a [INFO] running `Command { std: "docker" "start" "-a" "d78948ad51978ba4106c18c54e862d668c0019b477b9dbf791122b63b09b1a6a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling im v14.2.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking refpool v0.2.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking aoc-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day3.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | IntError(ParseIntError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 59 - IntError(ParseIntError), [INFO] [stdout] 59 + IntError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Machine` is never used [INFO] [stdout] --> src/intcode.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Machine { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bitmaps v2.0.0 [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/intcode.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Machine { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/intcode.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Machine { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day3.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | IntError(ParseIntError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 59 - IntError(ParseIntError), [INFO] [stdout] 59 + IntError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Machine` is never used [INFO] [stdout] --> src/intcode.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Machine { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sized-chunks v0.5.1 [INFO] [stderr] Checking day-22 v0.1.0 (/opt/rustwide/workdir/day-22) [INFO] [stderr] error: could not compile `day-22` (bin "day-22") due to 4 previous errors [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> day-22/src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | fn load(path: Path) -> std::io::Result> { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/path.rs:2180:12 [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 151 | fn load(path: &Path) -> std::io::Result> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> day-22/src/main.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let file = File::open(path)?; [INFO] [stdout] | ---------- ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/path.rs:2180:12 [INFO] [stdout] note: required by an implicit `Sized` bound in `File::open` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/fs.rs:452:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Result, std::io::Error>` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> day-22/src/main.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | }).collect() [INFO] [stdout] | ^^^^^^^ value of type `Result, std::io::Error>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `Result, std::io::Error>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Result`, found `()` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day-22/src/main.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 153 | let mut reader = BufReader::new(file); [INFO] [stdout] | -------------------- this expression has type `BufReader` [INFO] [stdout] 154 | reader.lines().map(|l| { [INFO] [stdout] | ________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `Result` here [INFO] [stdout] 155 | | [INFO] [stdout] 156 | | }).collect() [INFO] [stdout] | |__________^ `Iterator::Item` changed to `()` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-22/src/main.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> day-22/src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | fn load(path: Path) -> std::io::Result> { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/path.rs:2180:12 [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 151 | fn load(path: &Path) -> std::io::Result> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> day-22/src/main.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let file = File::open(path)?; [INFO] [stdout] | ---------- ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/path.rs:2180:12 [INFO] [stdout] note: required by an implicit `Sized` bound in `File::open` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/fs.rs:452:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Result, std::io::Error>` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> day-22/src/main.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | }).collect() [INFO] [stdout] | ^^^^^^^ value of type `Result, std::io::Error>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `Result, std::io::Error>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Result`, found `()` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day-22/src/main.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 153 | let mut reader = BufReader::new(file); [INFO] [stdout] | -------------------- this expression has type `BufReader` [INFO] [stdout] 154 | reader.lines().map(|l| { [INFO] [stdout] | ________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `Result` here [INFO] [stdout] 155 | | [INFO] [stdout] 156 | | }).collect() [INFO] [stdout] | |__________^ `Iterator::Item` changed to `()` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-22/src/main.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day-22` (bin "day-22" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d78948ad51978ba4106c18c54e862d668c0019b477b9dbf791122b63b09b1a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78948ad51978ba4106c18c54e862d668c0019b477b9dbf791122b63b09b1a6a", kill_on_drop: false }` [INFO] [stdout] d78948ad51978ba4106c18c54e862d668c0019b477b9dbf791122b63b09b1a6a