[INFO] cloning repository https://github.com/lincolnq/adv22p5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lincolnq/adv22p5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flincolnq%2Fadv22p5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flincolnq%2Fadv22p5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b3cb3e4a865f419041a24bb6cda5c3ccdac5ab7 [INFO] building lincolnq/adv22p5 against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flincolnq%2Fadv22p5" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lincolnq/adv22p5 on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lincolnq/adv22p5 [INFO] finished tweaking git repo https://github.com/lincolnq/adv22p5 [INFO] tweaked toml for git repo https://github.com/lincolnq/adv22p5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lincolnq/adv22p5 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af213a4fbf48e470f1d4d3e94c623539136f45a71a53c8c1d9fcad5e73d94361 [INFO] running `Command { std: "docker" "start" "-a" "af213a4fbf48e470f1d4d3e94c623539136f45a71a53c8c1d9fcad5e73d94361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af213a4fbf48e470f1d4d3e94c623539136f45a71a53c8c1d9fcad5e73d94361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af213a4fbf48e470f1d4d3e94c623539136f45a71a53c8c1d9fcad5e73d94361", kill_on_drop: false }` [INFO] [stdout] af213a4fbf48e470f1d4d3e94c623539136f45a71a53c8c1d9fcad5e73d94361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abdcd3dabc08af715cbe99df06bf12ae0ade1e844e2fdb987ef43f73fecab30a [INFO] running `Command { std: "docker" "start" "-a" "abdcd3dabc08af715cbe99df06bf12ae0ade1e844e2fdb987ef43f73fecab30a", kill_on_drop: false }` [INFO] [stderr] Compiling rangemap v1.5.1 [INFO] [stderr] Compiling p5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/main.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 186 | while let Some(mut r1) = pop_first(&mut m1) { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `r1` calls a custom destructor [INFO] [stdout] | `r1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | while let Some(r2) = m2.overlapping(r1.clone().0).next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 194 | let int = intersection(&r1.0, r2.0).unwrap(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `int` calls a custom destructor [INFO] [stdout] | `int` will be dropped later as of Edition 2024 [INFO] [stdout] 195 | //println!("First overlap M2: {:?} int: {:?}", r2, int); [INFO] [stdout] 196 | let v2 = r2.1.clone(); [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | `v2` calls a custom destructor [INFO] [stdout] | `v2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | insert(&mut result, zipper(r1.0.start..int.clone().start, Some(&r1.1), None)); [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/main.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | while let Some(mut r1) = pop_first(&mut m1) { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `r1` calls a custom destructor [INFO] [stdout] | `r1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | let int = intersection(&r1.0, r2.0).unwrap(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `int` calls a custom destructor [INFO] [stdout] | `int` will be dropped later as of Edition 2024 [INFO] [stdout] 195 | //println!("First overlap M2: {:?} int: {:?}", r2, int); [INFO] [stdout] 196 | let v2 = r2.1.clone(); [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | `v2` calls a custom destructor [INFO] [stdout] | `v2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | insert(&mut result, zipper(r1.0.start..int.clone().start, Some(&r1.1), None)); [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p5` (bin "p5") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "abdcd3dabc08af715cbe99df06bf12ae0ade1e844e2fdb987ef43f73fecab30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abdcd3dabc08af715cbe99df06bf12ae0ade1e844e2fdb987ef43f73fecab30a", kill_on_drop: false }` [INFO] [stdout] abdcd3dabc08af715cbe99df06bf12ae0ade1e844e2fdb987ef43f73fecab30a