[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Faoc-2019" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weargoggles/aoc-2019 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/weargoggles/aoc-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded refpool v0.2.3 [INFO] [stderr] Downloaded im v14.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 504e5994497427d933c0d649a01ba521ceb244dd9750913bb323ac0a49cfa4e5 [INFO] running `Command { std: "docker" "start" "-a" "504e5994497427d933c0d649a01ba521ceb244dd9750913bb323ac0a49cfa4e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "504e5994497427d933c0d649a01ba521ceb244dd9750913bb323ac0a49cfa4e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504e5994497427d933c0d649a01ba521ceb244dd9750913bb323ac0a49cfa4e5", kill_on_drop: false }` [INFO] [stdout] 504e5994497427d933c0d649a01ba521ceb244dd9750913bb323ac0a49cfa4e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e731db0845b96162354dc75e822eafd4be3aea1f785b344d2698b729fcaa5013 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e731db0845b96162354dc75e822eafd4be3aea1f785b344d2698b729fcaa5013", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling im v14.2.0 [INFO] [stderr] Checking bitmaps v2.0.0 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking refpool v0.2.3 [INFO] [stderr] Checking rand v0.4.6 [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] [stderr] Checking sized-chunks v0.5.1 [INFO] [stderr] Checking day-22 v0.1.0 (/opt/rustwide/workdir/day-22) [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:13 [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] = 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:20 [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] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [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] [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 enum `Result`, 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: aborting due to 4 previous errors [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] [stderr] error: could not compile `day-22` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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:151:13 [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] = 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:20 [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] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [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] [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 enum `Result`, 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: aborting due to 4 previous errors [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e731db0845b96162354dc75e822eafd4be3aea1f785b344d2698b729fcaa5013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e731db0845b96162354dc75e822eafd4be3aea1f785b344d2698b729fcaa5013", kill_on_drop: false }` [INFO] [stdout] e731db0845b96162354dc75e822eafd4be3aea1f785b344d2698b729fcaa5013