[INFO] fetching crate ash 0.38.0+1.3.281... [INFO] checking ash-0.38.0+1.3.281 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ash 0.38.0+1.3.281 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ash 0.38.0+1.3.281 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 crates.io crate ash 0.38.0+1.3.281 [INFO] finished tweaking crates.io crate ash 0.38.0+1.3.281 [INFO] tweaked toml for crates.io crate ash 0.38.0+1.3.281 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 884eebfbf44efb8467d1f867013341376f56d7d8bb5bfcf1234eec2152f5f6bd [INFO] running `Command { std: "docker" "start" "-a" "884eebfbf44efb8467d1f867013341376f56d7d8bb5bfcf1234eec2152f5f6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884eebfbf44efb8467d1f867013341376f56d7d8bb5bfcf1234eec2152f5f6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884eebfbf44efb8467d1f867013341376f56d7d8bb5bfcf1234eec2152f5f6bd", kill_on_drop: false }` [INFO] [stdout] 884eebfbf44efb8467d1f867013341376f56d7d8bb5bfcf1234eec2152f5f6bd [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2770cd37f9087f681adadb2fe925d43151334ddf0449613f4e2de4f7887f7d99 [INFO] running `Command { std: "docker" "start" "-a" "2770cd37f9087f681adadb2fe925d43151334ddf0449613f4e2de4f7887f7d99", kill_on_drop: false }` [INFO] [stderr] Compiling ash v0.38.0+1.3.281 (/opt/rustwide/workdir) [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/device.rs:2066:25 [INFO] [stdout] | [INFO] [stdout] 2066 | let data_size = mem::size_of_val(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2066 - let data_size = mem::size_of_val(data); [INFO] [stdout] 2066 + let data_size = size_of_val(data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/device.rs:2074:13 [INFO] [stdout] | [INFO] [stdout] 2074 | mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2074 - mem::size_of::() as _, [INFO] [stdout] 2074 + size_of::() as _, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/extensions/amd/shader_info.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let mut size = mem::size_of_val(&info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 17 - let mut size = mem::size_of_val(&info); [INFO] [stdout] 17 + let mut size = size_of_val(&info); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/extensions/amd/shader_info.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(size, mem::size_of_val(&info)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 27 - assert_eq!(size, mem::size_of_val(&info)); [INFO] [stdout] 27 + assert_eq!(size, size_of_val(&info)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/extensions/nv/ray_tracing.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | mem::size_of_val(&handle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 206 - mem::size_of_val(&handle), [INFO] [stdout] 206 + size_of_val(&handle), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/device.rs:2066:25 [INFO] [stdout] | [INFO] [stdout] 2066 | let data_size = mem::size_of_val(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2066 - let data_size = mem::size_of_val(data); [INFO] [stdout] 2066 + let data_size = size_of_val(data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/device.rs:2074:13 [INFO] [stdout] | [INFO] [stdout] 2074 | mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2074 - mem::size_of::() as _, [INFO] [stdout] 2074 + size_of::() as _, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/extensions/amd/shader_info.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let mut size = mem::size_of_val(&info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 17 - let mut size = mem::size_of_val(&info); [INFO] [stdout] 17 + let mut size = size_of_val(&info); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/extensions/amd/shader_info.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(size, mem::size_of_val(&info)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 27 - assert_eq!(size, mem::size_of_val(&info)); [INFO] [stdout] 27 + assert_eq!(size, size_of_val(&info)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/extensions/nv/ray_tracing.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | mem::size_of_val(&handle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 206 - mem::size_of_val(&handle), [INFO] [stdout] 206 + size_of_val(&handle), [INFO] [stdout] | [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/entry.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn load_from(path: impl AsRef) -> Result { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let lib = Library::new(path) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 150 | | _lib_guard: Some(lib), [INFO] [stdout] 151 | | ..Self::from_static_fn(static_fn) [INFO] [stdout] 152 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/prelude.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn set_vec_len_on_success(self, mut v: Vec, len: usize) -> VkResult> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | self.result().map(move |()| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | v.set_len(len); [INFO] [stdout] 32 | | v [INFO] [stdout] 33 | | }) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ash` (lib) due to 3 previous errors; 5 warnings emitted [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/entry.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn load_from(path: impl AsRef) -> Result { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let lib = Library::new(path) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 150 | | _lib_guard: Some(lib), [INFO] [stdout] 151 | | ..Self::from_static_fn(static_fn) [INFO] [stdout] 152 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/prelude.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn set_vec_len_on_success(self, mut v: Vec, len: usize) -> VkResult> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | self.result().map(move |()| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | v.set_len(len); [INFO] [stdout] 32 | | v [INFO] [stdout] 33 | | }) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ash` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2770cd37f9087f681adadb2fe925d43151334ddf0449613f4e2de4f7887f7d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2770cd37f9087f681adadb2fe925d43151334ddf0449613f4e2de4f7887f7d99", kill_on_drop: false }` [INFO] [stdout] 2770cd37f9087f681adadb2fe925d43151334ddf0449613f4e2de4f7887f7d99