[INFO] cloning repository https://github.com/McGaelen/basic-game-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/McGaelen/basic-game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcGaelen%2Fbasic-game-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcGaelen%2Fbasic-game-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52f44a0dc926e7f8b6348a7419daf7bbb470809b [INFO] testing McGaelen/basic-game-engine against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcGaelen%2Fbasic-game-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/McGaelen/basic-game-engine on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/McGaelen/basic-game-engine [INFO] finished tweaking git repo https://github.com/McGaelen/basic-game-engine [INFO] tweaked toml for git repo https://github.com/McGaelen/basic-game-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/McGaelen/basic-game-engine 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc1/source/./src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `basic-game-engine` [INFO] [stderr] * `bin` target `basic-game-engine` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing McGaelen/basic-game-engine against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcGaelen%2Fbasic-game-engine" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/McGaelen/basic-game-engine on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/McGaelen/basic-game-engine [INFO] finished tweaking git repo https://github.com/McGaelen/basic-game-engine [INFO] tweaked toml for git repo https://github.com/McGaelen/basic-game-engine written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/McGaelen/basic-game-engine 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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc2/source/./src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `basic-game-engine` [INFO] [stderr] * `bin` target `basic-game-engine` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossfont v0.5.0 [INFO] [stderr] Downloaded tobj v3.2.3 [INFO] [stderr] Downloaded wgpu-types v0.14.0 [INFO] [stderr] Downloaded wgpu-hal v0.14.0 [INFO] [stderr] Downloaded wgpu-core v0.14.0 [INFO] [stderr] Downloaded winit v0.27.4 [INFO] [stderr] Downloaded wgpu v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f239e8961bdbf7aa97add8f179f5f7fdfa71f5c36877c2bbf6de14385787d4cf [INFO] running `Command { std: "docker" "start" "-a" "f239e8961bdbf7aa97add8f179f5f7fdfa71f5c36877c2bbf6de14385787d4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f239e8961bdbf7aa97add8f179f5f7fdfa71f5c36877c2bbf6de14385787d4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f239e8961bdbf7aa97add8f179f5f7fdfa71f5c36877c2bbf6de14385787d4cf", kill_on_drop: false }` [INFO] [stdout] f239e8961bdbf7aa97add8f179f5f7fdfa71f5c36877c2bbf6de14385787d4cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fb34cc4daf6af1d232a3d8b13933798cbcebd8a9150b1c0c69e505f7494a2b4 [INFO] running `Command { std: "docker" "start" "-a" "9fb34cc4daf6af1d232a3d8b13933798cbcebd8a9150b1c0c69e505f7494a2b4", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/./src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `basic-game-engine` [INFO] [stderr] * `bin` target `basic-game-engine` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ash v0.37.0+1.3.209 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wgpu-core v0.14.0 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling wgpu-types v0.14.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling profiling v1.0.7 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling bytemuck_derive v1.2.1 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling calloop v0.10.1 [INFO] [stderr] Compiling naga v0.10.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tobj v3.2.3 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling wgpu-hal v0.14.0 [INFO] [stderr] Compiling wgpu v0.14.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.4 [INFO] [stderr] Compiling basic-game-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game_engine/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Poll` [INFO] [stdout] --> src/game_engine/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::task::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/game_engine/engine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/game_engine/engine.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferDescriptor`, `Label`, `PipelineLayout`, `ShaderModule` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:4:201 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, BufferDescriptor, BufferAddress, BufferUsages, CommandEncoderDescriptor, Label, RenderPassDescriptor, RenderPassColorAttachment, Operations, LoadOp, Color, RenderPipelineDescriptor, PipelineLayout, MultisampleState, VertexState, ShaderModule, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::CursorIcon::Default` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::CursorIcon::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::*` [INFO] [stdout] --> src/game_engine/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | graphics::* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_engine::MainLoopFn` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game_engine::MainLoopFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game_engine/engine.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_engine/engine.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Engine::run(|engine| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `run_all`, and `prune` are never used [INFO] [stdout] --> src/game_engine/taskqueue/taskqueue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GameEventQueue { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 4 | fn remove(&mut self, name: String); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | fn run_all(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn prune(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_DURATION` is never used [INFO] [stdout] --> src/game_engine/engine.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FRAME_DURATION: Duration = Duration::from_nanos(33_333_333); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task` is never read [INFO] [stdout] --> src/game_engine/engine.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | pub event_queue: Vec, [INFO] [stdout] 24 | task: MainLoopFn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `main_loop`, `run_task`, and `end` are never used [INFO] [stdout] --> src/game_engine/engine.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn main_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn run_task(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn end(start: SystemTime) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game_engine/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Poll` [INFO] [stdout] --> src/game_engine/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::task::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/game_engine/engine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/game_engine/engine.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferDescriptor`, `Label`, `PipelineLayout`, `ShaderModule` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:4:201 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, BufferDescriptor, BufferAddress, BufferUsages, CommandEncoderDescriptor, Label, RenderPassDescriptor, RenderPassColorAttachment, Operations, LoadOp, Color, RenderPipelineDescriptor, PipelineLayout, MultisampleState, VertexState, ShaderModule, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::CursorIcon::Default` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::CursorIcon::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::*` [INFO] [stdout] --> src/game_engine/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | graphics::* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_engine::MainLoopFn` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game_engine::MainLoopFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game_engine/engine.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_engine/engine.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Engine::run(|engine| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `run_all`, and `prune` are never used [INFO] [stdout] --> src/game_engine/taskqueue/taskqueue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GameEventQueue { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 4 | fn remove(&mut self, name: String); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | fn run_all(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn prune(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_DURATION` is never used [INFO] [stdout] --> src/game_engine/engine.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FRAME_DURATION: Duration = Duration::from_nanos(33_333_333); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task` is never read [INFO] [stdout] --> src/game_engine/engine.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | pub event_queue: Vec, [INFO] [stdout] 24 | task: MainLoopFn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `main_loop`, `run_task`, and `end` are never used [INFO] [stdout] --> src/game_engine/engine.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn main_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn run_task(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn end(start: SystemTime) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "9fb34cc4daf6af1d232a3d8b13933798cbcebd8a9150b1c0c69e505f7494a2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb34cc4daf6af1d232a3d8b13933798cbcebd8a9150b1c0c69e505f7494a2b4", kill_on_drop: false }` [INFO] [stdout] 9fb34cc4daf6af1d232a3d8b13933798cbcebd8a9150b1c0c69e505f7494a2b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e80a478d9b3ae99579f7f57f53156154e740e54e5d57350acb7eead0421c6249 [INFO] running `Command { std: "docker" "start" "-a" "e80a478d9b3ae99579f7f57f53156154e740e54e5d57350acb7eead0421c6249", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/./src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `basic-game-engine` [INFO] [stderr] * `bin` target `basic-game-engine` [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game_engine/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Poll` [INFO] [stdout] --> src/game_engine/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::task::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/game_engine/engine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/game_engine/engine.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferDescriptor`, `Label`, `PipelineLayout`, `ShaderModule` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:4:201 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, BufferDescriptor, BufferAddress, BufferUsages, CommandEncoderDescriptor, Label, RenderPassDescriptor, RenderPassColorAttachment, Operations, LoadOp, Color, RenderPipelineDescriptor, PipelineLayout, MultisampleState, VertexState, ShaderModule, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::CursorIcon::Default` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::CursorIcon::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::*` [INFO] [stdout] --> src/game_engine/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | graphics::* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_engine::MainLoopFn` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game_engine::MainLoopFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game_engine/engine.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_engine/engine.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Engine::run(|engine| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `run_all`, and `prune` are never used [INFO] [stdout] --> src/game_engine/taskqueue/taskqueue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GameEventQueue { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 4 | fn remove(&mut self, name: String); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | fn run_all(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn prune(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_DURATION` is never used [INFO] [stdout] --> src/game_engine/engine.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FRAME_DURATION: Duration = Duration::from_nanos(33_333_333); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling basic-game-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `task` is never read [INFO] [stdout] --> src/game_engine/engine.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | pub event_queue: Vec, [INFO] [stdout] 24 | task: MainLoopFn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `main_loop`, `run_task`, and `end` are never used [INFO] [stdout] --> src/game_engine/engine.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn main_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn run_task(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn end(start: SystemTime) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game_engine/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game_engine/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Poll` [INFO] [stdout] --> src/game_engine/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::task::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Poll` [INFO] [stdout] --> src/game_engine/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::task::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/game_engine/engine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/game_engine/engine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/game_engine/engine.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/game_engine/engine.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferDescriptor`, `Label`, `PipelineLayout`, `ShaderModule` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:4:201 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, BufferDescriptor, BufferAddress, BufferUsages, CommandEncoderDescriptor, Label, RenderPassDescriptor, RenderPassColorAttachment, Operations, LoadOp, Color, RenderPipelineDescriptor, PipelineLayout, MultisampleState, VertexState, ShaderModule, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferDescriptor`, `Label`, `PipelineLayout`, `ShaderModule` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:4:201 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, BufferDescriptor, BufferAddress, BufferUsages, CommandEncoderDescriptor, Label, RenderPassDescriptor, RenderPassColorAttachment, Operations, LoadOp, Color, RenderPipelineDescriptor, PipelineLayout, MultisampleState, VertexState, ShaderModule, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::CursorIcon::Default` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::CursorIcon::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::*` [INFO] [stdout] --> src/game_engine/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | graphics::* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_engine::MainLoopFn` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game_engine::MainLoopFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::CursorIcon::Default` [INFO] [stdout] --> src/game_engine/graphics/graphics_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::CursorIcon::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::*` [INFO] [stdout] --> src/game_engine/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | graphics::* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_engine::MainLoopFn` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game_engine::MainLoopFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game_engine/engine.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_engine/engine.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Engine::run(|engine| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game_engine/engine.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_engine/engine.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engine = Engine { [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: methods `remove`, `run_all`, and `prune` are never used [INFO] [stdout] --> src/game_engine/taskqueue/taskqueue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GameEventQueue { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 4 | fn remove(&mut self, name: String); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | fn run_all(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn prune(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Engine::run(|engine| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_DURATION` is never used [INFO] [stdout] --> src/game_engine/engine.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FRAME_DURATION: Duration = Duration::from_nanos(33_333_333); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task` is never read [INFO] [stdout] --> src/game_engine/engine.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | pub event_queue: Vec, [INFO] [stdout] 24 | task: MainLoopFn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `main_loop`, `run_task`, and `end` are never used [INFO] [stdout] --> src/game_engine/engine.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn main_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn run_task(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn end(start: SystemTime) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `run_all`, and `prune` are never used [INFO] [stdout] --> src/game_engine/taskqueue/taskqueue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GameEventQueue { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 4 | fn remove(&mut self, name: String); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | fn run_all(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn prune(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_DURATION` is never used [INFO] [stdout] --> src/game_engine/engine.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FRAME_DURATION: Duration = Duration::from_nanos(33_333_333); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task` is never read [INFO] [stdout] --> src/game_engine/engine.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | pub event_queue: Vec, [INFO] [stdout] 24 | task: MainLoopFn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `main_loop`, `run_task`, and `end` are never used [INFO] [stdout] --> src/game_engine/engine.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn main_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn run_task(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn end(start: SystemTime) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "e80a478d9b3ae99579f7f57f53156154e740e54e5d57350acb7eead0421c6249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80a478d9b3ae99579f7f57f53156154e740e54e5d57350acb7eead0421c6249", kill_on_drop: false }` [INFO] [stdout] e80a478d9b3ae99579f7f57f53156154e740e54e5d57350acb7eead0421c6249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25a77bd801242045e3443ea89f6e5b4e86134b28ac5d85a2c8eec72a659b54d4 [INFO] running `Command { std: "docker" "start" "-a" "25a77bd801242045e3443ea89f6e5b4e86134b28ac5d85a2c8eec72a659b54d4", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/./src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `basic-game-engine` [INFO] [stderr] * `bin` target `basic-game-engine` [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/game_engine/engine.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::task::Poll` [INFO] [stderr] --> src/game_engine/engine.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::task::Poll; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stderr] --> src/game_engine/engine.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winit::dpi::PhysicalSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ControlFlow` [INFO] [stderr] --> src/game_engine/engine.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufferDescriptor`, `Label`, `PipelineLayout`, `ShaderModule` [INFO] [stderr] --> src/game_engine/graphics/graphics_state.rs:4:201 [INFO] [stderr] | [INFO] [stderr] 4 | ...r, BufferDescriptor, BufferAddress, BufferUsages, CommandEncoderDescriptor, Label, RenderPassDescriptor, RenderPassColorAttachment, Operations, LoadOp, Color, RenderPipelineDescriptor, PipelineLayout, MultisampleState, VertexState, ShaderModule, S... [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winit::window::CursorIcon::Default` [INFO] [stderr] --> src/game_engine/graphics/graphics_state.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winit::window::CursorIcon::Default; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `graphics::*` [INFO] [stderr] --> src/game_engine/mod.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | graphics::* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::game_engine::MainLoopFn` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::game_engine::MainLoopFn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `engine` [INFO] [stderr] --> src/game_engine/engine.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | let mut engine = Engine { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/game_engine/engine.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let mut engine = Engine { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `engine` [INFO] [stderr] --> src/main.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | Engine::run(|engine| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stderr] [INFO] [stderr] warning: methods `remove`, `run_all`, and `prune` are never used [INFO] [stderr] --> src/game_engine/taskqueue/taskqueue.rs:4:6 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait GameEventQueue { [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] 4 | fn remove(&mut self, name: String); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 5 | fn run_all(&mut self); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 6 | fn prune(&mut self); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `FRAME_DURATION` is never used [INFO] [stderr] --> src/game_engine/engine.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | const FRAME_DURATION: Duration = Duration::from_nanos(33_333_333); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `task` is never read [INFO] [stderr] --> src/game_engine/engine.rs:24:3 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Engine { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 23 | pub event_queue: Vec, [INFO] [stderr] 24 | task: MainLoopFn, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `main_loop`, `run_task`, and `end` are never used [INFO] [stderr] --> src/game_engine/engine.rs:137:6 [INFO] [stderr] | [INFO] [stderr] 29 | impl Engine { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 137 | fn main_loop(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 152 | fn run_task(&mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | fn end(start: SystemTime) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `basic-game-engine` (lib) generated 15 warnings (run `cargo fix --lib -p basic-game-engine` to apply 9 suggestions) [INFO] [stderr] warning: `basic-game-engine` (bin "basic-game-engine" test) generated 15 warnings (15 duplicates) [INFO] [stderr] warning: `basic-game-engine` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/basic_game_engine-6e09c8c117cb4bfe) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/basic_game_engine-c521eae014910d61) [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] [stderr] Doc-tests basic-game-engine [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" "25a77bd801242045e3443ea89f6e5b4e86134b28ac5d85a2c8eec72a659b54d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25a77bd801242045e3443ea89f6e5b4e86134b28ac5d85a2c8eec72a659b54d4", kill_on_drop: false }` [INFO] [stdout] 25a77bd801242045e3443ea89f6e5b4e86134b28ac5d85a2c8eec72a659b54d4