[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] 660aed4043dacbdc5b86210169ce591b0d0c8b16 [INFO] testing jeffawang/oscilloscope against try#a40ec913238f4f188d97c41aa605cb486451acf2+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffawang%2Foscilloscope" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeffawang/oscilloscope on toolchain a40ec913238f4f188d97c41aa605cb486451acf2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09cf59dd64c30b27047f07fd6cc6974ed103b4794525ffcbdd2af68b69241084 [INFO] running `Command { std: "docker" "start" "-a" "09cf59dd64c30b27047f07fd6cc6974ed103b4794525ffcbdd2af68b69241084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09cf59dd64c30b27047f07fd6cc6974ed103b4794525ffcbdd2af68b69241084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09cf59dd64c30b27047f07fd6cc6974ed103b4794525ffcbdd2af68b69241084", kill_on_drop: false }` [INFO] [stdout] 09cf59dd64c30b27047f07fd6cc6974ed103b4794525ffcbdd2af68b69241084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 431c93e822f72a5760ae4d47655aefcbdd2cdf7cbda913c12c5750229ee40ebb [INFO] running `Command { std: "docker" "start" "-a" "431c93e822f72a5760ae4d47655aefcbdd2cdf7cbda913c12c5750229ee40ebb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [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 crossbeam-channel v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling riff v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wav v1.0.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling wgpu-hal v0.12.4 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling oscilloscope v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/onepass/oscilloscope.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::max`, `num::NonZeroU64` [INFO] [stdout] --> src/onepass/state.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, num::NonZeroU64, time::Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/onepass/wgpu_resources.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{marker::PhantomData, mem, num::NonZeroU64}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::oscilloscope::Vertex` [INFO] [stdout] --> src/onepass/wgpu_resources.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::oscilloscope::Vertex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/onepass/wgpu_resources.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn frame(&self) -> (wgpu::SurfaceTexture) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub fn frame(&self) -> (wgpu::SurfaceTexture) { [INFO] [stdout] 58 + pub fn frame(&self) -> wgpu::SurfaceTexture { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hound::WavIntoSamples` [INFO] [stdout] --> src/sound.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hound::WavIntoSamples; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wav_streamer` and `rb` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | wav_streamer: WavStreamer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | rb: RingBuffer<(f32, f32)>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/blah.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Oscilloscope` is never constructed [INFO] [stdout] --> src/blah.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Oscilloscope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PARTICLES` is never used [INFO] [stdout] --> src/blah.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const NUM_PARTICLES: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PARTICLES_PER_GROUP` is never used [INFO] [stdout] --> src/blah.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const PARTICLES_PER_GROUP: u32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/blah.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/blah.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn render(&mut self, view: &wgpu::TextureView, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cpass` is never used [INFO] [stdout] --> src/blah.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn cpass(&mut self, command_encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rpass` is never used [INFO] [stdout] --> src/blah.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn rpass(&self, command_encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bpass` is never used [INFO] [stdout] --> src/blah.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn bpass(&self, command_encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_compute_pipeline` is never used [INFO] [stdout] --> src/blah.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | fn new_compute_pipeline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `particle_buffers_and_bind_groups` is never used [INFO] [stdout] --> src/blah.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | fn particle_buffers_and_bind_groups( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_render_pipeline` is never used [INFO] [stdout] --> src/blah.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | fn new_render_pipeline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_blit_pipeline` is never used [INFO] [stdout] --> src/blah.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | fn new_blit_pipeline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `blit_bind_group` is never used [INFO] [stdout] --> src/blah.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn blit_bind_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/blah.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_oscilloscope` is never used [INFO] [stdout] --> src/blah.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | async fn setup_oscilloscope( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/camera.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [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 `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/camera.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cam` is never constructed [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 `new_camera` is never used [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 `bind_group_layouts` is never used [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: associated function `new` is never used [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 `process_events` is never used [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 `update_camera` is never used [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: associated function `build_view_projection_matrix` is never used [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 `new` is never used [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 `update_view_proj` is never used [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 `Instance` is never constructed [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: function `new` is never used [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 `to_raw` is never used [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: associated function `desc` is never used [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 `compute_pipeline` is never read [INFO] [stdout] --> src/onepass/oscilloscope.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Oscilloscope { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | compute_pipeline: wgpu::ComputePipeline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cpass` is never used [INFO] [stdout] --> src/onepass/oscilloscope.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn cpass(&self, command_encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rb` is never read [INFO] [stdout] --> src/onepass/state.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | rb: RingBuffer<(i32, i32)>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_RENDER_COUNT` is never used [INFO] [stdout] --> src/onepass/state.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SAMPLE_RENDER_COUNT: usize = 128000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wavspec` is never read [INFO] [stdout] --> src/onepass/wgpu_resources.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct WavStreamBinder<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 132 | wavspec: &'a hound::WavSpec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/ringbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RingBuffer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 2 | pub data: Vec, [INFO] [stdout] 3 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `push` is never used [INFO] [stdout] --> src/ringbuffer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter` is never used [INFO] [stdout] --> src/ringbuffer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [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 `from_image` is never used [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: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.29s [INFO] running `Command { std: "docker" "inspect" "431c93e822f72a5760ae4d47655aefcbdd2cdf7cbda913c12c5750229ee40ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431c93e822f72a5760ae4d47655aefcbdd2cdf7cbda913c12c5750229ee40ebb", kill_on_drop: false }` [INFO] [stdout] 431c93e822f72a5760ae4d47655aefcbdd2cdf7cbda913c12c5750229ee40ebb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6b7d686a9af170649925c502a4aa5b53dd21eeb365125b0496428249327d66ef [INFO] running `Command { std: "docker" "start" "-a" "6b7d686a9af170649925c502a4aa5b53dd21eeb365125b0496428249327d66ef", kill_on_drop: false }` [INFO] [stderr] Compiling oscilloscope v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/onepass/oscilloscope.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::max`, `num::NonZeroU64` [INFO] [stdout] --> src/onepass/state.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, num::NonZeroU64, time::Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/onepass/wgpu_resources.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{marker::PhantomData, mem, num::NonZeroU64}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::oscilloscope::Vertex` [INFO] [stdout] --> src/onepass/wgpu_resources.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::oscilloscope::Vertex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/onepass/wgpu_resources.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn frame(&self) -> (wgpu::SurfaceTexture) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub fn frame(&self) -> (wgpu::SurfaceTexture) { [INFO] [stdout] 58 + pub fn frame(&self) -> wgpu::SurfaceTexture { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hound::WavIntoSamples` [INFO] [stdout] --> src/sound.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hound::WavIntoSamples; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wav_streamer` and `rb` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | wav_streamer: WavStreamer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | rb: RingBuffer<(f32, f32)>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/blah.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Oscilloscope` is never constructed [INFO] [stdout] --> src/blah.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Oscilloscope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PARTICLES` is never used [INFO] [stdout] --> src/blah.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const NUM_PARTICLES: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PARTICLES_PER_GROUP` is never used [INFO] [stdout] --> src/blah.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const PARTICLES_PER_GROUP: u32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/blah.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/blah.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn render(&mut self, view: &wgpu::TextureView, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cpass` is never used [INFO] [stdout] --> src/blah.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn cpass(&mut self, command_encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rpass` is never used [INFO] [stdout] --> src/blah.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn rpass(&self, command_encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bpass` is never used [INFO] [stdout] --> src/blah.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn bpass(&self, command_encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_compute_pipeline` is never used [INFO] [stdout] --> src/blah.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | fn new_compute_pipeline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `particle_buffers_and_bind_groups` is never used [INFO] [stdout] --> src/blah.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | fn particle_buffers_and_bind_groups( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_render_pipeline` is never used [INFO] [stdout] --> src/blah.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | fn new_render_pipeline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_blit_pipeline` is never used [INFO] [stdout] --> src/blah.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | fn new_blit_pipeline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `blit_bind_group` is never used [INFO] [stdout] --> src/blah.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn blit_bind_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/blah.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_oscilloscope` is never used [INFO] [stdout] --> src/blah.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | async fn setup_oscilloscope( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/camera.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [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 `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/camera.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cam` is never constructed [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 `new_camera` is never used [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 `bind_group_layouts` is never used [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: associated function `new` is never used [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 `process_events` is never used [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 `update_camera` is never used [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: associated function `build_view_projection_matrix` is never used [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 `new` is never used [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 `update_view_proj` is never used [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 `Instance` is never constructed [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: function `new` is never used [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 `to_raw` is never used [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: associated function `desc` is never used [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 `compute_pipeline` is never read [INFO] [stdout] --> src/onepass/oscilloscope.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Oscilloscope { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | compute_pipeline: wgpu::ComputePipeline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cpass` is never used [INFO] [stdout] --> src/onepass/oscilloscope.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn cpass(&self, command_encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rb` is never read [INFO] [stdout] --> src/onepass/state.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | rb: RingBuffer<(i32, i32)>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_RENDER_COUNT` is never used [INFO] [stdout] --> src/onepass/state.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SAMPLE_RENDER_COUNT: usize = 128000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wavspec` is never read [INFO] [stdout] --> src/onepass/wgpu_resources.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct WavStreamBinder<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 132 | wavspec: &'a hound::WavSpec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/ringbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RingBuffer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 2 | pub data: Vec, [INFO] [stdout] 3 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `push` is never used [INFO] [stdout] --> src/ringbuffer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter` is never used [INFO] [stdout] --> src/ringbuffer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [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 `from_image` is never used [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: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "6b7d686a9af170649925c502a4aa5b53dd21eeb365125b0496428249327d66ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7d686a9af170649925c502a4aa5b53dd21eeb365125b0496428249327d66ef", kill_on_drop: false }` [INFO] [stdout] 6b7d686a9af170649925c502a4aa5b53dd21eeb365125b0496428249327d66ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6fb657073194b83717420d12fec08b140cc0d214293b344f8b2a32f8d61e69b4 [INFO] running `Command { std: "docker" "start" "-a" "6fb657073194b83717420d12fec08b140cc0d214293b344f8b2a32f8d61e69b4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stderr] --> src/onepass/oscilloscope.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use wgpu::util::DeviceExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `cmp::max`, `num::NonZeroU64` [INFO] [stderr] --> src/onepass/state.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{cmp::max, num::NonZeroU64, time::Instant}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mem` [INFO] [stderr] --> src/onepass/wgpu_resources.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{marker::PhantomData, mem, num::NonZeroU64}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::oscilloscope::Vertex` [INFO] [stderr] --> src/onepass/wgpu_resources.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use super::oscilloscope::Vertex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/onepass/wgpu_resources.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn frame(&self) -> (wgpu::SurfaceTexture) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 58 - pub fn frame(&self) -> (wgpu::SurfaceTexture) { [INFO] [stderr] 58 + pub fn frame(&self) -> wgpu::SurfaceTexture { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `hound::WavIntoSamples` [INFO] [stderr] --> src/sound.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use hound::WavIntoSamples; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `wav_streamer` and `rb` are never read [INFO] [stderr] --> src/main.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 25 | struct State { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 43 | wav_streamer: WavStreamer, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 44 | rb: RingBuffer<(f32, f32)>, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Line` is never constructed [INFO] [stderr] --> src/blah.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Line { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Oscilloscope` is never constructed [INFO] [stderr] --> src/blah.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | struct Oscilloscope { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NUM_PARTICLES` is never used [INFO] [stderr] --> src/blah.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | const NUM_PARTICLES: u32 = 10; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PARTICLES_PER_GROUP` is never used [INFO] [stderr] --> src/blah.rs:40:7 [INFO] [stderr] | [INFO] [stderr] 40 | const PARTICLES_PER_GROUP: u32 = 64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `init` is never used [INFO] [stderr] --> src/blah.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | fn init( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `render` is never used [INFO] [stderr] --> src/blah.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | fn render(&mut self, view: &wgpu::TextureView, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `cpass` is never used [INFO] [stderr] --> src/blah.rs:172:8 [INFO] [stderr] | [INFO] [stderr] 172 | fn cpass(&mut self, command_encoder: &mut wgpu::CommandEncoder) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `rpass` is never used [INFO] [stderr] --> src/blah.rs:186:8 [INFO] [stderr] | [INFO] [stderr] 186 | fn rpass(&self, command_encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `bpass` is never used [INFO] [stderr] --> src/blah.rs:214:8 [INFO] [stderr] | [INFO] [stderr] 214 | fn bpass(&self, command_encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_compute_pipeline` is never used [INFO] [stderr] --> src/blah.rs:241:8 [INFO] [stderr] | [INFO] [stderr] 241 | fn new_compute_pipeline( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `particle_buffers_and_bind_groups` is never used [INFO] [stderr] --> src/blah.rs:311:8 [INFO] [stderr] | [INFO] [stderr] 311 | fn particle_buffers_and_bind_groups( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_render_pipeline` is never used [INFO] [stderr] --> src/blah.rs:358:8 [INFO] [stderr] | [INFO] [stderr] 358 | fn new_render_pipeline( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_blit_pipeline` is never used [INFO] [stderr] --> src/blah.rs:418:8 [INFO] [stderr] | [INFO] [stderr] 418 | fn new_blit_pipeline( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `blit_bind_group` is never used [INFO] [stderr] --> src/blah.rs:445:8 [INFO] [stderr] | [INFO] [stderr] 445 | fn blit_bind_group( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/blah.rs:486:12 [INFO] [stderr] | [INFO] [stderr] 486 | pub fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `setup_oscilloscope` is never used [INFO] [stderr] --> src/blah.rs:558:14 [INFO] [stderr] | [INFO] [stderr] 558 | async fn setup_oscilloscope( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CameraController` is never constructed [INFO] [stderr] --> src/camera.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) struct CameraController { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Camera` is never constructed [INFO] [stderr] --> src/camera.rs:92:19 [INFO] [stderr] | [INFO] [stderr] 92 | pub(crate) struct Camera { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stderr] --> src/camera.rs:103:18 [INFO] [stderr] | [INFO] [stderr] 103 | pub(crate) const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Cam` is never constructed [INFO] [stderr] --> src/camera.rs:140:19 [INFO] [stderr] | [INFO] [stderr] 140 | pub(crate) struct Cam { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_camera` is never used [INFO] [stderr] --> src/camera.rs:149:15 [INFO] [stderr] | [INFO] [stderr] 149 | pub(crate) fn new_camera(config: &wgpu::SurfaceConfiguration, device: &wgpu::Device) -> Cam { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bind_group_layouts` is never used [INFO] [stderr] --> src/camera.rs:182:4 [INFO] [stderr] | [INFO] [stderr] 182 | fn bind_group_layouts( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/camera.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn new(speed: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `process_events` is never used [INFO] [stderr] --> src/camera.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | pub(crate) fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `update_camera` is never used [INFO] [stderr] --> src/camera.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | pub(crate) fn update_camera(&self, camera: &mut Camera) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `build_view_projection_matrix` is never used [INFO] [stderr] --> src/camera.rs:111:19 [INFO] [stderr] | [INFO] [stderr] 111 | pub(crate) fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/camera.rs:128:19 [INFO] [stderr] | [INFO] [stderr] 128 | pub(crate) fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `update_view_proj` is never used [INFO] [stderr] --> src/camera.rs:135:19 [INFO] [stderr] | [INFO] [stderr] 135 | pub(crate) fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Instance` is never constructed [INFO] [stderr] --> src/instancing.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) struct Instance { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new` is never used [INFO] [stderr] --> src/instancing.rs:20:15 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `to_raw` is never used [INFO] [stderr] --> src/instancing.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) fn to_raw(&self) -> InstanceRaw { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `desc` is never used [INFO] [stderr] --> src/instancing.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | pub(crate) fn desc<'a>() -> wgpu::VertexBufferLayout<'a> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `compute_pipeline` is never read [INFO] [stderr] --> src/onepass/oscilloscope.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Oscilloscope { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | compute_pipeline: wgpu::ComputePipeline, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `cpass` is never used [INFO] [stderr] --> src/onepass/oscilloscope.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | fn cpass(&self, command_encoder: &mut wgpu::CommandEncoder) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `rb` is never read [INFO] [stderr] --> src/onepass/state.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct State { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 52 | rb: RingBuffer<(i32, i32)>, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SAMPLE_RENDER_COUNT` is never used [INFO] [stderr] --> src/onepass/state.rs:57:11 [INFO] [stderr] | [INFO] [stderr] 57 | pub const SAMPLE_RENDER_COUNT: usize = 128000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `wavspec` is never read [INFO] [stderr] --> src/onepass/wgpu_resources.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 131 | pub struct WavStreamBinder<'a> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 132 | wavspec: &'a hound::WavSpec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `start` is never read [INFO] [stderr] --> src/ringbuffer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct RingBuffer { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 2 | pub data: Vec, [INFO] [stderr] 3 | start: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `push` is never used [INFO] [stderr] --> src/ringbuffer.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn push(&mut self, item: T) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `iter` is never used [INFO] [stderr] --> src/ringbuffer.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn iter(&mut self) -> Iter { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_bytes` is never used [INFO] [stderr] --> src/texture.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn from_bytes( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_image` is never used [INFO] [stderr] --> src/texture.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn from_image( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `oscilloscope` (bin "oscilloscope" test) generated 49 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/oscilloscope-38889aff265e6d8a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6fb657073194b83717420d12fec08b140cc0d214293b344f8b2a32f8d61e69b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb657073194b83717420d12fec08b140cc0d214293b344f8b2a32f8d61e69b4", kill_on_drop: false }` [INFO] [stdout] 6fb657073194b83717420d12fec08b140cc0d214293b344f8b2a32f8d61e69b4