[INFO] cloning repository https://github.com/Michcioperz/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Michcioperz/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichcioperz%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichcioperz%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9eedf09166b58cc0dd1d2a2577e47e8642323473 [INFO] checking Michcioperz/aoc2023/9eedf09166b58cc0dd1d2a2577e47e8642323473 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%2FMichcioperz%2Faoc2023" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Michcioperz/aoc2023 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/Michcioperz/aoc2023 [INFO] finished tweaking git repo https://github.com/Michcioperz/aoc2023 [INFO] tweaked toml for git repo https://github.com/Michcioperz/aoc2023 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Michcioperz/aoc2023 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] dd7203da3a87118bac7b09b62e6ab93815be2414f125418946005ee78bf781d9 [INFO] running `Command { std: "docker" "start" "-a" "dd7203da3a87118bac7b09b62e6ab93815be2414f125418946005ee78bf781d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd7203da3a87118bac7b09b62e6ab93815be2414f125418946005ee78bf781d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd7203da3a87118bac7b09b62e6ab93815be2414f125418946005ee78bf781d9", kill_on_drop: false }` [INFO] [stdout] dd7203da3a87118bac7b09b62e6ab93815be2414f125418946005ee78bf781d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 30d9f3484e174bf1b264092e932b1670164b704be4b8ae4b89ae6f6c4fd9359c [INFO] running `Command { std: "docker" "start" "-a" "30d9f3484e174bf1b264092e932b1670164b704be4b8ae4b89ae6f6c4fd9359c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling eyre v0.6.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_builder v4.4.9 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling aoc2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap v4.4.10 [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/day201513.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | for line in self.input().lines() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day201513.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut map = HashMap::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/day201513.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | for line in self.input().lines() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day201513.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut map = HashMap::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day10.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/day10.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 20 | NorthSouth => '|', [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 21 | WestEast => '-', [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 22 | NorthEast => 'L', [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 23 | NorthWest => 'J', [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day10.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/day10.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 20 | NorthSouth => '|', [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 21 | WestEast => '-', [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 22 | NorthEast => 'L', [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 23 | NorthWest => 'J', [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parsed_input` is never used [INFO] [stdout] --> src/day201513.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Day201513 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 7 | fn parsed_input(&self) -> HashMap<&'static str, HashMap<&'static str, isize>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> src/day4.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | winning: winning [INFO] [stdout] | ______________________________^ [INFO] [stdout] 29 | | .split_whitespace() [INFO] [stdout] 30 | | .map(|n| n.parse().unwrap()) [INFO] [stdout] 31 | | .collect(), [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] --> src/prelude.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | self.next().and_then(|s| s.as_ref().parse().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prelude.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 64 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | ) -> Self::SelfU { [INFO] [stdout] 67 | f([self.0, self.1].into_iter()).collect_tuple().unwrap() [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 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parsed_input` is never used [INFO] [stdout] --> src/day201513.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Day201513 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 7 | fn parsed_input(&self) -> HashMap<&'static str, HashMap<&'static str, isize>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> src/day4.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | winning: winning [INFO] [stdout] | ______________________________^ [INFO] [stdout] 29 | | .split_whitespace() [INFO] [stdout] 30 | | .map(|n| n.parse().unwrap()) [INFO] [stdout] 31 | | .collect(), [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] --> src/prelude.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | self.next().and_then(|s| s.as_ref().parse().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prelude.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 64 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | ) -> Self::SelfU { [INFO] [stdout] 67 | f([self.0, self.1].into_iter()).collect_tuple().unwrap() [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 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2023` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2023` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "30d9f3484e174bf1b264092e932b1670164b704be4b8ae4b89ae6f6c4fd9359c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d9f3484e174bf1b264092e932b1670164b704be4b8ae4b89ae6f6c4fd9359c", kill_on_drop: false }` [INFO] [stdout] 30d9f3484e174bf1b264092e932b1670164b704be4b8ae4b89ae6f6c4fd9359c