[INFO] cloning repository https://github.com/sethwbarton/rust-rpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sethwbarton/rust-rpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethwbarton%2Frust-rpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethwbarton%2Frust-rpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0139938d4ae93cbf5ac86c3844e613470739e52 [INFO] testing sethwbarton/rust-rpg against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethwbarton%2Frust-rpg" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sethwbarton/rust-rpg [INFO] finished tweaking git repo https://github.com/sethwbarton/rust-rpg [INFO] tweaked toml for git repo https://github.com/sethwbarton/rust-rpg written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sethwbarton/rust-rpg on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sethwbarton/rust-rpg 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ecolor v0.23.0 [INFO] [stderr] Downloaded emath v0.23.0 [INFO] [stderr] Downloaded console_engine v2.6.0 [INFO] [stderr] Downloaded egui v0.23.0 [INFO] [stderr] Downloaded epaint v0.23.0 [INFO] [stderr] Downloaded nannou_egui v0.19.0 [INFO] [stderr] Downloaded egui-wgpu v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ffa6c68324730a64f237318d452c3e27a22caa8a95e7823a82a01cc2b133430 [INFO] running `Command { std: "docker" "start" "-a" "0ffa6c68324730a64f237318d452c3e27a22caa8a95e7823a82a01cc2b133430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ffa6c68324730a64f237318d452c3e27a22caa8a95e7823a82a01cc2b133430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ffa6c68324730a64f237318d452c3e27a22caa8a95e7823a82a01cc2b133430", kill_on_drop: false }` [INFO] [stdout] 0ffa6c68324730a64f237318d452c3e27a22caa8a95e7823a82a01cc2b133430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fb759d5196cb6078591a8a7cd49b999ac5515c43e71e19f175a30a369ff2340 [INFO] running `Command { std: "docker" "start" "-a" "3fb759d5196cb6078591a8a7cd49b999ac5515c43e71e19f175a30a369ff2340", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling lyon_geom v0.17.7 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling glam v0.17.3 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling emath v0.23.0 [INFO] [stderr] Compiling ecolor v0.23.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling epaint v0.23.0 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling nannou_core v0.19.0 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling nannou_mesh v0.19.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling pennereq v0.3.1 [INFO] [stderr] Compiling type-map v0.5.0 [INFO] [stderr] Compiling notosans v0.1.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling egui v0.23.0 [INFO] [stderr] Compiling console_engine v2.6.0 [INFO] [stderr] Compiling nannou_wgpu v0.19.0 [INFO] [stderr] Compiling egui-wgpu v0.23.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling nannou v0.19.0 [INFO] [stderr] Compiling nannou_egui v0.19.0 [INFO] [stderr] Compiling rust-rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated field `nannou::winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/ui/input/event_handling.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/game/entities/thargoid.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn draw(self: &Self, draw: &Draw, model: &GameState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/game/entities/thargoid.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn spawn(state: &GameState) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/ui/input/event_handling.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/ui/input/event_handling.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | phase, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `phase: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | for mut thargoid in &mut model.thargoids { [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: fields `hp` and `turrets` are never read [INFO] [stdout] --> src/game/entities/ship.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Ship { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub hp: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub turrets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/game/entities/ship.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Ship { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn hit(&mut self, points: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_impulse` and `get_xy` are never used [INFO] [stdout] --> src/game/entities/thargoid.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait PhysicsObject { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 8 | fn apply_impulse(self: &mut Self, impulse: Vec2) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn apply_next_frame(self: &mut Self) -> (); [INFO] [stdout] 10 | fn get_xy(self: &Self) -> Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hp` is never read [INFO] [stdout] --> src/game/entities/thargoid.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Thargoid { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub hp: i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `spawn` is never used [INFO] [stdout] --> src/game/entities/thargoid.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Thargoid { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 44 | pub fn spawn(state: &GameState) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3fb759d5196cb6078591a8a7cd49b999ac5515c43e71e19f175a30a369ff2340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fb759d5196cb6078591a8a7cd49b999ac5515c43e71e19f175a30a369ff2340", kill_on_drop: false }` [INFO] [stdout] 3fb759d5196cb6078591a8a7cd49b999ac5515c43e71e19f175a30a369ff2340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 246c38bc09651f8f0e0c324f11d9166db7dab143e1bc784a4f5a23389a7e4e37 [INFO] running `Command { std: "docker" "start" "-a" "246c38bc09651f8f0e0c324f11d9166db7dab143e1bc784a4f5a23389a7e4e37", kill_on_drop: false }` [INFO] [stderr] Compiling rust-rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated field `nannou::winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/ui/input/event_handling.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/game/entities/thargoid.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn draw(self: &Self, draw: &Draw, model: &GameState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/game/entities/thargoid.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn spawn(state: &GameState) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/ui/input/event_handling.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/ui/input/event_handling.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | phase, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `phase: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | for mut thargoid in &mut model.thargoids { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "246c38bc09651f8f0e0c324f11d9166db7dab143e1bc784a4f5a23389a7e4e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246c38bc09651f8f0e0c324f11d9166db7dab143e1bc784a4f5a23389a7e4e37", kill_on_drop: false }` [INFO] [stdout] 246c38bc09651f8f0e0c324f11d9166db7dab143e1bc784a4f5a23389a7e4e37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e3e14cc8ce1a970860712568f21dd0665bc8dd79ac172cad13ecc19cb9857d61 [INFO] running `Command { std: "docker" "start" "-a" "e3e14cc8ce1a970860712568f21dd0665bc8dd79ac172cad13ecc19cb9857d61", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated field `nannou::winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stderr] --> src/ui/input/event_handling.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | modifiers: _, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/game/entities/thargoid.rs:21:39 [INFO] [stderr] | [INFO] [stderr] 21 | fn draw(self: &Self, draw: &Draw, model: &GameState) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/game/entities/thargoid.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn spawn(state: &GameState) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `device_id` [INFO] [stderr] --> src/ui/input/event_handling.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | device_id, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `phase` [INFO] [stderr] --> src/ui/input/event_handling.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | phase, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `phase: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | for mut thargoid in &mut model.thargoids { [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: `rust-rpg` (bin "rust-rpg" test) generated 6 warnings (run `cargo fix --bin "rust-rpg" --tests` to apply 1 suggestion) [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stdout] running 7 tests [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stdout] test game::entities::ship::tests::hit_ship_to_reduce_hp ... ok [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stdout] test game::entities::ship::tests::new_ship_has_100hp_2_turrets ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_rpg-bc73db5ee7e0cb77) [INFO] [stdout] test game::entities::thargoid::tests::apply_next_frame_moves_towards_impulses ... ok [INFO] [stdout] test game::entities::thargoid::tests::adding_multiple_impulses ... ok [INFO] [stdout] test game::entities::thargoid::tests::new_thargoids_are_not_in_motion ... ok [INFO] [stdout] test game::entities::thargoid::tests::spawned_thargoids_have_100hp ... ok [INFO] [stdout] test game::entities::thargoid::tests::thargoids_spawn_from_top_right ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e3e14cc8ce1a970860712568f21dd0665bc8dd79ac172cad13ecc19cb9857d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3e14cc8ce1a970860712568f21dd0665bc8dd79ac172cad13ecc19cb9857d61", kill_on_drop: false }` [INFO] [stdout] e3e14cc8ce1a970860712568f21dd0665bc8dd79ac172cad13ecc19cb9857d61