[INFO] cloning repository https://github.com/HugoGallagher/vrg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HugoGallagher/vrg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHugoGallagher%2Fvrg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHugoGallagher%2Fvrg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64fbf5378f25a453cc6df513b07aec086da8774d [INFO] checking HugoGallagher/vrg against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHugoGallagher%2Fvrg" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HugoGallagher/vrg on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HugoGallagher/vrg [INFO] finished tweaking git repo https://github.com/HugoGallagher/vrg [INFO] tweaked toml for git repo https://github.com/HugoGallagher/vrg written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HugoGallagher/vrg 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vk-mem v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 364ae3d2663d8e33adcee260efe642a48fa33ce880b69a66be712cf9cf697749 [INFO] running `Command { std: "docker" "start" "-a" "364ae3d2663d8e33adcee260efe642a48fa33ce880b69a66be712cf9cf697749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "364ae3d2663d8e33adcee260efe642a48fa33ce880b69a66be712cf9cf697749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "364ae3d2663d8e33adcee260efe642a48fa33ce880b69a66be712cf9cf697749", kill_on_drop: false }` [INFO] [stdout] 364ae3d2663d8e33adcee260efe642a48fa33ce880b69a66be712cf9cf697749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60e394256bb2f094fd64bb2c95b48efefb232eb3eafad1aebc666e7193e5e4b9 [INFO] running `Command { std: "docker" "start" "-a" "60e394256bb2f094fd64bb2c95b48efefb232eb3eafad1aebc666e7193e5e4b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling vk-mem v0.4.0 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tiny-skia v0.8.4 [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 thiserror-impl v1.0.63 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking ash-window v0.12.0 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking vrg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/math/quat.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math::vec::{Vec3, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_pass::ComputePassBuilder` and `self` [INFO] [stdout] --> src/util/draw_to_screen.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{compute_pass::ComputePassBuilder, descriptors::CreationReference, graphics_pass::{GraphicsPassBuilder, GraphicsPassDrawInfo}, layer::{self, P... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/vertex_buffer.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/vertex_buffer.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::buffer::{self, Buffer, BufferBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/layer.rs:3:180 [INFO] [stdout] | [INFO] [stdout] 3 | ...maphore, shader::ShaderType, util::graph::Graph, vertex_buffer::{self, VertexAttributes}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ash::vk::make_version`: This define is deprecated. VK_MAKE_API_VERSION should be used instead. [INFO] [stdout] --> src/core.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | .api_version(vk::make_version(1, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> src/math/quat.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math::vec::{Vec3, Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_pass::ComputePassBuilder` and `self` [INFO] [stdout] --> src/util/draw_to_screen.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{compute_pass::ComputePassBuilder, descriptors::CreationReference, graphics_pass::{GraphicsPassBuilder, GraphicsPassDrawInfo}, layer::{self, P... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/vertex_buffer.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/vertex_buffer.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::buffer::{self, Buffer, BufferBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/layer.rs:3:180 [INFO] [stdout] | [INFO] [stdout] 3 | ...maphore, shader::ShaderType, util::graph::Graph, vertex_buffer::{self, VertexAttributes}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ash::vk::make_version`: This define is deprecated. VK_MAKE_API_VERSION should be used instead. [INFO] [stdout] --> src/core.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | .api_version(vk::make_version(1, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/device.rs:34:109 [INFO] [stdout] | [INFO] [stdout] 34 | let queue_index_properties_present = queue_family_properties.iter().enumerate().filter(|(i, ref q)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/device.rs:37:99 [INFO] [stdout] | [INFO] [stdout] 37 | let queue_index_properties_main = queue_family_properties.iter().enumerate().filter(|(i, ref q)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/device.rs:40:100 [INFO] [stdout] | [INFO] [stdout] 40 | let queue_index_properties_async = queue_family_properties.iter().enumerate().filter(|(i, ref q)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/buffer.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | pub unsafe fn fill(&self, d: &Device, data: &Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/buffer.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn fill_from_ptr(&self, d: &Device, p: *const c_void, s: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/image.rs:236:52 [INFO] [stdout] | [INFO] [stdout] 236 | image_creation_commands.record_all(d, |i, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut image: vk::Image; [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: `c` [INFO] [stdout] --> src/sampler.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe fn new(c: &Core, d: &Device, img: &ImageData) -> Sampler { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vb` [INFO] [stdout] --> src/vertex_buffer.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(vb) = self.vertex_buffer { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ib` [INFO] [stdout] --> src/vertex_buffer.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | if let Some(ib) = self.index_buffer { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/storage_descriptor.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn build(&self, c: &Core, d: &Device, binding: u32, sets: &Vec) -> StorageDescriptor { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/uniform_descriptor.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn build(&self, c: &Core, d: &Device, binding: u32, sets: &Vec) -> UniformDescriptor { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/image_descriptor.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe fn new(c: &Core, d: &Device, binding: u32, images: &Vec, sets: &Vec) -> ImageDescriptor { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/sampler_descriptor.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn new(c: &Core, d: &Device, binding: u32, images: &Vec, samplers: &Vec, sets: &Vec... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/framebuffer.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let (width, height) = match extent { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/framebuffer.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let (width, height) = match extent { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/compute_pipeline.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn new(c: &Core, d: &Device, descriptor_set_layout: Option, push_constant: Option<&PushConstant>,... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/renderer_data.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn add_images_raw(&mut self, c: &Core, d: &Device, name: &str, images: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/renderer_data.rs:47:55 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn add_images_raw(&mut self, c: &Core, d: &Device, name: &str, images: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/layer.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn new(c: &Core, d: &Device, count: usize, present: bool, exec: LayerExecution) -> Layer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/layer.rs:233:55 [INFO] [stdout] | [INFO] [stdout] 233 | ... ResourceReference::Buffer(index) => { [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/layer.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let mut buffer_memory_barriers = Vec::::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debug_utils_init` and `debug_callback` are never read [INFO] [stdout] --> src/core.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Core { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | debug_utils_init: DebugUtils, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | debug_callback: vk::DebugUtilsMessengerEXT, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/device.rs:34:109 [INFO] [stdout] | [INFO] [stdout] 34 | let queue_index_properties_present = queue_family_properties.iter().enumerate().filter(|(i, ref q)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/device.rs:37:99 [INFO] [stdout] | [INFO] [stdout] 37 | let queue_index_properties_main = queue_family_properties.iter().enumerate().filter(|(i, ref q)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/device.rs:40:100 [INFO] [stdout] | [INFO] [stdout] 40 | let queue_index_properties_async = queue_family_properties.iter().enumerate().filter(|(i, ref q)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/buffer.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | pub unsafe fn fill(&self, d: &Device, data: &Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/buffer.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn fill_from_ptr(&self, d: &Device, p: *const c_void, s: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/image.rs:236:52 [INFO] [stdout] | [INFO] [stdout] 236 | image_creation_commands.record_all(d, |i, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut image: vk::Image; [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: `c` [INFO] [stdout] --> src/sampler.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe fn new(c: &Core, d: &Device, img: &ImageData) -> Sampler { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vb` [INFO] [stdout] --> src/vertex_buffer.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(vb) = self.vertex_buffer { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ib` [INFO] [stdout] --> src/vertex_buffer.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | if let Some(ib) = self.index_buffer { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/storage_descriptor.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn build(&self, c: &Core, d: &Device, binding: u32, sets: &Vec) -> StorageDescriptor { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/uniform_descriptor.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn build(&self, c: &Core, d: &Device, binding: u32, sets: &Vec) -> UniformDescriptor { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/image_descriptor.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe fn new(c: &Core, d: &Device, binding: u32, images: &Vec, sets: &Vec) -> ImageDescriptor { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/descriptors/sampler_descriptor.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn new(c: &Core, d: &Device, binding: u32, images: &Vec, samplers: &Vec, sets: &Vec... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/framebuffer.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let (width, height) = match extent { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/framebuffer.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let (width, height) = match extent { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/compute_pipeline.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn new(c: &Core, d: &Device, descriptor_set_layout: Option, push_constant: Option<&PushConstant>,... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/renderer_data.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn add_images_raw(&mut self, c: &Core, d: &Device, name: &str, images: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/renderer_data.rs:47:55 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn add_images_raw(&mut self, c: &Core, d: &Device, name: &str, images: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/layer.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn new(c: &Core, d: &Device, count: usize, present: bool, exec: LayerExecution) -> Layer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/layer.rs:233:55 [INFO] [stdout] | [INFO] [stdout] 233 | ... ResourceReference::Buffer(index) => { [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/layer.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let mut buffer_memory_barriers = Vec::::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debug_utils_init` and `debug_callback` are never read [INFO] [stdout] --> src/core.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Core { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | debug_utils_init: DebugUtils, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | debug_callback: vk::DebugUtilsMessengerEXT, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.96s [INFO] running `Command { std: "docker" "inspect" "60e394256bb2f094fd64bb2c95b48efefb232eb3eafad1aebc666e7193e5e4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e394256bb2f094fd64bb2c95b48efefb232eb3eafad1aebc666e7193e5e4b9", kill_on_drop: false }` [INFO] [stdout] 60e394256bb2f094fd64bb2c95b48efefb232eb3eafad1aebc666e7193e5e4b9