[INFO] cloning repository https://github.com/MoRusty/Inyun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoRusty/Inyun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoRusty%2FInyun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoRusty%2FInyun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc5d9127d393d8d55cceb9ef7d4875520e219a52 [INFO] checking MoRusty/Inyun against master#65407954098ca3c19f0d46092cb374b5d3e9dc3c for pr-157841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoRusty%2FInyun" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MoRusty/Inyun [INFO] finished tweaking git repo https://github.com/MoRusty/Inyun [INFO] tweaked toml for git repo https://github.com/MoRusty/Inyun written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MoRusty/Inyun on toolchain 65407954098ca3c19f0d46092cb374b5d3e9dc3c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MoRusty/Inyun 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" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.31 [INFO] [stderr] Downloaded nalgebra v0.35.0 [INFO] [stderr] Downloaded simba v0.10.0 [INFO] [stderr] Downloaded safe_arch v1.0.0 [INFO] [stderr] Downloaded wide v1.4.0 [INFO] [stderr] Downloaded glam v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6 [INFO] running `Command { std: "docker" "start" "edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.12.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking log v0.4.31 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking safe_arch v1.0.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Checking wide v1.4.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking simba v0.10.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking nalgebra v0.35.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking ash-window v0.13.0 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking ash_renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ash::prelude::VkResult` [INFO] [stdout] --> src/app/engine/rendering_context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ash::prelude::VkResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageView`, `ShaderModule`, and `SwapchainKHR` [INFO] [stdout] --> src/app/engine/rendering_context.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use ash::vk::{ImageView, ShaderModule, SwapchainKHR}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ash::prelude::VkResult` [INFO] [stdout] --> src/app/engine/rendering_context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ash::prelude::VkResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageView`, `ShaderModule`, and `SwapchainKHR` [INFO] [stdout] --> src/app/engine/rendering_context.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use ash::vk::{ImageView, ShaderModule, SwapchainKHR}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_space` [INFO] [stdout] --> src/app/engine/renderer/swapchain.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let (format, color_space) = surface [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_space` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_space` [INFO] [stdout] --> src/app/engine/renderer/swapchain.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let (format, color_space) = surface [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_space` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash_window::create_surface` is unsafe and requires unsafe block [INFO] [stdout] --> src/app/engine/rendering_context.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | let handle = ash_window::create_surface( [INFO] [stdout] | ______________________^ [INFO] [stdout] 326 | | &self.entry, [INFO] [stdout] 327 | | &self.instance, [INFO] [stdout] 328 | | raw_display_handle, [INFO] [stdout] 329 | | raw_window_handle, [INFO] [stdout] 330 | | None, [INFO] [stdout] 331 | | )?; [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [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/app/engine/rendering_context.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub unsafe fn create_surface(&self, window: &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::surface::::get_physical_device_surface_capabilities` is unsafe and requires unsafe block [INFO] [stdout] --> src/app/engine/rendering_context.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | let capabilities = self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 334 | | .surface_extension [INFO] [stdout] 335 | | .get_physical_device_surface_capabilities(self.physical_device.handle, handle)?; [INFO] [stdout] | |__________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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/app/engine/rendering_context.rs:337:23 [INFO] [stdout] | [INFO] [stdout] 337 | let formats = self [INFO] [stdout] | _______________________^ [INFO] [stdout] 338 | | .surface_extension [INFO] [stdout] 339 | | .get_physical_device_surface_formats(self.physical_device.handle, handle)?; [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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/app/engine/rendering_context.rs:341:29 [INFO] [stdout] | [INFO] [stdout] 341 | let present_modes = self [INFO] [stdout] | _____________________________^ [INFO] [stdout] 342 | | .surface_extension [INFO] [stdout] 343 | | .get_physical_device_surface_present_modes(self.physical_device.handle, handle)?; [INFO] [stdout] | |___________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swapchain_extent` [INFO] [stdout] --> src/app/engine/rendering_context.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | swapchain_extent: vk::Extent2D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_swapchain_extent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/app/engine/mod.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | WindowEvent::Resized(size) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secondary_window` [INFO] [stdout] --> src/app/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let secondary_window = engine [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secondary_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app/mod.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn suspended(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_flight_frames_count` is never read [INFO] [stdout] --> src/app/engine/renderer/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | in_flight_frames_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> src/app/engine/renderer/swapchain.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | window: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resize` is never used [INFO] [stdout] --> src/app/engine/renderer/swapchain.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Swapchain { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn resize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `features` and `memory_properties` are never read [INFO] [stdout] --> src/app/engine/rendering_context.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PhysicalDevice { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub features: vk::PhysicalDeviceFeatures, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub memory_properties: vk::PhysicalDeviceMemoryProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalDevice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `present_modes` is never read [INFO] [stdout] --> src/app/engine/rendering_context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Surface { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub present_modes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `queue_family_indices` and `attributes` are never read [INFO] [stdout] --> src/app/engine/rendering_context.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RenderingContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub queue_family_indices: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub attributes: RenderingContextAttributes, [INFO] [stdout] | ^^^^^^^^^^ [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_window::create_surface` is unsafe and requires unsafe block [INFO] [stdout] --> src/app/engine/rendering_context.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | let handle = ash_window::create_surface( [INFO] [stdout] | ______________________^ [INFO] [stdout] 326 | | &self.entry, [INFO] [stdout] 327 | | &self.instance, [INFO] [stdout] 328 | | raw_display_handle, [INFO] [stdout] 329 | | raw_window_handle, [INFO] [stdout] 330 | | None, [INFO] [stdout] 331 | | )?; [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [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/app/engine/rendering_context.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub unsafe fn create_surface(&self, window: &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ash::extensions::khr::surface::::get_physical_device_surface_capabilities` is unsafe and requires unsafe block [INFO] [stdout] --> src/app/engine/rendering_context.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | let capabilities = self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 334 | | .surface_extension [INFO] [stdout] 335 | | .get_physical_device_surface_capabilities(self.physical_device.handle, handle)?; [INFO] [stdout] | |__________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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/app/engine/rendering_context.rs:337:23 [INFO] [stdout] | [INFO] [stdout] 337 | let formats = self [INFO] [stdout] | _______________________^ [INFO] [stdout] 338 | | .surface_extension [INFO] [stdout] 339 | | .get_physical_device_surface_formats(self.physical_device.handle, handle)?; [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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/app/engine/rendering_context.rs:341:29 [INFO] [stdout] | [INFO] [stdout] 341 | let present_modes = self [INFO] [stdout] | _____________________________^ [INFO] [stdout] 342 | | .surface_extension [INFO] [stdout] 343 | | .get_physical_device_surface_present_modes(self.physical_device.handle, handle)?; [INFO] [stdout] | |___________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swapchain_extent` [INFO] [stdout] --> src/app/engine/rendering_context.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | swapchain_extent: vk::Extent2D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_swapchain_extent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/app/engine/mod.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | WindowEvent::Resized(size) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secondary_window` [INFO] [stdout] --> src/app/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let secondary_window = engine [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secondary_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app/mod.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn suspended(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_flight_frames_count` is never read [INFO] [stdout] --> src/app/engine/renderer/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | in_flight_frames_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> src/app/engine/renderer/swapchain.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | window: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resize` is never used [INFO] [stdout] --> src/app/engine/renderer/swapchain.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Swapchain { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn resize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `features` and `memory_properties` are never read [INFO] [stdout] --> src/app/engine/rendering_context.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PhysicalDevice { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub features: vk::PhysicalDeviceFeatures, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub memory_properties: vk::PhysicalDeviceMemoryProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalDevice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `present_modes` is never read [INFO] [stdout] --> src/app/engine/rendering_context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Surface { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub present_modes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `queue_family_indices` and `attributes` are never read [INFO] [stdout] --> src/app/engine/rendering_context.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RenderingContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub queue_family_indices: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub attributes: RenderingContextAttributes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.78s [INFO] running `Command { std: "docker" "inspect" "edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6", kill_on_drop: false }` [INFO] [stdout] edfcd9ccd70119a9a5e3c6709f6282aacdcf4a4865e61eaf7ee6202af6bf61f6