[INFO] cloning repository https://github.com/dhubber/rust_playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhubber/rust_playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhubber%2Frust_playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhubber%2Frust_playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da70413d00cb1cff67a2e58803b5ef10635ba506 [INFO] building dhubber/rust_playground against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhubber%2Frust_playground" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dhubber/rust_playground [INFO] finished tweaking git repo https://github.com/dhubber/rust_playground [INFO] tweaked toml for git repo https://github.com/dhubber/rust_playground written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dhubber/rust_playground on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dhubber/rust_playground 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-format-wav v0.5.3 [INFO] [stderr] Downloaded atomic-arena v0.1.1 [INFO] [stderr] Downloaded symphonia v0.5.3 [INFO] [stderr] Downloaded symphonia-metadata v0.5.3 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded symphonia-codec-pcm v0.5.3 [INFO] [stderr] Downloaded symphonia-utils-xiph v0.5.3 [INFO] [stderr] Downloaded symphonia-format-ogg v0.5.3 [INFO] [stderr] Downloaded kira v0.8.7 [INFO] [stderr] Downloaded oboe v0.5.0 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded bytemuck v1.14.1 [INFO] [stderr] Downloaded ringbuf v0.3.3 [INFO] [stderr] Downloaded symphonia-codec-vorbis v0.5.3 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Downloaded symphonia-bundle-flac v0.5.3 [INFO] [stderr] Downloaded jni v0.20.0 [INFO] [stderr] Downloaded png v0.17.11 [INFO] [stderr] Downloaded symphonia-core v0.5.3 [INFO] [stderr] Downloaded alsa v0.7.1 [INFO] [stderr] Downloaded cpal v0.15.2 [INFO] [stderr] Downloaded winnow v0.5.36 [INFO] [stderr] Downloaded oboe-sys v0.5.0 [INFO] [stderr] Downloaded glam v0.25.0 [INFO] [stderr] Downloaded web-sys v0.3.67 [INFO] [stderr] Downloaded glium v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 961f1bf5cd5dafce06d35e4b223154f7f892585a970408edbd6f855ed98c81d7 [INFO] running `Command { std: "docker" "start" "-a" "961f1bf5cd5dafce06d35e4b223154f7f892585a970408edbd6f855ed98c81d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "961f1bf5cd5dafce06d35e4b223154f7f892585a970408edbd6f855ed98c81d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961f1bf5cd5dafce06d35e4b223154f7f892585a970408edbd6f855ed98c81d7", kill_on_drop: false }` [INFO] [stdout] 961f1bf5cd5dafce06d35e4b223154f7f892585a970408edbd6f855ed98c81d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10966c01082ece6a11dce8f136c08a508d0934257c58e28e70cefdfc8ffb758e [INFO] running `Command { std: "docker" "start" "-a" "10966c01082ece6a11dce8f136c08a508d0934257c58e28e70cefdfc8ffb758e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling symphonia-core v0.5.3 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling symphonia-metadata v0.5.3 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.3 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling alsa v0.7.1 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.3 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.3 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling symphonia-format-wav v0.5.3 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.3 [INFO] [stderr] Compiling glium v0.33.0 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling symphonia v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ringbuf v0.3.3 [INFO] [stderr] Compiling glam v0.25.0 [INFO] [stderr] Compiling atomic-arena v0.1.1 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling kira v0.8.7 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling rust_playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EventType` [INFO] [stdout] --> src/renderer.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Camera2d, Color4, Event, EventType, Scene, Vertex2d}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::buffer::BufferMode::Default` [INFO] [stdout] --> src/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::buffer::BufferMode::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Camera2d` [INFO] [stdout] --> src/application.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{AudioSystem, Camera2d, Color4, Event, EventType, Game, SceneUpdate, Update, WindowParameters}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/rpgf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/rpgf.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/rpgf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/rpgf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision::CollisionSolver` [INFO] [stdout] --> src/rpgf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::collision::CollisionSolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `EventManager` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/rpgf.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use event::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::event::EventManager` [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::renderer::Renderer` [INFO] [stdout] --> src/rpgf.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/collision.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::game::{Game, SceneUpdate}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/game_object.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn set_id(&self, id: u128) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/renderer.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, scene: &Scene, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/renderer.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, scene: &Scene, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/renderer.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_event(&mut self, event: &Event) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/collision.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn on_event(&mut self, event: &Event) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut renderer = Rc::new(RefCell::new(Renderer::new(display, &camera2d, &self.window_parameters.background_color))); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut collision_solver = Rc::new(RefCell::new(CollisionSolver::new())); [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/application.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut audio_system = Rc::new(RefCell::new(AudioSystem::new())); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background_color` is never read [INFO] [stdout] --> src/renderer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | background_color: Color4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::buffer::BufferMode::Default` [INFO] [stdout] --> src/breakout/bat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glium::buffer::BufferMode::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SceneUpdate` [INFO] [stdout] --> src/breakout/breakout.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use rpgf::{Camera2d, Color4, Event, EventListener, EventType, Game, Scene, SceneUpdate, Update, WindowParameters}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/breakout/ball.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | EventType::OnCollisionEnter{id, other, aab1, aab2} => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/breakout/breakout.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, _time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_LERP_TIME` [INFO] [stdout] | [INFO] [stdout] 90 - fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] 90 + fn update(&mut self, COLOR_LERP_TIME: f32, delta_time: f32) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/breakout/breakout.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, time: f32, _delta_time: f32) -> Option> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_LERP_TIME` [INFO] [stdout] | [INFO] [stdout] 90 - fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] 90 + fn update(&mut self, time: f32, COLOR_LERP_TIME: f32) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_LERP_TIME` is never used [INFO] [stdout] --> src/breakout/breakout.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const COLOR_LERP_TIME: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "10966c01082ece6a11dce8f136c08a508d0934257c58e28e70cefdfc8ffb758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10966c01082ece6a11dce8f136c08a508d0934257c58e28e70cefdfc8ffb758e", kill_on_drop: false }` [INFO] [stdout] 10966c01082ece6a11dce8f136c08a508d0934257c58e28e70cefdfc8ffb758e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53f8c078c8b60853194520c741e2e9099e92421262e4cacd69959a5b8e8d42e4 [INFO] running `Command { std: "docker" "start" "-a" "53f8c078c8b60853194520c741e2e9099e92421262e4cacd69959a5b8e8d42e4", kill_on_drop: false }` [INFO] [stderr] Compiling rust_playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EventType` [INFO] [stdout] --> src/renderer.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Camera2d, Color4, Event, EventType, Scene, Vertex2d}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::buffer::BufferMode::Default` [INFO] [stdout] --> src/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::buffer::BufferMode::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Camera2d` [INFO] [stdout] --> src/application.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{AudioSystem, Camera2d, Color4, Event, EventType, Game, SceneUpdate, Update, WindowParameters}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/rpgf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/rpgf.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/rpgf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/rpgf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision::CollisionSolver` [INFO] [stdout] --> src/rpgf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::collision::CollisionSolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `EventManager` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/rpgf.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use event::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::event::EventManager` [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::renderer::Renderer` [INFO] [stdout] --> src/rpgf.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/collision.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::game::{Game, SceneUpdate}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/game_object.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn set_id(&self, id: u128) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/renderer.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, scene: &Scene, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/renderer.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, scene: &Scene, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/renderer.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_event(&mut self, event: &Event) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/collision.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn on_event(&mut self, event: &Event) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut renderer = Rc::new(RefCell::new(Renderer::new(display, &camera2d, &self.window_parameters.background_color))); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut collision_solver = Rc::new(RefCell::new(CollisionSolver::new())); [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/application.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut audio_system = Rc::new(RefCell::new(AudioSystem::new())); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background_color` is never read [INFO] [stdout] --> src/renderer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | background_color: Color4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventType` [INFO] [stdout] --> src/renderer.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Camera2d, Color4, Event, EventType, Scene, Vertex2d}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::buffer::BufferMode::Default` [INFO] [stdout] --> src/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::buffer::BufferMode::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Camera2d` [INFO] [stdout] --> src/application.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{AudioSystem, Camera2d, Color4, Event, EventType, Game, SceneUpdate, Update, WindowParameters}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/rpgf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/rpgf.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/rpgf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/rpgf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision::CollisionSolver` [INFO] [stdout] --> src/rpgf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::collision::CollisionSolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `EventManager` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/rpgf.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use event::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::event::EventManager` [INFO] [stdout] --> src/rpgf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::event::EventManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::renderer::Renderer` [INFO] [stdout] --> src/rpgf.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::buffer::BufferMode::Default` [INFO] [stdout] --> src/breakout/bat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glium::buffer::BufferMode::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SceneUpdate` [INFO] [stdout] --> src/breakout/breakout.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use rpgf::{Camera2d, Color4, Event, EventListener, EventType, Game, Scene, SceneUpdate, Update, WindowParameters}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/breakout/ball.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | EventType::OnCollisionEnter{id, other, aab1, aab2} => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/breakout/breakout.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, _time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_LERP_TIME` [INFO] [stdout] | [INFO] [stdout] 90 - fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] 90 + fn update(&mut self, COLOR_LERP_TIME: f32, delta_time: f32) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/breakout/breakout.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, time: f32, _delta_time: f32) -> Option> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_LERP_TIME` [INFO] [stdout] | [INFO] [stdout] 90 - fn update(&mut self, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] 90 + fn update(&mut self, time: f32, COLOR_LERP_TIME: f32) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_LERP_TIME` is never used [INFO] [stdout] --> src/breakout/breakout.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const COLOR_LERP_TIME: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/collision.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::game::{Game, SceneUpdate}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/game_object.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn set_id(&self, id: u128) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/renderer.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, scene: &Scene, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/renderer.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, scene: &Scene, time: f32, delta_time: f32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/renderer.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_event(&mut self, event: &Event) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/collision.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn on_event(&mut self, event: &Event) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut renderer = Rc::new(RefCell::new(Renderer::new(display, &camera2d, &self.window_parameters.background_color))); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut collision_solver = Rc::new(RefCell::new(CollisionSolver::new())); [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/application.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut audio_system = Rc::new(RefCell::new(AudioSystem::new())); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background_color` is never read [INFO] [stdout] --> src/renderer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | background_color: Color4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "53f8c078c8b60853194520c741e2e9099e92421262e4cacd69959a5b8e8d42e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f8c078c8b60853194520c741e2e9099e92421262e4cacd69959a5b8e8d42e4", kill_on_drop: false }` [INFO] [stdout] 53f8c078c8b60853194520c741e2e9099e92421262e4cacd69959a5b8e8d42e4