[INFO] cloning repository https://github.com/oreqizer/minecraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oreqizer/minecraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foreqizer%2Fminecraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foreqizer%2Fminecraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf355329e199f75f683495c25ab6ba7169a6a31c [INFO] checking oreqizer/minecraft against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foreqizer%2Fminecraft" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oreqizer/minecraft on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oreqizer/minecraft [INFO] finished tweaking git repo https://github.com/oreqizer/minecraft [INFO] tweaked toml for git repo https://github.com/oreqizer/minecraft written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/oreqizer/minecraft 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raw-window-metal v0.1.2 [INFO] [stderr] Downloaded ash-window v0.6.0 [INFO] [stderr] Downloaded ash v0.32.1 [INFO] [stderr] Downloaded libc v0.2.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 070af01ed4966a57b509e51c5f3016c1971b52c8f28fae244f2a563cdfceae20 [INFO] running `Command { std: "docker" "start" "-a" "070af01ed4966a57b509e51c5f3016c1971b52c8f28fae244f2a563cdfceae20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "070af01ed4966a57b509e51c5f3016c1971b52c8f28fae244f2a563cdfceae20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "070af01ed4966a57b509e51c5f3016c1971b52c8f28fae244f2a563cdfceae20", kill_on_drop: false }` [INFO] [stdout] 070af01ed4966a57b509e51c5f3016c1971b52c8f28fae244f2a563cdfceae20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7fd625b9b4fc9520b11dca1e0bcdd331a2e6ea9435717c938ace785e1642a15 [INFO] running `Command { std: "docker" "start" "-a" "b7fd625b9b4fc9520b11dca1e0bcdd331a2e6ea9435717c938ace785e1642a15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking nom v6.1.2 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking wayland-client v0.28.5 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-protocols v0.28.5 [INFO] [stderr] Checking ash-window v0.6.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking minecraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut app = App::new(); [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: field `vulkan` is never read [INFO] [stdout] --> src/app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | vulkan: Vulkan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/input.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `virtual_keycode`, and `state` are never read [INFO] [stdout] --> src/game/input.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | Key { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 11 | code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | virtual_keycode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `button` and `state` are never read [INFO] [stdout] --> src/game/input.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | MouseButton { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 16 | button: MouseButton, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/input.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta(i32, i32), [INFO] [stdout] | ---------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/game/input.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Controls { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | // keys [INFO] [stdout] 24 | pub forward: bool, // W [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | pub back: bool, // S [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub left: bool, // A [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub right: bool, // D [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub up: bool, // Space [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub down: bool, // Shift [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | // mouse [INFO] [stdout] 31 | pub mb_left: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub mb_right: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub mouse_position: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub mouse_delta: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_pass` is never read [INFO] [stdout] --> src/gfx/renderers/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | render_pass: vk::RenderPass, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gfx/renderers/block.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(vulkan: &Vulkan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `present_images` is never read [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | present_images: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device`, `swapchain`, `swapchain_loader`, `present_images`, and `present_image_views` are never used [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Swapchain { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn device(&self) -> &Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn swapchain(&self) -> vk::SwapchainKHR { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn swapchain_loader(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn present_images(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn present_image_views(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window`, `surface_format`, `physical_device`, and `present_queue` are never read [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Vulkan { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | surface_format: vk::SurfaceFormatKHR, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | physical_device: vk::PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | device: Arc, [INFO] [stdout] 31 | present_queue: vk::Queue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_device`, `surface_format`, `create_shader_module`, and `recreate_swapchain` are never used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Vulkan { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn clone_device(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn surface_format(&self) -> vk::SurfaceFormatKHR { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn create_shader_module(&self, file: &mut Cursor<&[u8]>) -> vk::ShaderModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn recreate_swapchain(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/world/block.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | self.device.device_wait_idle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = self.device.device_wait_idle(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut app = App::new(); [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vulkan` is never read [INFO] [stdout] --> src/app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | vulkan: Vulkan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/input.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `virtual_keycode`, and `state` are never read [INFO] [stdout] --> src/game/input.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | Key { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 11 | code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | virtual_keycode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `button` and `state` are never read [INFO] [stdout] --> src/game/input.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | MouseButton { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 16 | button: MouseButton, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/input.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta(i32, i32), [INFO] [stdout] | ---------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/game/input.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Controls { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | // keys [INFO] [stdout] 24 | pub forward: bool, // W [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | pub back: bool, // S [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub left: bool, // A [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub right: bool, // D [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub up: bool, // Space [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub down: bool, // Shift [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | // mouse [INFO] [stdout] 31 | pub mb_left: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub mb_right: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub mouse_position: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub mouse_delta: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_pass` is never read [INFO] [stdout] --> src/gfx/renderers/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | render_pass: vk::RenderPass, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gfx/renderers/block.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(vulkan: &Vulkan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `present_images` is never read [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | present_images: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device`, `swapchain`, `swapchain_loader`, `present_images`, and `present_image_views` are never used [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Swapchain { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn device(&self) -> &Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn swapchain(&self) -> vk::SwapchainKHR { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn swapchain_loader(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn present_images(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn present_image_views(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window`, `surface_format`, `physical_device`, and `present_queue` are never read [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Vulkan { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | surface_format: vk::SurfaceFormatKHR, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | physical_device: vk::PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | device: Arc, [INFO] [stdout] 31 | present_queue: vk::Queue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_device`, `surface_format`, `create_shader_module`, and `recreate_swapchain` are never used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Vulkan { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn clone_device(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn surface_format(&self) -> vk::SurfaceFormatKHR { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn create_shader_module(&self, file: &mut Cursor<&[u8]>) -> vk::ShaderModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn recreate_swapchain(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/world/block.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | self.device.device_wait_idle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = self.device.device_wait_idle(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "b7fd625b9b4fc9520b11dca1e0bcdd331a2e6ea9435717c938ace785e1642a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fd625b9b4fc9520b11dca1e0bcdd331a2e6ea9435717c938ace785e1642a15", kill_on_drop: false }` [INFO] [stdout] b7fd625b9b4fc9520b11dca1e0bcdd331a2e6ea9435717c938ace785e1642a15 [INFO] checking oreqizer/minecraft against try#8d9ad7790f77ffaa434059a58807949d4583c045 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foreqizer%2Fminecraft" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oreqizer/minecraft on toolchain 8d9ad7790f77ffaa434059a58807949d4583c045 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oreqizer/minecraft [INFO] finished tweaking git repo https://github.com/oreqizer/minecraft [INFO] tweaked toml for git repo https://github.com/oreqizer/minecraft written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oreqizer/minecraft 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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71f4768793cd7af5dcbffe16d5fe3f791bb470aca1e504fa59dfc7004c886014 [INFO] running `Command { std: "docker" "start" "-a" "71f4768793cd7af5dcbffe16d5fe3f791bb470aca1e504fa59dfc7004c886014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71f4768793cd7af5dcbffe16d5fe3f791bb470aca1e504fa59dfc7004c886014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f4768793cd7af5dcbffe16d5fe3f791bb470aca1e504fa59dfc7004c886014", kill_on_drop: false }` [INFO] [stdout] 71f4768793cd7af5dcbffe16d5fe3f791bb470aca1e504fa59dfc7004c886014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c97d2e6574aeeb3505322420d6ed0b52ab16e867e1dc6cd539d119302f476c4e [INFO] running `Command { std: "docker" "start" "-a" "c97d2e6574aeeb3505322420d6ed0b52ab16e867e1dc6cd539d119302f476c4e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking nom v6.1.2 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking wayland-client v0.28.5 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-protocols v0.28.5 [INFO] [stderr] Checking ash-window v0.6.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking minecraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut app = App::new(); [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: field `vulkan` is never read [INFO] [stdout] --> src/app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | vulkan: Vulkan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/input.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `virtual_keycode`, and `state` are never read [INFO] [stdout] --> src/game/input.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | Key { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 11 | code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | virtual_keycode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `button` and `state` are never read [INFO] [stdout] --> src/game/input.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | MouseButton { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 16 | button: MouseButton, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/input.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta(i32, i32), [INFO] [stdout] | ---------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/game/input.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Controls { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | // keys [INFO] [stdout] 24 | pub forward: bool, // W [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | pub back: bool, // S [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub left: bool, // A [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub right: bool, // D [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub up: bool, // Space [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub down: bool, // Shift [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | // mouse [INFO] [stdout] 31 | pub mb_left: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub mb_right: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub mouse_position: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub mouse_delta: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_pass` is never read [INFO] [stdout] --> src/gfx/renderers/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | render_pass: vk::RenderPass, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gfx/renderers/block.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(vulkan: &Vulkan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `present_images` is never read [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | present_images: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device`, `swapchain`, `swapchain_loader`, `present_images`, and `present_image_views` are never used [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Swapchain { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn device(&self) -> &Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn swapchain(&self) -> vk::SwapchainKHR { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn swapchain_loader(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn present_images(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn present_image_views(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window`, `surface_format`, `physical_device`, and `present_queue` are never read [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Vulkan { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | surface_format: vk::SurfaceFormatKHR, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | physical_device: vk::PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | device: Arc, [INFO] [stdout] 31 | present_queue: vk::Queue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_device`, `surface_format`, `create_shader_module`, and `recreate_swapchain` are never used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Vulkan { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn clone_device(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn surface_format(&self) -> vk::SurfaceFormatKHR { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn create_shader_module(&self, file: &mut Cursor<&[u8]>) -> vk::ShaderModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn recreate_swapchain(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/world/block.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | self.device.device_wait_idle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = self.device.device_wait_idle(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut app = App::new(); [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: field `vulkan` is never read [INFO] [stdout] --> src/app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | vulkan: Vulkan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/input.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `virtual_keycode`, and `state` are never read [INFO] [stdout] --> src/game/input.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | Key { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 11 | code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | virtual_keycode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `button` and `state` are never read [INFO] [stdout] --> src/game/input.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | MouseButton { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 16 | button: MouseButton, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | state: ElementState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game/input.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta(i32, i32), [INFO] [stdout] | ---------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 | MouseDelta((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/game/input.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Controls { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | // keys [INFO] [stdout] 24 | pub forward: bool, // W [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | pub back: bool, // S [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub left: bool, // A [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub right: bool, // D [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub up: bool, // Space [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub down: bool, // Shift [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | // mouse [INFO] [stdout] 31 | pub mb_left: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub mb_right: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub mouse_position: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub mouse_delta: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_pass` is never read [INFO] [stdout] --> src/gfx/renderers/block.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | render_pass: vk::RenderPass, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gfx/renderers/block.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(vulkan: &Vulkan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `present_images` is never read [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | present_images: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device`, `swapchain`, `swapchain_loader`, `present_images`, and `present_image_views` are never used [INFO] [stdout] --> src/gfx/vulkan/swapchain.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Swapchain { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn device(&self) -> &Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn swapchain(&self) -> vk::SwapchainKHR { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn swapchain_loader(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn present_images(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn present_image_views(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window`, `surface_format`, `physical_device`, and `present_queue` are never read [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Vulkan { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | surface_format: vk::SurfaceFormatKHR, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | physical_device: vk::PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | device: Arc, [INFO] [stdout] 31 | present_queue: vk::Queue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_device`, `surface_format`, `create_shader_module`, and `recreate_swapchain` are never used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Vulkan { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn clone_device(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn surface_format(&self) -> vk::SurfaceFormatKHR { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn create_shader_module(&self, file: &mut Cursor<&[u8]>) -> vk::ShaderModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn recreate_swapchain(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/world/block.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gfx/vulkan/vulkan.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | self.device.device_wait_idle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = self.device.device_wait_idle(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c97d2e6574aeeb3505322420d6ed0b52ab16e867e1dc6cd539d119302f476c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97d2e6574aeeb3505322420d6ed0b52ab16e867e1dc6cd539d119302f476c4e", kill_on_drop: false }` [INFO] [stdout] c97d2e6574aeeb3505322420d6ed0b52ab16e867e1dc6cd539d119302f476c4e