[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 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcuseinar%2FSkogen" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/marcuseinar/Skogen on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02
[INFO] running `Command { std: "docker" "start" "b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02", 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" "b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02", 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" "b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling miniquad v0.4.10
[INFO] [stderr]     Checking image v0.24.9
[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: 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.73s
[INFO] running `Command { std: "docker" "inspect" "b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02", kill_on_drop: false }`
[INFO] [stdout] b255fca94af61878d811c5936b701de1f0f7b641da098965202d79956e667b02
