[INFO] cloning repository https://github.com/B4rrCH/advent-of-code-2022-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/B4rrCH/advent-of-code-2022-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FB4rrCH%2Fadvent-of-code-2022-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FB4rrCH%2Fadvent-of-code-2022-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 178ff374748f22c22c7ce0f2bb466cf967605737 [INFO] checking B4rrCH/advent-of-code-2022-rs/178ff374748f22c22c7ce0f2bb466cf967605737 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%2FB4rrCH%2Fadvent-of-code-2022-rs" "/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/B4rrCH/advent-of-code-2022-rs 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/B4rrCH/advent-of-code-2022-rs [INFO] finished tweaking git repo https://github.com/B4rrCH/advent-of-code-2022-rs [INFO] tweaked toml for git repo https://github.com/B4rrCH/advent-of-code-2022-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/B4rrCH/advent-of-code-2022-rs 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] 2d19e1a87f44ad9873dc788a9ab16f51b2fbc3ca069e065d11b900a5155fd66e [INFO] running `Command { std: "docker" "start" "-a" "2d19e1a87f44ad9873dc788a9ab16f51b2fbc3ca069e065d11b900a5155fd66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d19e1a87f44ad9873dc788a9ab16f51b2fbc3ca069e065d11b900a5155fd66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d19e1a87f44ad9873dc788a9ab16f51b2fbc3ca069e065d11b900a5155fd66e", kill_on_drop: false }` [INFO] [stdout] 2d19e1a87f44ad9873dc788a9ab16f51b2fbc3ca069e065d11b900a5155fd66e [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] a8849fcc6e32775dfc0a6f6328dc2e7cd8ed892a1919079a9082ac1e7845dffc [INFO] running `Command { std: "docker" "start" "-a" "a8849fcc6e32775dfc0a6f6328dc2e7cd8ed892a1919079a9082ac1e7845dffc", kill_on_drop: false }` [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking advent-of-code-rs v0.1.0 (/opt/rustwide/workdir) [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/day03.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|chunk| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | / chunk [INFO] [stdout] 49 | | .map(|x| x.chars().collect::>()) [INFO] [stdout] 50 | | .reduce(|a, b| a.intersection(&b).copied().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/day03.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | .and_then(|s| s.into_iter().collect::>().first().copied()) [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/day06.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | .find(|(_, bytes)| (*bytes).iter().copied().collect::>().len() == nr_of_distinct) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day10.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 120 | fn new(lines: Lines>) -> CathodRayTube { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | sprite: Sprite { [INFO] [stdout] | _____________________^ [INFO] [stdout] 125 | | register_x: 1, [INFO] [stdout] 126 | | next_add: None, [INFO] [stdout] 127 | | lines, [INFO] [stdout] 128 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day11.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 55 | let operation = parse_operation(lines)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Some(Monkey { [INFO] [stdout] | __________^ [INFO] [stdout] 63 | | items, [INFO] [stdout] 64 | | operation, [INFO] [stdout] 65 | | test_divisible_by, [INFO] [stdout] ... | [INFO] [stdout] 68 | | number_of_inspections: 0, [INFO] [stdout] 69 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-rs` (bin "advent-of-code-rs") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/day03.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|chunk| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | / chunk [INFO] [stdout] 49 | | .map(|x| x.chars().collect::>()) [INFO] [stdout] 50 | | .reduce(|a, b| a.intersection(&b).copied().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/day03.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | .and_then(|s| s.into_iter().collect::>().first().copied()) [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/day06.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | .find(|(_, bytes)| (*bytes).iter().copied().collect::>().len() == nr_of_distinct) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day10.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 120 | fn new(lines: Lines>) -> CathodRayTube { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | sprite: Sprite { [INFO] [stdout] | _____________________^ [INFO] [stdout] 125 | | register_x: 1, [INFO] [stdout] 126 | | next_add: None, [INFO] [stdout] 127 | | lines, [INFO] [stdout] 128 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day11.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 55 | let operation = parse_operation(lines)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Some(Monkey { [INFO] [stdout] | __________^ [INFO] [stdout] 63 | | items, [INFO] [stdout] 64 | | operation, [INFO] [stdout] 65 | | test_divisible_by, [INFO] [stdout] ... | [INFO] [stdout] 68 | | number_of_inspections: 0, [INFO] [stdout] 69 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-rs` (bin "advent-of-code-rs" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a8849fcc6e32775dfc0a6f6328dc2e7cd8ed892a1919079a9082ac1e7845dffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8849fcc6e32775dfc0a6f6328dc2e7cd8ed892a1919079a9082ac1e7845dffc", kill_on_drop: false }` [INFO] [stdout] a8849fcc6e32775dfc0a6f6328dc2e7cd8ed892a1919079a9082ac1e7845dffc