[INFO] cloning repository https://github.com/so4ud/simple_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/so4ud/simple_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fso4ud%2Fsimple_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fso4ud%2Fsimple_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddd4ab17d6b48717460a37da4979e84ad1aa720d [INFO] testing so4ud/simple_game against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fso4ud%2Fsimple_game" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/so4ud/simple_game [INFO] finished tweaking git repo https://github.com/so4ud/simple_game [INFO] tweaked toml for git repo https://github.com/so4ud/simple_game written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/so4ud/simple_game on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/so4ud/simple_game 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cec46caaf69ccd307ebcbf105455d85153084c8140c13ee1a5356a9e7d03b572 [INFO] running `Command { std: "docker" "start" "-a" "cec46caaf69ccd307ebcbf105455d85153084c8140c13ee1a5356a9e7d03b572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cec46caaf69ccd307ebcbf105455d85153084c8140c13ee1a5356a9e7d03b572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec46caaf69ccd307ebcbf105455d85153084c8140c13ee1a5356a9e7d03b572", kill_on_drop: false }` [INFO] [stdout] cec46caaf69ccd307ebcbf105455d85153084c8140c13ee1a5356a9e7d03b572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa32fe0932cf827a321cdb7ea537996af7350831687e58e58595b09b20794d0 [INFO] running `Command { std: "docker" "start" "-a" "caa32fe0932cf827a321cdb7ea537996af7350831687e58e58595b09b20794d0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling glium v0.36.0 [INFO] [stderr] Compiling avif-serialize v0.8.8 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling zune-jpeg v0.5.12 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling simple_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{self, io}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Components` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | ecs::{Component, Components, Ecs, SIGTYPE, System, User}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use cgmath::{self, vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `NamedKey`, `SmolStr`, and `self` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | keyboard::{Key, NamedKey, SmolStr}, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/ecs.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `api::egl::display` and `dpi::PhysicalPosition` [INFO] [stdout] --> src/ecs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | glutin::{api::egl::display, surface::WindowSurface}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | dpi::PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InnerSpace` [INFO] [stdout] --> src/keypress_handler.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{InnerSpace, Matrix3, Rad, vec2, vec3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deg`, `Matrix`, and `perspective` [INFO] [stdout] --> src/redraw_hendler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Deg, Matrix, Matrix4, Point3, Rad, Vector3, VectorSpace, ortho, perspective, point3, vec2, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/ecs.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | window_id: glium::winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/ecs.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ecs.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | fn resumed(&mut self, event_loop: &glium::winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ecs.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | fn user_event(&mut self, event_loop: &glium::winit::event_loop::ActiveEventLoop, event: User) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ecs.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | fn about_to_wait(&mut self, event_loop: &event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ecs.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/ecs.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 297 | User::Update(_) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 307 | User::Startup => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 317 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keypress_handler.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cam_pos1 = vec3(cam_pos[0], cam_pos[1], cam_pos[2]); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keypress_handler.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cam_rotation1 = vec2(cam_rotation[0], cam_rotation[1]); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_cam_up` [INFO] [stdout] --> src/keypress_handler.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let v_cam_up = vec3(0.0, 1.0, 0.0f32); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_cam_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_cam_direction` [INFO] [stdout] --> src/keypress_handler.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let v_cam_direction = Matrix3::from_angle_y(Rad { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_cam_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/redraw_hendler.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | let (width, height) = target.get_dimensions(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/redraw_hendler.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let (width, height) = target.get_dimensions(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColitionBox` is never constructed [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct ColitionBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Component` is never used [INFO] [stdout] --> src/ecs.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Component { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entities` is never read [INFO] [stdout] --> src/ecs.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Entities { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 266 | pub entities: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `parent_id`, and `signature` are never read [INFO] [stdout] --> src/ecs.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 271 | /// always equals to the index [INFO] [stdout] 272 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 273 | /// index [INFO] [stdout] 274 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 275 | /// attached components [INFO] [stdout] 276 | pub signature: SIGTYPE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_SPEED` is never used [INFO] [stdout] --> src/keypress_handler.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | const MOVE_SPEED: f32 = 10.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTATION_SPEED` is never used [INFO] [stdout] --> src/keypress_handler.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | const ROTATION_SPEED: f32 = 3.751; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "caa32fe0932cf827a321cdb7ea537996af7350831687e58e58595b09b20794d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa32fe0932cf827a321cdb7ea537996af7350831687e58e58595b09b20794d0", kill_on_drop: false }` [INFO] [stdout] caa32fe0932cf827a321cdb7ea537996af7350831687e58e58595b09b20794d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e90fa4c7fa08535211e75a5a8c44961dde6e9cda2dc737c68ea27f0337a9b2b0 [INFO] running `Command { std: "docker" "start" "-a" "e90fa4c7fa08535211e75a5a8c44961dde6e9cda2dc737c68ea27f0337a9b2b0", kill_on_drop: false }` [INFO] [stderr] Compiling simple_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{self, io}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Components` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | ecs::{Component, Components, Ecs, SIGTYPE, System, User}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use cgmath::{self, vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `NamedKey`, `SmolStr`, and `self` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | keyboard::{Key, NamedKey, SmolStr}, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/ecs.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `api::egl::display` and `dpi::PhysicalPosition` [INFO] [stdout] --> src/ecs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | glutin::{api::egl::display, surface::WindowSurface}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | dpi::PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InnerSpace` [INFO] [stdout] --> src/keypress_handler.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{InnerSpace, Matrix3, Rad, vec2, vec3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deg`, `Matrix`, and `perspective` [INFO] [stdout] --> src/redraw_hendler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Deg, Matrix, Matrix4, Point3, Rad, Vector3, VectorSpace, ortho, perspective, point3, vec2, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/ecs.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | window_id: glium::winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/ecs.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ecs.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | fn resumed(&mut self, event_loop: &glium::winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ecs.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | fn user_event(&mut self, event_loop: &glium::winit::event_loop::ActiveEventLoop, event: User) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/ecs.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | fn about_to_wait(&mut self, event_loop: &event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ecs.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/ecs.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 297 | User::Update(_) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 307 | User::Startup => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 317 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keypress_handler.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cam_pos1 = vec3(cam_pos[0], cam_pos[1], cam_pos[2]); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keypress_handler.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cam_rotation1 = vec2(cam_rotation[0], cam_rotation[1]); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_cam_up` [INFO] [stdout] --> src/keypress_handler.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let v_cam_up = vec3(0.0, 1.0, 0.0f32); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_cam_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_cam_direction` [INFO] [stdout] --> src/keypress_handler.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let v_cam_direction = Matrix3::from_angle_y(Rad { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_cam_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/redraw_hendler.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | let (width, height) = target.get_dimensions(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/redraw_hendler.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let (width, height) = target.get_dimensions(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColitionBox` is never constructed [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct ColitionBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Component` is never used [INFO] [stdout] --> src/ecs.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Component { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entities` is never read [INFO] [stdout] --> src/ecs.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Entities { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 266 | pub entities: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `parent_id`, and `signature` are never read [INFO] [stdout] --> src/ecs.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 271 | /// always equals to the index [INFO] [stdout] 272 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 273 | /// index [INFO] [stdout] 274 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 275 | /// attached components [INFO] [stdout] 276 | pub signature: SIGTYPE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_SPEED` is never used [INFO] [stdout] --> src/keypress_handler.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | const MOVE_SPEED: f32 = 10.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTATION_SPEED` is never used [INFO] [stdout] --> src/keypress_handler.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | const ROTATION_SPEED: f32 = 3.751; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "e90fa4c7fa08535211e75a5a8c44961dde6e9cda2dc737c68ea27f0337a9b2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90fa4c7fa08535211e75a5a8c44961dde6e9cda2dc737c68ea27f0337a9b2b0", kill_on_drop: false }` [INFO] [stdout] e90fa4c7fa08535211e75a5a8c44961dde6e9cda2dc737c68ea27f0337a9b2b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4f1dcf1bc9b147490f3c62da17a1e4a7a93a4cc4f8037cf2cabeb84174a065c [INFO] running `Command { std: "docker" "start" "-a" "d4f1dcf1bc9b147490f3c62da17a1e4a7a93a4cc4f8037cf2cabeb84174a065c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `io` [INFO] [stderr] --> src/main.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use image::{self, io}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashMap` and `HashSet` [INFO] [stderr] --> src/main.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Components` [INFO] [stderr] --> src/main.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ecs::{Component, Components, Ecs, SIGTYPE, System, User}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vec3` [INFO] [stderr] --> src/main.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use cgmath::{self, vec3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Key`, `NamedKey`, `SmolStr`, and `self` [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | self, [INFO] [stderr] | ^^^^ [INFO] [stderr] 13 | keyboard::{Key, NamedKey, SmolStr}, [INFO] [stderr] | ^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `VecDeque` [INFO] [stderr] --> src/ecs.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | collections::{HashMap, VecDeque}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `api::egl::display` and `dpi::PhysicalPosition` [INFO] [stderr] --> src/ecs.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | glutin::{api::egl::display, surface::WindowSurface}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | dpi::PhysicalPosition, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `InnerSpace` [INFO] [stderr] --> src/keypress_handler.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use cgmath::{InnerSpace, Matrix3, Rad, vec2, vec3}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deg`, `Matrix`, and `perspective` [INFO] [stderr] --> src/redraw_hendler.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | Deg, Matrix, Matrix4, Point3, Rad, Vector3, VectorSpace, ortho, perspective, point3, vec2, [INFO] [stderr] | ^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_id` [INFO] [stderr] --> src/ecs.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | window_id: glium::winit::window::WindowId, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `device_id` [INFO] [stderr] --> src/ecs.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | device_id, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> src/ecs.rs:240:27 [INFO] [stderr] | [INFO] [stderr] 240 | fn resumed(&mut self, event_loop: &glium::winit::event_loop::ActiveEventLoop) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> src/ecs.rs:243:30 [INFO] [stderr] | [INFO] [stderr] 243 | fn user_event(&mut self, event_loop: &glium::winit::event_loop::ActiveEventLoop, event: User) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> src/ecs.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | fn about_to_wait(&mut self, event_loop: &event_loop::ActiveEventLoop) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/ecs.rs:317:13 [INFO] [stderr] | [INFO] [stderr] 317 | _ => (), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/ecs.rs:317:13 [INFO] [stderr] | [INFO] [stderr] 297 | User::Update(_) => { [INFO] [stderr] | --------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 307 | User::Startup => { [INFO] [stderr] | ------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 317 | _ => (), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/keypress_handler.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let mut cam_pos1 = vec3(cam_pos[0], cam_pos[1], cam_pos[2]); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/keypress_handler.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cam_rotation1 = vec2(cam_rotation[0], cam_rotation[1]); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v_cam_up` [INFO] [stderr] --> src/keypress_handler.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | let v_cam_up = vec3(0.0, 1.0, 0.0f32); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_cam_up` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v_cam_direction` [INFO] [stderr] --> src/keypress_handler.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | let v_cam_direction = Matrix3::from_angle_y(Rad { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_cam_direction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/redraw_hendler.rs:118:10 [INFO] [stderr] | [INFO] [stderr] 118 | let (width, height) = target.get_dimensions(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/redraw_hendler.rs:118:17 [INFO] [stderr] | [INFO] [stderr] 118 | let (width, height) = target.get_dimensions(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: struct `ColitionBox` is never constructed [INFO] [stderr] --> src/main.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | struct ColitionBox { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Component` is never used [INFO] [stderr] --> src/ecs.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub trait Component { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `entities` is never read [INFO] [stderr] --> src/ecs.rs:266:9 [INFO] [stderr] | [INFO] [stderr] 265 | pub struct Entities { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 266 | pub entities: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `parent_id`, and `signature` are never read [INFO] [stderr] --> src/ecs.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 270 | pub struct Entity { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 271 | /// always equals to the index [INFO] [stderr] 272 | pub id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 273 | /// index [INFO] [stderr] 274 | pub parent_id: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 275 | /// attached components [INFO] [stderr] 276 | pub signature: SIGTYPE, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MOVE_SPEED` is never used [INFO] [stderr] --> src/keypress_handler.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | const MOVE_SPEED: f32 = 10.0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ROTATION_SPEED` is never used [INFO] [stderr] --> src/keypress_handler.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | const ROTATION_SPEED: f32 = 3.751; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simple_game` (bin "simple_game" test) generated 27 warnings (run `cargo fix --bin "simple_game" -p simple_game --tests` to apply 20 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_game-c465b944edc92143) [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" "d4f1dcf1bc9b147490f3c62da17a1e4a7a93a4cc4f8037cf2cabeb84174a065c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f1dcf1bc9b147490f3c62da17a1e4a7a93a4cc4f8037cf2cabeb84174a065c", kill_on_drop: false }` [INFO] [stdout] d4f1dcf1bc9b147490f3c62da17a1e4a7a93a4cc4f8037cf2cabeb84174a065c