[INFO] cloning repository https://github.com/daniellowtw/advent-of-code-2021-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daniellowtw/advent-of-code-2021-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniellowtw%2Fadvent-of-code-2021-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniellowtw%2Fadvent-of-code-2021-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96c5aadf267310b1f42b43b6c1706dd91ea52b08 [INFO] testing daniellowtw/advent-of-code-2021-rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniellowtw%2Fadvent-of-code-2021-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daniellowtw/advent-of-code-2021-rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daniellowtw/advent-of-code-2021-rust [INFO] finished tweaking git repo https://github.com/daniellowtw/advent-of-code-2021-rust [INFO] tweaked toml for git repo https://github.com/daniellowtw/advent-of-code-2021-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/daniellowtw/advent-of-code-2021-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 844a3575e885ad7d7dd6301455661acc68e048332b30e3ef60a4cf69289184b9 [INFO] running `Command { std: "docker" "start" "-a" "844a3575e885ad7d7dd6301455661acc68e048332b30e3ef60a4cf69289184b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "844a3575e885ad7d7dd6301455661acc68e048332b30e3ef60a4cf69289184b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844a3575e885ad7d7dd6301455661acc68e048332b30e3ef60a4cf69289184b9", kill_on_drop: false }` [INFO] [stdout] 844a3575e885ad7d7dd6301455661acc68e048332b30e3ef60a4cf69289184b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37437b7799bc5b4c8bd88dadc6d465be6d7ed63c7547c512d1d6a2d3db1be9bd [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" "37437b7799bc5b4c8bd88dadc6d465be6d7ed63c7547c512d1d6a2d3db1be9bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling wide v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling adventofcode2021rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `packet_version` [INFO] [stdout] --> src/bin/day16.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | let (packet_version, type_id) = self.parse_header(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bin/day17.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/day3.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seven` is assigned to, but never used [INFO] [stdout] --> src/bin/day8.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut seven = HashSet::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_seven` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seven` is never read [INFO] [stdout] --> src/bin/day8.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | seven = to_set(k); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `detect` in `std` [INFO] [stdout] --> src/bin/day9.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::detect::__is_feature_detected::xsave; [INFO] [stdout] | ^^^^^^ could not find `detect` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bin/day9.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/bin/day9.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/day9.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/bin/day6.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2021rust` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Included` [INFO] [stdout] --> src/bin/day22.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Included(i64, i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RangeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day22.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Overlapped` [INFO] [stdout] --> src/bin/day22.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Overlapped(i64, i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RangeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day22.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/bin/day22.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersect(&self, other: &Range) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtract` [INFO] [stdout] --> src/bin/day22.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn subtract(&self, other: &Cubiod) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "37437b7799bc5b4c8bd88dadc6d465be6d7ed63c7547c512d1d6a2d3db1be9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37437b7799bc5b4c8bd88dadc6d465be6d7ed63c7547c512d1d6a2d3db1be9bd", kill_on_drop: false }` [INFO] [stdout] 37437b7799bc5b4c8bd88dadc6d465be6d7ed63c7547c512d1d6a2d3db1be9bd