[INFO] fetching crate rust-gpu-tools 0.6.2... [INFO] checking rust-gpu-tools-0.6.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rust-gpu-tools 0.6.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rust-gpu-tools 0.6.2 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] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate rust-gpu-tools 0.6.2 [INFO] finished tweaking crates.io crate rust-gpu-tools 0.6.2 [INFO] tweaked toml for crates.io crate rust-gpu-tools 0.6.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate rust-gpu-tools 0.6.2 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a0121448b30b96292289120192588edd7750d1015b492b5bf9deb2278a02b6a4 [INFO] running `Command { std: "docker" "start" "-a" "a0121448b30b96292289120192588edd7750d1015b492b5bf9deb2278a02b6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0121448b30b96292289120192588edd7750d1015b492b5bf9deb2278a02b6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0121448b30b96292289120192588edd7750d1015b492b5bf9deb2278a02b6a4", kill_on_drop: false }` [INFO] [stdout] a0121448b30b96292289120192588edd7750d1015b492b5bf9deb2278a02b6a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a0ef74d000cdda083d166371fbca4db51318f2a3e4636b3734cbfc4e706deee2 [INFO] running `Command { std: "docker" "start" "-a" "a0ef74d000cdda083d166371fbca4db51318f2a3e4636b3734cbfc4e706deee2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.41 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rustacuda_core v0.1.2 [INFO] [stderr] Checking cl3 v0.6.5 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking once_cell v1.17.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking temp-env v0.2.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking opencl3 v0.6.3 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling rustacuda_derive v0.1.2 [INFO] [stderr] Checking fil-rustacuda v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.41 [INFO] [stderr] Checking rust-gpu-tools v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cuda/utils.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct CudaContexts(Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/cuda/mod.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 189 | let buffer = DeviceBuffer::::uninitialized(length * std::mem::size_of::())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | [INFO] [stdout] 191 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 192 | | buffer, [INFO] [stdout] 193 | | length, [INFO] [stdout] 194 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 195 | | }) [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] = 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/cuda/mod.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 209 | let mut buffer = unsafe { DeviceBuffer::::uninitialized(bytes_len)? }; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 215 | | buffer, [INFO] [stdout] 216 | | length: slice.len(), [INFO] [stdout] 217 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 218 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cuda/utils.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | let mut contexts = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | / rustacuda::init(rustacuda::CudaFlags::empty()) [INFO] [stdout] 64 | | .map_err(Into::into) [INFO] [stdout] 65 | | .and_then(|_| { [INFO] [stdout] 66 | | for device in rustacuda::device::Device::devices()? { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok((all_devices, wrapped_contexts)) [INFO] [stdout] 143 | | }) [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/cuda/utils.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 61 | let mut contexts = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let wrapped_contexts = CudaContexts(contexts); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Ok((all_devices, wrapped_contexts)) [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/cuda/utils.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 144 | .unwrap_or_else(|error: GPUError| { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | warn!("Unable to retrieve CUDA devices: {:?}", error); [INFO] [stdout] 146 | (Vec::new(), CudaContexts(Vec::new())) [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/opencl/mod.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 163 | .map(|kernel| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let name = kernel.function_name()?; [INFO] [stdout] 165 | Ok((name, kernel)) [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/opencl/mod.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 184 | let context = Context::from_device(&device.device)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let bins = vec![&bin[..]]; [INFO] [stdout] 186 | let mut program = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let queue = CommandQueue::create(&context, context.default_device(), 0)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let kernels = opencl3::kernel::create_program_kernels(&program)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | let kernels_by_name = kernels [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | Ok(Program { [INFO] [stdout] | ____________^ [INFO] [stdout] 202 | | device_name: device.name(), [INFO] [stdout] 203 | | queue, [INFO] [stdout] 204 | | context, [INFO] [stdout] 205 | | kernels_by_name, [INFO] [stdout] 206 | | }) [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] | | 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] | |_________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] [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/opencl/mod.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 196 | .map(|kernel| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let name = kernel.function_name()?; [INFO] [stdout] 198 | Ok((name, kernel)) [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/opencl/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 223 | let mut buff = opencl3::memory::Buffer::create( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 237 | | buffer: buff, [INFO] [stdout] 238 | | length, [INFO] [stdout] 239 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 240 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/opencl/mod.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 249 | let mut buffer = opencl3::memory::Buffer::create( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 266 | | buffer, [INFO] [stdout] 267 | | length, [INFO] [stdout] 268 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 269 | | }) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-gpu-tools` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cuda/utils.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct CudaContexts(Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/cuda/mod.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 189 | let buffer = DeviceBuffer::::uninitialized(length * std::mem::size_of::())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | [INFO] [stdout] 191 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 192 | | buffer, [INFO] [stdout] 193 | | length, [INFO] [stdout] 194 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 195 | | }) [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] = 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/cuda/mod.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 209 | let mut buffer = unsafe { DeviceBuffer::::uninitialized(bytes_len)? }; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 215 | | buffer, [INFO] [stdout] 216 | | length: slice.len(), [INFO] [stdout] 217 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 218 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cuda/utils.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | let mut contexts = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | / rustacuda::init(rustacuda::CudaFlags::empty()) [INFO] [stdout] 64 | | .map_err(Into::into) [INFO] [stdout] 65 | | .and_then(|_| { [INFO] [stdout] 66 | | for device in rustacuda::device::Device::devices()? { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok((all_devices, wrapped_contexts)) [INFO] [stdout] 143 | | }) [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/cuda/utils.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 61 | let mut contexts = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let wrapped_contexts = CudaContexts(contexts); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Ok((all_devices, wrapped_contexts)) [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/cuda/utils.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 144 | .unwrap_or_else(|error: GPUError| { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | warn!("Unable to retrieve CUDA devices: {:?}", error); [INFO] [stdout] 146 | (Vec::new(), CudaContexts(Vec::new())) [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/opencl/mod.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 163 | .map(|kernel| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let name = kernel.function_name()?; [INFO] [stdout] 165 | Ok((name, kernel)) [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/opencl/mod.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 184 | let context = Context::from_device(&device.device)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let bins = vec![&bin[..]]; [INFO] [stdout] 186 | let mut program = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let queue = CommandQueue::create(&context, context.default_device(), 0)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let kernels = opencl3::kernel::create_program_kernels(&program)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | let kernels_by_name = kernels [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | Ok(Program { [INFO] [stdout] | ____________^ [INFO] [stdout] 202 | | device_name: device.name(), [INFO] [stdout] 203 | | queue, [INFO] [stdout] 204 | | context, [INFO] [stdout] 205 | | kernels_by_name, [INFO] [stdout] 206 | | }) [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] | | 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] | |_________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] [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/opencl/mod.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 196 | .map(|kernel| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let name = kernel.function_name()?; [INFO] [stdout] 198 | Ok((name, kernel)) [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/opencl/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 223 | let mut buff = opencl3::memory::Buffer::create( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 237 | | buffer: buff, [INFO] [stdout] 238 | | length, [INFO] [stdout] 239 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 240 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/opencl/mod.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 249 | let mut buffer = opencl3::memory::Buffer::create( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(Buffer:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 266 | | buffer, [INFO] [stdout] 267 | | length, [INFO] [stdout] 268 | | _phantom: std::marker::PhantomData, [INFO] [stdout] 269 | | }) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-gpu-tools` (lib test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a0ef74d000cdda083d166371fbca4db51318f2a3e4636b3734cbfc4e706deee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ef74d000cdda083d166371fbca4db51318f2a3e4636b3734cbfc4e706deee2", kill_on_drop: false }` [INFO] [stdout] a0ef74d000cdda083d166371fbca4db51318f2a3e4636b3734cbfc4e706deee2