[INFO] cloning repository https://github.com/GummyGun/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GummyGun/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGummyGun%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGummyGun%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8511c52194a8898615412891d961ba32ad0c24e7 [INFO] checking GummyGun/rust/8511c52194a8898615412891d961ba32ad0c24e7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGummyGun%2Frust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GummyGun/rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GummyGun/rust [INFO] finished tweaking git repo https://github.com/GummyGun/rust [INFO] tweaked toml for git repo https://github.com/GummyGun/rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GummyGun/rust 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v4.0.1 [INFO] [stderr] Downloaded chlorine v1.0.10 [INFO] [stderr] Downloaded ahash v0.8.9 [INFO] [stderr] Downloaded cstr v0.2.11 [INFO] [stderr] Downloaded imgui-sdl2 v0.15.3 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded imgui-rs-vulkan-renderer v1.12.0 [INFO] [stderr] Downloaded imgui v0.11.0 [INFO] [stderr] Downloaded sdl2 v0.36.0 [INFO] [stderr] Downloaded nalgebra v0.32.4 [INFO] [stderr] Downloaded imgui-sys v0.11.0 [INFO] [stderr] Downloaded sdl2-sys v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af5580a7243f95a00b678de1114040ef02deaa321dda6f27324b6fedf37a51fa [INFO] running `Command { std: "docker" "start" "-a" "af5580a7243f95a00b678de1114040ef02deaa321dda6f27324b6fedf37a51fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af5580a7243f95a00b678de1114040ef02deaa321dda6f27324b6fedf37a51fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af5580a7243f95a00b678de1114040ef02deaa321dda6f27324b6fedf37a51fa", kill_on_drop: false }` [INFO] [stdout] af5580a7243f95a00b678de1114040ef02deaa321dda6f27324b6fedf37a51fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a98e89501f21f2355e97538a4a18ebd9948e092c2c7adc16c1236fa8b9761440 [INFO] running `Command { std: "docker" "start" "-a" "a98e89501f21f2355e97538a4a18ebd9948e092c2c7adc16c1236fa8b9761440", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking presser v0.3.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling cstr v0.2.11 [INFO] [stderr] Compiling imgui-sys v0.11.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking tobj v4.0.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking gpu-allocator v0.25.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking gltf-json v1.4.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking gltf v1.4.0 [INFO] [stderr] Checking nalgebra v0.32.4 [INFO] [stderr] Checking imgui v0.11.0 [INFO] [stderr] Checking imgui-sdl2 v0.15.3 [INFO] [stderr] Checking imgui-rs-vulkan-renderer v1.12.0 [INFO] [stderr] Checking nalgebra-glm v0.18.0 [INFO] [stderr] Checking c_bind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `holder` [INFO] [stdout] --> src/vulkan/init/memory.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let holder = cmd_ctrl.run_su_buffer(device, &mut |device, cmd|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_holder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `holder` [INFO] [stdout] --> src/vulkan/init/memory.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let holder = cmd_ctrl.run_su_buffer(device, &mut |device, cmd|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_holder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copy_state` [INFO] [stdout] --> src/vulkan/init/image.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let copy_state = cmd_ctrl.run_su_buffer(device, &mut |device, cmd|{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_copy_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn build(mut self, device:&mut Device) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | self.build_internals(device).map(|(pipeline, layout)|pipeline) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn build_raw(mut self, device:&mut Device) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copy_state` [INFO] [stdout] --> src/vulkan/init/image.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let copy_state = cmd_ctrl.run_su_buffer(device, &mut |device, cmd|{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_copy_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/vulkan/init/buffer.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe{allocator.free(ManuallyDrop::into_inner(self.allocation)).expect(GPU_FREE)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/init/buffer.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | fn internal_destroy(mut self, device:&mut Device, allocator:&mut Allocator) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vulkan/graphics/mesh.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | for (index, pos) in positions.enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn build(mut self, device:&mut Device) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | self.build_internals(device).map(|(pipeline, layout)|pipeline) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn build_raw(mut self, device:&mut Device) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/vulkan/init/buffer.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe{allocator.free(ManuallyDrop::into_inner(self.allocation)).expect(GPU_FREE)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/init/buffer.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | fn internal_destroy(mut self, device:&mut Device, allocator:&mut Allocator) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | error_texture: texture, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixelated_sampler` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | pixelated_sampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `pixelated_sampler: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_descriptor_layout` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | texture_descriptor_layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `texture_descriptor_layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vulkan/graphics/mesh.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | for (index, pos) in positions.enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rendering_info` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let rendering_info = pipeline::rendering_info(extent, &color_attachment_info, Some(&depth_attachment_info)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rendering_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewport` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let viewport = vk::Viewport::builder() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scissor` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let scissor = vk::Rect2D::from(extent); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scissor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | device: &mut Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | cmd: vk::CommandBuffer, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_types_in_layout` [INFO] [stdout] --> src/vulkan/materials/metalic.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | ...or_layout, material_types_in_layout) = layout_builder.build(device, vk::ShaderStageFlags::FRAGMENT|vk::ShaderStageFlags::VERTEX)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_types_in_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | error_texture: texture, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixelated_sampler` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | pixelated_sampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `pixelated_sampler: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_descriptor_layout` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | texture_descriptor_layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `texture_descriptor_layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/materials/metalic.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | fn internal_destroy(mut self, device: &mut Device) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_image` [INFO] [stdout] --> src/vulkan/mod.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | let (render_image, depth_image) = canvas.get_images(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_image` [INFO] [stdout] --> src/vulkan/mod.rs:156:28 [INFO] [stdout] | [INFO] [stdout] 156 | let (render_image, depth_image) = canvas.get_images(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/vulkan/mod.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn gui_tick(&mut self, data:&InputData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rendering_info` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let rendering_info = pipeline::rendering_info(extent, &color_attachment_info, Some(&depth_attachment_info)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rendering_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewport` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let viewport = vk::Viewport::builder() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scissor` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let scissor = vk::Rect2D::from(extent); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scissor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | device: &mut Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/vulkan/graphics/mod.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | cmd: vk::CommandBuffer, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui_data` [INFO] [stdout] --> src/gui/mod.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let (context, platform, ui_data) = self.get_common_mut(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_types_in_layout` [INFO] [stdout] --> src/vulkan/materials/metalic.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | ...or_layout, material_types_in_layout) = layout_builder.build(device, vk::ShaderStageFlags::FRAGMENT|vk::ShaderStageFlags::VERTEX)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_types_in_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkan/materials/metalic.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | fn internal_destroy(mut self, device: &mut Device) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_image` [INFO] [stdout] --> src/vulkan/mod.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | let (render_image, depth_image) = canvas.get_images(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_image` [INFO] [stdout] --> src/vulkan/mod.rs:156:28 [INFO] [stdout] | [INFO] [stdout] 156 | let (render_image, depth_image) = canvas.get_images(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/vulkan/mod.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn gui_tick(&mut self, data:&InputData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui_data` [INFO] [stdout] --> src/gui/mod.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let (context, platform, ui_data) = self.get_common_mut(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `r_object::Node` is more private than the item `RenderableNode::Node::0` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Node(Node), [INFO] [stdout] | ^^^^ field `RenderableNode::Node::0` is reachable at visibility `pub(graphics)` [INFO] [stdout] | [INFO] [stdout] note: but type `r_object::Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MeshNode` is more private than the item `RenderableNode::MeshNode::0` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | MeshNode(MeshNode), [INFO] [stdout] | ^^^^^^^^ field `RenderableNode::MeshNode::0` is reachable at visibility `pub(graphics)` [INFO] [stdout] | [INFO] [stdout] note: but type `MeshNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | struct MeshNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel_dimensions` is never used [INFO] [stdout] --> src/window/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_pixel_dimensions(&self) -> (u32,u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory_properties` and `properties` are never read [INFO] [stdout] --> src/vulkan/init/p_device.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PDevice { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub memory_properties: vk::PhysicalDeviceMemoryProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub properties: vk::PhysicalDeviceProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_count` is never read [INFO] [stdout] --> src/vulkan/init/swapchain.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 30 | pub image_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `texture` is never used [INFO] [stdout] --> src/vulkan/init/image.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl ImageMetadata { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 81 | pub fn texture(name:&'static str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_extent2d` and `copy_from_image` are never used [INFO] [stdout] --> src/vulkan/init/image.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_extent2d(&self) -> vk::Extent2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn copy_from_image(&mut self, device:&Device, cmd:vk::CommandBuffer, src:Image) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/vulkan/init/descriptors.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl DescriptorLayoutBuilder { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `max_sets` and `fill_pool_sizes` are never used [INFO] [stdout] --> src/vulkan/init/descriptors.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl DescriptorPoolCount { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn max_sets(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn fill_pool_sizes(&self, target:&mut [vk::DescriptorPoolSize; DESCRIPTOR_TYPE_COUNT]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/vulkan/init/descriptors.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 470 | impl DescriptorWriter { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 471 | pub fn create() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `underlying` is never used [INFO] [stdout] --> src/macros.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl $base { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 39 | pub fn underlying(&self) -> $ret_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vulkan/init/g_pipeline.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | macros::impl_underlying!(GPipeline, vk::Pipeline, pipeline); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `macros::impl_underlying` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_mesh_pipeline` is never used [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn init_mesh_pipeline(device:&mut Device, render_image:&Image, depth_image:&Image, texture_descriptor:&DescriptorLayout) -> GPipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build`, `clear`, `set_vertex_input_state`, and `set_blending_alphablend` are never used [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl GPipelineBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn build(mut self, device:&mut Device) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn clear(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn set_vertex_input_state(&mut self, input_binding:&[vk::VertexInputBindingDescription], vertex_attribute:&[vk::VertexInputAttrib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn set_blending_alphablend(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_dispatchable` is never used [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl GPipeline { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 356 | pub fn get_dispatchable(&self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_scene` and `subresource_range` are never used [INFO] [stdout] --> src/vulkan/graphics/mod.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl VInit { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn draw_scene( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn subresource_range(aspect:vk::ImageAspectFlags) -> vk::ImageSubresourceRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_references` is never used [INFO] [stdout] --> src/vulkan/graphics/frame.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 45 | impl FrameData { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub(in self) fn get_references(&mut self) -> (&mut GDescriptorAllocator, &mut DestructionStack) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_references` is never used [INFO] [stdout] --> src/vulkan/graphics/frame.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl FramesData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_references(&mut self, frame: usize) -> (&mut GDescriptorAllocator, &mut DestructionStack) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Node` and `MeshNode` are never constructed [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum RenderableNode { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 32 | Node(Node), [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | MeshNode(MeshNode), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `surfaces`, and `meshes` are never read [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MeshAssetMetadata { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 50 | pub name: ArrayString<64>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub surfaces: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub meshes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshAssetMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destruct` is never used [INFO] [stdout] --> src/vulkan/objects/d_stack.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl DestructionStack { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn destruct(&mut self, mut args:VkDestructorArguments) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Transparent` and `Other` are never constructed [INFO] [stdout] --> src/vulkan/materials/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum MaterialPass { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 47 | MainColor, [INFO] [stdout] 48 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaterialPass` 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: associated function `clear_resources` is never used [INFO] [stdout] --> src/vulkan/materials/metalic.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MetalicMaterial { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn clear_resources() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_index` and `push_constants` are never read [INFO] [stdout] --> src/gui/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct InputData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub background_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub push_constants: ComputePushConstants, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComputeEffectMetadata` is never constructed [INFO] [stdout] --> src/graphics/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComputeEffectMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputeEffectMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_index` and `count` are never read [INFO] [stdout] --> src/graphics/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct GeoSurface { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 65 | pub start_index: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeoSurface` 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 `surfaces` is never read [INFO] [stdout] --> src/graphics/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct MeshAssetMetadata { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 72 | pub name: ArrayString<64>, [INFO] [stdout] 73 | pub surfaces: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshAssetMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `r_object::Node` is more private than the item `RenderableNode::Node::0` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Node(Node), [INFO] [stdout] | ^^^^ field `RenderableNode::Node::0` is reachable at visibility `pub(graphics)` [INFO] [stdout] | [INFO] [stdout] note: but type `r_object::Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MeshNode` is more private than the item `RenderableNode::MeshNode::0` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | MeshNode(MeshNode), [INFO] [stdout] | ^^^^^^^^ field `RenderableNode::MeshNode::0` is reachable at visibility `pub(graphics)` [INFO] [stdout] | [INFO] [stdout] note: but type `MeshNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | struct MeshNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel_dimensions` is never used [INFO] [stdout] --> src/window/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_pixel_dimensions(&self) -> (u32,u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory_properties` and `properties` are never read [INFO] [stdout] --> src/vulkan/init/p_device.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PDevice { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub memory_properties: vk::PhysicalDeviceMemoryProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub properties: vk::PhysicalDeviceProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_count` is never read [INFO] [stdout] --> src/vulkan/init/swapchain.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 30 | pub image_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `texture` is never used [INFO] [stdout] --> src/vulkan/init/image.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl ImageMetadata { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 81 | pub fn texture(name:&'static str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_extent2d` and `copy_from_image` are never used [INFO] [stdout] --> src/vulkan/init/image.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_extent2d(&self) -> vk::Extent2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn copy_from_image(&mut self, device:&Device, cmd:vk::CommandBuffer, src:Image) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/vulkan/init/descriptors.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl DescriptorLayoutBuilder { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `max_sets` and `fill_pool_sizes` are never used [INFO] [stdout] --> src/vulkan/init/descriptors.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl DescriptorPoolCount { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn max_sets(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn fill_pool_sizes(&self, target:&mut [vk::DescriptorPoolSize; DESCRIPTOR_TYPE_COUNT]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/vulkan/init/descriptors.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 470 | impl DescriptorWriter { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 471 | pub fn create() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `underlying` is never used [INFO] [stdout] --> src/macros.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl $base { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 39 | pub fn underlying(&self) -> $ret_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vulkan/init/g_pipeline.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | macros::impl_underlying!(GPipeline, vk::Pipeline, pipeline); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `macros::impl_underlying` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_mesh_pipeline` is never used [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn init_mesh_pipeline(device:&mut Device, render_image:&Image, depth_image:&Image, texture_descriptor:&DescriptorLayout) -> GPipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build`, `clear`, `set_vertex_input_state`, and `set_blending_alphablend` are never used [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl GPipelineBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn build(mut self, device:&mut Device) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn clear(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn set_vertex_input_state(&mut self, input_binding:&[vk::VertexInputBindingDescription], vertex_attribute:&[vk::VertexInputAttrib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn set_blending_alphablend(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_dispatchable` is never used [INFO] [stdout] --> src/vulkan/init/g_pipeline.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl GPipeline { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 356 | pub fn get_dispatchable(&self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `draw_scene` and `subresource_range` are never used [INFO] [stdout] --> src/vulkan/graphics/mod.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl VInit { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn draw_scene( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn subresource_range(aspect:vk::ImageAspectFlags) -> vk::ImageSubresourceRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_references` is never used [INFO] [stdout] --> src/vulkan/graphics/frame.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 45 | impl FrameData { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub(in self) fn get_references(&mut self) -> (&mut GDescriptorAllocator, &mut DestructionStack) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_references` is never used [INFO] [stdout] --> src/vulkan/graphics/frame.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl FramesData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_references(&mut self, frame: usize) -> (&mut GDescriptorAllocator, &mut DestructionStack) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Node` and `MeshNode` are never constructed [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum RenderableNode { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 32 | Node(Node), [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | MeshNode(MeshNode), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `surfaces`, and `meshes` are never read [INFO] [stdout] --> src/vulkan/graphics/r_object.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MeshAssetMetadata { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 50 | pub name: ArrayString<64>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub surfaces: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub meshes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshAssetMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destruct` is never used [INFO] [stdout] --> src/vulkan/objects/d_stack.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl DestructionStack { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn destruct(&mut self, mut args:VkDestructorArguments) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Transparent` and `Other` are never constructed [INFO] [stdout] --> src/vulkan/materials/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum MaterialPass { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 47 | MainColor, [INFO] [stdout] 48 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaterialPass` 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: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_resources` is never used [INFO] [stdout] --> src/vulkan/materials/metalic.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MetalicMaterial { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn clear_resources() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_index` and `push_constants` are never read [INFO] [stdout] --> src/gui/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct InputData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub background_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub push_constants: ComputePushConstants, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComputeEffectMetadata` is never constructed [INFO] [stdout] --> src/graphics/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComputeEffectMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputeEffectMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_index` and `count` are never read [INFO] [stdout] --> src/graphics/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct GeoSurface { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 65 | pub start_index: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeoSurface` 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 `surfaces` is never read [INFO] [stdout] --> src/graphics/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct MeshAssetMetadata { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 72 | pub name: ArrayString<64>, [INFO] [stdout] 73 | pub surfaces: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshAssetMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.63s [INFO] running `Command { std: "docker" "inspect" "a98e89501f21f2355e97538a4a18ebd9948e092c2c7adc16c1236fa8b9761440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a98e89501f21f2355e97538a4a18ebd9948e092c2c7adc16c1236fa8b9761440", kill_on_drop: false }` [INFO] [stdout] a98e89501f21f2355e97538a4a18ebd9948e092c2c7adc16c1236fa8b9761440