[INFO] cloning repository https://github.com/RedStylzZ/rust-adventofcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RedStylzZ/rust-adventofcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStylzZ%2Frust-adventofcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStylzZ%2Frust-adventofcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95e3bd2d4a58a5f99a7eccbe88ef2bb97c442b2e [INFO] checking RedStylzZ/rust-adventofcode/95e3bd2d4a58a5f99a7eccbe88ef2bb97c442b2e 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%2FRedStylzZ%2Frust-adventofcode" "/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/RedStylzZ/rust-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/RedStylzZ/rust-adventofcode [INFO] finished tweaking git repo https://github.com/RedStylzZ/rust-adventofcode [INFO] tweaked toml for git repo https://github.com/RedStylzZ/rust-adventofcode written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RedStylzZ/rust-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] 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] 7c26dff9036159943da58df8fb7b026dc78643f99a5a5bc90856c94177fb2c1f [INFO] running `Command { std: "docker" "start" "-a" "7c26dff9036159943da58df8fb7b026dc78643f99a5a5bc90856c94177fb2c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c26dff9036159943da58df8fb7b026dc78643f99a5a5bc90856c94177fb2c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c26dff9036159943da58df8fb7b026dc78643f99a5a5bc90856c94177fb2c1f", kill_on_drop: false }` [INFO] [stdout] 7c26dff9036159943da58df8fb7b026dc78643f99a5a5bc90856c94177fb2c1f [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] 919de72e33283b4d2c8a8a61dde34903ec3cdaa46a06ddab835d5d18a1324cbd [INFO] running `Command { std: "docker" "start" "-a" "919de72e33283b4d2c8a8a61dde34903ec3cdaa46a06ddab835d5d18a1324cbd", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day08/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_two(lines: &String) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day08/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_two(lines: &String) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings 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] --> src/day01/main.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | Lazy::new(|| Regex::new(r"(one|two|three|four|five|six|seven|eight|nine|\d)").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] = 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/day01/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | Lazy::new(|| Regex::new(r"(eno|owt|eerht|ruof|evif|xis|neves|thgie|enin|\d)").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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "day01") due to 3 previous errors [INFO] [stdout] warning: unused variable: `other_after_not_included` [INFO] [stdout] --> src/day05/main.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | other_after_not_included, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `other_after_not_included: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `other_before_not_included` [INFO] [stdout] --> src/day05/main.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | other_before_not_included, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `other_before_not_included: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_after_not_included` [INFO] [stdout] --> src/day05/main.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | other_after_not_included, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `other_after_not_included: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_before_not_included` [INFO] [stdout] --> src/day05/main.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | other_before_not_included, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `other_before_not_included: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shift` is never used [INFO] [stdout] --> src/day05/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 114 | trait RangeExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 117 | fn shift(&self, shift: i128) -> Range; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `other_before` and `other_after` are never read [INFO] [stdout] --> src/day05/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | CompletelyIncluded { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 188 | other_before: Range, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 189 | other_after: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeCmpResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `other_after` is never read [INFO] [stdout] --> src/day05/main.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 192 | EndIndluded { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 193 | // The "rest" from the other range which is not included on the original one [INFO] [stdout] 194 | other_after: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeCmpResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `other_before` is never read [INFO] [stdout] --> src/day05/main.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | StartIncluded { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 199 | other_before: Range, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeCmpResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shift` is never used [INFO] [stdout] --> src/day05/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 114 | trait RangeExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 117 | fn shift(&self, shift: i128) -> Range; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `other_before` and `other_after` are never read [INFO] [stdout] --> src/day05/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | CompletelyIncluded { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 188 | other_before: Range, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 189 | other_after: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeCmpResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `other_after` is never read [INFO] [stdout] --> src/day05/main.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 192 | EndIndluded { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 193 | // The "rest" from the other range which is not included on the original one [INFO] [stdout] 194 | other_after: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeCmpResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `other_before` is never read [INFO] [stdout] --> src/day05/main.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | StartIncluded { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 199 | other_before: Range, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeCmpResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings 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] --> src/day01/main.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | Lazy::new(|| Regex::new(r"(one|two|three|four|five|six|seven|eight|nine|\d)").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] = 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/day01/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | Lazy::new(|| Regex::new(r"(eno|owt|eerht|ruof|evif|xis|neves|thgie|enin|\d)").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] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "day01" test) due to 3 previous errors [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day08/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_two(lines: &String) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day08/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_two(lines: &String) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "919de72e33283b4d2c8a8a61dde34903ec3cdaa46a06ddab835d5d18a1324cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "919de72e33283b4d2c8a8a61dde34903ec3cdaa46a06ddab835d5d18a1324cbd", kill_on_drop: false }` [INFO] [stdout] 919de72e33283b4d2c8a8a61dde34903ec3cdaa46a06ddab835d5d18a1324cbd