[INFO] cloning repository https://github.com/ZakStar17/ash-boilerplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZakStar17/ash-boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakStar17%2Fash-boilerplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakStar17%2Fash-boilerplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b53cc11c9d0237b473db8dd114d9d64e8a2d1de [INFO] checking ZakStar17/ash-boilerplate/9b53cc11c9d0237b473db8dd114d9d64e8a2d1de against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakStar17%2Fash-boilerplate" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZakStar17/ash-boilerplate on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZakStar17/ash-boilerplate [INFO] finished tweaking git repo https://github.com/ZakStar17/ash-boilerplate [INFO] tweaked toml for git repo https://github.com/ZakStar17/ash-boilerplate written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZakStar17/ash-boilerplate already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6150d0f533253bcb433a91d8f2b8f61a14a381c625a23581fae16c629f50f8e [INFO] running `Command { std: "docker" "start" "-a" "c6150d0f533253bcb433a91d8f2b8f61a14a381c625a23581fae16c629f50f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6150d0f533253bcb433a91d8f2b8f61a14a381c625a23581fae16c629f50f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6150d0f533253bcb433a91d8f2b8f61a14a381c625a23581fae16c629f50f8e", kill_on_drop: false }` [INFO] [stdout] c6150d0f533253bcb433a91d8f2b8f61a14a381c625a23581fae16c629f50f8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f68fc22fdae2fcd459bdee2ca44f95d88da5e621c084ba4366a32dfeef55e2 [INFO] running `Command { std: "docker" "start" "-a" "22f68fc22fdae2fcd459bdee2ca44f95d88da5e621c084ba4366a32dfeef55e2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking regex-syntax v0.8.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking thiserror v1.0.49 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking regex v1.10.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking ash-window v0.12.0 [INFO] [stderr] Checking obj-rs v0.7.1 [INFO] [stderr] Checking smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking ash_boilerplate v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ash_boilerplate` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/render/objects/buffers/mod.rs [INFO] [stderr] * src/render/objects/physical_device.rs [INFO] [stderr] * src/render/objects/vertices/mod.rs [INFO] [stderr] * src/render/renderer.rs [INFO] [stderr] * src/render/sync.rs [INFO] [stderr] * src/render/utility.rs [INFO] [stderr] * src/structures/linear_2d_vec.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | ($t:ty, $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:19:29 [INFO] [stderr] | [INFO] [stderr] 19 | ($t:ty, $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | (@out $($out:expr_2021,)* @step $_i:expr_2021,) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:26:37 [INFO] [stderr] | [INFO] [stderr] 26 | (@out $($out:expr_2021,)* @step $_i:expr_2021,) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | (@out $($out:expr_2021,)* @step $i:expr_2021, $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | (@out $($out:expr_2021,)* @step $i:expr_2021, $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | (@out $($out:expr_2021,)* @step $_i:expr_2021, $_offset:expr_2021, @prev) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | (@out $($out:expr_2021,)* @step $_i:expr_2021, $_offset:expr_2021, @prev) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:40:52 [INFO] [stderr] | [INFO] [stderr] 40 | (@out $($out:expr_2021,)* @step $_i:expr_2021, $_offset:expr_2021, @prev) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | (@out $($out:expr_2021,)* @step $i:expr_2021, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:43:37 [INFO] [stderr] | [INFO] [stderr] 43 | (@out $($out:expr_2021,)* @step $i:expr_2021, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:43:51 [INFO] [stderr] | [INFO] [stderr] 43 | (@out $($out:expr_2021,)* @step $i:expr_2021, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | ($x:expr_2021, $size:expr_2021, $offset:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | ($x:expr_2021, $size:expr_2021, $offset:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | ($x:expr_2021, $size:expr_2021, $offset:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/structures/linear_2d_vec.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | ($x:expr_2021, $s:ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(pointer_byte_offsets)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/render/objects/physical_device.rs:77:32 [INFO] [stderr] | [INFO] [stderr] 19 | ) -> (vk::PhysicalDevice, QueueFamilyIndices) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 77 | let supports_surface = unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/render/renderer.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 286 | pub unsafe fn recreate_swapchain(&mut self, swapchain_render_finished: vk::Fence) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 301 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/render/sync.rs:289:9 [INFO] [stderr] | [INFO] [stderr] 289 | let s = Duration::from_secs_f32(1.0 / 60.0); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | let size = rng.gen::() * 0.2 + 0.05; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | x: rot.x + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | y: rot.y + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | z: rot.z + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Released` [INFO] [stdout] --> src/keys.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub use KeyState::{Pressed, Released}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr_2021, $($y:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr, $($y:expr_2021),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr_2021, $($y:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr, $($y:expr_2021),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr_2021, $($y:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr, $($y:expr_2021),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr,)* @step $_i:expr,) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr_2021,)* @step $_i:expr,) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr,)* @step $_i:expr,) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr,)* @step $_i:expr_2021,) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr,)* @step $i:expr, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr_2021,)* @step $i:expr, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr,)* @step $i:expr, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr,)* @step $i:expr_2021, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr_2021,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr_2021, $_offset:expr, @prev) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr_2021, @prev) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr_2021,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr_2021, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr_2021, $size:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr, $size:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr_2021, $size:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr, $size:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr_2021, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr_2021, $offset:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/structures/linear_2d_vec.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | ($x:expr, $s:ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 5 | ($x:expr_2021, $s:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `partition::Partition` [INFO] [stdout] --> src/structures/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use partition::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(pointer_byte_offsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::map_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let data_ptr = device [INFO] [stdout] | ____________________^ [INFO] [stdout] 67 | | .map_memory( [INFO] [stdout] 68 | | self.memory, [INFO] [stdout] 69 | | self.inst[i].1, [INFO] [stdout] 70 | | (std::mem::size_of::() * data.len()) as u64, [INFO] [stdout] 71 | | vk::MemoryMapFlags::empty(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | / pub unsafe fn write_instance( [INFO] [stdout] 60 | | &mut self, [INFO] [stdout] 61 | | i: usize, [INFO] [stdout] 62 | | device: &ash::Device, [INFO] [stdout] 63 | | data: &Vec, [INFO] [stdout] 64 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::copy_from_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | data_ptr.copy_from_nonoverlapping(data.as_ptr(), data.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::unmap_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | device.unmap_memory(self.memory); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | device.destroy_buffer(self.vertex.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:297:3 [INFO] [stdout] | [INFO] [stdout] 297 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | device.destroy_buffer(self.index.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | device.destroy_buffer(self.inst.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::write_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | self.host_writable.write_instance(i, device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | / pub unsafe fn update_instance_data( [INFO] [stdout] 183 | | &mut self, [INFO] [stdout] 184 | | i: usize, [INFO] [stdout] 185 | | device: &ash::Device, [INFO] [stdout] 186 | | data: &Vec, [INFO] [stdout] 187 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local_constant::LocalConstantMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | self.local_constant.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | self.host_writable.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local::LocalMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | self.local.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / device [INFO] [stdout] 50 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | / pub unsafe fn record_inst_static( [INFO] [stdout] 40 | | &mut self, [INFO] [stdout] 41 | | i: usize, [INFO] [stdout] 42 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 46 | | projection_view: &Matrix4, [INFO] [stdout] 47 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / device [INFO] [stdout] 61 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / device.cmd_push_constants( [INFO] [stdout] 66 | | cb, [INFO] [stdout] 67 | | pipelines.compute.layout, [INFO] [stdout] 68 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 69 | | 0, [INFO] [stdout] 70 | | projection_view_bytes, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 75 | | cb, [INFO] [stdout] 76 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 77 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &[], [INFO] [stdout] 81 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | device.cmd_dispatch(cb, buffers.local_constant.inst.count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / device [INFO] [stdout] 87 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / device [INFO] [stdout] 102 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | / pub unsafe fn record_inst_dyn( [INFO] [stdout] 92 | | &mut self, [INFO] [stdout] 93 | | i: usize, [INFO] [stdout] 94 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 98 | | dyn_inst_count: u32, [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / device [INFO] [stdout] 113 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / device.cmd_push_constants( [INFO] [stdout] 118 | | cb, [INFO] [stdout] 119 | | pipelines.compute.layout, [INFO] [stdout] 120 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | projection_view_bytes, [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 127 | | cb, [INFO] [stdout] 128 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 129 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 132 | | &[], [INFO] [stdout] 133 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.cmd_dispatch(cb, dyn_inst_count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / device [INFO] [stdout] 139 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / device [INFO] [stdout] 43 | | .reset_command_buffer(command_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / pub unsafe fn record( [INFO] [stdout] 29 | | &mut self, [INFO] [stdout] 30 | | i: usize, [INFO] [stdout] 31 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 38 | | dyn_inst_props: &Vec, [INFO] [stdout] 39 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / device [INFO] [stdout] 54 | | .begin_command_buffer(command_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_______________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_begin_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / device.cmd_begin_render_pass( [INFO] [stdout] 77 | | command_buffer, [INFO] [stdout] 78 | | &render_pass_begin_info, [INFO] [stdout] 79 | | vk::SubpassContents::INLINE, [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / device.cmd_bind_pipeline( [INFO] [stdout] 82 | | command_buffer, [INFO] [stdout] 83 | | vk::PipelineBindPoint::GRAPHICS, [INFO] [stdout] 84 | | pipelines.graphics.main, [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_vertex_buffers` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | device.cmd_bind_vertex_buffers(command_buffer, 0, &vertex_buffers, &offsets); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_index_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / device.cmd_bind_index_buffer( [INFO] [stdout] 94 | | command_buffer, [INFO] [stdout] 95 | | buffers.local_constant.index.buffer, [INFO] [stdout] 96 | | 0, [INFO] [stdout] 97 | | vk::IndexType::UINT16, [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | / device.cmd_draw_indexed( [INFO] [stdout] 104 | | command_buffer, [INFO] [stdout] 105 | | model_p.index_count, [INFO] [stdout] 106 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 109 | | inst_p.inst_offset, [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | / device.cmd_draw_indexed( [INFO] [stdout] 119 | | command_buffer, [INFO] [stdout] 120 | | model_p.index_count, [INFO] [stdout] 121 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 124 | | static_inst_offset + inst_p.inst_offset, [INFO] [stdout] 125 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_end_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | device.cmd_end_render_pass(command_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / device [INFO] [stdout] 131 | | .end_command_buffer(command_buffer) [INFO] [stdout] | |_________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / device [INFO] [stdout] 40 | | .reset_command_buffer(self.copy_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |___________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe fn record_copy_buffers( [INFO] [stdout] 35 | | &mut self, [INFO] [stdout] 36 | | device: &ash::Device, [INFO] [stdout] 37 | | operations: &[CopyBufferOperation], [INFO] [stdout] 38 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / device [INFO] [stdout] 51 | | .begin_command_buffer(self.copy_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_copy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | / device.cmd_copy_buffer( [INFO] [stdout] 56 | | self.copy_buffer, [INFO] [stdout] 57 | | op.source_buffer, [INFO] [stdout] 58 | | op.dest_buffer, [INFO] [stdout] 59 | | &op.copy_regions, [INFO] [stdout] 60 | | ); [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / device [INFO] [stdout] 64 | | .end_command_buffer(self.copy_buffer) [INFO] [stdout] | |___________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | self.main.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::transfer::TransferCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | self.transfer.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | self.compute.destroy_self(device) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / unsafe extern "system" fn vulkan_debug_utils_callback( [INFO] [stdout] 6 | | message_severity: vk::DebugUtilsMessageSeverityFlagsEXT, [INFO] [stdout] 7 | | message_type: vk::DebugUtilsMessageTypeFlagsEXT, [INFO] [stdout] 8 | | p_callback_data: *const vk::DebugUtilsMessengerCallbackDataEXT, [INFO] [stdout] 9 | | _p_user_data: *mut c_void, [INFO] [stdout] 10 | | ) -> vk::Bool32 { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::ext::DebugUtils::destroy_debug_utils_messenger` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / self [INFO] [stdout] 72 | | .loader [INFO] [stdout] 73 | | .destroy_debug_utils_messenger(self.messenger, None); [INFO] [stdout] | |__________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub unsafe fn destroy_self(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_set_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | device.destroy_descriptor_set_layout(self.inst.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | device.destroy_descriptor_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::pool::DescriptorSetPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self.pool.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::layouts::DescriptorSetLayouts::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | self.layouts.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::enumerate_physical_devices` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let (physical_device, queue_family) = instance [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 21 | | .enumerate_physical_devices() [INFO] [stdout] | |_________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub unsafe fn select_physical_device( [INFO] [stdout] 14 | | instance: &ash::Instance, [INFO] [stdout] 15 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 16 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 17 | | device_extensions: &[String], [INFO] [stdout] 18 | | device_features: &vk::PhysicalDeviceFeatures, [INFO] [stdout] 19 | | ) -> (vk::PhysicalDevice, QueueFamilyIndices) { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let properties = instance.get_physical_device_properties(*p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_features` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | is_superset(&instance.get_physical_device_features(*p), device_features) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::physical_device::check_swapchain_support` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | && check_swapchain_support(p, surface, surface_loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_queue_family_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | for (i, family) in instance [INFO] [stdout] | __________________________^ [INFO] [stdout] 73 | | .get_physical_device_queue_family_properties(physical_device) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let t = instance [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | .get_physical_device_properties(*physical_device) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_formats` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let formats = surface_loader [INFO] [stdout] | _________________^ [INFO] [stdout] 197 | | .get_physical_device_surface_formats(*device, *surface) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn check_swapchain_support( [INFO] [stdout] 192 | | device: &vk::PhysicalDevice, [INFO] [stdout] 193 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 194 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 195 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_present_modes` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | let present_modes = surface_loader [INFO] [stdout] | _______________________^ [INFO] [stdout] 200 | | .get_physical_device_surface_present_modes(*device, *surface) [INFO] [stdout] | |_________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_pipeline(self.inst, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | device.destroy_pipeline(self.main, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::graphics::GraphicsPipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.graphics.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::compute::ComputePipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | self.compute.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::XlibSurface::create_xlib_surface` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/surface_platforms.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | xlib_surface_loader.create_xlib_surface(&x11_create_info, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/surface_platforms.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / pub unsafe fn create_surface( [INFO] [stdout] 43 | | entry: &ash::Entry, [INFO] [stdout] 44 | | instance: &ash::Instance, [INFO] [stdout] 45 | | window: &winit::window::Window, [INFO] [stdout] 46 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.current.acquire_next_image(semaphore, &self.loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 44 | | &mut self, [INFO] [stdout] 45 | | semaphore: vk::Semaphore, [INFO] [stdout] 46 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | self.current.destroy_self(device, &self.loader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | loader.acquire_next_image(self.obj, std::u64::MAX, semaphore, vk::Fence::null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 284 | | &mut self, [INFO] [stdout] 285 | | semaphore: vk::Semaphore, [INFO] [stdout] 286 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 287 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_image_view` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | device.destroy_image_view(view, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | / pub unsafe fn destroy_self( [INFO] [stdout] 292 | | &mut self, [INFO] [stdout] 293 | | device: &ash::Device, [INFO] [stdout] 294 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 295 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::destroy_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | loader.destroy_swapchain(self.obj, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Entry::load` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | return ash::Entry::load().expect("Failed to load entry"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn get_entry() -> ash::Entry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::record` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / self.command_buffer_pools.main.record( [INFO] [stdout] 221 | | i, [INFO] [stdout] 222 | | &self.device, [INFO] [stdout] 223 | | self.render_pass, [INFO] [stdout] ... | [INFO] [stdout] 229 | | dyn_inst_props, [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | / pub unsafe fn record_main_command_buffer( [INFO] [stdout] 215 | | &mut self, [INFO] [stdout] 216 | | i: usize, [INFO] [stdout] 217 | | framebuffer_i: usize, [INFO] [stdout] 218 | | dyn_inst_props: &Vec, [INFO] [stdout] 219 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_static` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / self.command_buffer_pools.compute.record_inst_static( [INFO] [stdout] 235 | | i, [INFO] [stdout] 236 | | &self.device, [INFO] [stdout] 237 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 240 | | &camera.projection_view(), [INFO] [stdout] 241 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | pub unsafe fn record_inst_static_comm_buffer(&mut self, i: usize, camera: &RenderCamera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_dyn` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / self.command_buffer_pools.compute.record_inst_dyn( [INFO] [stdout] 251 | | i, [INFO] [stdout] 252 | | &self.device, [INFO] [stdout] 253 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 256 | | dyn_inst_count, [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | / pub unsafe fn record_inst_dyn_comm_buffer( [INFO] [stdout] 245 | | &mut self, [INFO] [stdout] 246 | | i: usize, [INFO] [stdout] 247 | | camera: &RenderCamera, [INFO] [stdout] 248 | | dyn_inst_count: u32, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::Buffers::update_instance_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | self.buffers.update_instance_data(i, &self.device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 265 | pub unsafe fn update_instance_data(&mut self, i: usize, data: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | self.swapchains.acquire_next_image(semaphore) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 270 | | &mut self, [INFO] [stdout] 271 | | semaphore: vk::Semaphore, [INFO] [stdout] 272 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::queue_present` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / self [INFO] [stdout] 282 | | .swapchains [INFO] [stdout] 283 | | .queue_present(image_index, self.queues.graphics, wait_semaphores) [INFO] [stdout] | |________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | / pub unsafe fn queue_present( [INFO] [stdout] 277 | | &mut self, [INFO] [stdout] 278 | | image_index: u32, [INFO] [stdout] 279 | | wait_semaphores: &[vk::Semaphore], [INFO] [stdout] 280 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::recreate_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let changes = self.swapchains.recreate_swapchain( [INFO] [stdout] | ___________________^ [INFO] [stdout] 294 | | self.physical_device, [INFO] [stdout] 295 | | &self.device, [INFO] [stdout] 296 | | self.surface, [INFO] [stdout] 297 | | &self.surface_loader, [INFO] [stdout] 298 | | &self.window.inner_size(), [INFO] [stdout] 299 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | pub unsafe fn recreate_swapchain(&mut self, swapchain_render_finished: vk::Fence) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_framebuffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | self.device.destroy_framebuffer(framebuffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.device.destroy_render_pass(self.render_pass, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/compute/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | device.destroy_shader_module(self.instance, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/compute/mod.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::device_wait_idle` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | device.device_wait_idle().expect("Failed to wait on device"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/sync.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn destroy(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_semaphore(self.image_available, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_semaphore(self.render_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_semaphore(self.instance_compute_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_fence` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | device.destroy_fence(self.finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/render/sync.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let s = Duration::from_secs_f32(1.0 / 60.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/utility.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | std::slice::from_raw_parts((p as *const T) as *const u8, std::mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/utility.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn any_as_u8_slice(p: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vertex_count` is never read [INFO] [stdout] --> src/render/models/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ModelProperties { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 15 | pub vertex_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelProperties` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem_offset` is never read [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Inst { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | pub buffer: vk::Buffer, [INFO] [stdout] 40 | pub mem_offset: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_ren` is never used [INFO] [stdout] --> src/render/renderable_3d.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait RenderableIn3d { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 4 | fn ren(&self) -> &Renderable3dObject; [INFO] [stdout] 5 | fn into_ren(self) -> Renderable3dObject; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERT_SHADER_PATH` is never used [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const VERT_SHADER_PATH: &'static str = "./assets/shaders/tex_plain/vert.spv"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAG_SHADER_PATH` is never used [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FRAG_SHADER_PATH: &'static str = "./assets/shaders/tex_plain/frag.spv"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `destroy_self` are never used [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Shader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn load(device: &ash::Device) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/render/sync.rs:495:10 [INFO] [stdout] | [INFO] [stdout] 495 | if let Err(_) = self.renderer.queue_present(image_index, &signal_semaphores) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/render/sync.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 495 ~ match self.renderer.queue_present(image_index, &signal_semaphores) { Err(_) => { [INFO] [stdout] 496 | // NOTE: It seems that sometimes the window can be resized while the image is being presented [INFO] [stdout] ... [INFO] [stdout] 500 | self.recreate_swapchain_next_frame = true; [INFO] [stdout] 501 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 138 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ash_boilerplate` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/render/objects/buffers/mod.rs [INFO] [stderr] * src/render/objects/physical_device.rs [INFO] [stderr] * src/render/objects/vertices/mod.rs [INFO] [stderr] * src/render/renderer.rs [INFO] [stderr] * src/render/sync.rs [INFO] [stderr] * src/render/utility.rs [INFO] [stderr] * src/structures/linear_2d_vec.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | ($t:ty, $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:19:29 [INFO] [stderr] | [INFO] [stderr] 19 | ($t:ty, $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/buffers/mod.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | ( $x:expr_2021, $($y:expr_2021),+) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | (@out $($out:expr_2021,)* @step $_i:expr_2021,) => { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | let size = rng.gen::() * 0.2 + 0.05; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | x: rot.x + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | y: rot.y + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | z: rot.z + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: unused import: `Released` [INFO] [stdout] --> src/keys.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub use KeyState::{Pressed, Released}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr_2021, $($y:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($t:ty, $x:expr, $($y:expr_2021),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr_2021, $($y:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/render/objects/vertices/mod.rs:26:37 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ( $x:expr, $($y:expr_2021),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr_2021, $($y:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 | (@out $($out:expr_2021,)* @step $_i:expr_2021,) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/buffers/mod.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr, $($y:expr),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ( $x:expr, $($y:expr_2021),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr,)* @step $_i:expr,) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr_2021,)* @step $_i:expr,) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr,)* @step $_i:expr,) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | (@out $($out:expr,)* @step $_i:expr_2021,) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr,)* @step $i:expr, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr_2021,)* @step $i:expr, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr,)* @step $i:expr, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | (@out $($out:expr,)* @step $i:expr_2021, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr_2021,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr_2021, $_offset:expr, @prev) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr, @prev) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | (@out $($out:expr,)* @step $_i:expr, $_offset:expr_2021, @prev) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/render/objects/vertices/mod.rs:29:13 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr_2021,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr_2021, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 29 | (@out $($out:expr_2021,)* @step $i:expr_2021, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/objects/vertices/mod.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (@out $($out:expr,)* @step $i:expr, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr_2021, $size:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($x:expr, $size:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr_2021, $size:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr, $size:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 51 | ($x:expr, $size:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr_2021, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr_2021, $offset:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/render/utility.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($x:expr, $size:expr, $offset:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/render/objects/vertices/mod.rs:29:37 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/structures/linear_2d_vec.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | ($x:expr, $s:ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 5 | ($x:expr_2021, $s:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `partition::Partition` [INFO] [stdout] --> src/structures/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use partition::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 29 | (@out $($out:expr_2021,)* @step $i:expr_2021, $head:tt, $($tail:tt,)*) => { [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(pointer_byte_offsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::map_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let data_ptr = device [INFO] [stdout] | ____________________^ [INFO] [stdout] 67 | | .map_memory( [INFO] [stdout] 68 | | self.memory, [INFO] [stdout] 69 | | self.inst[i].1, [INFO] [stdout] 70 | | (std::mem::size_of::() * data.len()) as u64, [INFO] [stdout] 71 | | vk::MemoryMapFlags::empty(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | / pub unsafe fn write_instance( [INFO] [stdout] 60 | | &mut self, [INFO] [stdout] 61 | | i: usize, [INFO] [stdout] 62 | | device: &ash::Device, [INFO] [stdout] 63 | | data: &Vec, [INFO] [stdout] 64 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::copy_from_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | data_ptr.copy_from_nonoverlapping(data.as_ptr(), data.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::unmap_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | device.unmap_memory(self.memory); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/render/objects/vertices/mod.rs:40:13 [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | device.destroy_buffer(self.vertex.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:297:3 [INFO] [stdout] | [INFO] [stdout] 297 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | device.destroy_buffer(self.index.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 40 | (@out $($out:expr_2021,)* @step $_i:expr_2021, $_offset:expr_2021, @prev) => { [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | device.destroy_buffer(self.inst.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | (@out $($out:expr_2021,)* @step $_i:expr_2021, $_offset:expr_2021, @prev) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:40:52 [INFO] [stderr] | [INFO] [stderr] 40 | (@out $($out:expr_2021,)* @step $_i:expr_2021, $_offset:expr_2021, @prev) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | (@out $($out:expr_2021,)* @step $i:expr_2021, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:43:37 [INFO] [stderr] | [INFO] [stderr] 43 | (@out $($out:expr_2021,)* @step $i:expr_2021, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/objects/vertices/mod.rs:43:51 [INFO] [stderr] | [INFO] [stderr] 43 | (@out $($out:expr_2021,)* @step $i:expr_2021, $offset:expr_2021, @prev $head:tt, $($tail:tt,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | ($x:expr_2021, $size:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | ($x:expr_2021, $size:expr_2021, $offset:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | ($x:expr_2021, $size:expr_2021, $offset:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/render/utility.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | ($x:expr_2021, $size:expr_2021, $offset:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/structures/linear_2d_vec.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | ($x:expr_2021, $s:ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(pointer_byte_offsets)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/render/objects/physical_device.rs:77:32 [INFO] [stderr] | [INFO] [stderr] 19 | ) -> (vk::PhysicalDevice, QueueFamilyIndices) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 77 | let supports_surface = unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/render/renderer.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 286 | pub unsafe fn recreate_swapchain(&mut self, swapchain_render_finished: vk::Fence) { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 301 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/render/sync.rs:289:9 [INFO] [stderr] | [INFO] [stderr] 289 | let s = Duration::from_secs_f32(1.0 / 60.0); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::write_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | self.host_writable.write_instance(i, device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | / pub unsafe fn update_instance_data( [INFO] [stdout] 183 | | &mut self, [INFO] [stdout] 184 | | i: usize, [INFO] [stdout] 185 | | device: &ash::Device, [INFO] [stdout] 186 | | data: &Vec, [INFO] [stdout] 187 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local_constant::LocalConstantMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | self.local_constant.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | self.host_writable.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local::LocalMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | self.local.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / device [INFO] [stdout] 50 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | / pub unsafe fn record_inst_static( [INFO] [stdout] 40 | | &mut self, [INFO] [stdout] 41 | | i: usize, [INFO] [stdout] 42 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 46 | | projection_view: &Matrix4, [INFO] [stdout] 47 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / device [INFO] [stdout] 61 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / device.cmd_push_constants( [INFO] [stdout] 66 | | cb, [INFO] [stdout] 67 | | pipelines.compute.layout, [INFO] [stdout] 68 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 69 | | 0, [INFO] [stdout] 70 | | projection_view_bytes, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 75 | | cb, [INFO] [stdout] 76 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 77 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &[], [INFO] [stdout] 81 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | device.cmd_dispatch(cb, buffers.local_constant.inst.count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / device [INFO] [stdout] 87 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / device [INFO] [stdout] 102 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | / pub unsafe fn record_inst_dyn( [INFO] [stdout] 92 | | &mut self, [INFO] [stdout] 93 | | i: usize, [INFO] [stdout] 94 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 98 | | dyn_inst_count: u32, [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / device [INFO] [stdout] 113 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / device.cmd_push_constants( [INFO] [stdout] 118 | | cb, [INFO] [stdout] 119 | | pipelines.compute.layout, [INFO] [stdout] 120 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | projection_view_bytes, [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 127 | | cb, [INFO] [stdout] 128 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 129 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 132 | | &[], [INFO] [stdout] 133 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.cmd_dispatch(cb, dyn_inst_count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / device [INFO] [stdout] 139 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / device [INFO] [stdout] 43 | | .reset_command_buffer(command_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / pub unsafe fn record( [INFO] [stdout] 29 | | &mut self, [INFO] [stdout] 30 | | i: usize, [INFO] [stdout] 31 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 38 | | dyn_inst_props: &Vec, [INFO] [stdout] 39 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / device [INFO] [stdout] 54 | | .begin_command_buffer(command_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_______________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_begin_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / device.cmd_begin_render_pass( [INFO] [stdout] 77 | | command_buffer, [INFO] [stdout] 78 | | &render_pass_begin_info, [INFO] [stdout] 79 | | vk::SubpassContents::INLINE, [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / device.cmd_bind_pipeline( [INFO] [stdout] 82 | | command_buffer, [INFO] [stdout] 83 | | vk::PipelineBindPoint::GRAPHICS, [INFO] [stdout] 84 | | pipelines.graphics.main, [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_vertex_buffers` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | device.cmd_bind_vertex_buffers(command_buffer, 0, &vertex_buffers, &offsets); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_index_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / device.cmd_bind_index_buffer( [INFO] [stdout] 94 | | command_buffer, [INFO] [stdout] 95 | | buffers.local_constant.index.buffer, [INFO] [stdout] 96 | | 0, [INFO] [stdout] 97 | | vk::IndexType::UINT16, [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | / device.cmd_draw_indexed( [INFO] [stdout] 104 | | command_buffer, [INFO] [stdout] 105 | | model_p.index_count, [INFO] [stdout] 106 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 109 | | inst_p.inst_offset, [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | / device.cmd_draw_indexed( [INFO] [stdout] 119 | | command_buffer, [INFO] [stdout] 120 | | model_p.index_count, [INFO] [stdout] 121 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 124 | | static_inst_offset + inst_p.inst_offset, [INFO] [stdout] 125 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_end_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | device.cmd_end_render_pass(command_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / device [INFO] [stdout] 131 | | .end_command_buffer(command_buffer) [INFO] [stdout] | |_________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / device [INFO] [stdout] 40 | | .reset_command_buffer(self.copy_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |___________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe fn record_copy_buffers( [INFO] [stdout] 35 | | &mut self, [INFO] [stdout] 36 | | device: &ash::Device, [INFO] [stdout] 37 | | operations: &[CopyBufferOperation], [INFO] [stdout] 38 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / device [INFO] [stdout] 51 | | .begin_command_buffer(self.copy_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_copy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | / device.cmd_copy_buffer( [INFO] [stdout] 56 | | self.copy_buffer, [INFO] [stdout] 57 | | op.source_buffer, [INFO] [stdout] 58 | | op.dest_buffer, [INFO] [stdout] 59 | | &op.copy_regions, [INFO] [stdout] 60 | | ); [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / device [INFO] [stdout] 64 | | .end_command_buffer(self.copy_buffer) [INFO] [stdout] | |___________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | self.main.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::transfer::TransferCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | self.transfer.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | self.compute.destroy_self(device) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / unsafe extern "system" fn vulkan_debug_utils_callback( [INFO] [stdout] 6 | | message_severity: vk::DebugUtilsMessageSeverityFlagsEXT, [INFO] [stdout] 7 | | message_type: vk::DebugUtilsMessageTypeFlagsEXT, [INFO] [stdout] 8 | | p_callback_data: *const vk::DebugUtilsMessengerCallbackDataEXT, [INFO] [stdout] 9 | | _p_user_data: *mut c_void, [INFO] [stdout] 10 | | ) -> vk::Bool32 { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::ext::DebugUtils::destroy_debug_utils_messenger` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / self [INFO] [stdout] 72 | | .loader [INFO] [stdout] 73 | | .destroy_debug_utils_messenger(self.messenger, None); [INFO] [stdout] | |__________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub unsafe fn destroy_self(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_set_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | device.destroy_descriptor_set_layout(self.inst.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | device.destroy_descriptor_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::pool::DescriptorSetPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self.pool.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::layouts::DescriptorSetLayouts::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | self.layouts.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::enumerate_physical_devices` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let (physical_device, queue_family) = instance [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 21 | | .enumerate_physical_devices() [INFO] [stdout] | |_________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub unsafe fn select_physical_device( [INFO] [stdout] 14 | | instance: &ash::Instance, [INFO] [stdout] 15 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 16 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 17 | | device_extensions: &[String], [INFO] [stdout] 18 | | device_features: &vk::PhysicalDeviceFeatures, [INFO] [stdout] 19 | | ) -> (vk::PhysicalDevice, QueueFamilyIndices) { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let properties = instance.get_physical_device_properties(*p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_features` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | is_superset(&instance.get_physical_device_features(*p), device_features) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::physical_device::check_swapchain_support` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | && check_swapchain_support(p, surface, surface_loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_queue_family_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | for (i, family) in instance [INFO] [stdout] | __________________________^ [INFO] [stdout] 73 | | .get_physical_device_queue_family_properties(physical_device) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let t = instance [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | .get_physical_device_properties(*physical_device) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_formats` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let formats = surface_loader [INFO] [stdout] | _________________^ [INFO] [stdout] 197 | | .get_physical_device_surface_formats(*device, *surface) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn check_swapchain_support( [INFO] [stdout] 192 | | device: &vk::PhysicalDevice, [INFO] [stdout] 193 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 194 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 195 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_present_modes` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | let present_modes = surface_loader [INFO] [stdout] | _______________________^ [INFO] [stdout] 200 | | .get_physical_device_surface_present_modes(*device, *surface) [INFO] [stdout] | |_________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_pipeline(self.inst, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | device.destroy_pipeline(self.main, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::graphics::GraphicsPipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.graphics.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::compute::ComputePipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | self.compute.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::XlibSurface::create_xlib_surface` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/surface_platforms.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | xlib_surface_loader.create_xlib_surface(&x11_create_info, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/surface_platforms.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / pub unsafe fn create_surface( [INFO] [stdout] 43 | | entry: &ash::Entry, [INFO] [stdout] 44 | | instance: &ash::Instance, [INFO] [stdout] 45 | | window: &winit::window::Window, [INFO] [stdout] 46 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.current.acquire_next_image(semaphore, &self.loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 44 | | &mut self, [INFO] [stdout] 45 | | semaphore: vk::Semaphore, [INFO] [stdout] 46 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | self.current.destroy_self(device, &self.loader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | loader.acquire_next_image(self.obj, std::u64::MAX, semaphore, vk::Fence::null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 284 | | &mut self, [INFO] [stdout] 285 | | semaphore: vk::Semaphore, [INFO] [stdout] 286 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 287 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_image_view` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | device.destroy_image_view(view, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | / pub unsafe fn destroy_self( [INFO] [stdout] 292 | | &mut self, [INFO] [stdout] 293 | | device: &ash::Device, [INFO] [stdout] 294 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 295 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::destroy_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | loader.destroy_swapchain(self.obj, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Entry::load` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | return ash::Entry::load().expect("Failed to load entry"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn get_entry() -> ash::Entry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::record` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / self.command_buffer_pools.main.record( [INFO] [stdout] 221 | | i, [INFO] [stdout] 222 | | &self.device, [INFO] [stdout] 223 | | self.render_pass, [INFO] [stdout] ... | [INFO] [stdout] 229 | | dyn_inst_props, [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | / pub unsafe fn record_main_command_buffer( [INFO] [stdout] 215 | | &mut self, [INFO] [stdout] 216 | | i: usize, [INFO] [stdout] 217 | | framebuffer_i: usize, [INFO] [stdout] 218 | | dyn_inst_props: &Vec, [INFO] [stdout] 219 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_static` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / self.command_buffer_pools.compute.record_inst_static( [INFO] [stdout] 235 | | i, [INFO] [stdout] 236 | | &self.device, [INFO] [stdout] 237 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 240 | | &camera.projection_view(), [INFO] [stdout] 241 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | pub unsafe fn record_inst_static_comm_buffer(&mut self, i: usize, camera: &RenderCamera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_dyn` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / self.command_buffer_pools.compute.record_inst_dyn( [INFO] [stdout] 251 | | i, [INFO] [stdout] 252 | | &self.device, [INFO] [stdout] 253 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 256 | | dyn_inst_count, [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | / pub unsafe fn record_inst_dyn_comm_buffer( [INFO] [stdout] 245 | | &mut self, [INFO] [stdout] 246 | | i: usize, [INFO] [stdout] 247 | | camera: &RenderCamera, [INFO] [stdout] 248 | | dyn_inst_count: u32, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::Buffers::update_instance_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | self.buffers.update_instance_data(i, &self.device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 265 | pub unsafe fn update_instance_data(&mut self, i: usize, data: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | self.swapchains.acquire_next_image(semaphore) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 270 | | &mut self, [INFO] [stdout] 271 | | semaphore: vk::Semaphore, [INFO] [stdout] 272 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::queue_present` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / self [INFO] [stdout] 282 | | .swapchains [INFO] [stdout] 283 | | .queue_present(image_index, self.queues.graphics, wait_semaphores) [INFO] [stdout] | |________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | / pub unsafe fn queue_present( [INFO] [stdout] 277 | | &mut self, [INFO] [stdout] 278 | | image_index: u32, [INFO] [stdout] 279 | | wait_semaphores: &[vk::Semaphore], [INFO] [stdout] 280 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::recreate_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let changes = self.swapchains.recreate_swapchain( [INFO] [stdout] | ___________________^ [INFO] [stdout] 294 | | self.physical_device, [INFO] [stdout] 295 | | &self.device, [INFO] [stdout] 296 | | self.surface, [INFO] [stdout] 297 | | &self.surface_loader, [INFO] [stdout] 298 | | &self.window.inner_size(), [INFO] [stdout] 299 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | pub unsafe fn recreate_swapchain(&mut self, swapchain_render_finished: vk::Fence) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.09s [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_framebuffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | self.device.destroy_framebuffer(framebuffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.device.destroy_render_pass(self.render_pass, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/compute/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | device.destroy_shader_module(self.instance, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/compute/mod.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::device_wait_idle` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | device.device_wait_idle().expect("Failed to wait on device"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/sync.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn destroy(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_semaphore(self.image_available, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_semaphore(self.render_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_semaphore(self.instance_compute_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_fence` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | device.destroy_fence(self.finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/render/sync.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let s = Duration::from_secs_f32(1.0 / 60.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/utility.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | std::slice::from_raw_parts((p as *const T) as *const u8, std::mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/utility.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn any_as_u8_slice(p: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vertex_count` is never read [INFO] [stdout] --> src/render/models/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ModelProperties { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 15 | pub vertex_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelProperties` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem_offset` is never read [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Inst { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | pub buffer: vk::Buffer, [INFO] [stdout] 40 | pub mem_offset: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_ren` is never used [INFO] [stdout] --> src/render/renderable_3d.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait RenderableIn3d { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 4 | fn ren(&self) -> &Renderable3dObject; [INFO] [stdout] 5 | fn into_ren(self) -> Renderable3dObject; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERT_SHADER_PATH` is never used [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const VERT_SHADER_PATH: &'static str = "./assets/shaders/tex_plain/vert.spv"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAG_SHADER_PATH` is never used [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FRAG_SHADER_PATH: &'static str = "./assets/shaders/tex_plain/frag.spv"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `destroy_self` are never used [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Shader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn load(device: &ash::Device) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/render/sync.rs:495:10 [INFO] [stdout] | [INFO] [stdout] 495 | if let Err(_) = self.renderer.queue_present(image_index, &signal_semaphores) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/render/sync.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 495 ~ match self.renderer.queue_present(image_index, &signal_semaphores) { Err(_) => { [INFO] [stdout] 496 | // NOTE: It seems that sometimes the window can be resized while the image is being presented [INFO] [stdout] ... [INFO] [stdout] 500 | self.recreate_swapchain_next_frame = true; [INFO] [stdout] 501 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 138 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ash_boilerplate v0.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | let size = rng.gen::() * 0.2 + 0.05; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 57 | let size = rng.r#gen::() * 0.2 + 0.05; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | x: rot.x + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | x: rot.x + Rad(rng.r#gen::() / 100.0), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | y: rot.y + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 141 | y: rot.y + Rad(rng.r#gen::() / 100.0), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | z: rot.z + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 142 | z: rot.z + Rad(rng.r#gen::() / 100.0), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | let size = rng.gen::() * 0.2 + 0.05; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 57 | let size = rng.r#gen::() * 0.2 + 0.05; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | x: rot.x + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | x: rot.x + Rad(rng.r#gen::() / 100.0), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | y: rot.y + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 141 | y: rot.y + Rad(rng.r#gen::() / 100.0), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | z: rot.z + Rad(rng.gen::() / 100.0), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 142 | z: rot.z + Rad(rng.r#gen::() / 100.0), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Released` [INFO] [stdout] --> src/keys.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub use KeyState::{Pressed, Released}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `partition::Partition` [INFO] [stdout] --> src/structures/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use partition::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Released` [INFO] [stdout] --> src/keys.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub use KeyState::{Pressed, Released}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `partition::Partition` [INFO] [stdout] --> src/structures/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use partition::Partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(pointer_byte_offsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(pointer_byte_offsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::map_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let data_ptr = device [INFO] [stdout] | ____________________^ [INFO] [stdout] 67 | | .map_memory( [INFO] [stdout] 68 | | self.memory, [INFO] [stdout] 69 | | self.inst[i].1, [INFO] [stdout] 70 | | (std::mem::size_of::() * data.len()) as u64, [INFO] [stdout] 71 | | vk::MemoryMapFlags::empty(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | / pub unsafe fn write_instance( [INFO] [stdout] 60 | | &mut self, [INFO] [stdout] 61 | | i: usize, [INFO] [stdout] 62 | | device: &ash::Device, [INFO] [stdout] 63 | | data: &Vec, [INFO] [stdout] 64 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::copy_from_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | data_ptr.copy_from_nonoverlapping(data.as_ptr(), data.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::unmap_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | device.unmap_memory(self.memory); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | device.destroy_buffer(self.vertex.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:297:3 [INFO] [stdout] | [INFO] [stdout] 297 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | device.destroy_buffer(self.index.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | device.destroy_buffer(self.inst.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::write_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | self.host_writable.write_instance(i, device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | / pub unsafe fn update_instance_data( [INFO] [stdout] 183 | | &mut self, [INFO] [stdout] 184 | | i: usize, [INFO] [stdout] 185 | | device: &ash::Device, [INFO] [stdout] 186 | | data: &Vec, [INFO] [stdout] 187 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local_constant::LocalConstantMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | self.local_constant.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | self.host_writable.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local::LocalMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | self.local.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / device [INFO] [stdout] 50 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | / pub unsafe fn record_inst_static( [INFO] [stdout] 40 | | &mut self, [INFO] [stdout] 41 | | i: usize, [INFO] [stdout] 42 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 46 | | projection_view: &Matrix4, [INFO] [stdout] 47 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / device [INFO] [stdout] 61 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / device.cmd_push_constants( [INFO] [stdout] 66 | | cb, [INFO] [stdout] 67 | | pipelines.compute.layout, [INFO] [stdout] 68 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 69 | | 0, [INFO] [stdout] 70 | | projection_view_bytes, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 75 | | cb, [INFO] [stdout] 76 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 77 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &[], [INFO] [stdout] 81 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | device.cmd_dispatch(cb, buffers.local_constant.inst.count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / device [INFO] [stdout] 87 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / device [INFO] [stdout] 102 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | / pub unsafe fn record_inst_dyn( [INFO] [stdout] 92 | | &mut self, [INFO] [stdout] 93 | | i: usize, [INFO] [stdout] 94 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 98 | | dyn_inst_count: u32, [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / device [INFO] [stdout] 113 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / device.cmd_push_constants( [INFO] [stdout] 118 | | cb, [INFO] [stdout] 119 | | pipelines.compute.layout, [INFO] [stdout] 120 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | projection_view_bytes, [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 127 | | cb, [INFO] [stdout] 128 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 129 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 132 | | &[], [INFO] [stdout] 133 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.cmd_dispatch(cb, dyn_inst_count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / device [INFO] [stdout] 139 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / device [INFO] [stdout] 43 | | .reset_command_buffer(command_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / pub unsafe fn record( [INFO] [stdout] 29 | | &mut self, [INFO] [stdout] 30 | | i: usize, [INFO] [stdout] 31 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 38 | | dyn_inst_props: &Vec, [INFO] [stdout] 39 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / device [INFO] [stdout] 54 | | .begin_command_buffer(command_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_______________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_begin_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / device.cmd_begin_render_pass( [INFO] [stdout] 77 | | command_buffer, [INFO] [stdout] 78 | | &render_pass_begin_info, [INFO] [stdout] 79 | | vk::SubpassContents::INLINE, [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / device.cmd_bind_pipeline( [INFO] [stdout] 82 | | command_buffer, [INFO] [stdout] 83 | | vk::PipelineBindPoint::GRAPHICS, [INFO] [stdout] 84 | | pipelines.graphics.main, [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_vertex_buffers` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | device.cmd_bind_vertex_buffers(command_buffer, 0, &vertex_buffers, &offsets); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_index_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / device.cmd_bind_index_buffer( [INFO] [stdout] 94 | | command_buffer, [INFO] [stdout] 95 | | buffers.local_constant.index.buffer, [INFO] [stdout] 96 | | 0, [INFO] [stdout] 97 | | vk::IndexType::UINT16, [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | / device.cmd_draw_indexed( [INFO] [stdout] 104 | | command_buffer, [INFO] [stdout] 105 | | model_p.index_count, [INFO] [stdout] 106 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 109 | | inst_p.inst_offset, [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | / device.cmd_draw_indexed( [INFO] [stdout] 119 | | command_buffer, [INFO] [stdout] 120 | | model_p.index_count, [INFO] [stdout] 121 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 124 | | static_inst_offset + inst_p.inst_offset, [INFO] [stdout] 125 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_end_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | device.cmd_end_render_pass(command_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / device [INFO] [stdout] 131 | | .end_command_buffer(command_buffer) [INFO] [stdout] | |_________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / device [INFO] [stdout] 40 | | .reset_command_buffer(self.copy_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |___________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe fn record_copy_buffers( [INFO] [stdout] 35 | | &mut self, [INFO] [stdout] 36 | | device: &ash::Device, [INFO] [stdout] 37 | | operations: &[CopyBufferOperation], [INFO] [stdout] 38 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / device [INFO] [stdout] 51 | | .begin_command_buffer(self.copy_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_copy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | / device.cmd_copy_buffer( [INFO] [stdout] 56 | | self.copy_buffer, [INFO] [stdout] 57 | | op.source_buffer, [INFO] [stdout] 58 | | op.dest_buffer, [INFO] [stdout] 59 | | &op.copy_regions, [INFO] [stdout] 60 | | ); [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / device [INFO] [stdout] 64 | | .end_command_buffer(self.copy_buffer) [INFO] [stdout] | |___________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | self.main.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::transfer::TransferCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | self.transfer.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | self.compute.destroy_self(device) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / unsafe extern "system" fn vulkan_debug_utils_callback( [INFO] [stdout] 6 | | message_severity: vk::DebugUtilsMessageSeverityFlagsEXT, [INFO] [stdout] 7 | | message_type: vk::DebugUtilsMessageTypeFlagsEXT, [INFO] [stdout] 8 | | p_callback_data: *const vk::DebugUtilsMessengerCallbackDataEXT, [INFO] [stdout] 9 | | _p_user_data: *mut c_void, [INFO] [stdout] 10 | | ) -> vk::Bool32 { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::ext::DebugUtils::destroy_debug_utils_messenger` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / self [INFO] [stdout] 72 | | .loader [INFO] [stdout] 73 | | .destroy_debug_utils_messenger(self.messenger, None); [INFO] [stdout] | |__________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub unsafe fn destroy_self(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_set_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | device.destroy_descriptor_set_layout(self.inst.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | device.destroy_descriptor_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::pool::DescriptorSetPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self.pool.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::layouts::DescriptorSetLayouts::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | self.layouts.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::enumerate_physical_devices` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let (physical_device, queue_family) = instance [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 21 | | .enumerate_physical_devices() [INFO] [stdout] | |_________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub unsafe fn select_physical_device( [INFO] [stdout] 14 | | instance: &ash::Instance, [INFO] [stdout] 15 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 16 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 17 | | device_extensions: &[String], [INFO] [stdout] 18 | | device_features: &vk::PhysicalDeviceFeatures, [INFO] [stdout] 19 | | ) -> (vk::PhysicalDevice, QueueFamilyIndices) { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let properties = instance.get_physical_device_properties(*p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_features` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | is_superset(&instance.get_physical_device_features(*p), device_features) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::physical_device::check_swapchain_support` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | && check_swapchain_support(p, surface, surface_loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_queue_family_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | for (i, family) in instance [INFO] [stdout] | __________________________^ [INFO] [stdout] 73 | | .get_physical_device_queue_family_properties(physical_device) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let t = instance [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | .get_physical_device_properties(*physical_device) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::map_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let data_ptr = device [INFO] [stdout] | ____________________^ [INFO] [stdout] 67 | | .map_memory( [INFO] [stdout] 68 | | self.memory, [INFO] [stdout] 69 | | self.inst[i].1, [INFO] [stdout] 70 | | (std::mem::size_of::() * data.len()) as u64, [INFO] [stdout] 71 | | vk::MemoryMapFlags::empty(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | / pub unsafe fn write_instance( [INFO] [stdout] 60 | | &mut self, [INFO] [stdout] 61 | | i: usize, [INFO] [stdout] 62 | | device: &ash::Device, [INFO] [stdout] 63 | | data: &Vec, [INFO] [stdout] 64 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::copy_from_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | data_ptr.copy_from_nonoverlapping(data.as_ptr(), data.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::unmap_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | device.unmap_memory(self.memory); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/host_writable.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | device.destroy_buffer(*buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_formats` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let formats = surface_loader [INFO] [stdout] | _________________^ [INFO] [stdout] 197 | | .get_physical_device_surface_formats(*device, *surface) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn check_swapchain_support( [INFO] [stdout] 192 | | device: &vk::PhysicalDevice, [INFO] [stdout] 193 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 194 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 195 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_present_modes` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | let present_modes = surface_loader [INFO] [stdout] | _______________________^ [INFO] [stdout] 200 | | .get_physical_device_surface_present_modes(*device, *surface) [INFO] [stdout] | |_________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_pipeline(self.inst, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | device.destroy_pipeline(self.main, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::graphics::GraphicsPipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.graphics.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::compute::ComputePipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | self.compute.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | device.destroy_buffer(self.vertex.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:297:3 [INFO] [stdout] | [INFO] [stdout] 297 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::XlibSurface::create_xlib_surface` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/surface_platforms.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | xlib_surface_loader.create_xlib_surface(&x11_create_info, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/surface_platforms.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / pub unsafe fn create_surface( [INFO] [stdout] 43 | | entry: &ash::Entry, [INFO] [stdout] 44 | | instance: &ash::Instance, [INFO] [stdout] 45 | | window: &winit::window::Window, [INFO] [stdout] 46 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | device.destroy_buffer(self.index.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | device.destroy_buffer(self.inst.buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::free_memory` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/local_constant.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | device.free_memory(self.memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.current.acquire_next_image(semaphore, &self.loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 44 | | &mut self, [INFO] [stdout] 45 | | semaphore: vk::Semaphore, [INFO] [stdout] 46 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | self.current.destroy_self(device, &self.loader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | loader.acquire_next_image(self.obj, std::u64::MAX, semaphore, vk::Fence::null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 284 | | &mut self, [INFO] [stdout] 285 | | semaphore: vk::Semaphore, [INFO] [stdout] 286 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 287 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_image_view` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | device.destroy_image_view(view, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | / pub unsafe fn destroy_self( [INFO] [stdout] 292 | | &mut self, [INFO] [stdout] 293 | | device: &ash::Device, [INFO] [stdout] 294 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 295 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::destroy_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | loader.destroy_swapchain(self.obj, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::write_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | self.host_writable.write_instance(i, device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | / pub unsafe fn update_instance_data( [INFO] [stdout] 183 | | &mut self, [INFO] [stdout] 184 | | i: usize, [INFO] [stdout] 185 | | device: &ash::Device, [INFO] [stdout] 186 | | data: &Vec, [INFO] [stdout] 187 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local_constant::LocalConstantMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | self.local_constant.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/buffers/mod.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::host_writable::HostWritableMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | self.host_writable.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::local::LocalMemory::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/buffers/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | self.local.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / device [INFO] [stdout] 50 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | / pub unsafe fn record_inst_static( [INFO] [stdout] 40 | | &mut self, [INFO] [stdout] 41 | | i: usize, [INFO] [stdout] 42 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 46 | | projection_view: &Matrix4, [INFO] [stdout] 47 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / device [INFO] [stdout] 61 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / device.cmd_push_constants( [INFO] [stdout] 66 | | cb, [INFO] [stdout] 67 | | pipelines.compute.layout, [INFO] [stdout] 68 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 69 | | 0, [INFO] [stdout] 70 | | projection_view_bytes, [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 75 | | cb, [INFO] [stdout] 76 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 77 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &[], [INFO] [stdout] 81 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | device.cmd_dispatch(cb, buffers.local_constant.inst.count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / device [INFO] [stdout] 87 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Entry::load` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | return ash::Entry::load().expect("Failed to load entry"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn get_entry() -> ash::Entry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / device [INFO] [stdout] 102 | | .reset_command_buffer(cb, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | / pub unsafe fn record_inst_dyn( [INFO] [stdout] 92 | | &mut self, [INFO] [stdout] 93 | | i: usize, [INFO] [stdout] 94 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 98 | | dyn_inst_count: u32, [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / device [INFO] [stdout] 113 | | .begin_command_buffer(cb, &command_buffer_begin_info) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::utility::any_as_u8_slice` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let projection_view_bytes = utility::any_as_u8_slice(projection_view); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_push_constants` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / device.cmd_push_constants( [INFO] [stdout] 118 | | cb, [INFO] [stdout] 119 | | pipelines.compute.layout, [INFO] [stdout] 120 | | vk::ShaderStageFlags::COMPUTE, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | projection_view_bytes, [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_descriptor_sets` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / device.cmd_bind_descriptor_sets( [INFO] [stdout] 127 | | cb, [INFO] [stdout] 128 | | vk::PipelineBindPoint::COMPUTE, [INFO] [stdout] 129 | | pipelines.compute.layout, [INFO] [stdout] ... | [INFO] [stdout] 132 | | &[], [INFO] [stdout] 133 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | device.cmd_bind_pipeline(cb, vk::PipelineBindPoint::COMPUTE, pipelines.compute.inst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_dispatch` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.cmd_dispatch(cb, dyn_inst_count / 64 + 1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / device [INFO] [stdout] 139 | | .end_command_buffer(cb) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/compute.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / device [INFO] [stdout] 43 | | .reset_command_buffer(command_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |_________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / pub unsafe fn record( [INFO] [stdout] 29 | | &mut self, [INFO] [stdout] 30 | | i: usize, [INFO] [stdout] 31 | | device: &ash::Device, [INFO] [stdout] ... | [INFO] [stdout] 38 | | dyn_inst_props: &Vec, [INFO] [stdout] 39 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / device [INFO] [stdout] 54 | | .begin_command_buffer(command_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_______________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_begin_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / device.cmd_begin_render_pass( [INFO] [stdout] 77 | | command_buffer, [INFO] [stdout] 78 | | &render_pass_begin_info, [INFO] [stdout] 79 | | vk::SubpassContents::INLINE, [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / device.cmd_bind_pipeline( [INFO] [stdout] 82 | | command_buffer, [INFO] [stdout] 83 | | vk::PipelineBindPoint::GRAPHICS, [INFO] [stdout] 84 | | pipelines.graphics.main, [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_vertex_buffers` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | device.cmd_bind_vertex_buffers(command_buffer, 0, &vertex_buffers, &offsets); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_bind_index_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / device.cmd_bind_index_buffer( [INFO] [stdout] 94 | | command_buffer, [INFO] [stdout] 95 | | buffers.local_constant.index.buffer, [INFO] [stdout] 96 | | 0, [INFO] [stdout] 97 | | vk::IndexType::UINT16, [INFO] [stdout] 98 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | / device.cmd_draw_indexed( [INFO] [stdout] 104 | | command_buffer, [INFO] [stdout] 105 | | model_p.index_count, [INFO] [stdout] 106 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 109 | | inst_p.inst_offset, [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_draw_indexed` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | / device.cmd_draw_indexed( [INFO] [stdout] 119 | | command_buffer, [INFO] [stdout] 120 | | model_p.index_count, [INFO] [stdout] 121 | | inst_p.inst_count, [INFO] [stdout] ... | [INFO] [stdout] 124 | | static_inst_offset + inst_p.inst_offset, [INFO] [stdout] 125 | | ) [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_end_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | device.cmd_end_render_pass(command_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / device [INFO] [stdout] 131 | | .end_command_buffer(command_buffer) [INFO] [stdout] | |_________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/main.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::reset_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / device [INFO] [stdout] 40 | | .reset_command_buffer(self.copy_buffer, vk::CommandBufferResetFlags::empty()) [INFO] [stdout] | |___________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe fn record_copy_buffers( [INFO] [stdout] 35 | | &mut self, [INFO] [stdout] 36 | | device: &ash::Device, [INFO] [stdout] 37 | | operations: &[CopyBufferOperation], [INFO] [stdout] 38 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::begin_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / device [INFO] [stdout] 51 | | .begin_command_buffer(self.copy_buffer, &command_buffer_begin_info) [INFO] [stdout] | |_________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::cmd_copy_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | / device.cmd_copy_buffer( [INFO] [stdout] 56 | | self.copy_buffer, [INFO] [stdout] 57 | | op.source_buffer, [INFO] [stdout] 58 | | op.dest_buffer, [INFO] [stdout] 59 | | &op.copy_regions, [INFO] [stdout] 60 | | ); [INFO] [stdout] | |_______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::end_command_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / device [INFO] [stdout] 64 | | .end_command_buffer(self.copy_buffer) [INFO] [stdout] | |___________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_command_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | device.destroy_command_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/transfer.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | self.main.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::transfer::TransferCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | self.transfer.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/command_buffer_pools/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | self.compute.destroy_self(device) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / unsafe extern "system" fn vulkan_debug_utils_callback( [INFO] [stdout] 6 | | message_severity: vk::DebugUtilsMessageSeverityFlagsEXT, [INFO] [stdout] 7 | | message_type: vk::DebugUtilsMessageTypeFlagsEXT, [INFO] [stdout] 8 | | p_callback_data: *const vk::DebugUtilsMessengerCallbackDataEXT, [INFO] [stdout] 9 | | _p_user_data: *mut c_void, [INFO] [stdout] 10 | | ) -> vk::Bool32 { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | let message = CStr::from_ptr((*p_callback_data).p_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::record` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / self.command_buffer_pools.main.record( [INFO] [stdout] 221 | | i, [INFO] [stdout] 222 | | &self.device, [INFO] [stdout] 223 | | self.render_pass, [INFO] [stdout] ... | [INFO] [stdout] 229 | | dyn_inst_props, [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | / pub unsafe fn record_main_command_buffer( [INFO] [stdout] 215 | | &mut self, [INFO] [stdout] 216 | | i: usize, [INFO] [stdout] 217 | | framebuffer_i: usize, [INFO] [stdout] 218 | | dyn_inst_props: &Vec, [INFO] [stdout] 219 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_static` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / self.command_buffer_pools.compute.record_inst_static( [INFO] [stdout] 235 | | i, [INFO] [stdout] 236 | | &self.device, [INFO] [stdout] 237 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 240 | | &camera.projection_view(), [INFO] [stdout] 241 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | pub unsafe fn record_inst_static_comm_buffer(&mut self, i: usize, camera: &RenderCamera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::ext::DebugUtils::destroy_debug_utils_messenger` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/debug_utils.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / self [INFO] [stdout] 72 | | .loader [INFO] [stdout] 73 | | .destroy_debug_utils_messenger(self.messenger, None); [INFO] [stdout] | |__________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/debug_utils.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub unsafe fn destroy_self(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_dyn` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / self.command_buffer_pools.compute.record_inst_dyn( [INFO] [stdout] 251 | | i, [INFO] [stdout] 252 | | &self.device, [INFO] [stdout] 253 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 256 | | dyn_inst_count, [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | / pub unsafe fn record_inst_dyn_comm_buffer( [INFO] [stdout] 245 | | &mut self, [INFO] [stdout] 246 | | i: usize, [INFO] [stdout] 247 | | camera: &RenderCamera, [INFO] [stdout] 248 | | dyn_inst_count: u32, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::Buffers::update_instance_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | self.buffers.update_instance_data(i, &self.device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 265 | pub unsafe fn update_instance_data(&mut self, i: usize, data: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | self.swapchains.acquire_next_image(semaphore) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 270 | | &mut self, [INFO] [stdout] 271 | | semaphore: vk::Semaphore, [INFO] [stdout] 272 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::queue_present` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / self [INFO] [stdout] 282 | | .swapchains [INFO] [stdout] 283 | | .queue_present(image_index, self.queues.graphics, wait_semaphores) [INFO] [stdout] | |________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | / pub unsafe fn queue_present( [INFO] [stdout] 277 | | &mut self, [INFO] [stdout] 278 | | image_index: u32, [INFO] [stdout] 279 | | wait_semaphores: &[vk::Semaphore], [INFO] [stdout] 280 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::recreate_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let changes = self.swapchains.recreate_swapchain( [INFO] [stdout] | ___________________^ [INFO] [stdout] 294 | | self.physical_device, [INFO] [stdout] 295 | | &self.device, [INFO] [stdout] 296 | | self.surface, [INFO] [stdout] 297 | | &self.surface_loader, [INFO] [stdout] 298 | | &self.window.inner_size(), [INFO] [stdout] 299 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | pub unsafe fn recreate_swapchain(&mut self, swapchain_render_finished: vk::Fence) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_framebuffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | self.device.destroy_framebuffer(framebuffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.device.destroy_render_pass(self.render_pass, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/compute/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | device.destroy_shader_module(self.instance, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/compute/mod.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_set_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | device.destroy_descriptor_set_layout(self.inst.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/layouts.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::device_wait_idle` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | device.device_wait_idle().expect("Failed to wait on device"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/sync.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn destroy(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_semaphore(self.image_available, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_semaphore(self.render_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_semaphore(self.instance_compute_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_fence` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | device.destroy_fence(self.finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_descriptor_pool` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | device.destroy_descriptor_pool(self.pool, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/pool.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::pool::DescriptorSetPool::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self.pool.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::descriptor_sets::layouts::DescriptorSetLayouts::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/descriptor_sets/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | self.layouts.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/render/sync.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let s = Duration::from_secs_f32(1.0 / 60.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/utility.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | std::slice::from_raw_parts((p as *const T) as *const u8, std::mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/utility.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn any_as_u8_slice(p: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::enumerate_physical_devices` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let (physical_device, queue_family) = instance [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 21 | | .enumerate_physical_devices() [INFO] [stdout] | |_________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub unsafe fn select_physical_device( [INFO] [stdout] 14 | | instance: &ash::Instance, [INFO] [stdout] 15 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 16 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 17 | | device_extensions: &[String], [INFO] [stdout] 18 | | device_features: &vk::PhysicalDeviceFeatures, [INFO] [stdout] 19 | | ) -> (vk::PhysicalDevice, QueueFamilyIndices) { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let properties = instance.get_physical_device_properties(*p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_features` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | is_superset(&instance.get_physical_device_features(*p), device_features) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::physical_device::check_swapchain_support` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | && check_swapchain_support(p, surface, surface_loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_queue_family_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | for (i, family) in instance [INFO] [stdout] | __________________________^ [INFO] [stdout] 73 | | .get_physical_device_queue_family_properties(physical_device) [INFO] [stdout] | |_____________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Instance::get_physical_device_properties` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let t = instance [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | .get_physical_device_properties(*physical_device) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_formats` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let formats = surface_loader [INFO] [stdout] | _________________^ [INFO] [stdout] 197 | | .get_physical_device_surface_formats(*device, *surface) [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/physical_device.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn check_swapchain_support( [INFO] [stdout] 192 | | device: &vk::PhysicalDevice, [INFO] [stdout] 193 | | surface: &vk::SurfaceKHR, [INFO] [stdout] 194 | | surface_loader: &ash::extensions::khr::Surface, [INFO] [stdout] 195 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Surface::get_physical_device_surface_present_modes` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/physical_device.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | let present_modes = surface_loader [INFO] [stdout] | _______________________^ [INFO] [stdout] 200 | | .get_physical_device_surface_present_modes(*device, *surface) [INFO] [stdout] | |_________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_pipeline(self.inst, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/compute.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 103 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | device.destroy_pipeline(self.main, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_pipeline_layout` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/graphics.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | device.destroy_pipeline_layout(self.layout, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::graphics::GraphicsPipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.graphics.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::pipelines::compute::ComputePipelines::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/pipelines/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | self.compute.destroy_self(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::XlibSurface::create_xlib_surface` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/surface_platforms.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | xlib_surface_loader.create_xlib_surface(&x11_create_info, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/surface_platforms.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / pub unsafe fn create_surface( [INFO] [stdout] 43 | | entry: &ash::Entry, [INFO] [stdout] 44 | | instance: &ash::Instance, [INFO] [stdout] 45 | | window: &winit::window::Window, [INFO] [stdout] 46 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | self.current.acquire_next_image(semaphore, &self.loader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 44 | | &mut self, [INFO] [stdout] 45 | | semaphore: vk::Semaphore, [INFO] [stdout] 46 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchain::destroy_self` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | self.current.destroy_self(device, &self.loader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | loader.acquire_next_image(self.obj, std::u64::MAX, semaphore, vk::Fence::null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 284 | | &mut self, [INFO] [stdout] 285 | | semaphore: vk::Semaphore, [INFO] [stdout] 286 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 287 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_image_view` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | device.destroy_image_view(view, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/objects/swapchain.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | / pub unsafe fn destroy_self( [INFO] [stdout] 292 | | &mut self, [INFO] [stdout] 293 | | device: &ash::Device, [INFO] [stdout] 294 | | loader: &ash::extensions::khr::Swapchain, [INFO] [stdout] 295 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::Swapchain::destroy_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/objects/swapchain.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | loader.destroy_swapchain(self.obj, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ash_boilerplate` (bin "ash_boilerplate" test) due to 5 previous errors; 103 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Entry::load` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | return ash::Entry::load().expect("Failed to load entry"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn get_entry() -> ash::Entry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::main::MainCommandBufferPool::record` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / self.command_buffer_pools.main.record( [INFO] [stdout] 221 | | i, [INFO] [stdout] 222 | | &self.device, [INFO] [stdout] 223 | | self.render_pass, [INFO] [stdout] ... | [INFO] [stdout] 229 | | dyn_inst_props, [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | / pub unsafe fn record_main_command_buffer( [INFO] [stdout] 215 | | &mut self, [INFO] [stdout] 216 | | i: usize, [INFO] [stdout] 217 | | framebuffer_i: usize, [INFO] [stdout] 218 | | dyn_inst_props: &Vec, [INFO] [stdout] 219 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_static` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / self.command_buffer_pools.compute.record_inst_static( [INFO] [stdout] 235 | | i, [INFO] [stdout] 236 | | &self.device, [INFO] [stdout] 237 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 240 | | &camera.projection_view(), [INFO] [stdout] 241 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | pub unsafe fn record_inst_static_comm_buffer(&mut self, i: usize, camera: &RenderCamera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::command_buffer_pools::compute::ComputeCommandBufferPool::record_inst_dyn` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / self.command_buffer_pools.compute.record_inst_dyn( [INFO] [stdout] 251 | | i, [INFO] [stdout] 252 | | &self.device, [INFO] [stdout] 253 | | &self.pipelines, [INFO] [stdout] ... | [INFO] [stdout] 256 | | dyn_inst_count, [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | / pub unsafe fn record_inst_dyn_comm_buffer( [INFO] [stdout] 245 | | &mut self, [INFO] [stdout] 246 | | i: usize, [INFO] [stdout] 247 | | camera: &RenderCamera, [INFO] [stdout] 248 | | dyn_inst_count: u32, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::buffers::Buffers::update_instance_data` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | self.buffers.update_instance_data(i, &self.device, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 265 | pub unsafe fn update_instance_data(&mut self, i: usize, data: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::acquire_next_image` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | self.swapchains.acquire_next_image(semaphore) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | / pub unsafe fn acquire_next_image( [INFO] [stdout] 270 | | &mut self, [INFO] [stdout] 271 | | semaphore: vk::Semaphore, [INFO] [stdout] 272 | | ) -> Result<(u32, bool), vk::Result> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::queue_present` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / self [INFO] [stdout] 282 | | .swapchains [INFO] [stdout] 283 | | .queue_present(image_index, self.queues.graphics, wait_semaphores) [INFO] [stdout] | |________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | / pub unsafe fn queue_present( [INFO] [stdout] 277 | | &mut self, [INFO] [stdout] 278 | | image_index: u32, [INFO] [stdout] 279 | | wait_semaphores: &[vk::Semaphore], [INFO] [stdout] 280 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `render::objects::swapchain::Swapchains::recreate_swapchain` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let changes = self.swapchains.recreate_swapchain( [INFO] [stdout] | ___________________^ [INFO] [stdout] 294 | | self.physical_device, [INFO] [stdout] 295 | | &self.device, [INFO] [stdout] 296 | | self.surface, [INFO] [stdout] 297 | | &self.surface_loader, [INFO] [stdout] 298 | | &self.window.inner_size(), [INFO] [stdout] 299 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/renderer.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | pub unsafe fn recreate_swapchain(&mut self, swapchain_render_finished: vk::Fence) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_framebuffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | self.device.destroy_framebuffer(framebuffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_render_pass` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/renderer.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | self.device.destroy_render_pass(self.render_pass, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/compute/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | device.destroy_shader_module(self.instance, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/compute/mod.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device.destroy_shader_module(self.vert, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn destroy_self(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_shader_module` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/shaders/tex_plain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | device.destroy_shader_module(self.frag, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::device_wait_idle` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | device.device_wait_idle().expect("Failed to wait on device"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/sync.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe fn destroy(&mut self, device: &ash::Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | device.destroy_semaphore(self.image_available, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | device.destroy_semaphore(self.render_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_semaphore` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | device.destroy_semaphore(self.instance_compute_finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::Device::destroy_fence` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/sync.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | device.destroy_fence(self.finished, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/render/sync.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let s = Duration::from_secs_f32(1.0 / 60.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/utility.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | std::slice::from_raw_parts((p as *const T) as *const u8, std::mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/utility.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe fn any_as_u8_slice(p: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 103 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ash_boilerplate` (bin "ash_boilerplate") due to 5 previous errors; 103 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "22f68fc22fdae2fcd459bdee2ca44f95d88da5e621c084ba4366a32dfeef55e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f68fc22fdae2fcd459bdee2ca44f95d88da5e621c084ba4366a32dfeef55e2", kill_on_drop: false }` [INFO] [stdout] 22f68fc22fdae2fcd459bdee2ca44f95d88da5e621c084ba4366a32dfeef55e2