[INFO] cloning repository https://github.com/vvvm23/walter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vvvm23/walter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvvm23%2Fwalter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvvm23%2Fwalter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad88ab1ec657b17d9e6b245a1aa5b7b7d13bd5a1 [INFO] testing vvvm23/walter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvvvm23%2Fwalter" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vvvm23/walter on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vvvm23/walter [INFO] finished tweaking git repo https://github.com/vvvm23/walter [INFO] tweaked toml for git repo https://github.com/vvvm23/walter written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/vvvm23/walter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef3a5bbe7249e525758dbb070d1c50fc5b1f0766a8e5ac11d98e37ee956c35bf [INFO] running `Command { std: "docker" "start" "-a" "ef3a5bbe7249e525758dbb070d1c50fc5b1f0766a8e5ac11d98e37ee956c35bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef3a5bbe7249e525758dbb070d1c50fc5b1f0766a8e5ac11d98e37ee956c35bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3a5bbe7249e525758dbb070d1c50fc5b1f0766a8e5ac11d98e37ee956c35bf", kill_on_drop: false }` [INFO] [stdout] ef3a5bbe7249e525758dbb070d1c50fc5b1f0766a8e5ac11d98e37ee956c35bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a106b3083783e440c093f76581f3f53e648bb2b963db21538be2ca668381f14 [INFO] running `Command { std: "docker" "start" "-a" "3a106b3083783e440c093f76581f3f53e648bb2b963db21538be2ca668381f14", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling mint v0.5.5 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling spin v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling claxon v0.3.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling froggy v0.4.4 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling includedir v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling includedir_codegen v0.5.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling glyph_brush v0.4.3 [INFO] [stderr] Compiling three v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling genmesh v0.6.2 [INFO] [stderr] Compiling rodio v0.8.1 [INFO] [stderr] Compiling obj v0.9.1 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling rodio v0.11.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling gfx_glyph v0.13.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling gfx_window_glutin v0.28.0 [INFO] [stderr] Compiling walter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error, debug}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ecs.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | _ => false [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ecs.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | _ => false [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ecs.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut e1_sprite = state.sprite_components.get_mut(e1).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut e2_sprite = state.sprite_components.get_mut(e2).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_index` [INFO] [stdout] --> src/ecs.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | max_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GenerationalIndexAllocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ecs.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deallocate` [INFO] [stdout] --> src/ecs.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn deallocate(&mut self, index: GenerationalIndex) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset` [INFO] [stdout] --> src/ecs.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn unset(&mut self, index: GenerationalIndex) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/ecs.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get(&self, index: GenerationalIndex) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_component` [INFO] [stdout] --> src/ecs.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn remove_component(&self, state: &mut State, ct: ComponentType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_component` [INFO] [stdout] --> src/ecs.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn has_component(&self, state: &State, ct: ComponentType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_entity` [INFO] [stdout] --> src/ecs.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn delete_entity(&mut self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Texture` [INFO] [stdout] --> src/rendering.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Texture = three::Texture<[f32; 4]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_texture` [INFO] [stdout] --> src/rendering.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn change_texture(&mut self, win: &mut three::Window, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scene_remove` [INFO] [stdout] --> src/rendering.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn scene_remove(&self, win: &mut three::Window) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "3a106b3083783e440c093f76581f3f53e648bb2b963db21538be2ca668381f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a106b3083783e440c093f76581f3f53e648bb2b963db21538be2ca668381f14", kill_on_drop: false }` [INFO] [stdout] 3a106b3083783e440c093f76581f3f53e648bb2b963db21538be2ca668381f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0949d7426e25b218485960b3bea67ea097d07086aff30a5dc5081e1a42667d5 [INFO] running `Command { std: "docker" "start" "-a" "e0949d7426e25b218485960b3bea67ea097d07086aff30a5dc5081e1a42667d5", 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] [stderr] Compiling walter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error, debug}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ecs.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | _ => false [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ecs.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | _ => false [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ecs.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut e1_sprite = state.sprite_components.get_mut(e1).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut e2_sprite = state.sprite_components.get_mut(e2).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_index` [INFO] [stdout] --> src/ecs.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | max_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GenerationalIndexAllocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ecs.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deallocate` [INFO] [stdout] --> src/ecs.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn deallocate(&mut self, index: GenerationalIndex) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset` [INFO] [stdout] --> src/ecs.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn unset(&mut self, index: GenerationalIndex) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/ecs.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get(&self, index: GenerationalIndex) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_component` [INFO] [stdout] --> src/ecs.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn remove_component(&self, state: &mut State, ct: ComponentType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_component` [INFO] [stdout] --> src/ecs.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn has_component(&self, state: &State, ct: ComponentType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_entity` [INFO] [stdout] --> src/ecs.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn delete_entity(&mut self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Texture` [INFO] [stdout] --> src/rendering.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Texture = three::Texture<[f32; 4]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_texture` [INFO] [stdout] --> src/rendering.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn change_texture(&mut self, win: &mut three::Window, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scene_remove` [INFO] [stdout] --> src/rendering.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn scene_remove(&self, win: &mut three::Window) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/walter-265b7a4d2f928881) [INFO] running `Command { std: "docker" "inspect" "e0949d7426e25b218485960b3bea67ea097d07086aff30a5dc5081e1a42667d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0949d7426e25b218485960b3bea67ea097d07086aff30a5dc5081e1a42667d5", kill_on_drop: false }` [INFO] [stdout] e0949d7426e25b218485960b3bea67ea097d07086aff30a5dc5081e1a42667d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 908d524919ea455ed75e8780d199d574be4f11c783e62ba6348d8d8ae2a9674a [INFO] running `Command { std: "docker" "start" "-a" "908d524919ea455ed75e8780d199d574be4f11c783e62ba6348d8d8ae2a9674a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `debug`, `error` [INFO] [stderr] --> src/main.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{info, error, debug}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/ecs.rs:224:13 [INFO] [stderr] | [INFO] [stderr] 224 | _ => false [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/ecs.rs:234:13 [INFO] [stderr] | [INFO] [stderr] 234 | _ => false [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/ecs.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | for i in 0..n { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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/main.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | let mut e1_sprite = state.sprite_components.get_mut(e1).unwrap(); [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let mut e2_sprite = state.sprite_components.get_mut(e2).unwrap(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `max_index` [INFO] [stderr] --> src/ecs.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | max_index: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `GenerationalIndexAllocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ecs.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `deallocate` [INFO] [stderr] --> src/ecs.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn deallocate(&mut self, index: GenerationalIndex) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unset` [INFO] [stderr] --> src/ecs.rs:165:8 [INFO] [stderr] | [INFO] [stderr] 165 | fn unset(&mut self, index: GenerationalIndex) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/ecs.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn get(&self, index: GenerationalIndex) -> Option<&T> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_component` [INFO] [stderr] --> src/ecs.rs:218:12 [INFO] [stderr] | [INFO] [stderr] 218 | pub fn remove_component(&self, state: &mut State, ct: ComponentType) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_component` [INFO] [stderr] --> src/ecs.rs:228:12 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn has_component(&self, state: &State, ct: ComponentType) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_entity` [INFO] [stderr] --> src/ecs.rs:265:12 [INFO] [stderr] | [INFO] [stderr] 265 | pub fn delete_entity(&mut self, entity: Entity) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Texture` [INFO] [stderr] --> src/rendering.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | type Texture = three::Texture<[f32; 4]>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `change_texture` [INFO] [stderr] --> src/rendering.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn change_texture(&mut self, win: &mut three::Window, path: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `scene_remove` [INFO] [stderr] --> src/rendering.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn scene_remove(&self, win: &mut three::Window) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `walter` (bin "walter" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/walter-265b7a4d2f928881) [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" "908d524919ea455ed75e8780d199d574be4f11c783e62ba6348d8d8ae2a9674a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "908d524919ea455ed75e8780d199d574be4f11c783e62ba6348d8d8ae2a9674a", kill_on_drop: false }` [INFO] [stdout] 908d524919ea455ed75e8780d199d574be4f11c783e62ba6348d8d8ae2a9674a