[INFO] fetching crate mc-core 0.1.1... [INFO] checking mc-core-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mc-core 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mc-core 0.1.1 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 mc-core 0.1.1 [INFO] finished tweaking crates.io crate mc-core 0.1.1 [INFO] tweaked toml for crates.io crate mc-core 0.1.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.14.5) [INFO] [stderr] Adding hecs v0.6.5 (available: v0.10.5) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] 894e798c1f0b81a465a82020ade55a7c5938a9efeba45a4c6b3ec5e5bc2366c1 [INFO] running `Command { std: "docker" "start" "-a" "894e798c1f0b81a465a82020ade55a7c5938a9efeba45a4c6b3ec5e5bc2366c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "894e798c1f0b81a465a82020ade55a7c5938a9efeba45a4c6b3ec5e5bc2366c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894e798c1f0b81a465a82020ade55a7c5938a9efeba45a4c6b3ec5e5bc2366c1", kill_on_drop: false }` [INFO] [stdout] 894e798c1f0b81a465a82020ade55a7c5938a9efeba45a4c6b3ec5e5bc2366c1 [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] b13eb84c42f67ba8491a504b1b59a84e74a5d16d908e1e90aabad4c532eeb845 [INFO] running `Command { std: "docker" "start" "-a" "b13eb84c42f67ba8491a504b1b59a84e74a5d16d908e1e90aabad4c532eeb845", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking hecs v0.6.5 [INFO] [stderr] Checking named-binary-tag v0.6.0 [INFO] [stderr] Checking mc-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result<(), DecodeError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world/anvil/source.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 164 | let mut reader = match region.get_chunk_reader(req.cx, req.cz) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let mut chunk = req.build_proto_chunk(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | match decode_chunk_from_reader(&mut reader, &mut chunk) { [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 `Result<(), DecodeError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world/anvil/source.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 164 | let mut reader = match region.get_chunk_reader(req.cx, req.cz) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let mut chunk = req.build_proto_chunk(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | match decode_chunk_from_reader(&mut reader, &mut chunk) { [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: field `length` is never read [INFO] [stdout] --> src/block/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SharedProperty { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | length: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entities` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn decode_entities(tag_root: &CompoundTag, chunk: &mut ProtoChunk) -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entity` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn decode_entity(tag_entity: &CompoundTag, entities: &GlobalEntities, chunk: &mut ProtoChunk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/block/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SharedProperty { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | length: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entities` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn decode_entities(tag_root: &CompoundTag, chunk: &mut ProtoChunk) -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entity` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn decode_entity(tag_entity: &CompoundTag, entities: &GlobalEntities, chunk: &mut ProtoChunk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mc-core` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mc-core` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b13eb84c42f67ba8491a504b1b59a84e74a5d16d908e1e90aabad4c532eeb845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13eb84c42f67ba8491a504b1b59a84e74a5d16d908e1e90aabad4c532eeb845", kill_on_drop: false }` [INFO] [stdout] b13eb84c42f67ba8491a504b1b59a84e74a5d16d908e1e90aabad4c532eeb845