[INFO] cloning repository https://github.com/vinnyhoward/simple-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/vinnyhoward/simple-game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinnyhoward%2Fsimple-game-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinnyhoward%2Fsimple-game-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3d2f18c213619937d9b26fbaacbc36d5baaef8d [INFO] testing vinnyhoward/simple-game-engine against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinnyhoward%2Fsimple-game-engine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vinnyhoward/simple-game-engine [INFO] finished tweaking git repo https://github.com/vinnyhoward/simple-game-engine [INFO] tweaked toml for git repo https://github.com/vinnyhoward/simple-game-engine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vinnyhoward/simple-game-engine on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vinnyhoward/simple-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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7226723efb1b468b3d834892857742b3298b5478cbc07d0fcd75b67965e6e9b [INFO] running `Command { std: "docker" "start" "-a" "d7226723efb1b468b3d834892857742b3298b5478cbc07d0fcd75b67965e6e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7226723efb1b468b3d834892857742b3298b5478cbc07d0fcd75b67965e6e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7226723efb1b468b3d834892857742b3298b5478cbc07d0fcd75b67965e6e9b", kill_on_drop: false }` [INFO] [stdout] d7226723efb1b468b3d834892857742b3298b5478cbc07d0fcd75b67965e6e9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 89e43e12a01548656a0984f58473ec26aad37697a0b4553790c21e15015df6c4 [INFO] running `Command { std: "docker" "start" "-a" "89e43e12a01548656a0984f58473ec26aad37697a0b4553790c21e15015df6c4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling wgpu-hal v24.0.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling wgpu-core v24.0.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling wgpu v24.0.3 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling pollster v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v24.0.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling gpu-descriptor v0.3.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.6 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.8 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.6 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.6 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling simple-game-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `plugin::RenderPlugin` [INFO] [stdout] --> src/plugins/render/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use plugin::RenderPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plugins/render/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | return todo!(); [INFO] [stdout] | ^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_state` [INFO] [stdout] --> src/plugins/render/plugin.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let render_state = RenderState::new(window).block_on(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/plugins/render/state.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn new(window: &'window Window) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_state` is never read [INFO] [stdout] --> src/core/app.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct App<'window> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub render_state: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/plugins/window/plugin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WindowPlugin { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | window_attributes: WindowAttributes, [INFO] [stdout] 12 | state: WindowState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugins/window/plugin.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowPlugin { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window` and `attributes` are never read [INFO] [stdout] --> src/plugins/window/state.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 4 | pub window: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub attributes: WindowAttributes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/plugins/window/state.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl WindowState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_window_event` is never used [INFO] [stdout] --> src/plugins/window/events.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn handle_window_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderPlugin` is never constructed [INFO] [stdout] --> src/plugins/render/plugin.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RenderPlugin; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugins/render/plugin.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl RenderPlugin { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `surface`, `device`, `queue`, and `config` are never read [INFO] [stdout] --> src/plugins/render/state.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RenderState<'window> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub surface: Surface<'window>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub queue: Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub config: SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `resize` are never used [INFO] [stdout] --> src/plugins/render/state.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'window> RenderState<'window> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub async fn new(window: &'window Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "89e43e12a01548656a0984f58473ec26aad37697a0b4553790c21e15015df6c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e43e12a01548656a0984f58473ec26aad37697a0b4553790c21e15015df6c4", kill_on_drop: false }` [INFO] [stdout] 89e43e12a01548656a0984f58473ec26aad37697a0b4553790c21e15015df6c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 4114992f18e06da7233228c5c713be0827421a64f8dff000499deb10326fda9f [INFO] running `Command { std: "docker" "start" "-a" "4114992f18e06da7233228c5c713be0827421a64f8dff000499deb10326fda9f", kill_on_drop: false }` [INFO] [stderr] Compiling simple-game-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `plugin::RenderPlugin` [INFO] [stdout] --> src/plugins/render/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use plugin::RenderPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plugins/render/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | return todo!(); [INFO] [stdout] | ^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_state` [INFO] [stdout] --> src/plugins/render/plugin.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let render_state = RenderState::new(window).block_on(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/plugins/render/state.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn new(window: &'window Window) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_state` is never read [INFO] [stdout] --> src/core/app.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct App<'window> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub render_state: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/plugins/window/plugin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WindowPlugin { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | window_attributes: WindowAttributes, [INFO] [stdout] 12 | state: WindowState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugins/window/plugin.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowPlugin { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window` and `attributes` are never read [INFO] [stdout] --> src/plugins/window/state.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 4 | pub window: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub attributes: WindowAttributes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/plugins/window/state.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl WindowState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_window_event` is never used [INFO] [stdout] --> src/plugins/window/events.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn handle_window_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderPlugin` is never constructed [INFO] [stdout] --> src/plugins/render/plugin.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RenderPlugin; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugins/render/plugin.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl RenderPlugin { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `surface`, `device`, `queue`, and `config` are never read [INFO] [stdout] --> src/plugins/render/state.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RenderState<'window> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub surface: Surface<'window>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub queue: Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub config: SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `resize` are never used [INFO] [stdout] --> src/plugins/render/state.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'window> RenderState<'window> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub async fn new(window: &'window Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "4114992f18e06da7233228c5c713be0827421a64f8dff000499deb10326fda9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4114992f18e06da7233228c5c713be0827421a64f8dff000499deb10326fda9f", kill_on_drop: false }` [INFO] [stdout] 4114992f18e06da7233228c5c713be0827421a64f8dff000499deb10326fda9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 8cfd7b0fe414a9997f5fd976047d8a7724453d9c90b9b1a34492f0db8c0adc54 [INFO] running `Command { std: "docker" "start" "-a" "8cfd7b0fe414a9997f5fd976047d8a7724453d9c90b9b1a34492f0db8c0adc54", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `plugin::RenderPlugin` [INFO] [stderr] --> src/plugins/render/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use plugin::RenderPlugin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/plugins/render/state.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | return todo!(); [INFO] [stderr] | ^^^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `render_state` [INFO] [stderr] --> src/plugins/render/plugin.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | let render_state = RenderState::new(window).block_on(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window` [INFO] [stderr] --> src/plugins/render/state.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn new(window: &'window Window) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stderr] [INFO] [stderr] warning: field `render_state` is never read [INFO] [stderr] --> src/core/app.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct App<'window> { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub render_state: Option>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `state` is never read [INFO] [stderr] --> src/plugins/window/plugin.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct WindowPlugin { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 11 | window_attributes: WindowAttributes, [INFO] [stderr] 12 | state: WindowState, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/plugins/window/plugin.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl WindowPlugin { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 16 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `window` and `attributes` are never read [INFO] [stderr] --> src/plugins/window/state.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct WindowState { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 4 | pub window: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 5 | pub attributes: WindowAttributes, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `default` is never used [INFO] [stderr] --> src/plugins/window/state.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl WindowState { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 16 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `handle_window_event` is never used [INFO] [stderr] --> src/plugins/window/events.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn handle_window_event( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RenderPlugin` is never constructed [INFO] [stderr] --> src/plugins/render/plugin.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct RenderPlugin; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/plugins/render/plugin.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl RenderPlugin { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 8 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `surface`, `device`, `queue`, and `config` are never read [INFO] [stderr] --> src/plugins/render/state.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct RenderState<'window> { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 5 | pub surface: Surface<'window>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 6 | pub device: Device, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 7 | pub queue: Queue, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 8 | pub config: SurfaceConfiguration, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `resize` are never used [INFO] [stderr] --> src/plugins/render/state.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 11 | impl<'window> RenderState<'window> { [INFO] [stderr] | ---------------------------------- associated items in this implementation [INFO] [stderr] 12 | pub async fn new(window: &'window Window) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simple-game-engine` (bin "simple-game-engine" test) generated 14 warnings (run `cargo fix --bin "simple-game-engine" -p simple-game-engine --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/simple-game-engine/7bdb181a4aef9d33/deps/simple_game_engine-7bdb181a4aef9d33) [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" "8cfd7b0fe414a9997f5fd976047d8a7724453d9c90b9b1a34492f0db8c0adc54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cfd7b0fe414a9997f5fd976047d8a7724453d9c90b9b1a34492f0db8c0adc54", kill_on_drop: false }` [INFO] [stdout] 8cfd7b0fe414a9997f5fd976047d8a7724453d9c90b9b1a34492f0db8c0adc54