[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 try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhubber%2Frust_playground" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dhubber/rust_playground on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c22438d07458667b9de03c4a5ec7bd08d5a907f46c0aa9643465c0a573b8ae0b [INFO] running `Command { std: "docker" "start" "-a" "c22438d07458667b9de03c4a5ec7bd08d5a907f46c0aa9643465c0a573b8ae0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c22438d07458667b9de03c4a5ec7bd08d5a907f46c0aa9643465c0a573b8ae0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22438d07458667b9de03c4a5ec7bd08d5a907f46c0aa9643465c0a573b8ae0b", kill_on_drop: false }` [INFO] [stdout] c22438d07458667b9de03c4a5ec7bd08d5a907f46c0aa9643465c0a573b8ae0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bab85f3e126d4957da0a332fd7338e8cdc8e0257924ca4b5fe532f0cf3cbc16 [INFO] running `Command { std: "docker" "start" "-a" "9bab85f3e126d4957da0a332fd7338e8cdc8e0257924ca4b5fe532f0cf3cbc16", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling symphonia-core v0.5.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling gl_generator v0.14.0 [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 flate2 v1.0.28 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling symphonia-metadata v0.5.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.3 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling alsa v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.3 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.3 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Compiling symphonia-format-wav v0.5.3 [INFO] [stderr] Compiling glium v0.33.0 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.3 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling glam v0.25.0 [INFO] [stderr] Compiling symphonia v0.5.3 [INFO] [stderr] Compiling ringbuf v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling atomic-arena v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling kira v0.8.7 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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] | ^^^^ 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/breakout/breakout.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn update(&mut self, 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "9bab85f3e126d4957da0a332fd7338e8cdc8e0257924ca4b5fe532f0cf3cbc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bab85f3e126d4957da0a332fd7338e8cdc8e0257924ca4b5fe532f0cf3cbc16", kill_on_drop: false }` [INFO] [stdout] 9bab85f3e126d4957da0a332fd7338e8cdc8e0257924ca4b5fe532f0cf3cbc16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e48d3c175dbbc141762eb94a667b8e3f8f90263b507397ca5e96f9e47c6f566 [INFO] running `Command { std: "docker" "start" "-a" "1e48d3c175dbbc141762eb94a667b8e3f8f90263b507397ca5e96f9e47c6f566", kill_on_drop: false }` [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_playground v0.1.0 (/opt/rustwide/workdir) [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)]` 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)]` 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)]` 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 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)]` on by default [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)]` 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] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [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 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] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [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: 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "1e48d3c175dbbc141762eb94a667b8e3f8f90263b507397ca5e96f9e47c6f566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e48d3c175dbbc141762eb94a667b8e3f8f90263b507397ca5e96f9e47c6f566", kill_on_drop: false }` [INFO] [stdout] 1e48d3c175dbbc141762eb94a667b8e3f8f90263b507397ca5e96f9e47c6f566