[INFO] fetching crate gfx-backend-gl 0.9.0... [INFO] checking gfx-backend-gl-0.9.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate gfx-backend-gl 0.9.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate gfx-backend-gl 0.9.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 gfx-backend-gl 0.9.0 [INFO] finished tweaking crates.io crate gfx-backend-gl 0.9.0 [INFO] tweaked toml for crates.io crate gfx-backend-gl 0.9.0 written to /workspace/builds/worker-5-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 61 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [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 fixedbitset v0.2.0 (latest: v0.5.7) [INFO] [stderr] Adding glow v0.9.0 (latest: v0.14.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding khronos-egl v4.1.0 (latest: v6.0.0) [INFO] [stderr] Adding libloading v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding naga v0.5.0 (latest: v22.1.0) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.10) [INFO] [stderr] Adding petgraph v0.5.1 (latest: v0.6.5) [INFO] [stderr] Adding raw-window-handle v0.3.4 (latest: v0.6.2) [INFO] [stderr] Adding raw-window-handle v0.4.3 (latest: v0.6.2) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.3) [INFO] [stderr] Adding rose_tree v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding slotmap v0.4.3 (latest: v1.0.7) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a1a5cee96a23aa725461558d5c230ba14f0f2142841e3fb2494a748200c45b08 [INFO] running `Command { std: "docker" "start" "-a" "a1a5cee96a23aa725461558d5c230ba14f0f2142841e3fb2494a748200c45b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1a5cee96a23aa725461558d5c230ba14f0f2142841e3fb2494a748200c45b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a5cee96a23aa725461558d5c230ba14f0f2142841e3fb2494a748200c45b08", kill_on_drop: false }` [INFO] [stdout] a1a5cee96a23aa725461558d5c230ba14f0f2142841e3fb2494a748200c45b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] da7bd41ac1e8675a9392558ef516577d990dc61504821804ea0d90e91bfc20fc [INFO] running `Command { std: "docker" "start" "-a" "da7bd41ac1e8675a9392558ef516577d990dc61504821804ea0d90e91bfc20fc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking glow v0.9.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking rose_tree v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking naga v0.5.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking external-memory v0.0.1 [INFO] [stderr] Checking gfx-hal v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `dummy` [INFO] [stdout] --> src/native.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | #[cfg(not(dummy))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dummy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dummy)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dummy` [INFO] [stdout] --> src/native.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | #[cfg(not(dummy))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dummy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dummy)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `downlevel` [INFO] [stdout] --> src/info.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downlevel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/info.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `downlevel` [INFO] [stdout] --> src/info.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downlevel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/info.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_target` is never read [INFO] [stdout] --> src/command.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 118 | CopyBufferToBuffer { [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 121 | src_target: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` 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: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 133 | CopyBufferToRenderbuffer((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 142 | CopyRenderbufferToBuffer((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/command.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | CopyImageToTexture( [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 144 | n::ImageType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | n::Texture, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | n::TextureTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | command::ImageCopy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 144 ~ (), [INFO] [stdout] 145 ~ (), [INFO] [stdout] 146 ~ (), [INFO] [stdout] 147 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `framebuffer` is never read [INFO] [stdout] --> src/command.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | framebuffer: Option<(FrameBufferTarget, n::RawFramebuffer)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` 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 `active_attribs` is never read [INFO] [stdout] --> src/command.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct CommandBuffer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 377 | active_attribs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `framebuffer_texture`, `clear_buffer`, `program_interface`, and `frag_data_location` are never read [INFO] [stdout] --> src/info.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct PrivateCaps { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub framebuffer_texture: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub clear_buffer: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 212 | pub program_interface: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | pub frag_data_location: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrivateCaps` 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 `sampler_map` is never read [INFO] [stdout] --> src/native.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ComputePipeline { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 111 | pub(crate) program: Program, [INFO] [stdout] 112 | pub(crate) sampler_map: SamplerBindMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputePipeline` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_levels` and `num_layers` are never read [INFO] [stdout] --> src/native.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) num_levels: i::Level, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | pub(crate) num_layers: i::Layer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/native.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 308 | pub(crate) properties: Properties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Memory` 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 `depth_stencil` is never read [INFO] [stdout] --> src/native.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct SubpassDesc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 329 | pub(crate) color_attachments: Vec, [INFO] [stdout] 330 | pub(crate) depth_stencil: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubpassDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/native.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct PipelineLayoutSet { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 349 | pub(crate) layout: DescriptorSetLayout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PipelineLayoutSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_viewports` and `num_scissors` are never read [INFO] [stdout] --> src/queue.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | num_viewports: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | // Currently set scissor rects. [INFO] [stdout] 29 | num_scissors: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/lib.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 291 | fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | Starc { [INFO] [stdout] 293 | arc: Arc::new(value), [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/lib.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 291 | fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | thread: thread::current().id(), [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/lib.rs:526:30 [INFO] [stdout] | [INFO] [stdout] 357 | fn new_adapter(context: GlContext) -> adapter::Adapter { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | let gl = GlContainer { context }; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | info, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | texture_format_filter, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let share = Share { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | physical_device: PhysicalDevice(Starc::new(share)), [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/command.rs:408:19 [INFO] [stdout] | [INFO] [stdout] 384 | memory: Arc>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let mut memory = memory [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | data: CommandStorage { [INFO] [stdout] | ___________________^ [INFO] [stdout] 409 | | memory, [INFO] [stdout] 410 | | buf: BufferSlice::new(), [INFO] [stdout] 411 | | id, [INFO] [stdout] 412 | | }, [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/command.rs:416:20 [INFO] [stdout] | [INFO] [stdout] 384 | memory: Arc>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let mut memory = memory [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | cache: Cache::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/device.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 851 | let memory = if flags.contains(CommandPoolCreateFlags::RESET_INDIVIDUAL) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 862 | Ok(CommandPool { [INFO] [stdout] | ____________^ [INFO] [stdout] 863 | | fbo, [INFO] [stdout] 864 | | limits, [INFO] [stdout] 865 | | memory: Arc::new(Mutex::new(memory)), [INFO] [stdout] 866 | | legacy_features: self.share.legacy_features, [INFO] [stdout] 867 | | }) [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/device.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 912 | layouts: Is, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 913 | _: Ic, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 919 | let mut sets = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 956 | Ok(n::PipelineLayout { sets }) [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/device.rs:1050:12 [INFO] [stdout] | [INFO] [stdout] 1025 | let mut uniforms = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1050 | Ok(n::GraphicsPipeline { [INFO] [stdout] | ____________^ [INFO] [stdout] 1051 | | program, [INFO] [stdout] 1052 | | primitive: conv::input_assember_to_gl_primitive(input_assembler), [INFO] [stdout] 1053 | | patch_size, [INFO] [stdout] ... | [INFO] [stdout] 1074 | | sampler_map, [INFO] [stdout] 1075 | | }) [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/device.rs:1218:12 [INFO] [stdout] | [INFO] [stdout] 1216 | shader: d::NagaShader, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1217 | ) -> Result { [INFO] [stdout] 1218 | Ok(n::ShaderModule { [INFO] [stdout] | ____________^ [INFO] [stdout] 1219 | | #[cfg(feature = "cross")] [INFO] [stdout] 1220 | | spv: match naga::back::spv::write_vec(&shader.module, &shader.info, &self.spv_options) { [INFO] [stdout] 1221 | | Ok(spv) => spv, [INFO] [stdout] ... | [INFO] [stdout] 1226 | | naga: Ok(shader), [INFO] [stdout] 1227 | | }) [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/device.rs:1759:12 [INFO] [stdout] | [INFO] [stdout] 1749 | layout: I, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1750 | _immutable_samplers: J, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1759 | Ok(Arc::new(bindings)) [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/window/egl.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 153 | egl: Starc>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 227 | | egl, [INFO] [stdout] 228 | | display, [INFO] [stdout] 229 | | version, [INFO] [stdout] ... | [INFO] [stdout] 234 | | wl_display: None, [INFO] [stdout] 235 | | }) [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/window/egl.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 252 | let egl = match unsafe { egl::DynamicInstance::::load_required() } { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Ok(egl) => Starc::new(egl), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let mut wsi_library = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | [INFO] [stdout] 270 | let wayland_library = if client_ext_str.contains(&"EGL_EXT_platform_wayland") { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | let x11_display_library = if client_ext_str.contains(&"EGL_EXT_platform_x11") { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | let display = if let (Some(library), Some(egl)) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | } else if let (Some((display, library)), Some(egl)) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let inner = Inner::create(egl.clone(), display, wsi_library.as_ref())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | [INFO] [stdout] 309 | Ok(Instance { [INFO] [stdout] | ____________^ [INFO] [stdout] 310 | | inner: Mutex::new(inner), [INFO] [stdout] 311 | | wsi_library, [INFO] [stdout] 312 | | }) [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/window/egl.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 346 | let mut inner = self.inner.lock(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let new_inner = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | let old_inner = std::mem::replace(inner.deref_mut(), new_inner); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | Ok(Surface { [INFO] [stdout] | ____________^ [INFO] [stdout] 473 | | egl: inner.egl.clone(), [INFO] [stdout] 474 | | raw, [INFO] [stdout] 475 | | display: inner.display, [INFO] [stdout] ... | [INFO] [stdout] 480 | | swapchain: None, [INFO] [stdout] 481 | | }) [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 13 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gfx-backend-gl` (lib) due to 14 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `src_target` is never read [INFO] [stdout] --> src/command.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 118 | CopyBufferToBuffer { [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 121 | src_target: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` 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: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 133 | CopyBufferToRenderbuffer((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 142 | CopyRenderbufferToBuffer((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/command.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | CopyImageToTexture( [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 144 | n::ImageType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | n::Texture, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | n::TextureTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | command::ImageCopy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 144 ~ (), [INFO] [stdout] 145 ~ (), [INFO] [stdout] 146 ~ (), [INFO] [stdout] 147 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `framebuffer` is never read [INFO] [stdout] --> src/command.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | framebuffer: Option<(FrameBufferTarget, n::RawFramebuffer)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` 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 `active_attribs` is never read [INFO] [stdout] --> src/command.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct CommandBuffer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 377 | active_attribs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `framebuffer_texture`, `clear_buffer`, `program_interface`, and `frag_data_location` are never read [INFO] [stdout] --> src/info.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct PrivateCaps { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub framebuffer_texture: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub clear_buffer: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 212 | pub program_interface: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | pub frag_data_location: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrivateCaps` 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 `sampler_map` is never read [INFO] [stdout] --> src/native.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ComputePipeline { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 111 | pub(crate) program: Program, [INFO] [stdout] 112 | pub(crate) sampler_map: SamplerBindMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputePipeline` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_levels` and `num_layers` are never read [INFO] [stdout] --> src/native.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) num_levels: i::Level, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | pub(crate) num_layers: i::Layer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/native.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 308 | pub(crate) properties: Properties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Memory` 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 `depth_stencil` is never read [INFO] [stdout] --> src/native.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct SubpassDesc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 329 | pub(crate) color_attachments: Vec, [INFO] [stdout] 330 | pub(crate) depth_stencil: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubpassDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/native.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct PipelineLayoutSet { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 349 | pub(crate) layout: DescriptorSetLayout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PipelineLayoutSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_viewports` and `num_scissors` are never read [INFO] [stdout] --> src/queue.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | num_viewports: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | // Currently set scissor rects. [INFO] [stdout] 29 | num_scissors: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/lib.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 291 | fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | Starc { [INFO] [stdout] 293 | arc: Arc::new(value), [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/lib.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 291 | fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | thread: thread::current().id(), [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/lib.rs:526:30 [INFO] [stdout] | [INFO] [stdout] 357 | fn new_adapter(context: GlContext) -> adapter::Adapter { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | let gl = GlContainer { context }; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | info, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | texture_format_filter, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let share = Share { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | physical_device: PhysicalDevice(Starc::new(share)), [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/command.rs:408:19 [INFO] [stdout] | [INFO] [stdout] 384 | memory: Arc>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let mut memory = memory [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | data: CommandStorage { [INFO] [stdout] | ___________________^ [INFO] [stdout] 409 | | memory, [INFO] [stdout] 410 | | buf: BufferSlice::new(), [INFO] [stdout] 411 | | id, [INFO] [stdout] 412 | | }, [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/command.rs:416:20 [INFO] [stdout] | [INFO] [stdout] 384 | memory: Arc>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let mut memory = memory [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | cache: Cache::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/device.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 851 | let memory = if flags.contains(CommandPoolCreateFlags::RESET_INDIVIDUAL) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 862 | Ok(CommandPool { [INFO] [stdout] | ____________^ [INFO] [stdout] 863 | | fbo, [INFO] [stdout] 864 | | limits, [INFO] [stdout] 865 | | memory: Arc::new(Mutex::new(memory)), [INFO] [stdout] 866 | | legacy_features: self.share.legacy_features, [INFO] [stdout] 867 | | }) [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/device.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 912 | layouts: Is, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 913 | _: Ic, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 919 | let mut sets = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 956 | Ok(n::PipelineLayout { sets }) [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/device.rs:1050:12 [INFO] [stdout] | [INFO] [stdout] 1025 | let mut uniforms = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1050 | Ok(n::GraphicsPipeline { [INFO] [stdout] | ____________^ [INFO] [stdout] 1051 | | program, [INFO] [stdout] 1052 | | primitive: conv::input_assember_to_gl_primitive(input_assembler), [INFO] [stdout] 1053 | | patch_size, [INFO] [stdout] ... | [INFO] [stdout] 1074 | | sampler_map, [INFO] [stdout] 1075 | | }) [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/device.rs:1218:12 [INFO] [stdout] | [INFO] [stdout] 1216 | shader: d::NagaShader, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1217 | ) -> Result { [INFO] [stdout] 1218 | Ok(n::ShaderModule { [INFO] [stdout] | ____________^ [INFO] [stdout] 1219 | | #[cfg(feature = "cross")] [INFO] [stdout] 1220 | | spv: match naga::back::spv::write_vec(&shader.module, &shader.info, &self.spv_options) { [INFO] [stdout] 1221 | | Ok(spv) => spv, [INFO] [stdout] ... | [INFO] [stdout] 1226 | | naga: Ok(shader), [INFO] [stdout] 1227 | | }) [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/device.rs:1759:12 [INFO] [stdout] | [INFO] [stdout] 1749 | layout: I, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1750 | _immutable_samplers: J, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1759 | Ok(Arc::new(bindings)) [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/window/egl.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 153 | egl: Starc>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 227 | | egl, [INFO] [stdout] 228 | | display, [INFO] [stdout] 229 | | version, [INFO] [stdout] ... | [INFO] [stdout] 234 | | wl_display: None, [INFO] [stdout] 235 | | }) [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/window/egl.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 252 | let egl = match unsafe { egl::DynamicInstance::::load_required() } { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Ok(egl) => Starc::new(egl), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let mut wsi_library = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | [INFO] [stdout] 270 | let wayland_library = if client_ext_str.contains(&"EGL_EXT_platform_wayland") { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | let x11_display_library = if client_ext_str.contains(&"EGL_EXT_platform_x11") { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | let display = if let (Some(library), Some(egl)) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | } else if let (Some((display, library)), Some(egl)) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let inner = Inner::create(egl.clone(), display, wsi_library.as_ref())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | [INFO] [stdout] 309 | Ok(Instance { [INFO] [stdout] | ____________^ [INFO] [stdout] 310 | | inner: Mutex::new(inner), [INFO] [stdout] 311 | | wsi_library, [INFO] [stdout] 312 | | }) [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/window/egl.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 346 | let mut inner = self.inner.lock(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let new_inner = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | let old_inner = std::mem::replace(inner.deref_mut(), new_inner); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | Ok(Surface { [INFO] [stdout] | ____________^ [INFO] [stdout] 473 | | egl: inner.egl.clone(), [INFO] [stdout] 474 | | raw, [INFO] [stdout] 475 | | display: inner.display, [INFO] [stdout] ... | [INFO] [stdout] 480 | | swapchain: None, [INFO] [stdout] 481 | | }) [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 13 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gfx-backend-gl` (lib test) due to 14 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da7bd41ac1e8675a9392558ef516577d990dc61504821804ea0d90e91bfc20fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da7bd41ac1e8675a9392558ef516577d990dc61504821804ea0d90e91bfc20fc", kill_on_drop: false }` [INFO] [stdout] da7bd41ac1e8675a9392558ef516577d990dc61504821804ea0d90e91bfc20fc