[INFO] fetching crate maia 0.1.1... [INFO] checking maia-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate maia 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate maia 0.1.1 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 maia 0.1.1 [INFO] finished tweaking crates.io crate maia 0.1.1 [INFO] tweaked toml for crates.io crate maia 0.1.1 written to /workspace/builds/worker-7-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 64 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cocoa v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding cocoa-foundation v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics v0.22.3 (latest: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generator v0.7.5 (latest: v0.8.3) [INFO] [stderr] Adding loom v0.5.6 (latest: v0.7.2) [INFO] [stderr] Adding malloc_buf v0.0.6 (latest: v1.0.0) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding raw-window-handle v0.4.3 (latest: v0.6.2) [INFO] [stderr] Adding raw-window-metal v0.2.0 (latest: v0.4.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding windows v0.48.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e57e6fe495fc47e1f91d63315658337e24cac6519c94509159f71c72f30e4300 [INFO] running `Command { std: "docker" "start" "-a" "e57e6fe495fc47e1f91d63315658337e24cac6519c94509159f71c72f30e4300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e57e6fe495fc47e1f91d63315658337e24cac6519c94509159f71c72f30e4300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57e6fe495fc47e1f91d63315658337e24cac6519c94509159f71c72f30e4300", kill_on_drop: false }` [INFO] [stdout] e57e6fe495fc47e1f91d63315658337e24cac6519c94509159f71c72f30e4300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c8d4a8605a594f67d74936f165cdb1f1574fb477c1c92a6834610b85cc489b77 [INFO] running `Command { std: "docker" "start" "-a" "c8d4a8605a594f67d74936f165cdb1f1574fb477c1c92a6834610b85cc489b77", kill_on_drop: false }` [INFO] [stderr] Compiling maia v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(loom)] [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` 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: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(loom)] [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` 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: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/cleanup_queue.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/image.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | Swapchain(Subobject), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageOwner` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 | Swapchain(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/command_buffer.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | struct RecordedCommands(Subobject); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RecordedCommands` 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/physical_device.rs:50:62 [INFO] [stdout] | [INFO] [stdout] 50 | .map(|handle| PhysicalDevice { handle, instance: self.clone() }) [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/device.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 87 | let device = Arc::new(Device { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let queues = info [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok((device, queues)) [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/queue.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 108 | &mut self, infos: &mut [SubmitInfo<'_>], mut fence: Fence, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(fence.into_pending(self.resources.new_cleanup())) [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/buffer.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 73 | mut inner: BufferWithoutMemory, memory: &DeviceMemory, offset: u64, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Arc::new(Buffer { inner, _memory: memory.resource() })) [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/image.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 119 | mut inner: ImageWithoutMemory, memory: &DeviceMemory, offset: u64, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok(Arc::new(Self { inner, _memory: Some(memory.resource()) })) [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/image.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 202 | handle: Handle, device: Arc, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | res: Subobject, format: Format, extent: Extent3D, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | inner: ImageWithoutMemory { [INFO] [stdout] | ____________________^ [INFO] [stdout] 208 | | handle, [INFO] [stdout] 209 | | device, [INFO] [stdout] 210 | | res: ImageOwner::Swapchain(res), [INFO] [stdout] ... | [INFO] [stdout] 215 | | mip_levels: 1, [INFO] [stdout] 216 | | }, [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/image.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 202 | handle: Handle, device: Arc, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | res: Subobject, format: Format, extent: Extent3D, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | _memory: None, [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/memory.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 138 | mut self, offset: u64, size: usize, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | Ok(MappedMemory { memory: self, size, ptr: NonNull::new(ptr).unwrap() }) [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_buffer.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 167 | let res = Owner::new(CommandPoolLifetime { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let _res = Subobject::new(&res); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | Ok(CommandPool { [INFO] [stdout] | ____________^ [INFO] [stdout] 174 | | res, [INFO] [stdout] 175 | | recording: Some(Arc::new(RecordedCommands(_res))), [INFO] [stdout] 176 | | scratch: Exclusive::new(bumpalo::Bump::new()), [INFO] [stdout] 177 | | }) [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_buffer.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 306 | &mut self, buffer: CommandBuffer, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let mut inner = Owner::from_arc(buffer.0).map_err(|arc| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | Ok(CommandRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 332 | | pool: &mut self.res, [INFO] [stdout] 333 | | recording: self.recording.as_ref().unwrap(), [INFO] [stdout] 334 | | graphics: Bindings::new(scratch), [INFO] [stdout] ... | [INFO] [stdout] 337 | | buffer: inner, [INFO] [stdout] 338 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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_buffer.rs:316:55 [INFO] [stdout] | [INFO] [stdout] 315 | let mut inner = Owner::from_arc(buffer.0).map_err(|arc| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | ErrorAndSelf(Error::SynchronizationError, CommandBuffer(arc)) [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_buffer.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 346 | &'a mut self, buffer: SecondaryCommandBuffer, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let mut inner = Owner::from_arc(buffer.buf).map_err(|arc| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 396 | Ok(SecondaryCommandRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 397 | | rec: CommandRecording { [INFO] [stdout] 398 | | pool: &mut self.res, [INFO] [stdout] 399 | | recording: self.recording.as_ref().unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 406 | | subpass, [INFO] [stdout] 407 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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_buffer.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut inner = Owner::from_arc(buffer.buf).map_err(|arc| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | SecondaryCommandBuffer { buf: arc, pass: None, subpass: 0 }, [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_buffer.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn end(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 481 | Ok(CommandBuffer(Owner::into_arc(self.buffer))) [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_buffer.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn end(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 496 | Ok(SecondaryCommandBuffer { [INFO] [stdout] | ____________^ [INFO] [stdout] 497 | | buf: Owner::into_arc(self.rec.buffer), [INFO] [stdout] 498 | | pass: Some(self.pass), [INFO] [stdout] 499 | | subpass: self.subpass, [INFO] [stdout] 500 | | }) [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_buffer.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 509 | mut self, render_pass: &Arc, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | Ok(RenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 521 | | rec: self, [INFO] [stdout] 522 | | pass: render_pass.clone(), [INFO] [stdout] 523 | | subpass: 0, [INFO] [stdout] 524 | | }) [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_buffer.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 531 | mut self, render_pass: &Arc, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(ExternalRenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | rec: self, [INFO] [stdout] 547 | | pass: render_pass.clone(), [INFO] [stdout] 548 | | subpass: 0, [INFO] [stdout] 549 | | }) [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_buffer.rs:612:12 [INFO] [stdout] | [INFO] [stdout] 601 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 612 | Ok(ExternalRenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 613 | | rec: self.rec, [INFO] [stdout] 614 | | pass: self.pass, [INFO] [stdout] 615 | | subpass: self.subpass + 1, [INFO] [stdout] 616 | | }) [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_buffer.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 654 | pub fn next_subpass(mut self) -> Result> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 664 | Ok(RenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 665 | | rec: self.rec, [INFO] [stdout] 666 | | pass: self.pass, [INFO] [stdout] 667 | | subpass: self.subpass + 1, [INFO] [stdout] 668 | | }) [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/descriptor_set.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 51 | device: &Arc, bindings: Vec, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(Arc::new(DescriptorSetLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | handle: handle.unwrap(), [INFO] [stdout] 96 | | bindings, [INFO] [stdout] 97 | | device: device.clone(), [INFO] [stdout] 98 | | })) [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/descriptor_set.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 185 | let res = Owner::new(DescriptorPoolLifetime { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let allocated = Arc::new(AllocatedSets); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Ok(DescriptorPool { res, allocated }) [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/descriptor_set.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 268 | let mut resources = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | Ok(DescriptorSet { [INFO] [stdout] | ____________^ [INFO] [stdout] 273 | | handle, [INFO] [stdout] 274 | | layout: layout.clone(), [INFO] [stdout] 275 | | _pool: Subobject::new(&pool.res), [INFO] [stdout] 276 | | _allocation: pool.allocated.clone(), [INFO] [stdout] 277 | | resources, [INFO] [stdout] 278 | | }) [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/fence.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) fn into_pending(mut self, resources: Cleanup) -> PendingFence { [INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | device: self.device.clone(), [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/fence.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn wait(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(Fence { handle: Some(self.handle), device: self.device }) [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/framebuffer.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 28 | attachments: Vec>, size: Extent3D, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(Arc::new(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | handle: handle.unwrap(), [INFO] [stdout] 63 | | _attachments: attachments, [INFO] [stdout] 64 | | render_pass: render_pass.clone(), [INFO] [stdout] 65 | | })) [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn vk_create_instance() -> unsafe extern "system" fn( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 27 | | &'_ InstanceCreateInfo<'_>, [INFO] [stdout] 28 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 29 | | &mut Option>, [INFO] [stdout] 30 | | ) -> VkResult { [INFO] [stdout] | |_____________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> unsafe extern "system" fn( [INFO] [stdout] | ______^ [INFO] [stdout] 36 | | Option>, [INFO] [stdout] 37 | | &mut u32, [INFO] [stdout] 38 | | Option>>, [INFO] [stdout] 39 | | ) -> VkResult { [INFO] [stdout] | |_____________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | pub enumerate_physical_devices: unsafe extern "system" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 49 | | Ref, [INFO] [stdout] 50 | | &mut u32, [INFO] [stdout] 51 | | Option>>>, [INFO] [stdout] 52 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / unsafe extern "system" fn( [INFO] [stdout] 69 | | Ref, [INFO] [stdout] 70 | | Option>, [INFO] [stdout] 71 | | &mut u32, [INFO] [stdout] 72 | | Option>>, [INFO] [stdout] 73 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | pub create_device: unsafe extern "system" fn( [INFO] [stdout] | ________________________^ [INFO] [stdout] 75 | | Ref, [INFO] [stdout] 76 | | &'_ DeviceCreateInfo, [INFO] [stdout] 77 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 78 | | &mut Option>, [INFO] [stdout] 79 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | pub device_wait_idle: unsafe extern "system" fn( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 140 | | // Technically not ext. sync. on the device, but on the queues. But [INFO] [stdout] 141 | | // this is safer because the queues borrow the device. [INFO] [stdout] 142 | | Mut, [INFO] [stdout] 143 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | pub queue_submit: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 151 | | Mut, [INFO] [stdout] 152 | | u32, [INFO] [stdout] 153 | | Option>>, [INFO] [stdout] 154 | | Option>, [INFO] [stdout] 155 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | pub queue_wait_idle: unsafe extern "system" fn(Mut) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | pub allocate_memory: unsafe extern "system" fn( [INFO] [stdout] | __________________________^ [INFO] [stdout] 158 | | Ref, [INFO] [stdout] 159 | | &MemoryAllocateInfo, [INFO] [stdout] 160 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 161 | | &mut Option>, [INFO] [stdout] 162 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | pub map_memory: unsafe extern "system" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 164 | | Ref, [INFO] [stdout] 165 | | Mut, [INFO] [stdout] 166 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 169 | | &mut *mut u8, [INFO] [stdout] 170 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | pub create_fence: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 179 | | Ref, [INFO] [stdout] 180 | | &FenceCreateInfo, [INFO] [stdout] 181 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 182 | | &mut Option>, [INFO] [stdout] 183 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub wait_for_fences: unsafe extern "system" fn( [INFO] [stdout] | __________________________^ [INFO] [stdout] 190 | | Ref, [INFO] [stdout] 191 | | u32, [INFO] [stdout] 192 | | Array>, [INFO] [stdout] 193 | | Bool, [INFO] [stdout] 194 | | u64, [INFO] [stdout] 195 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | pub reset_fences: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 197 | | Ref, [INFO] [stdout] 198 | | u32, [INFO] [stdout] 199 | | Array>, [INFO] [stdout] 200 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:201:27 [INFO] [stdout] | [INFO] [stdout] 201 | pub create_semaphore: unsafe extern "system" fn( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 202 | | Ref, [INFO] [stdout] 203 | | &SemaphoreCreateInfo, [INFO] [stdout] 204 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 205 | | &mut Option>, [INFO] [stdout] 206 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | pub create_buffer: unsafe extern "system" fn( [INFO] [stdout] | ________________________^ [INFO] [stdout] 213 | | Ref, [INFO] [stdout] 214 | | &BufferCreateInfo, [INFO] [stdout] 215 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 216 | | &mut Option>, [INFO] [stdout] 217 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 223 | pub create_image: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 224 | | Ref, [INFO] [stdout] 225 | | &ImageCreateInfo, [INFO] [stdout] 226 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 227 | | &mut Option>, [INFO] [stdout] 228 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | pub bind_buffer_memory: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 245 | | Ref, [INFO] [stdout] 246 | | Mut, [INFO] [stdout] 247 | | Ref, [INFO] [stdout] 248 | | u64, [INFO] [stdout] 249 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | pub bind_image_memory: unsafe extern "system" fn( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 251 | | Ref, [INFO] [stdout] 252 | | Mut, [INFO] [stdout] 253 | | Ref, [INFO] [stdout] 254 | | u64, [INFO] [stdout] 255 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | pub create_image_view: unsafe extern "system" fn( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 257 | | Ref, [INFO] [stdout] 258 | | &VkImageViewCreateInfo, [INFO] [stdout] 259 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 260 | | &mut Option>, [INFO] [stdout] 261 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:267:31 [INFO] [stdout] | [INFO] [stdout] 267 | pub create_shader_module: unsafe extern "system" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 268 | | Ref, [INFO] [stdout] 269 | | &VkShaderModuleCreateInfo, [INFO] [stdout] 270 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 271 | | &mut Option>, [INFO] [stdout] 272 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 278 | pub create_pipeline_cache: unsafe extern "system" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 279 | | Ref, [INFO] [stdout] 280 | | &PipelineCacheCreateInfo, [INFO] [stdout] 281 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 282 | | &mut Option>, [INFO] [stdout] 283 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:289:34 [INFO] [stdout] | [INFO] [stdout] 289 | pub get_pipeline_cache_data: unsafe extern "system" fn( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 290 | | Ref, [INFO] [stdout] 291 | | Ref, [INFO] [stdout] 292 | | &mut usize, [INFO] [stdout] 293 | | Option>>, [INFO] [stdout] 294 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | pub create_framebuffer: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 296 | | Ref, [INFO] [stdout] 297 | | &VkFramebufferCreateInfo, [INFO] [stdout] 298 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 299 | | &mut Option>, [INFO] [stdout] 300 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 306 | pub create_render_pass: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 307 | | Ref, [INFO] [stdout] 308 | | &RenderPassCreateInfo, [INFO] [stdout] 309 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 310 | | &mut Option>, [INFO] [stdout] 311 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 317 | pub create_descriptor_set_layout: unsafe extern "system" fn( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 318 | | Ref, [INFO] [stdout] 319 | | &VkDescriptorSetLayoutCreateInfo, [INFO] [stdout] 320 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 321 | | &mut Option>, [INFO] [stdout] 322 | | ) [INFO] [stdout] 323 | | -> VkResult, [INFO] [stdout] | |___________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 329 | pub create_descriptor_pool: unsafe extern "system" fn( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 330 | | Ref, [INFO] [stdout] 331 | | &DescriptorPoolCreateInfo, [INFO] [stdout] 332 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 333 | | &mut Option>, [INFO] [stdout] 334 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | pub reset_descriptor_pool: unsafe extern "system" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 341 | | Ref, [INFO] [stdout] 342 | | Mut, [INFO] [stdout] 343 | | DescriptorPoolResetFlags, [INFO] [stdout] 344 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 345 | pub allocate_descriptor_sets: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 346 | | Ref, [INFO] [stdout] 347 | | &DescriptorSetAllocateInfo, [INFO] [stdout] 348 | | ArrayMut>>, [INFO] [stdout] 349 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:357:33 [INFO] [stdout] | [INFO] [stdout] 357 | pub create_pipeline_layout: unsafe extern "system" fn( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 358 | | Ref, [INFO] [stdout] 359 | | &PipelineLayoutCreateInfo, [INFO] [stdout] 360 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 361 | | &mut Option>, [INFO] [stdout] 362 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | pub create_sampler: unsafe extern "system" fn( [INFO] [stdout] | _________________________^ [INFO] [stdout] 369 | | Ref, [INFO] [stdout] 370 | | &SamplerCreateInfo, [INFO] [stdout] 371 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 372 | | &mut Option>, [INFO] [stdout] 373 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:379:36 [INFO] [stdout] | [INFO] [stdout] 379 | pub create_graphics_pipelines: unsafe extern "system" fn( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 380 | | Ref, [INFO] [stdout] 381 | | Option>, [INFO] [stdout] 382 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 385 | | ArrayMut>>, [INFO] [stdout] 386 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | pub create_compute_pipelines: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 388 | | Ref, [INFO] [stdout] 389 | | Option>, [INFO] [stdout] 390 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 393 | | ArrayMut>>, [INFO] [stdout] 394 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:400:30 [INFO] [stdout] | [INFO] [stdout] 400 | pub create_command_pool: unsafe extern "system" fn( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 401 | | Ref, [INFO] [stdout] 402 | | &CommandPoolCreateInfo, [INFO] [stdout] 403 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 404 | | &mut Option>, [INFO] [stdout] 405 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | pub reset_command_pool: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 412 | | Ref, [INFO] [stdout] 413 | | Mut, [INFO] [stdout] 414 | | CommandPoolResetFlags, [INFO] [stdout] 415 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:416:35 [INFO] [stdout] | [INFO] [stdout] 416 | pub allocate_command_buffers: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 417 | | Ref, [INFO] [stdout] 418 | | &CommandBufferAllocateInfo<'_>, [INFO] [stdout] 419 | | ArrayMut>>, [INFO] [stdout] 420 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:427:31 [INFO] [stdout] | [INFO] [stdout] 427 | pub begin_command_buffer: unsafe extern "system" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 428 | | Mut, [INFO] [stdout] 429 | | &CommandBufferBeginInfo, [INFO] [stdout] 430 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | unsafe extern "system" fn(Mut) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [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/pipeline.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 37 | set_layouts: Vec>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | Ok(Arc::new(PipelineLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 134 | | handle: handle.unwrap(), [INFO] [stdout] 135 | | set_layouts, [INFO] [stdout] 136 | | push_constant_ranges, [INFO] [stdout] 137 | | push_constant_voids, [INFO] [stdout] 138 | | device: device.clone(), [INFO] [stdout] 139 | | })) [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/pipeline.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 261 | let mut bindings = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let mut locations = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | Ok(Arc::new(Pipeline { [INFO] [stdout] | ____________^ [INFO] [stdout] 334 | | handle: unsafe { handle.assume_init() }, [INFO] [stdout] 335 | | layout: info.layout.clone(), [INFO] [stdout] 336 | | render_pass: Some(info.render_pass.clone()), [INFO] [stdout] 337 | | subpass: info.subpass, [INFO] [stdout] 338 | | })) [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/subobject.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub 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] 42 | Self(Arc::new(UnsafeCell::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] [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/subobject.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_arc(mut arc: Arc) -> Result> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Self(unsafe { arc_transmute(arc) })) [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/ext_metal_surface.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub create_metal_surface_ext: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 50 | | Ref, [INFO] [stdout] 51 | | &MetalSurfaceCreateInfoEXT, [INFO] [stdout] 52 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 53 | | &mut Option>, [INFO] [stdout] 54 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [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/ext/khr_surface.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(handle: Handle, instance: Arc) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Self { [INFO] [stdout] 57 | inner: Owner::new(SurfaceLifetime { [INFO] [stdout] | ____________________^ [INFO] [stdout] 58 | | handle, [INFO] [stdout] 59 | | fun: SurfaceKHRFn::new(&instance), [INFO] [stdout] 60 | | instance, [INFO] [stdout] 61 | | }), [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_surface.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / unsafe extern "system" fn( [INFO] [stdout] 152 | | Ref, [INFO] [stdout] 153 | | u32, [INFO] [stdout] 154 | | Ref, [INFO] [stdout] 155 | | &mut Bool, [INFO] [stdout] 156 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_surface.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | / unsafe extern "system" fn( [INFO] [stdout] 159 | | Ref, [INFO] [stdout] 160 | | Ref, [INFO] [stdout] 161 | | &mut MaybeUninit, [INFO] [stdout] 162 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_surface.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | / unsafe extern "system" fn( [INFO] [stdout] 165 | | Ref, [INFO] [stdout] 166 | | Ref, [INFO] [stdout] 167 | | &mut u32, [INFO] [stdout] 168 | | Option>>, [INFO] [stdout] 169 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_xlib_surface.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub create_xlib_surface_khr: unsafe extern "system" fn( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 72 | | Ref, [INFO] [stdout] 73 | | &XlibSurfaceCreateInfoKHR, [INFO] [stdout] 74 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 75 | | &mut Option>, [INFO] [stdout] 76 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_wayland_surface.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | pub create_wayland_surface_khr: unsafe extern "system" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 73 | | Ref, [INFO] [stdout] 74 | | &WaylandSurfaceCreateInfoKHR, [INFO] [stdout] 75 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 76 | | &mut Option>, [INFO] [stdout] 77 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_win32_surface.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub create_win32_surface_khr: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 64 | | Ref, [INFO] [stdout] 65 | | &Win32SurfaceCreateInfoKHR, [INFO] [stdout] 66 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 67 | | &mut Option>, [INFO] [stdout] 68 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [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/ext/khr_swapchain.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 94 | device: &Arc, create_from: CreateSwapchainFrom, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let (mut surface, fun, mut old_swapchain) = match create_from { [INFO] [stdout] | ------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | CreateSwapchainFrom::OldSwapchain(mut old) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | CreateSwapchainFrom::Surface(surf) => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | let res = Owner::new(SwapchainImages { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let images = images [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(Self { res, surface, images }) [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/ext/khr_swapchain.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 254 | let image = image.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | signal.signaller = Some(SemaphoreSignaller::Swapchain(image.clone())); [INFO] [stdout] 256 | Ok((image, is_optimal)) [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | pub create_swapchain_khr: unsafe extern "system" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 309 | | Ref, [INFO] [stdout] 310 | | &VkSwapchainCreateInfoKHR, [INFO] [stdout] 311 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 312 | | &mut Option>, [INFO] [stdout] 313 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | pub get_swapchain_images_khr: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 320 | | Ref, [INFO] [stdout] 321 | | Ref, [INFO] [stdout] 322 | | &mut u32, [INFO] [stdout] 323 | | Option>>>, [INFO] [stdout] 324 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 325 | pub acquire_next_image_khr: unsafe extern "system" fn( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 326 | | Ref, [INFO] [stdout] 327 | | Mut, [INFO] [stdout] 328 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 331 | | &mut u32, [INFO] [stdout] 332 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | pub queue_present_khr: unsafe extern "system" fn( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 334 | | Mut, [INFO] [stdout] 335 | | &PresentInfoKHR<'_>, [INFO] [stdout] 336 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maia` (lib) due to 33 previous errors; 54 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/image.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | Swapchain(Subobject), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageOwner` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 | Swapchain(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/command_buffer.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | struct RecordedCommands(Subobject); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RecordedCommands` 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:107:8 [INFO] [stdout] | [INFO] [stdout] 92 | let inst = vk::Instance::new(&Default::default())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let (dev, mut qs) = vk::Device::new( [INFO] [stdout] | --- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok((dev, qs.remove(0).remove(0))) [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] | [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/physical_device.rs:50:62 [INFO] [stdout] | [INFO] [stdout] 50 | .map(|handle| PhysicalDevice { handle, instance: self.clone() }) [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:106:12 [INFO] [stdout] | [INFO] [stdout] 87 | let device = Arc::new(Device { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let queues = info [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok((device, queues)) [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/queue.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 108 | &mut self, infos: &mut [SubmitInfo<'_>], mut fence: Fence, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(fence.into_pending(self.resources.new_cleanup())) [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/buffer.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 73 | mut inner: BufferWithoutMemory, memory: &DeviceMemory, offset: u64, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Arc::new(Buffer { inner, _memory: memory.resource() })) [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/image.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 119 | mut inner: ImageWithoutMemory, memory: &DeviceMemory, offset: u64, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok(Arc::new(Self { inner, _memory: Some(memory.resource()) })) [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/image.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 202 | handle: Handle, device: Arc, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | res: Subobject, format: Format, extent: Extent3D, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | inner: ImageWithoutMemory { [INFO] [stdout] | ____________________^ [INFO] [stdout] 208 | | handle, [INFO] [stdout] 209 | | device, [INFO] [stdout] 210 | | res: ImageOwner::Swapchain(res), [INFO] [stdout] ... | [INFO] [stdout] 215 | | mip_levels: 1, [INFO] [stdout] 216 | | }, [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/image.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 202 | handle: Handle, device: Arc, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | res: Subobject, format: Format, extent: Extent3D, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | _memory: None, [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/memory.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 138 | mut self, offset: u64, size: usize, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | Ok(MappedMemory { memory: self, size, ptr: NonNull::new(ptr).unwrap() }) [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_buffer.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 167 | let res = Owner::new(CommandPoolLifetime { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let _res = Subobject::new(&res); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | Ok(CommandPool { [INFO] [stdout] | ____________^ [INFO] [stdout] 174 | | res, [INFO] [stdout] 175 | | recording: Some(Arc::new(RecordedCommands(_res))), [INFO] [stdout] 176 | | scratch: Exclusive::new(bumpalo::Bump::new()), [INFO] [stdout] 177 | | }) [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_buffer.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 306 | &mut self, buffer: CommandBuffer, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let mut inner = Owner::from_arc(buffer.0).map_err(|arc| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | Ok(CommandRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 332 | | pool: &mut self.res, [INFO] [stdout] 333 | | recording: self.recording.as_ref().unwrap(), [INFO] [stdout] 334 | | graphics: Bindings::new(scratch), [INFO] [stdout] ... | [INFO] [stdout] 337 | | buffer: inner, [INFO] [stdout] 338 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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_buffer.rs:316:55 [INFO] [stdout] | [INFO] [stdout] 315 | let mut inner = Owner::from_arc(buffer.0).map_err(|arc| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | ErrorAndSelf(Error::SynchronizationError, CommandBuffer(arc)) [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_buffer.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 346 | &'a mut self, buffer: SecondaryCommandBuffer, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let mut inner = Owner::from_arc(buffer.buf).map_err(|arc| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 396 | Ok(SecondaryCommandRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 397 | | rec: CommandRecording { [INFO] [stdout] 398 | | pool: &mut self.res, [INFO] [stdout] 399 | | recording: self.recording.as_ref().unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 406 | | subpass, [INFO] [stdout] 407 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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_buffer.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut inner = Owner::from_arc(buffer.buf).map_err(|arc| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | SecondaryCommandBuffer { buf: arc, pass: None, subpass: 0 }, [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_buffer.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn end(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 481 | Ok(CommandBuffer(Owner::into_arc(self.buffer))) [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_buffer.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn end(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 496 | Ok(SecondaryCommandBuffer { [INFO] [stdout] | ____________^ [INFO] [stdout] 497 | | buf: Owner::into_arc(self.rec.buffer), [INFO] [stdout] 498 | | pass: Some(self.pass), [INFO] [stdout] 499 | | subpass: self.subpass, [INFO] [stdout] 500 | | }) [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_buffer.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 509 | mut self, render_pass: &Arc, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | Ok(RenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 521 | | rec: self, [INFO] [stdout] 522 | | pass: render_pass.clone(), [INFO] [stdout] 523 | | subpass: 0, [INFO] [stdout] 524 | | }) [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_buffer.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 531 | mut self, render_pass: &Arc, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(ExternalRenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | rec: self, [INFO] [stdout] 547 | | pass: render_pass.clone(), [INFO] [stdout] 548 | | subpass: 0, [INFO] [stdout] 549 | | }) [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_buffer.rs:612:12 [INFO] [stdout] | [INFO] [stdout] 601 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 612 | Ok(ExternalRenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 613 | | rec: self.rec, [INFO] [stdout] 614 | | pass: self.pass, [INFO] [stdout] 615 | | subpass: self.subpass + 1, [INFO] [stdout] 616 | | }) [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_buffer.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 654 | pub fn next_subpass(mut self) -> Result> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 664 | Ok(RenderPassRecording { [INFO] [stdout] | ____________^ [INFO] [stdout] 665 | | rec: self.rec, [INFO] [stdout] 666 | | pass: self.pass, [INFO] [stdout] 667 | | subpass: self.subpass + 1, [INFO] [stdout] 668 | | }) [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/descriptor_set.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 51 | device: &Arc, bindings: Vec, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(Arc::new(DescriptorSetLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | handle: handle.unwrap(), [INFO] [stdout] 96 | | bindings, [INFO] [stdout] 97 | | device: device.clone(), [INFO] [stdout] 98 | | })) [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/descriptor_set.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 185 | let res = Owner::new(DescriptorPoolLifetime { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let allocated = Arc::new(AllocatedSets); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Ok(DescriptorPool { res, allocated }) [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/descriptor_set.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 268 | let mut resources = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | Ok(DescriptorSet { [INFO] [stdout] | ____________^ [INFO] [stdout] 273 | | handle, [INFO] [stdout] 274 | | layout: layout.clone(), [INFO] [stdout] 275 | | _pool: Subobject::new(&pool.res), [INFO] [stdout] 276 | | _allocation: pool.allocated.clone(), [INFO] [stdout] 277 | | resources, [INFO] [stdout] 278 | | }) [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/fence.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) fn into_pending(mut self, resources: Cleanup) -> PendingFence { [INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | device: self.device.clone(), [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/fence.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn wait(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(Fence { handle: Some(self.handle), device: self.device }) [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/framebuffer.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 28 | attachments: Vec>, size: Extent3D, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(Arc::new(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | handle: handle.unwrap(), [INFO] [stdout] 63 | | _attachments: attachments, [INFO] [stdout] 64 | | render_pass: render_pass.clone(), [INFO] [stdout] 65 | | })) [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn vk_create_instance() -> unsafe extern "system" fn( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 27 | | &'_ InstanceCreateInfo<'_>, [INFO] [stdout] 28 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 29 | | &mut Option>, [INFO] [stdout] 30 | | ) -> VkResult { [INFO] [stdout] | |_____________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> unsafe extern "system" fn( [INFO] [stdout] | ______^ [INFO] [stdout] 36 | | Option>, [INFO] [stdout] 37 | | &mut u32, [INFO] [stdout] 38 | | Option>>, [INFO] [stdout] 39 | | ) -> VkResult { [INFO] [stdout] | |_____________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | pub enumerate_physical_devices: unsafe extern "system" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 49 | | Ref, [INFO] [stdout] 50 | | &mut u32, [INFO] [stdout] 51 | | Option>>>, [INFO] [stdout] 52 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / unsafe extern "system" fn( [INFO] [stdout] 69 | | Ref, [INFO] [stdout] 70 | | Option>, [INFO] [stdout] 71 | | &mut u32, [INFO] [stdout] 72 | | Option>>, [INFO] [stdout] 73 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | pub create_device: unsafe extern "system" fn( [INFO] [stdout] | ________________________^ [INFO] [stdout] 75 | | Ref, [INFO] [stdout] 76 | | &'_ DeviceCreateInfo, [INFO] [stdout] 77 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 78 | | &mut Option>, [INFO] [stdout] 79 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | pub device_wait_idle: unsafe extern "system" fn( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 140 | | // Technically not ext. sync. on the device, but on the queues. But [INFO] [stdout] 141 | | // this is safer because the queues borrow the device. [INFO] [stdout] 142 | | Mut, [INFO] [stdout] 143 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | pub queue_submit: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 151 | | Mut, [INFO] [stdout] 152 | | u32, [INFO] [stdout] 153 | | Option>>, [INFO] [stdout] 154 | | Option>, [INFO] [stdout] 155 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | pub queue_wait_idle: unsafe extern "system" fn(Mut) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | pub allocate_memory: unsafe extern "system" fn( [INFO] [stdout] | __________________________^ [INFO] [stdout] 158 | | Ref, [INFO] [stdout] 159 | | &MemoryAllocateInfo, [INFO] [stdout] 160 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 161 | | &mut Option>, [INFO] [stdout] 162 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | pub map_memory: unsafe extern "system" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 164 | | Ref, [INFO] [stdout] 165 | | Mut, [INFO] [stdout] 166 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 169 | | &mut *mut u8, [INFO] [stdout] 170 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | pub create_fence: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 179 | | Ref, [INFO] [stdout] 180 | | &FenceCreateInfo, [INFO] [stdout] 181 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 182 | | &mut Option>, [INFO] [stdout] 183 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub wait_for_fences: unsafe extern "system" fn( [INFO] [stdout] | __________________________^ [INFO] [stdout] 190 | | Ref, [INFO] [stdout] 191 | | u32, [INFO] [stdout] 192 | | Array>, [INFO] [stdout] 193 | | Bool, [INFO] [stdout] 194 | | u64, [INFO] [stdout] 195 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | pub reset_fences: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 197 | | Ref, [INFO] [stdout] 198 | | u32, [INFO] [stdout] 199 | | Array>, [INFO] [stdout] 200 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:201:27 [INFO] [stdout] | [INFO] [stdout] 201 | pub create_semaphore: unsafe extern "system" fn( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 202 | | Ref, [INFO] [stdout] 203 | | &SemaphoreCreateInfo, [INFO] [stdout] 204 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 205 | | &mut Option>, [INFO] [stdout] 206 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | pub create_buffer: unsafe extern "system" fn( [INFO] [stdout] | ________________________^ [INFO] [stdout] 213 | | Ref, [INFO] [stdout] 214 | | &BufferCreateInfo, [INFO] [stdout] 215 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 216 | | &mut Option>, [INFO] [stdout] 217 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 223 | pub create_image: unsafe extern "system" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 224 | | Ref, [INFO] [stdout] 225 | | &ImageCreateInfo, [INFO] [stdout] 226 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 227 | | &mut Option>, [INFO] [stdout] 228 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | pub bind_buffer_memory: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 245 | | Ref, [INFO] [stdout] 246 | | Mut, [INFO] [stdout] 247 | | Ref, [INFO] [stdout] 248 | | u64, [INFO] [stdout] 249 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | pub bind_image_memory: unsafe extern "system" fn( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 251 | | Ref, [INFO] [stdout] 252 | | Mut, [INFO] [stdout] 253 | | Ref, [INFO] [stdout] 254 | | u64, [INFO] [stdout] 255 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | pub create_image_view: unsafe extern "system" fn( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 257 | | Ref, [INFO] [stdout] 258 | | &VkImageViewCreateInfo, [INFO] [stdout] 259 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 260 | | &mut Option>, [INFO] [stdout] 261 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:267:31 [INFO] [stdout] | [INFO] [stdout] 267 | pub create_shader_module: unsafe extern "system" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 268 | | Ref, [INFO] [stdout] 269 | | &VkShaderModuleCreateInfo, [INFO] [stdout] 270 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 271 | | &mut Option>, [INFO] [stdout] 272 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 278 | pub create_pipeline_cache: unsafe extern "system" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 279 | | Ref, [INFO] [stdout] 280 | | &PipelineCacheCreateInfo, [INFO] [stdout] 281 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 282 | | &mut Option>, [INFO] [stdout] 283 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:289:34 [INFO] [stdout] | [INFO] [stdout] 289 | pub get_pipeline_cache_data: unsafe extern "system" fn( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 290 | | Ref, [INFO] [stdout] 291 | | Ref, [INFO] [stdout] 292 | | &mut usize, [INFO] [stdout] 293 | | Option>>, [INFO] [stdout] 294 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | pub create_framebuffer: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 296 | | Ref, [INFO] [stdout] 297 | | &VkFramebufferCreateInfo, [INFO] [stdout] 298 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 299 | | &mut Option>, [INFO] [stdout] 300 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 306 | pub create_render_pass: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 307 | | Ref, [INFO] [stdout] 308 | | &RenderPassCreateInfo, [INFO] [stdout] 309 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 310 | | &mut Option>, [INFO] [stdout] 311 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 317 | pub create_descriptor_set_layout: unsafe extern "system" fn( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 318 | | Ref, [INFO] [stdout] 319 | | &VkDescriptorSetLayoutCreateInfo, [INFO] [stdout] 320 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 321 | | &mut Option>, [INFO] [stdout] 322 | | ) [INFO] [stdout] 323 | | -> VkResult, [INFO] [stdout] | |___________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 329 | pub create_descriptor_pool: unsafe extern "system" fn( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 330 | | Ref, [INFO] [stdout] 331 | | &DescriptorPoolCreateInfo, [INFO] [stdout] 332 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 333 | | &mut Option>, [INFO] [stdout] 334 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | pub reset_descriptor_pool: unsafe extern "system" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 341 | | Ref, [INFO] [stdout] 342 | | Mut, [INFO] [stdout] 343 | | DescriptorPoolResetFlags, [INFO] [stdout] 344 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 345 | pub allocate_descriptor_sets: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 346 | | Ref, [INFO] [stdout] 347 | | &DescriptorSetAllocateInfo, [INFO] [stdout] 348 | | ArrayMut>>, [INFO] [stdout] 349 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:357:33 [INFO] [stdout] | [INFO] [stdout] 357 | pub create_pipeline_layout: unsafe extern "system" fn( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 358 | | Ref, [INFO] [stdout] 359 | | &PipelineLayoutCreateInfo, [INFO] [stdout] 360 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 361 | | &mut Option>, [INFO] [stdout] 362 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | pub create_sampler: unsafe extern "system" fn( [INFO] [stdout] | _________________________^ [INFO] [stdout] 369 | | Ref, [INFO] [stdout] 370 | | &SamplerCreateInfo, [INFO] [stdout] 371 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 372 | | &mut Option>, [INFO] [stdout] 373 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:379:36 [INFO] [stdout] | [INFO] [stdout] 379 | pub create_graphics_pipelines: unsafe extern "system" fn( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 380 | | Ref, [INFO] [stdout] 381 | | Option>, [INFO] [stdout] 382 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 385 | | ArrayMut>>, [INFO] [stdout] 386 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | pub create_compute_pipelines: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 388 | | Ref, [INFO] [stdout] 389 | | Option>, [INFO] [stdout] 390 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 393 | | ArrayMut>>, [INFO] [stdout] 394 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:400:30 [INFO] [stdout] | [INFO] [stdout] 400 | pub create_command_pool: unsafe extern "system" fn( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 401 | | Ref, [INFO] [stdout] 402 | | &CommandPoolCreateInfo, [INFO] [stdout] 403 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 404 | | &mut Option>, [INFO] [stdout] 405 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | pub reset_command_pool: unsafe extern "system" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 412 | | Ref, [INFO] [stdout] 413 | | Mut, [INFO] [stdout] 414 | | CommandPoolResetFlags, [INFO] [stdout] 415 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:416:35 [INFO] [stdout] | [INFO] [stdout] 416 | pub allocate_command_buffers: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 417 | | Ref, [INFO] [stdout] 418 | | &CommandBufferAllocateInfo<'_>, [INFO] [stdout] 419 | | ArrayMut>>, [INFO] [stdout] 420 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:427:31 [INFO] [stdout] | [INFO] [stdout] 427 | pub begin_command_buffer: unsafe extern "system" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 428 | | Mut, [INFO] [stdout] 429 | | &CommandBufferBeginInfo, [INFO] [stdout] 430 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | unsafe extern "system" fn(Mut) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [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/pipeline.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 37 | set_layouts: Vec>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | Ok(Arc::new(PipelineLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 134 | | handle: handle.unwrap(), [INFO] [stdout] 135 | | set_layouts, [INFO] [stdout] 136 | | push_constant_ranges, [INFO] [stdout] 137 | | push_constant_voids, [INFO] [stdout] 138 | | device: device.clone(), [INFO] [stdout] 139 | | })) [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/pipeline.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 261 | let mut bindings = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let mut locations = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | Ok(Arc::new(Pipeline { [INFO] [stdout] | ____________^ [INFO] [stdout] 334 | | handle: unsafe { handle.assume_init() }, [INFO] [stdout] 335 | | layout: info.layout.clone(), [INFO] [stdout] 336 | | render_pass: Some(info.render_pass.clone()), [INFO] [stdout] 337 | | subpass: info.subpass, [INFO] [stdout] 338 | | })) [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/subobject.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub 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] 42 | Self(Arc::new(UnsafeCell::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] [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/subobject.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_arc(mut arc: Arc) -> Result> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Self(unsafe { arc_transmute(arc) })) [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/ext_metal_surface.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub create_metal_surface_ext: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 50 | | Ref, [INFO] [stdout] 51 | | &MetalSurfaceCreateInfoEXT, [INFO] [stdout] 52 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 53 | | &mut Option>, [INFO] [stdout] 54 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [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/ext/khr_surface.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(handle: Handle, instance: Arc) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Self { [INFO] [stdout] 57 | inner: Owner::new(SurfaceLifetime { [INFO] [stdout] | ____________________^ [INFO] [stdout] 58 | | handle, [INFO] [stdout] 59 | | fun: SurfaceKHRFn::new(&instance), [INFO] [stdout] 60 | | instance, [INFO] [stdout] 61 | | }), [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_surface.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / unsafe extern "system" fn( [INFO] [stdout] 152 | | Ref, [INFO] [stdout] 153 | | u32, [INFO] [stdout] 154 | | Ref, [INFO] [stdout] 155 | | &mut Bool, [INFO] [stdout] 156 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_surface.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | / unsafe extern "system" fn( [INFO] [stdout] 159 | | Ref, [INFO] [stdout] 160 | | Ref, [INFO] [stdout] 161 | | &mut MaybeUninit, [INFO] [stdout] 162 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_surface.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | / unsafe extern "system" fn( [INFO] [stdout] 165 | | Ref, [INFO] [stdout] 166 | | Ref, [INFO] [stdout] 167 | | &mut u32, [INFO] [stdout] 168 | | Option>>, [INFO] [stdout] 169 | | ) -> VkResult, [INFO] [stdout] | |_____________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_xlib_surface.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub create_xlib_surface_khr: unsafe extern "system" fn( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 72 | | Ref, [INFO] [stdout] 73 | | &XlibSurfaceCreateInfoKHR, [INFO] [stdout] 74 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 75 | | &mut Option>, [INFO] [stdout] 76 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_wayland_surface.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | pub create_wayland_surface_khr: unsafe extern "system" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 73 | | Ref, [INFO] [stdout] 74 | | &WaylandSurfaceCreateInfoKHR, [INFO] [stdout] 75 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 76 | | &mut Option>, [INFO] [stdout] 77 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_win32_surface.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub create_win32_surface_khr: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 64 | | Ref, [INFO] [stdout] 65 | | &Win32SurfaceCreateInfoKHR, [INFO] [stdout] 66 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 67 | | &mut Option>, [INFO] [stdout] 68 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [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/ext/khr_swapchain.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 94 | device: &Arc, create_from: CreateSwapchainFrom, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let (mut surface, fun, mut old_swapchain) = match create_from { [INFO] [stdout] | ------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | CreateSwapchainFrom::OldSwapchain(mut old) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | CreateSwapchainFrom::Surface(surf) => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | let res = Owner::new(SwapchainImages { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let images = images [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(Self { res, surface, images }) [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/ext/khr_swapchain.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 254 | let image = image.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | signal.signaller = Some(SemaphoreSignaller::Swapchain(image.clone())); [INFO] [stdout] 256 | Ok((image, is_optimal)) [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] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | pub create_swapchain_khr: unsafe extern "system" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 309 | | Ref, [INFO] [stdout] 310 | | &VkSwapchainCreateInfoKHR, [INFO] [stdout] 311 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 312 | | &mut Option>, [INFO] [stdout] 313 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | pub get_swapchain_images_khr: unsafe extern "system" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 320 | | Ref, [INFO] [stdout] 321 | | Ref, [INFO] [stdout] 322 | | &mut u32, [INFO] [stdout] 323 | | Option>>>, [INFO] [stdout] 324 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 325 | pub acquire_next_image_khr: unsafe extern "system" fn( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 326 | | Ref, [INFO] [stdout] 327 | | Mut, [INFO] [stdout] 328 | | u64, [INFO] [stdout] ... | [INFO] [stdout] 331 | | &mut u32, [INFO] [stdout] 332 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/ext/khr_swapchain.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | pub queue_present_khr: unsafe extern "system" fn( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 334 | | Mut, [INFO] [stdout] 335 | | &PresentInfoKHR<'_>, [INFO] [stdout] 336 | | ) -> VkResult, [INFO] [stdout] | |_________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maia` (lib test) due to 34 previous errors; 56 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c8d4a8605a594f67d74936f165cdb1f1574fb477c1c92a6834610b85cc489b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d4a8605a594f67d74936f165cdb1f1574fb477c1c92a6834610b85cc489b77", kill_on_drop: false }` [INFO] [stdout] c8d4a8605a594f67d74936f165cdb1f1574fb477c1c92a6834610b85cc489b77