[INFO] cloning repository https://github.com/cadillion/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cadillion/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadillion%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadillion%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 223a4baafcb1808bc97cfa98e179097634e2e0ce [INFO] testing cadillion/advent-of-code against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadillion%2Fadvent-of-code" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cadillion/advent-of-code [INFO] finished tweaking git repo https://github.com/cadillion/advent-of-code [INFO] tweaked toml for git repo https://github.com/cadillion/advent-of-code written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cadillion/advent-of-code on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cadillion/advent-of-code 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6-tc1/source/2022/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6-tc1/source/2023/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/2023/Cargo.toml: file `/workspace/builds/worker-6-tc1/source/2023/src/day01/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `2023` [INFO] [stderr] * `bin` target `day01` [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/2022/Cargo.toml: file `/workspace/builds/worker-6-tc1/source/2022/src/day01/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `2022` [INFO] [stderr] * `bin` target `day01` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.50 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded thiserror-impl v1.0.50 [INFO] [stderr] Downloaded fixedbitset v0.4.2 [INFO] [stderr] Downloaded integer-sqrt v0.1.5 [INFO] [stderr] Downloaded deprecate-until v0.1.1 [INFO] [stderr] Downloaded semver v1.0.20 [INFO] [stderr] Downloaded proc-macro2 v1.0.70 [INFO] [stderr] Downloaded indexmap v2.1.0 [INFO] [stderr] Downloaded pathfinding v4.4.0 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5e90ed05a5c9e75d5b5dfa9e8f9df50b7ea1dc9882e379a8b70fdec60f3771f [INFO] running `Command { std: "docker" "start" "-a" "c5e90ed05a5c9e75d5b5dfa9e8f9df50b7ea1dc9882e379a8b70fdec60f3771f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5e90ed05a5c9e75d5b5dfa9e8f9df50b7ea1dc9882e379a8b70fdec60f3771f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e90ed05a5c9e75d5b5dfa9e8f9df50b7ea1dc9882e379a8b70fdec60f3771f", kill_on_drop: false }` [INFO] [stdout] c5e90ed05a5c9e75d5b5dfa9e8f9df50b7ea1dc9882e379a8b70fdec60f3771f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 54ec4ac80d18761fcb62144b557b1ee13e0163bc9aef0d742ca158167f0ce88c [INFO] running `Command { std: "docker" "start" "-a" "54ec4ac80d18761fcb62144b557b1ee13e0163bc9aef0d742ca158167f0ce88c", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/2022/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/2023/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/2023/Cargo.toml: file `/opt/rustwide/workdir/2023/src/day01/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `2023` [INFO] [stderr] * `bin` target `day01` [INFO] [stderr] warning: /opt/rustwide/workdir/2022/Cargo.toml: file `/opt/rustwide/workdir/2022/src/day01/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `2022` [INFO] [stderr] * `bin` target `day01` [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day01` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day01` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day01 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day01` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day01` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day01.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day02` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day02` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day02 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day02` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day02` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day02.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day03` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day03` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day03 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day03` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day03` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day03.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day04` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day04` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day04 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day04` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day04` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day04.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day05` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day05` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day05 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day05` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day05` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day05.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day06` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day06` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day06 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day06` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day06` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day06.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day07` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day07` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day07 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day07` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day07` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day07.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day08` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day08` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day08 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day08` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day08` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day08.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day09` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day09` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day09 [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `day09` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `day09` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/day09.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `dayXX` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `dayXX` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/dayXX [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `dayXX` in package `advent-2023 v0.1.0 (/opt/rustwide/workdir/2023)` has the same output filename as the bin target `dayXX` in package `advent-2022 v0.1.0 (/opt/rustwide/workdir/2022)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/dayXX.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling advent-2023 v0.1.0 (/opt/rustwide/workdir/2023) [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2023/src/dayXX/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_1(input: &str) -> String { [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] --> 2023/src/dayXX/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Compiling pathfinding v4.4.0 [INFO] [stderr] Compiling advent-2022 v0.1.0 (/opt/rustwide/workdir/2022) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2022/src/dayXX/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_1(input: &str) -> String { [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] --> 2022/src/dayXX/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_2(input: &str) -> String { [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] --> 2022/src/day17/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_1(input: &str) -> String { [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] error[E0507]: cannot move out of `*self` which is behind a shared reference [INFO] [stdout] --> 2022/src/day02/main.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | ((1 + 3 + *self as usize - *other as usize) % 3).cmp(&1_usize) [INFO] [stdout] | ^^^^^ move occurs because `*self` has type `Hand`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Hand` implemented `Clone`, you could clone the value [INFO] [stdout] --> 2022/src/day02/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum Hand { [INFO] [stdout] | ^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 94 | ((1 + 3 + *self as usize - *other as usize) % 3).cmp(&1_usize) [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2022/src/day17/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn solve_2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*other` which is behind a shared reference [INFO] [stdout] --> 2022/src/day02/main.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | ((1 + 3 + *self as usize - *other as usize) % 3).cmp(&1_usize) [INFO] [stdout] | ^^^^^^ move occurs because `*other` has type `Hand`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Hand` implemented `Clone`, you could clone the value [INFO] [stdout] --> 2022/src/day02/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum Hand { [INFO] [stdout] | ^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 94 | ((1 + 3 + *self as usize - *other as usize) % 3).cmp(&1_usize) [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-2022` (bin "day02") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> 2022/src/day16/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | let successors = |(t, v): &(usize, Valve)| { [INFO] [stdout] | - - return type of closure is Map, {closure@2022/src/day16/main.rs:86:18: 86:21}> [INFO] [stdout] | | [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 84 | / v.edges [INFO] [stdout] 85 | | .iter() [INFO] [stdout] 86 | | .map(|e| (t.clone() - 1, map.get(e).unwrap().clone())) [INFO] [stdout] | |__________________________________________________________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 86 | .map(move |e| (t.clone() - 1, map.get(e).unwrap().clone())) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2022/src/day16/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | fn solve_2(input: &str) -> String { [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] [stderr] error: could not compile `advent-2022` (bin "day16") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "54ec4ac80d18761fcb62144b557b1ee13e0163bc9aef0d742ca158167f0ce88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ec4ac80d18761fcb62144b557b1ee13e0163bc9aef0d742ca158167f0ce88c", kill_on_drop: false }` [INFO] [stdout] 54ec4ac80d18761fcb62144b557b1ee13e0163bc9aef0d742ca158167f0ce88c