[INFO] fetching crate memur 0.1.2... [INFO] checking memur-0.1.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate memur 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate memur 0.1.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate memur 0.1.2 [INFO] finished tweaking crates.io crate memur 0.1.2 [INFO] tweaked toml for crates.io crate memur 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2f6310009b106ffc7918852f031e7adb46f4724e6f6b3364881514dea710a91 [INFO] running `Command { std: "docker" "start" "-a" "a2f6310009b106ffc7918852f031e7adb46f4724e6f6b3364881514dea710a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2f6310009b106ffc7918852f031e7adb46f4724e6f6b3364881514dea710a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f6310009b106ffc7918852f031e7adb46f4724e6f6b3364881514dea710a91", kill_on_drop: false }` [INFO] [stdout] a2f6310009b106ffc7918852f031e7adb46f4724e6f6b3364881514dea710a91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 429ffa887b0a93cba7263d83f6f2c5617c30308dc74c28d136af2f0befec7c7d [INFO] running `Command { std: "docker" "start" "-a" "429ffa887b0a93cba7263d83f6f2c5617c30308dc74c28d136af2f0befec7c7d", kill_on_drop: false }` [INFO] [stderr] Checking memur v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Enumerate, Map, {closure@src/list.rs:273:68: 273:71}>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/list.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 259 | let arena = Arena::new(&memory).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | [INFO] [stdout] 261 | let items3 = (0..12) [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | for (i, (item, expected)) in items3.iter().zip((0..12).map(|v| v as i16)).enumerate() { [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: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/n.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn outlives(&self, value: O) -> Result, UploadError> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | match self._arena.arena() { [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] warning: unused return value of `transmute_copy` that must be used [INFO] [stdout] --> src/droplist.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | std::mem::transmute_copy::(ref_to_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = std::mem::transmute_copy::(ref_to_t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Enumerate, Map, {closure@src/array.rs:398:67: 398:70}>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/array.rs:398:38 [INFO] [stdout] | [INFO] [stdout] 396 | let arena = Arena::new(&memory).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 397 | let items = Array::new(&arena, (0..12).map(|v| v as i64)).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | for (i, (item, expected)) in items.iter().zip((0..12).map(|v| v as i64)).enumerate() { [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: this value of type `Enumerate, Map, {closure@src/array.rs:408:67: 408:70}>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/array.rs:408:38 [INFO] [stdout] | [INFO] [stdout] 406 | let arena = Arena::new(&memory).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | let items = Array::new(&arena, (0..12).map(|v| v as i8)).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | for (i, (item, expected)) in items.iter().zip((0..12).map(|v| v as i8)).enumerate() { [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: this value of type `Enumerate, Map, {closure@src/array.rs:418:67: 418:70}>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/array.rs:418:38 [INFO] [stdout] | [INFO] [stdout] 416 | let arena = Arena::new(&memory).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 417 | let items = Array::new(&arena, (0..12).map(|v| v as i16)).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 418 | for (i, (item, expected)) in items.iter().zip((0..12).map(|v| v as i16)).enumerate() { [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: this value of type `Enumerate, Map, {closure@src/array.rs:443:68: 443:71}>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/array.rs:443:38 [INFO] [stdout] | [INFO] [stdout] 426 | let arena = Arena::new(&memory).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | [INFO] [stdout] 428 | let items3 = Array::new( [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | for (i, (item, expected)) in items3.iter().zip((0..12).map(|v| v as i16)).enumerate() { [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 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memur` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/n.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn outlives(&self, value: O) -> Result, UploadError> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | match self._arena.arena() { [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: unused return value of `transmute_copy` that must be used [INFO] [stdout] --> src/droplist.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | std::mem::transmute_copy::(ref_to_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = std::mem::transmute_copy::(ref_to_t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memur` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "429ffa887b0a93cba7263d83f6f2c5617c30308dc74c28d136af2f0befec7c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "429ffa887b0a93cba7263d83f6f2c5617c30308dc74c28d136af2f0befec7c7d", kill_on_drop: false }` [INFO] [stdout] 429ffa887b0a93cba7263d83f6f2c5617c30308dc74c28d136af2f0befec7c7d