[INFO] cloning repository https://github.com/Mik-pe/rust_shared_glctx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mik-pe/rust_shared_glctx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMik-pe%2Frust_shared_glctx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMik-pe%2Frust_shared_glctx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4768cedd5e6fb169c29a5514732a836b37f68da [INFO] checking Mik-pe/rust_shared_glctx against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMik-pe%2Frust_shared_glctx" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mik-pe/rust_shared_glctx on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mik-pe/rust_shared_glctx [INFO] finished tweaking git repo https://github.com/Mik-pe/rust_shared_glctx [INFO] tweaked toml for git repo https://github.com/Mik-pe/rust_shared_glctx written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Mik-pe/rust_shared_glctx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb25eba0a7a897f351ddfba9d4e02d703f9410fcd01cf482054e7eb9f2319a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ecb25eba0a7a897f351ddfba9d4e02d703f9410fcd01cf482054e7eb9f2319a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb25eba0a7a897f351ddfba9d4e02d703f9410fcd01cf482054e7eb9f2319a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb25eba0a7a897f351ddfba9d4e02d703f9410fcd01cf482054e7eb9f2319a1", kill_on_drop: false }` [INFO] [stdout] ecb25eba0a7a897f351ddfba9d4e02d703f9410fcd01cf482054e7eb9f2319a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c0352d8fd7aa45ef3fcd2d29e2afab18989cc47e3e3034687a251b82dd0598c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5c0352d8fd7aa45ef3fcd2d29e2afab18989cc47e3e3034687a251b82dd0598c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking mikpe_math v0.1.0 (https://github.com/Mik-pe/mikpe_math.git#88e1ee76) [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking erupt v0.15.0+157 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking wayland-sys v0.28.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling wayland-scanner v0.28.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling wayland-client v0.28.1 [INFO] [stderr] Compiling wayland-protocols v0.28.1 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking wayland-commons v0.28.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking wayland-cursor v0.28.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Compiling gltf-derive v0.15.2 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Checking winit v0.23.0 [INFO] [stderr] Checking gltf-json v0.15.2 [INFO] [stderr] Checking gltf v0.15.2 [INFO] [stderr] Checking rust_shared_ctx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/inputcontroller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> src/inputcontroller.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cell::RefCell, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/vulkanstuff.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{ffi::CString, rc::Rc, sync::Arc, sync::Mutex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/inputcontroller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> src/inputcontroller.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cell::RefCell, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/vulkanstuff.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{ffi::CString, rc::Rc, sync::Arc, sync::Mutex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 131 | / event_loop.run(move |event, _, control_flow| { [INFO] [stdout] 132 | | let renderer = renderer.clone(); [INFO] [stdout] 133 | | use winit::event::{Event, WindowEvent}; [INFO] [stdout] 134 | | use winit::event_loop::ControlFlow; [INFO] [stdout] ... | [INFO] [stdout] 235 | | } [INFO] [stdout] 236 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] 237 | upload_thread.join().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 131 | / event_loop.run(move |event, _, control_flow| { [INFO] [stdout] 132 | | let renderer = renderer.clone(); [INFO] [stdout] 133 | | use winit::event::{Event, WindowEvent}; [INFO] [stdout] 134 | | use winit::event_loop::ControlFlow; [INFO] [stdout] ... | [INFO] [stdout] 235 | | } [INFO] [stdout] 236 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] 237 | upload_thread.join().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_number` [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | frame_number += 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_width` [INFO] [stdout] --> src/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | let (img_width, img_height) = img.dimensions(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_height` [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let (img_width, img_height) = img.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upload_thread` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let upload_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upload_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/vulkanstuff/vertexbuffer.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let device = &self.context.device; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut renderer = Arc::new(Mutex::new(vulkanstuff::VulkanRenderer::init( [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: `frame_number` [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | frame_number += 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_width` [INFO] [stdout] --> src/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | let (img_width, img_height) = img.dimensions(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_height` [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let (img_width, img_height) = img.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upload_thread` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let upload_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upload_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/vulkanstuff/vertexbuffer.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let device = &self.context.device; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut renderer = Arc::new(Mutex::new(vulkanstuff::VulkanRenderer::init( [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: variable does not need to be mutable [INFO] [stdout] --> src/vulkanstuff/context.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut instance = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkanstuff/context.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | let mut device = DeviceLoader::new(&instance, physical_device, &create_info, None).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_at_sphere` [INFO] [stdout] --> src/cameracontroller/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn look_at_sphere(&mut self, sphere: &Sphere) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_callback` [INFO] [stdout] --> src/inputcontroller.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_callback(&mut self, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_action_input` [INFO] [stdout] --> src/inputcontroller.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn assign_action_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind_input_callback` [INFO] [stdout] --> src/inputcontroller.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn bind_input_callback(&mut self, input_key: String, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind_keycode_callback` [INFO] [stdout] --> src/inputcontroller.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bind_keycode_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/rendering/material.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/rendering/mesh.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vertpos` [INFO] [stdout] --> src/util/modelcache.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn vertpos(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vertposnorm` [INFO] [stdout] --> src/util/modelcache.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn vertposnorm(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_mean` [INFO] [stdout] --> src/util/timer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn current_mean(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_max` [INFO] [stdout] --> src/util/timer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn current_max(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_min` [INFO] [stdout] --> src/util/timer.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn current_min(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vert_module` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | vert_module: ShaderModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frag_module` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | frag_module: ShaderModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_memory` [INFO] [stdout] --> src/vulkanstuff/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | image_memory: Allocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_size` [INFO] [stdout] --> src/vulkanstuff/texture.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn get_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/texture.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn destroy(self, context: &VulkanContext) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_extent` [INFO] [stdout] --> src/vulkanstuff.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn current_extent(&self) -> Extent2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Texture` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Texture(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Texture` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Texture(Texture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkanstuff/context.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut instance = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vulkanstuff/context.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | let mut device = DeviceLoader::new(&instance, physical_device, &create_info, None).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_at_sphere` [INFO] [stdout] --> src/cameracontroller/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn look_at_sphere(&mut self, sphere: &Sphere) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_callback` [INFO] [stdout] --> src/inputcontroller.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_callback(&mut self, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_action_input` [INFO] [stdout] --> src/inputcontroller.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn assign_action_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind_input_callback` [INFO] [stdout] --> src/inputcontroller.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn bind_input_callback(&mut self, input_key: String, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind_keycode_callback` [INFO] [stdout] --> src/inputcontroller.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bind_keycode_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/rendering/material.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/rendering/mesh.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vertpos` [INFO] [stdout] --> src/util/modelcache.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn vertpos(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vertposnorm` [INFO] [stdout] --> src/util/modelcache.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn vertposnorm(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_mean` [INFO] [stdout] --> src/util/timer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn current_mean(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_max` [INFO] [stdout] --> src/util/timer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn current_max(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_min` [INFO] [stdout] --> src/util/timer.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn current_min(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vert_module` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | vert_module: ShaderModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frag_module` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | frag_module: ShaderModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/pipeline.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn destroy(&mut self, device: &DeviceLoader, allocator: &mut Allocator) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_memory` [INFO] [stdout] --> src/vulkanstuff/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | image_memory: Allocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_size` [INFO] [stdout] --> src/vulkanstuff/texture.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn get_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/vulkanstuff/texture.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn destroy(self, context: &VulkanContext) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_extent` [INFO] [stdout] --> src/vulkanstuff.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn current_extent(&self) -> Extent2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Texture` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Texture(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Texture` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Texture(Texture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "5c0352d8fd7aa45ef3fcd2d29e2afab18989cc47e3e3034687a251b82dd0598c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c0352d8fd7aa45ef3fcd2d29e2afab18989cc47e3e3034687a251b82dd0598c", kill_on_drop: false }` [INFO] [stdout] 5c0352d8fd7aa45ef3fcd2d29e2afab18989cc47e3e3034687a251b82dd0598c