[INFO] cloning repository https://github.com/Frans-Lukas/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Frans-Lukas/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrans-Lukas%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrans-Lukas%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f184afe438b9641e49ebec0ba8e8cf260fe78a96 [INFO] checking Frans-Lukas/aoc2021 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrans-Lukas%2Faoc2021" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Frans-Lukas/aoc2021 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Frans-Lukas/aoc2021 [INFO] finished tweaking git repo https://github.com/Frans-Lukas/aoc2021 [INFO] tweaked toml for git repo https://github.com/Frans-Lukas/aoc2021 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Frans-Lukas/aoc2021 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aoc-runner-internal v0.1.0 [INFO] [stderr] Downloaded aoc-runner v0.3.0 [INFO] [stderr] Downloaded aoc-runner-derive v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f499ce0df47654b8f1ed25b01077665f4bde88060ae0fa91f009d80dd461e142 [INFO] running `Command { std: "docker" "start" "-a" "f499ce0df47654b8f1ed25b01077665f4bde88060ae0fa91f009d80dd461e142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f499ce0df47654b8f1ed25b01077665f4bde88060ae0fa91f009d80dd461e142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f499ce0df47654b8f1ed25b01077665f4bde88060ae0fa91f009d80dd461e142", kill_on_drop: false }` [INFO] [stdout] f499ce0df47654b8f1ed25b01077665f4bde88060ae0fa91f009d80dd461e142 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9642e8d1b7ba57bde049933809c9be779bae3f152c63b80e4b2e2f5cc98d14ac [INFO] running `Command { std: "docker" "start" "-a" "9642e8d1b7ba57bde049933809c9be779bae3f152c63b80e4b2e2f5cc98d14ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking aoc-runner v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Compiling aoc-runner-internal v0.1.0 [INFO] [stderr] Compiling aoc-runner-derive v0.3.0 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | aoc_lib!{ year = 2021 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to write infos from lib: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | aoc_lib!{ year = 2021 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to write infos from lib: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day1, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day1, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[aoc(day1, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[aoc(day1, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day2, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day2, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[aoc(day2, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[aoc(day2, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day3, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day3, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[aoc(day3, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[aoc(day3, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[aoc(day4, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[aoc(day4, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[aoc(day4, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[aoc(day4, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[aoc(day5, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[aoc(day5, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[aoc(day5, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[aoc(day5, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day6, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[aoc(day6, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day6, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day7, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[aoc(day6, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[aoc(day7, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day7, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day8, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[aoc(day7, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[aoc(day8, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day8, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day9, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[aoc(day9, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[aoc(day8, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[aoc(day10, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[aoc(day9, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[aoc(day10, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[aoc(day9, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[aoc(day11, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[aoc(day10, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | #[aoc(day11, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[aoc(day10, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[aoc(day12, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[aoc(day11, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[aoc(day12, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[aoc(day13, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | #[aoc(day11, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[aoc(day13, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[aoc(day12, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day14.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[aoc(day14, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[aoc(day12, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day14.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[aoc(day14, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[aoc(day13, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day15.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[aoc(day15, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[aoc(day13, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day15.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[aoc(day15, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day14.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[aoc(day14, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day16.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[aoc(day16, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day14.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[aoc(day14, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day16.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | #[aoc(day16, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day15.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[aoc(day15, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day17.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[aoc(day17, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day17.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[aoc(day17, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day15.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[aoc(day15, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day16.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[aoc(day16, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day16.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | #[aoc(day16, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day17.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[aoc(day17, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day17.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[aoc(day17, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::algo::all_simple_paths` [INFO] [stdout] --> src/day12.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::algo::all_simple_paths; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::dot::Dot` [INFO] [stdout] --> src/day12.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use petgraph::dot::Dot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `WalkNeighbors`, `node_index` [INFO] [stdout] --> src/day12.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use petgraph::graph::{Node, node_index, NodeIndex, UnGraph, WalkNeighbors}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DfsPostOrder`, `IntoNodeIdentifiers` [INFO] [stdout] --> src/day12.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::visit::{DfsPostOrder, EdgeRef, IntoNodeIdentifiers, NodeRef}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/day14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MAX` [INFO] [stdout] --> src/day14.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::i32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::empty` [INFO] [stdout] --> src/day14.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Match`, `Regex` [INFO] [stdout] --> src/day14.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::{Match, Regex}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day15.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnGraph` [INFO] [stdout] --> src/day15.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::graph::{NodeIndex, UnGraph}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/day16.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/day17.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::algo::all_simple_paths` [INFO] [stdout] --> src/day12.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::algo::all_simple_paths; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::dot::Dot` [INFO] [stdout] --> src/day12.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use petgraph::dot::Dot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `WalkNeighbors`, `node_index` [INFO] [stdout] --> src/day12.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use petgraph::graph::{Node, node_index, NodeIndex, UnGraph, WalkNeighbors}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DfsPostOrder`, `IntoNodeIdentifiers` [INFO] [stdout] --> src/day12.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::visit::{DfsPostOrder, EdgeRef, IntoNodeIdentifiers, NodeRef}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/day14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MAX` [INFO] [stdout] --> src/day14.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::i32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::empty` [INFO] [stdout] --> src/day14.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Match`, `Regex` [INFO] [stdout] --> src/day14.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::{Match, Regex}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day15.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnGraph` [INFO] [stdout] --> src/day15.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::graph::{NodeIndex, UnGraph}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/day16.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/day17.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (lib) due to 36 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 35 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (lib test) due to 36 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9642e8d1b7ba57bde049933809c9be779bae3f152c63b80e4b2e2f5cc98d14ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9642e8d1b7ba57bde049933809c9be779bae3f152c63b80e4b2e2f5cc98d14ac", kill_on_drop: false }` [INFO] [stdout] 9642e8d1b7ba57bde049933809c9be779bae3f152c63b80e4b2e2f5cc98d14ac [INFO] checking Frans-Lukas/aoc2021 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrans-Lukas%2Faoc2021" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Frans-Lukas/aoc2021 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Frans-Lukas/aoc2021 [INFO] finished tweaking git repo https://github.com/Frans-Lukas/aoc2021 [INFO] tweaked toml for git repo https://github.com/Frans-Lukas/aoc2021 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Frans-Lukas/aoc2021 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ed8bf26433ec67d8b4ec7b5e053c9cb176bf4d36a43725bd06f1884827e79b2 [INFO] running `Command { std: "docker" "start" "-a" "0ed8bf26433ec67d8b4ec7b5e053c9cb176bf4d36a43725bd06f1884827e79b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ed8bf26433ec67d8b4ec7b5e053c9cb176bf4d36a43725bd06f1884827e79b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed8bf26433ec67d8b4ec7b5e053c9cb176bf4d36a43725bd06f1884827e79b2", kill_on_drop: false }` [INFO] [stdout] 0ed8bf26433ec67d8b4ec7b5e053c9cb176bf4d36a43725bd06f1884827e79b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d973f0e9982f77fb3dfb0263a0d2bd8ad902d7677d789f796913ea3009c96c2c [INFO] running `Command { std: "docker" "start" "-a" "d973f0e9982f77fb3dfb0263a0d2bd8ad902d7677d789f796913ea3009c96c2c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aoc-runner v0.3.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling aoc-runner-internal v0.1.0 [INFO] [stderr] Compiling aoc-runner-derive v0.3.0 [INFO] [stderr] Checking aoc2021 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/day15.rs (5 fixes) [INFO] [stderr] Fixed src/day14.rs (5 fixes) [INFO] [stderr] Fixed src/day4.rs (1 fix) [INFO] [stderr] Fixed src/day16.rs (4 fixes) [INFO] [stderr] Fixed src/day17.rs (2 fixes) [INFO] [stderr] Fixed src/day12.rs (5 fixes) [INFO] [stderr] Fixed src/day11.rs (4 fixes) [INFO] [stdout] warning: unused import: `EdgeRef` [INFO] [stdout] --> src/day12.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeRef` [INFO] [stdout] --> src/day12.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day12.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut sum = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day14.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | for (c, v) in unique_chars.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day15.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/day16.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/day17.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let (result, entered_zone) = simulate_speed(&mut x_speed, &mut y_speed, &target_zone); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_risk_level` is never used [INFO] [stdout] --> src/day15.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn calc_risk_level(old_weight: i32, exp: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `packet_version` is never used [INFO] [stdout] --> src/day16.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/day17.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn distance(p1: &Point, p2: &TargetZone) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnP` should have a snake case name [INFO] [stdout] --> src/day13.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let mut returnP = Point { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `return_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdgeRef` [INFO] [stdout] --> src/day12.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused import: `NodeRef` [INFO] [stdout] --> src/day12.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day12.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut sum = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day14.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | for (c, v) in unique_chars.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day15.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/day16.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/day17.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let (result, entered_zone) = simulate_speed(&mut x_speed, &mut y_speed, &target_zone); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_risk_level` is never used [INFO] [stdout] --> src/day15.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn calc_risk_level(old_weight: i32, exp: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `packet_version` is never used [INFO] [stdout] --> src/day16.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/day17.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn distance(p1: &Point, p2: &TargetZone) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnP` should have a snake case name [INFO] [stdout] --> src/day13.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let mut returnP = Point { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `return_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.18s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking aoc2021 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `EdgeRef` [INFO] [stdout] --> src/day12.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeRef` [INFO] [stdout] --> src/day12.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdgeRef` [INFO] [stdout] --> src/day12.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeRef` [INFO] [stdout] --> src/day12.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::visit::{EdgeRef, NodeRef}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day12.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day12.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut sum = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day14.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | for (c, v) in unique_chars.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut sum = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day14.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | for (c, v) in unique_chars.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day15.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day15.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part2_chars(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/day16.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/day17.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let (result, entered_zone) = simulate_speed(&mut x_speed, &mut y_speed, &target_zone); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/day16.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_risk_level` is never used [INFO] [stdout] --> src/day15.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn calc_risk_level(old_weight: i32, exp: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `packet_version` is never used [INFO] [stdout] --> src/day16.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/day17.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn distance(p1: &Point, p2: &TargetZone) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/day17.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let (result, entered_zone) = simulate_speed(&mut x_speed, &mut y_speed, &target_zone); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_risk_level` is never used [INFO] [stdout] --> src/day15.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn calc_risk_level(old_weight: i32, exp: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `packet_version` is never used [INFO] [stdout] --> src/day16.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn packet_version(str: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/day17.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn distance(p1: &Point, p2: &TargetZone) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnP` should have a snake case name [INFO] [stdout] --> src/day13.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let mut returnP = Point { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `return_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `returnP` should have a snake case name [INFO] [stdout] --> src/day13.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let mut returnP = Point { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `return_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_end_matches` that must be used [INFO] [stdout] --> src/day16.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | bit_line.trim_end_matches('0'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = bit_line.trim_end_matches('0'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "d973f0e9982f77fb3dfb0263a0d2bd8ad902d7677d789f796913ea3009c96c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d973f0e9982f77fb3dfb0263a0d2bd8ad902d7677d789f796913ea3009c96c2c", kill_on_drop: false }` [INFO] [stdout] d973f0e9982f77fb3dfb0263a0d2bd8ad902d7677d789f796913ea3009c96c2c