[INFO] cloning repository https://github.com/aloucks/AdventOfCode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aloucks/AdventOfCode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faloucks%2FAdventOfCode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faloucks%2FAdventOfCode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 375d48662e7b8d210a6e5fa10b3597bbd5a1e547 [INFO] checking aloucks/AdventOfCode/375d48662e7b8d210a6e5fa10b3597bbd5a1e547 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faloucks%2FAdventOfCode" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aloucks/AdventOfCode on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aloucks/AdventOfCode [INFO] finished tweaking git repo https://github.com/aloucks/AdventOfCode [INFO] tweaked toml for git repo https://github.com/aloucks/AdventOfCode written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aloucks/AdventOfCode 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2196e3995ac1a9905b89c58d3c527e5ed99fe86b05e169f2e86313e74172f084 [INFO] running `Command { std: "docker" "start" "-a" "2196e3995ac1a9905b89c58d3c527e5ed99fe86b05e169f2e86313e74172f084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2196e3995ac1a9905b89c58d3c527e5ed99fe86b05e169f2e86313e74172f084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2196e3995ac1a9905b89c58d3c527e5ed99fe86b05e169f2e86313e74172f084", kill_on_drop: false }` [INFO] [stdout] 2196e3995ac1a9905b89c58d3c527e5ed99fe86b05e169f2e86313e74172f084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab64c5b1c7346f797493d49cd4c603c968282ad63a877a8c50c10f252557a15c [INFO] running `Command { std: "docker" "start" "-a" "ab64c5b1c7346f797493d49cd4c603c968282ad63a877a8c50c10f252557a15c", kill_on_drop: false }` [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] Compiling anyhow v1.0.66 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking utility v0.1.0 (/opt/rustwide/workdir/utility) [INFO] [stderr] Checking day01-2020 v0.1.0 (/opt/rustwide/workdir/2020/day01) [INFO] [stderr] Checking day03-2020 v0.1.0 (/opt/rustwide/workdir/2020/day03) [INFO] [stderr] Checking day05-2022 v0.1.0 (/opt/rustwide/workdir/2022/day05) [INFO] [stderr] Checking day01-2022 v0.1.0 (/opt/rustwide/workdir/2022/day01) [INFO] [stderr] Checking day04-2020 v0.1.0 (/opt/rustwide/workdir/2020/day04) [INFO] [stderr] Checking day02-2020 v0.1.0 (/opt/rustwide/workdir/2020/day02) [INFO] [stderr] Checking day02-2022 v0.1.0 (/opt/rustwide/workdir/2022/day02) [INFO] [stderr] Checking day04-2022 v0.1.0 (/opt/rustwide/workdir/2022/day04) [INFO] [stderr] Checking day07-2020 v0.1.0 (/opt/rustwide/workdir/2020/day07) [INFO] [stderr] Checking day07-2022 v0.1.0 (/opt/rustwide/workdir/2022/day07) [INFO] [stderr] Checking day06-2020 v0.1.0 (/opt/rustwide/workdir/2020/day06) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 2022/day07/src/main.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | File(String, u32), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DirOrFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> 2022/day07/src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 | File((), u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day03-2022 v0.1.0 (/opt/rustwide/workdir/2022/day03) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> 2020/day02/src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | .map(|l| check_password_1(l).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> 2020/day02/src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|l| check_password_2(l).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day02-2020` (bin "day02-2020") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 2022/day07/src/main.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | File(String, u32), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DirOrFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> 2022/day07/src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 | File((), u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> 2020/day02/src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | .map(|l| check_password_1(l).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> 2020/day02/src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|l| check_password_2(l).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day02-2020` (bin "day02-2020" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ab64c5b1c7346f797493d49cd4c603c968282ad63a877a8c50c10f252557a15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab64c5b1c7346f797493d49cd4c603c968282ad63a877a8c50c10f252557a15c", kill_on_drop: false }` [INFO] [stdout] ab64c5b1c7346f797493d49cd4c603c968282ad63a877a8c50c10f252557a15c