[INFO] fetching crate tweak_shader 0.4.0... [INFO] checking tweak_shader-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tweak_shader 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tweak_shader 0.4.0 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 tweak_shader 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tweak_shader 0.4.0 [INFO] tweaked toml for crates.io crate tweak_shader 0.4.0 written to /workspace/builds/worker-4-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 156 packages to latest compatible versions [INFO] [stderr] Adding ash v0.37.3+1.3.251 (latest: v0.38.0+1.3.281) [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.1) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding d3d12 v0.20.0 (latest: v22.0.0) [INFO] [stderr] Adding glow v0.13.1 (latest: v0.14.0) [INFO] [stderr] Adding glutin_wgl_sys v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding gpu-allocator v0.25.0 (latest: v0.27.0) [INFO] [stderr] Adding image v0.24.9 (latest: v0.25.2) [INFO] [stderr] Adding jni-sys v0.3.0 (latest: v0.4.0) [INFO] [stderr] Adding libloading v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding malloc_buf v0.0.6 (latest: v1.0.0) [INFO] [stderr] Adding metal v0.28.0 (latest: v0.29.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding naga v0.20.0 (latest: v22.1.0) [INFO] [stderr] Adding ndk-sys v0.5.0+25.2.9519653 (latest: v0.6.0+11769913) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wgpu v0.20.1 (latest: v22.1.0) [INFO] [stderr] Adding wgpu-core v0.21.1 (latest: v22.1.0) [INFO] [stderr] Adding wgpu-hal v0.21.1 (latest: v22.0.0) [INFO] [stderr] Adding wgpu-types v0.20.0 (latest: v22.0.0) [INFO] [stderr] Adding windows v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cc027e7a198a9ccbe1a43fb1799f498d9d50c6153443c5b71dbcef2ee56840d2 [INFO] running `Command { std: "docker" "start" "-a" "cc027e7a198a9ccbe1a43fb1799f498d9d50c6153443c5b71dbcef2ee56840d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc027e7a198a9ccbe1a43fb1799f498d9d50c6153443c5b71dbcef2ee56840d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc027e7a198a9ccbe1a43fb1799f498d9d50c6153443c5b71dbcef2ee56840d2", kill_on_drop: false }` [INFO] [stdout] cc027e7a198a9ccbe1a43fb1799f498d9d50c6153443c5b71dbcef2ee56840d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4591cc72f9e163b1a219c9db3e588d6aa1bd4b7b88e7a3123aac38c222410c3c [INFO] running `Command { std: "docker" "start" "-a" "4591cc72f9e163b1a219c9db3e588d6aa1bd4b7b88e7a3123aac38c222410c3c", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-hal v0.21.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking pp-rs v0.2.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling wgpu-core v0.21.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking tweak_shader v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1069 | UtilityUniformBlock { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 1076 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` 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: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1089:9 [INFO] [stdout] | [INFO] [stdout] 1078 | UniformBlock { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 1089 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1091 | StorageTexture { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 1100 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1113:9 [INFO] [stdout] | [INFO] [stdout] 1102 | Texture { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 1113 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `storage` is never used [INFO] [stdout] --> src/uniforms/mod.rs:1229:12 [INFO] [stdout] | [INFO] [stdout] 1132 | impl BindingEntry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1229 | pub fn storage(&self) -> Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1069 | UtilityUniformBlock { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 1076 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` 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: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1089:9 [INFO] [stdout] | [INFO] [stdout] 1078 | UniformBlock { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 1089 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1091 | StorageTexture { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 1100 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/uniforms/mod.rs:1113:9 [INFO] [stdout] | [INFO] [stdout] 1102 | Texture { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 1113 | storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `storage` is never used [INFO] [stdout] --> src/uniforms/mod.rs:1229:12 [INFO] [stdout] | [INFO] [stdout] 1132 | impl BindingEntry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1229 | pub fn storage(&self) -> Storage { [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/context.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 51 | source: Src, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let naga_mod = glsl::Frontend::default() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let pass_structure = document [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let sets = uniforms::sets(&naga_mod, &document, device, queue, &format)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let push_const = uniforms::push_constant(&naga_mod, &document)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | let uniforms = uniforms::Uniforms::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let pipeline_layout = device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let pipeline = if is_compute { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let compute_mod = device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let compute_pipeline = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let fs_shader_module = device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let vs_shader_module = device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | let pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | let float_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(RenderContext { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | uniforms, [INFO] [stdout] 209 | | pipeline, [INFO] [stdout] 210 | | passes: pass_structure, [INFO] [stdout] ... | [INFO] [stdout] 219 | | stage: document.stage, [INFO] [stdout] 220 | | }) [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] | [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/uniforms/mod.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 922 | let push = if let Some(PushConstant::Struct { inputs, .. }) = self.push_constants.as_mut() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 929 | / self.sets [INFO] [stdout] 930 | | .iter_mut() [INFO] [stdout] 931 | | .flat_map(|b| b.binding_entries.iter_mut()) [INFO] [stdout] 932 | | .filter_map(|entry| match entry { [INFO] [stdout] ... | [INFO] [stdout] 952 | | }) [INFO] [stdout] 953 | | .chain(push) [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/uniforms/mod.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 958 | let push = if let Some(PushConstant::Struct { inputs, .. }) = self.push_constants.as_ref() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 964 | / self.sets [INFO] [stdout] 965 | | .iter() [INFO] [stdout] 966 | | .flat_map(|b| b.binding_entries.iter()) [INFO] [stdout] 967 | | .filter_map(|entry| match entry { [INFO] [stdout] ... | [INFO] [stdout] 982 | | }) [INFO] [stdout] 983 | | .chain(push) [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/uniforms/mod.rs:1219:12 [INFO] [stdout] | [INFO] [stdout] 1179 | let mut inputs = FastIndexMap::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1210 | let buffer = device.create_buffer(&wgpu::BufferDescriptor { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1219 | Ok(Self::UniformBlock { [INFO] [stdout] | ____________^ [INFO] [stdout] 1220 | | align, [INFO] [stdout] 1221 | | backing: vec![0u8; padded_size], [INFO] [stdout] 1222 | | binding, [INFO] [stdout] ... | [INFO] [stdout] 1225 | | storage, [INFO] [stdout] 1226 | | }) [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/uniforms/naga_bridge.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 25 | let mut binding_entries = vec![]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let layout = device.create_bind_group_layout(&wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let place_holder_texture = device.create_texture_with_data( [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let bind_group = Self::update_uniforms_helper( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 254 | | set, [INFO] [stdout] 255 | | binding_entries, [INFO] [stdout] 256 | | needs_rebind: false, [INFO] [stdout] 257 | | bind_group, [INFO] [stdout] 258 | | layout, [INFO] [stdout] 259 | | }) [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/context.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 51 | source: Src, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let naga_mod = glsl::Frontend::default() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let pass_structure = document [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let sets = uniforms::sets(&naga_mod, &document, device, queue, &format)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let push_const = uniforms::push_constant(&naga_mod, &document)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | let uniforms = uniforms::Uniforms::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let pipeline_layout = device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let pipeline = if is_compute { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let compute_mod = device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let compute_pipeline = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let fs_shader_module = device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let vs_shader_module = device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | let pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | let float_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(RenderContext { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | uniforms, [INFO] [stdout] 209 | | pipeline, [INFO] [stdout] 210 | | passes: pass_structure, [INFO] [stdout] ... | [INFO] [stdout] 219 | | stage: document.stage, [INFO] [stdout] 220 | | }) [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] | [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/uniforms/mod.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 922 | let push = if let Some(PushConstant::Struct { inputs, .. }) = self.push_constants.as_mut() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 929 | / self.sets [INFO] [stdout] 930 | | .iter_mut() [INFO] [stdout] 931 | | .flat_map(|b| b.binding_entries.iter_mut()) [INFO] [stdout] 932 | | .filter_map(|entry| match entry { [INFO] [stdout] ... | [INFO] [stdout] 952 | | }) [INFO] [stdout] 953 | | .chain(push) [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/uniforms/mod.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 958 | let push = if let Some(PushConstant::Struct { inputs, .. }) = self.push_constants.as_ref() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 964 | / self.sets [INFO] [stdout] 965 | | .iter() [INFO] [stdout] 966 | | .flat_map(|b| b.binding_entries.iter()) [INFO] [stdout] 967 | | .filter_map(|entry| match entry { [INFO] [stdout] ... | [INFO] [stdout] 982 | | }) [INFO] [stdout] 983 | | .chain(push) [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/uniforms/mod.rs:1219:12 [INFO] [stdout] | [INFO] [stdout] 1179 | let mut inputs = FastIndexMap::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1210 | let buffer = device.create_buffer(&wgpu::BufferDescriptor { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1219 | Ok(Self::UniformBlock { [INFO] [stdout] | ____________^ [INFO] [stdout] 1220 | | align, [INFO] [stdout] 1221 | | backing: vec![0u8; padded_size], [INFO] [stdout] 1222 | | binding, [INFO] [stdout] ... | [INFO] [stdout] 1225 | | storage, [INFO] [stdout] 1226 | | }) [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/uniforms/naga_bridge.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 25 | let mut binding_entries = vec![]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let layout = device.create_bind_group_layout(&wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let place_holder_texture = device.create_texture_with_data( [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let bind_group = Self::update_uniforms_helper( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 254 | | set, [INFO] [stdout] 255 | | binding_entries, [INFO] [stdout] 256 | | needs_rebind: false, [INFO] [stdout] 257 | | bind_group, [INFO] [stdout] 258 | | layout, [INFO] [stdout] 259 | | }) [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 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tweak_shader` (lib test) due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tweak_shader` (lib) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4591cc72f9e163b1a219c9db3e588d6aa1bd4b7b88e7a3123aac38c222410c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4591cc72f9e163b1a219c9db3e588d6aa1bd4b7b88e7a3123aac38c222410c3c", kill_on_drop: false }` [INFO] [stdout] 4591cc72f9e163b1a219c9db3e588d6aa1bd4b7b88e7a3123aac38c222410c3c