[INFO] cloning repository https://github.com/Demiu/AoC2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Demiu/AoC2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemiu%2FAoC2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemiu%2FAoC2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ad19fc12e66e3eaac2f265ed8be2ff2f9368d0d [INFO] checking Demiu/AoC2021 against try#7f168b18704203996d3698515c88a036a9300946 for pr-102713 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemiu%2FAoC2021" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Demiu/AoC2021 on toolchain 7f168b18704203996d3698515c88a036a9300946 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f168b18704203996d3698515c88a036a9300946" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Demiu/AoC2021 [INFO] finished tweaking git repo https://github.com/Demiu/AoC2021 [INFO] tweaked toml for git repo https://github.com/Demiu/AoC2021 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Demiu/AoC2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f168b18704203996d3698515c88a036a9300946" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+7f168b18704203996d3698515c88a036a9300946" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af7669f3bca0013dd89c1a3e098186dbce32eb5457af4c41faa6e636b9a92d18 [INFO] running `Command { std: "docker" "start" "-a" "af7669f3bca0013dd89c1a3e098186dbce32eb5457af4c41faa6e636b9a92d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af7669f3bca0013dd89c1a3e098186dbce32eb5457af4c41faa6e636b9a92d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7669f3bca0013dd89c1a3e098186dbce32eb5457af4c41faa6e636b9a92d18", kill_on_drop: false }` [INFO] [stdout] af7669f3bca0013dd89c1a3e098186dbce32eb5457af4c41faa6e636b9a92d18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+7f168b18704203996d3698515c88a036a9300946" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc3afe0f00565ca88ecf42b0a62f5cdfe666dacf0a5ce8c3e3b686e531484e70 [INFO] running `Command { std: "docker" "start" "-a" "fc3afe0f00565ca88ecf42b0a62f5cdfe666dacf0a5ce8c3e3b686e531484e70", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling priority-queue v1.2.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | ch @ (b'0'..=b'9') => (ch - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - ch @ (b'0'..=b'9') => (ch - b'0'), [INFO] [stdout] 14 + ch @ (b'0'..=b'9') => ch - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | ch @ (b'a'..=b'f') => (ch - b'a' + 10), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - ch @ (b'a'..=b'f') => (ch - b'a' + 10), [INFO] [stdout] 15 + ch @ (b'a'..=b'f') => ch - b'a' + 10, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | ch @ (b'A'..=b'F') => (ch - b'A' + 10), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - ch @ (b'A'..=b'F') => (ch - b'A' + 10), [INFO] [stdout] 16 + ch @ (b'A'..=b'F') => ch - b'A' + 10, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | ch @ (b'0'..=b'9') => (ch - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - ch @ (b'0'..=b'9') => (ch - b'0'), [INFO] [stdout] 14 + ch @ (b'0'..=b'9') => ch - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | ch @ (b'a'..=b'f') => (ch - b'a' + 10), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - ch @ (b'a'..=b'f') => (ch - b'a' + 10), [INFO] [stdout] 15 + ch @ (b'a'..=b'f') => ch - b'a' + 10, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | ch @ (b'A'..=b'F') => (ch - b'A' + 10), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - ch @ (b'A'..=b'F') => (ch - b'A' + 10), [INFO] [stdout] 16 + ch @ (b'A'..=b'F') => ch - b'A' + 10, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day22.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 71 | let new_negative = step.volume.intersect_with(&positive_cuboids[..]); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ expected struct `Cuboid`, found slice [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Cuboid` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect_with(&self, other: &Rhs) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day22.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 71 | let new_negative = step.volume.intersect_with(&positive_cuboids[..]); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ expected struct `Cuboid`, found slice [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Cuboid` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect_with(&self, other: &Rhs) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day22.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | let new_positive = step.volume.intersect_with(&negative_cuboids[..]); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ expected struct `Cuboid`, found slice [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Cuboid` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect_with(&self, other: &Rhs) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Cuboid` is not an iterator [INFO] [stdout] --> src/days/day22.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 20 | struct Cuboid { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `into_iter` not found for this struct [INFO] [stdout] | doesn't satisfy `Cuboid: IntoIterator` [INFO] [stdout] | doesn't satisfy `Cuboid: Iterator` [INFO] [stdout] ... [INFO] [stdout] 74 | negative_cuboids.extend(to_ext.into_iter().flatten()); [INFO] [stdout] | ^^^^^^^^^ `Cuboid` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Cuboid: Iterator` [INFO] [stdout] which is required by `Cuboid: IntoIterator` [INFO] [stdout] `&Cuboid: Iterator` [INFO] [stdout] which is required by `&Cuboid: IntoIterator` [INFO] [stdout] `&mut Cuboid: Iterator` [INFO] [stdout] which is required by `&mut Cuboid: IntoIterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Cuboid` is not an iterator [INFO] [stdout] --> src/days/day22.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 20 | struct Cuboid { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `into_iter` not found for this struct [INFO] [stdout] | doesn't satisfy `Cuboid: IntoIterator` [INFO] [stdout] | doesn't satisfy `Cuboid: Iterator` [INFO] [stdout] ... [INFO] [stdout] 77 | positive_cuboids.extend(to_ext.into_iter().flatten()); [INFO] [stdout] | ^^^^^^^^^ `Cuboid` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Cuboid: Iterator` [INFO] [stdout] which is required by `Cuboid: IntoIterator` [INFO] [stdout] `&Cuboid: Iterator` [INFO] [stdout] which is required by `&Cuboid: IntoIterator` [INFO] [stdout] `&mut Cuboid: Iterator` [INFO] [stdout] which is required by `&mut Cuboid: IntoIterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day22.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | let new_positive = step.volume.intersect_with(&negative_cuboids[..]); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ expected struct `Cuboid`, found slice [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Cuboid` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect_with(&self, other: &Rhs) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Cuboid` is not an iterator [INFO] [stdout] --> src/days/day22.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 20 | struct Cuboid { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `into_iter` not found for this struct [INFO] [stdout] | doesn't satisfy `Cuboid: IntoIterator` [INFO] [stdout] | doesn't satisfy `Cuboid: Iterator` [INFO] [stdout] ... [INFO] [stdout] 74 | negative_cuboids.extend(to_ext.into_iter().flatten()); [INFO] [stdout] | ^^^^^^^^^ `Cuboid` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Cuboid: Iterator` [INFO] [stdout] which is required by `Cuboid: IntoIterator` [INFO] [stdout] `&Cuboid: Iterator` [INFO] [stdout] which is required by `&Cuboid: IntoIterator` [INFO] [stdout] `&mut Cuboid: Iterator` [INFO] [stdout] which is required by `&mut Cuboid: IntoIterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Cuboid` is not an iterator [INFO] [stdout] --> src/days/day22.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 20 | struct Cuboid { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `into_iter` not found for this struct [INFO] [stdout] | doesn't satisfy `Cuboid: IntoIterator` [INFO] [stdout] | doesn't satisfy `Cuboid: Iterator` [INFO] [stdout] ... [INFO] [stdout] 77 | positive_cuboids.extend(to_ext.into_iter().flatten()); [INFO] [stdout] | ^^^^^^^^^ `Cuboid` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Cuboid: Iterator` [INFO] [stdout] which is required by `Cuboid: IntoIterator` [INFO] [stdout] `&Cuboid: Iterator` [INFO] [stdout] which is required by `&Cuboid: IntoIterator` [INFO] [stdout] `&mut Cuboid: Iterator` [INFO] [stdout] which is required by `&mut Cuboid: IntoIterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fc3afe0f00565ca88ecf42b0a62f5cdfe666dacf0a5ce8c3e3b686e531484e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc3afe0f00565ca88ecf42b0a62f5cdfe666dacf0a5ce8c3e3b686e531484e70", kill_on_drop: false }` [INFO] [stdout] fc3afe0f00565ca88ecf42b0a62f5cdfe666dacf0a5ce8c3e3b686e531484e70