[INFO] cloning repository https://github.com/marcuseinar/Skogen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcuseinar/Skogen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuseinar%2FSkogen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuseinar%2FSkogen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc2714e2d24a7ff1aa3f3a6806e1a6135d5079c4 [INFO] checking marcuseinar/Skogen against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuseinar%2FSkogen" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcuseinar/Skogen [INFO] finished tweaking git repo https://github.com/marcuseinar/Skogen [INFO] tweaked toml for git repo https://github.com/marcuseinar/Skogen written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcuseinar/Skogen on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcuseinar/Skogen 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.10 [INFO] [stderr] Downloaded macroquad v0.4.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe [INFO] running `Command { std: "docker" "start" "6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniquad v0.4.10 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking macroquad v0.4.15 [INFO] [stderr] Checking skogen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `noise` [INFO] [stdout] --> src/player.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn interact(&mut self, map: &mut Map, noise: &mut NoiseSystem) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_noise` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noise` [INFO] [stdout] --> src/player.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn interact(&mut self, map: &mut Map, noise: &mut NoiseSystem) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_noise` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_melee` is never used [INFO] [stdout] --> src/loot.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Item { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_melee(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/loot.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct LootSpot { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub label: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BrokenWindow` is never constructed [INFO] [stdout] --> src/map.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum TileKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | BrokenWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `break_window` is never used [INFO] [stdout] --> src/map.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn break_window(&mut self, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intensity_at` is never used [INFO] [stdout] --> src/noise.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl NoiseSystem { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn intensity_at(&self, pos: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTACK_RANGE` is never used [INFO] [stdout] --> src/walker.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ATTACK_RANGE: f32 = TILE_SIZE * 1.1; // just over 1 tile [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_attack_player` and `is_chasing` are never used [INFO] [stdout] --> src/walker.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Walker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn can_attack_player(&self, player_pos: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn is_chasing(&self) -> bool { matches!(self.state, WalkerState::Chasing) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dust` is never constructed [INFO] [stdout] --> src/particles.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum ParticleKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 15 | Blood, [INFO] [stdout] 16 | Dust, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/player.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn stop(&mut self) { self.path.clear(); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `has_touch` is never read [INFO] [stdout] --> src/ui.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TouchInput { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub has_touch: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_item` is never used [INFO] [stdout] --> src/sprites.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Sprites { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn draw_item(&self, col: f32, sp: Vec2, tint: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_melee` is never used [INFO] [stdout] --> src/loot.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Item { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_melee(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/loot.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct LootSpot { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub label: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BrokenWindow` is never constructed [INFO] [stdout] --> src/map.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum TileKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | BrokenWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `break_window` is never used [INFO] [stdout] --> src/map.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn break_window(&mut self, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intensity_at` is never used [INFO] [stdout] --> src/noise.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl NoiseSystem { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn intensity_at(&self, pos: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTACK_RANGE` is never used [INFO] [stdout] --> src/walker.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ATTACK_RANGE: f32 = TILE_SIZE * 1.1; // just over 1 tile [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_attack_player` and `is_chasing` are never used [INFO] [stdout] --> src/walker.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Walker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn can_attack_player(&self, player_pos: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn is_chasing(&self) -> bool { matches!(self.state, WalkerState::Chasing) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dust` is never constructed [INFO] [stdout] --> src/particles.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum ParticleKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 15 | Blood, [INFO] [stdout] 16 | Dust, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/player.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn stop(&mut self) { self.path.clear(); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `has_touch` is never read [INFO] [stdout] --> src/ui.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TouchInput { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub has_touch: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_item` is never used [INFO] [stdout] --> src/sprites.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Sprites { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn draw_item(&self, col: f32, sp: Vec2, tint: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.63s [INFO] running `Command { std: "docker" "inspect" "6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe", kill_on_drop: false }` [INFO] [stdout] 6aca1fd76648626fe667fd97426daeec0c573c6278cde0e6d153c26d90987ebe