[INFO] cloning repository https://github.com/jeffawang/oscilloscope [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeffawang/oscilloscope" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffawang%2Foscilloscope", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffawang%2Foscilloscope'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e63b5995cd21b218e68743d1ab07726b22bc6e4 [INFO] checking jeffawang/oscilloscope against try#e251c42c969d6f8dbaae00e1028489c3a29f8789 for pr-94081 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffawang%2Foscilloscope" "/workspace/builds/worker-46/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-46/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeffawang/oscilloscope on toolchain e251c42c969d6f8dbaae00e1028489c3a29f8789 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeffawang/oscilloscope [INFO] finished tweaking git repo https://github.com/jeffawang/oscilloscope [INFO] tweaked toml for git repo https://github.com/jeffawang/oscilloscope written to /workspace/builds/worker-46/source/Cargo.toml [INFO] crate git repo https://github.com/jeffawang/oscilloscope already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded pollster v0.2.5 [INFO] [stderr] Downloaded riff v1.0.1 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded wav v1.0.0 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da3d6ad4f470afb17889a58a4d9767a924846f1d3e916bc65749d34dbd446267 [INFO] running `Command { std: "docker" "start" "-a" "da3d6ad4f470afb17889a58a4d9767a924846f1d3e916bc65749d34dbd446267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da3d6ad4f470afb17889a58a4d9767a924846f1d3e916bc65749d34dbd446267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3d6ad4f470afb17889a58a4d9767a924846f1d3e916bc65749d34dbd446267", kill_on_drop: false }` [INFO] [stdout] da3d6ad4f470afb17889a58a4d9767a924846f1d3e916bc65749d34dbd446267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b4bd4bb0a5c94e94dad5dfae509cbfdc848184e795870764ff6a2f4fabea53e [INFO] running `Command { std: "docker" "start" "-a" "4b4bd4bb0a5c94e94dad5dfae509cbfdc848184e795870764ff6a2f4fabea53e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking profiling v1.0.5 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking riff v1.0.1 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking wgpu-types v0.12.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking gpu-alloc v0.5.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking wav v1.0.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking gpu-descriptor v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking naga v0.8.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking wgpu-hal v0.12.4 [INFO] [stderr] Checking wgpu v0.12.0 [INFO] [stderr] Checking electric v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WavSamples` [INFO] [stdout] --> src/sound.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use hound::{WavIntoSamples, WavSamples}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Map` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | iter::Map, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WavSamples` [INFO] [stdout] --> src/sound.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use hound::{WavIntoSamples, WavSamples}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Map` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | iter::Map, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `millis` [INFO] [stdout] --> src/main.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let millis = self.time_delta.as_millis(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_millis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | .map(|v| vertex::Vertex { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CameraController` [INFO] [stdout] --> src/camera.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CameraController { [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: `new` [INFO] [stdout] --> src/camera.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process_events` [INFO] [stdout] --> src/camera.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_camera` [INFO] [stdout] --> src/camera.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Camera` [INFO] [stdout] --> src/camera.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OPENGL_TO_WGPU_MATRIX` [INFO] [stdout] --> src/camera.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / pub(crate) const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] 104 | | 1.0, 0.0, 0.0, 0.0, [INFO] [stdout] 105 | | 0.0, 1.0, 0.0, 0.0, [INFO] [stdout] 106 | | 0.0, 0.0, 0.5, 0.0, [INFO] [stdout] 107 | | 0.0, 0.0, 0.5, 1.0, [INFO] [stdout] 108 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_view_projection_matrix` [INFO] [stdout] --> src/camera.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/camera.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_view_proj` [INFO] [stdout] --> src/camera.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cam` [INFO] [stdout] --> src/camera.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) struct Cam { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_camera` [INFO] [stdout] --> src/camera.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn new_camera(config: &wgpu::SurfaceConfiguration, device: &wgpu::Device) -> Cam { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bind_group_layouts` [INFO] [stdout] --> src/camera.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn bind_group_layouts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instance` [INFO] [stdout] --> src/instancing.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/instancing.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new` [INFO] [stdout] --> src/instancing.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `desc` [INFO] [stdout] --> src/instancing.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn desc<'a>() -> wgpu::VertexBufferLayout<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spec` [INFO] [stdout] --> src/sound.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | spec: hound::WavSpec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/texture.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_image` [INFO] [stdout] --> src/texture.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CYAN` [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) const CYAN: [f32; 4] = [0.0, 1.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `YELLOW` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) const YELLOW: [f32; 4] = [1.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `millis` [INFO] [stdout] --> src/main.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let millis = self.time_delta.as_millis(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_millis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | .map(|v| vertex::Vertex { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CameraController` [INFO] [stdout] --> src/camera.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CameraController { [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: `new` [INFO] [stdout] --> src/camera.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process_events` [INFO] [stdout] --> src/camera.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_camera` [INFO] [stdout] --> src/camera.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Camera` [INFO] [stdout] --> src/camera.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OPENGL_TO_WGPU_MATRIX` [INFO] [stdout] --> src/camera.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / pub(crate) const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] 104 | | 1.0, 0.0, 0.0, 0.0, [INFO] [stdout] 105 | | 0.0, 1.0, 0.0, 0.0, [INFO] [stdout] 106 | | 0.0, 0.0, 0.5, 0.0, [INFO] [stdout] 107 | | 0.0, 0.0, 0.5, 1.0, [INFO] [stdout] 108 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_view_projection_matrix` [INFO] [stdout] --> src/camera.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/camera.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_view_proj` [INFO] [stdout] --> src/camera.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cam` [INFO] [stdout] --> src/camera.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) struct Cam { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_camera` [INFO] [stdout] --> src/camera.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn new_camera(config: &wgpu::SurfaceConfiguration, device: &wgpu::Device) -> Cam { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bind_group_layouts` [INFO] [stdout] --> src/camera.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn bind_group_layouts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instance` [INFO] [stdout] --> src/instancing.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/instancing.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new` [INFO] [stdout] --> src/instancing.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `desc` [INFO] [stdout] --> src/instancing.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn desc<'a>() -> wgpu::VertexBufferLayout<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spec` [INFO] [stdout] --> src/sound.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | spec: hound::WavSpec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/texture.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_image` [INFO] [stdout] --> src/texture.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CYAN` [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) const CYAN: [f32; 4] = [0.0, 1.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `YELLOW` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) const YELLOW: [f32; 4] = [1.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "4b4bd4bb0a5c94e94dad5dfae509cbfdc848184e795870764ff6a2f4fabea53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b4bd4bb0a5c94e94dad5dfae509cbfdc848184e795870764ff6a2f4fabea53e", kill_on_drop: false }` [INFO] [stdout] 4b4bd4bb0a5c94e94dad5dfae509cbfdc848184e795870764ff6a2f4fabea53e