[INFO] cloning repository https://github.com/jona250210/funk-jam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jona250210/funk-jam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjona250210%2Ffunk-jam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjona250210%2Ffunk-jam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0adb4234da1b2d2b51d15a5aed7dc81c8435a78 [INFO] building jona250210/funk-jam against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjona250210%2Ffunk-jam" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jona250210/funk-jam [INFO] finished tweaking git repo https://github.com/jona250210/funk-jam [INFO] tweaked toml for git repo https://github.com/jona250210/funk-jam written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jona250210/funk-jam on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jona250210/funk-jam 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mopa v0.2.2 [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded tuple_utils v0.3.0 [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded raylib v5.0.2 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded nonempty v0.11.0 [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] [stderr] Downloaded ahash v0.3.8 [INFO] [stderr] Downloaded hashbrown v0.7.2 [INFO] [stderr] Downloaded specs v0.16.1 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded shred v0.10.2 [INFO] [stderr] Downloaded timer v0.2.0 [INFO] [stderr] Downloaded raylib-sys v5.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff4a424111848378754374f267c6d91edad8fcb5d8de6d02c1fca2c385781cf6 [INFO] running `Command { std: "docker" "start" "-a" "ff4a424111848378754374f267c6d91edad8fcb5d8de6d02c1fca2c385781cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff4a424111848378754374f267c6d91edad8fcb5d8de6d02c1fca2c385781cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4a424111848378754374f267c6d91edad8fcb5d8de6d02c1fca2c385781cf6", kill_on_drop: false }` [INFO] [stdout] ff4a424111848378754374f267c6d91edad8fcb5d8de6d02c1fca2c385781cf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68ca8411c42fea743d19922ae0633fe7708c7591b6941e5da857e934a91d47c6 [INFO] running `Command { std: "docker" "start" "-a" "68ca8411c42fea743d19922ae0633fe7708c7591b6941e5da857e934a91d47c6", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling nonempty v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling raylib-sys v5.0.2 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling raylib v5.0.2 [INFO] [stderr] Compiling funk-jam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ops::Deref, vec}; [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 import: `Animation` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use player::{Animation, Player}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::*` [INFO] [stdout] --> src/audiomanager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/texture_atlas.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tags` [INFO] [stdout] --> src/main.rs:19:61 [INFO] [stdout] | [INFO] [stdout] 19 | use tiled_map::{MazeConfig, SCALE, TILE_HEIGHT, TILE_WIDTH, Tags, Tile, TiledMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/tool.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::player::{self, Animation, Orientation}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tool::Tool` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tool::Tool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/intro.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::audiomanager::{self, AudioManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:290:40 [INFO] [stdout] | [INFO] [stdout] 290 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 291 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:291:44 [INFO] [stdout] | [INFO] [stdout] 291 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:292:30 [INFO] [stdout] | [INFO] [stdout] 292 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:296:40 [INFO] [stdout] | [INFO] [stdout] 296 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:297:31 [INFO] [stdout] | [INFO] [stdout] 297 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:297:44 [INFO] [stdout] | [INFO] [stdout] 297 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:302:27 [INFO] [stdout] | [INFO] [stdout] 302 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:305:44 [INFO] [stdout] | [INFO] [stdout] 305 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:312:44 [INFO] [stdout] | [INFO] [stdout] 312 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:315:48 [INFO] [stdout] | [INFO] [stdout] 315 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:318:47 [INFO] [stdout] | [INFO] [stdout] 318 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 376 | Some(Tool::Axe(orientation, animation, u, _)) if id == &2 => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:376:53 [INFO] [stdout] | [INFO] [stdout] 376 | Some(Tool::Axe(orientation, animation, u, _)) if id == &2 => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:381:44 [INFO] [stdout] | [INFO] [stdout] 381 | Some(Tool::Pickaxe(orientation, animation, u, _)) if id == &7 => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:381:57 [INFO] [stdout] | [INFO] [stdout] 381 | Some(Tool::Pickaxe(orientation, animation, u, _)) if id == &7 => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:386:43 [INFO] [stdout] | [INFO] [stdout] 386 | Some(Tool::Shovel(orientation, animation, u, _)) if id == &18 => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:386:56 [INFO] [stdout] | [INFO] [stdout] 386 | Some(Tool::Shovel(orientation, animation, u, _)) if id == &18 => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/player.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | let offset = 20.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atlas` [INFO] [stdout] --> src/player.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | atlas: &TextureAtlas, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_atlas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sound` [INFO] [stdout] --> src/audiomanager.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(sound) = self.sounds.get_mut(name) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> src/tiled_map.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | Tile::Static(id, tags) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/tiled_map.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | for layer in 0..self.layers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 285 | for _layer in 0..self.layers { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 285 - for layer in 0..self.layers { [INFO] [stdout] 285 + for HEIGHT in 0..self.layers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tiled_map.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | for x in 0..self.size_x { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 286 | for _x in 0..self.size_x { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 286 - for x in 0..self.size_x { [INFO] [stdout] 286 + for HEIGHT in 0..self.size_x { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tiled_map.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | for y in 0..self.size_y { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 287 | for _y in 0..self.size_y { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 287 - for y in 0..self.size_y { [INFO] [stdout] 287 + for HEIGHT in 0..self.size_y { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/tiled_map.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | let status = rng.random_range(0..3); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 332 | let _status = rng.random_range(0..3); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 332 - let status = rng.random_range(0..3); [INFO] [stdout] 332 + let HEIGHT = rng.random_range(0..3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/tiled_map.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | for (z, l) in &mut self.map.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tiled_map.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | for (x, row) in l.tiles.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tiled_map.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | for (y, tile) in row.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/tiled_map.rs:452:34 [INFO] [stdout] | [INFO] [stdout] 452 | fn collision_with_rec(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/tool.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut x = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/tool.rs:71:114 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 71 | pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, _delta_time: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCALE` [INFO] [stdout] | [INFO] [stdout] 71 - pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, delta_time: f32) { [INFO] [stdout] 71 + pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, tool::SCALE: f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tool.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut tmp: (i32, &Texture2D) = match self { [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: method `get_tile_id` is never used [INFO] [stdout] --> src/tiled_map.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> TiledMap<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn get_tile_id(&self, layer: i32, x: i32, y: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.81s [INFO] running `Command { std: "docker" "inspect" "68ca8411c42fea743d19922ae0633fe7708c7591b6941e5da857e934a91d47c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ca8411c42fea743d19922ae0633fe7708c7591b6941e5da857e934a91d47c6", kill_on_drop: false }` [INFO] [stdout] 68ca8411c42fea743d19922ae0633fe7708c7591b6941e5da857e934a91d47c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d950f1c969823e1e5d083f755281239428fc48c0d018c969cb323e4eb228f337 [INFO] running `Command { std: "docker" "start" "-a" "d950f1c969823e1e5d083f755281239428fc48c0d018c969cb323e4eb228f337", kill_on_drop: false }` [INFO] [stderr] Compiling funk-jam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ops::Deref, vec}; [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 import: `Animation` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use player::{Animation, Player}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::*` [INFO] [stdout] --> src/audiomanager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/texture_atlas.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tags` [INFO] [stdout] --> src/main.rs:19:61 [INFO] [stdout] | [INFO] [stdout] 19 | use tiled_map::{MazeConfig, SCALE, TILE_HEIGHT, TILE_WIDTH, Tags, Tile, TiledMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/tool.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::player::{self, Animation, Orientation}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tool::Tool` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tool::Tool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/intro.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::audiomanager::{self, AudioManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:290:40 [INFO] [stdout] | [INFO] [stdout] 290 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 291 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:291:44 [INFO] [stdout] | [INFO] [stdout] 291 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:292:30 [INFO] [stdout] | [INFO] [stdout] 292 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:296:40 [INFO] [stdout] | [INFO] [stdout] 296 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:297:31 [INFO] [stdout] | [INFO] [stdout] 297 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:297:44 [INFO] [stdout] | [INFO] [stdout] 297 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => Inventory::Empty, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:302:27 [INFO] [stdout] | [INFO] [stdout] 302 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:305:44 [INFO] [stdout] | [INFO] [stdout] 305 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:312:44 [INFO] [stdout] | [INFO] [stdout] 312 | Tool::Axe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:315:48 [INFO] [stdout] | [INFO] [stdout] 315 | Tool::Pickaxe(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:318:47 [INFO] [stdout] | [INFO] [stdout] 318 | Tool::Shovel(orientation, animation, u, b) if *u == 0 && !b => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 376 | Some(Tool::Axe(orientation, animation, u, _)) if id == &2 => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:376:53 [INFO] [stdout] | [INFO] [stdout] 376 | Some(Tool::Axe(orientation, animation, u, _)) if id == &2 => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:381:44 [INFO] [stdout] | [INFO] [stdout] 381 | Some(Tool::Pickaxe(orientation, animation, u, _)) if id == &7 => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:381:57 [INFO] [stdout] | [INFO] [stdout] 381 | Some(Tool::Pickaxe(orientation, animation, u, _)) if id == &7 => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/player.rs:386:43 [INFO] [stdout] | [INFO] [stdout] 386 | Some(Tool::Shovel(orientation, animation, u, _)) if id == &18 => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> src/player.rs:386:56 [INFO] [stdout] | [INFO] [stdout] 386 | Some(Tool::Shovel(orientation, animation, u, _)) if id == &18 => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/player.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | let offset = 20.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atlas` [INFO] [stdout] --> src/player.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | atlas: &TextureAtlas, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_atlas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sound` [INFO] [stdout] --> src/audiomanager.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(sound) = self.sounds.get_mut(name) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> src/tiled_map.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | Tile::Static(id, tags) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/tiled_map.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | for layer in 0..self.layers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 285 | for _layer in 0..self.layers { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 285 - for layer in 0..self.layers { [INFO] [stdout] 285 + for HEIGHT in 0..self.layers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tiled_map.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | for x in 0..self.size_x { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 286 | for _x in 0..self.size_x { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 286 - for x in 0..self.size_x { [INFO] [stdout] 286 + for HEIGHT in 0..self.size_x { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tiled_map.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | for y in 0..self.size_y { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 287 | for _y in 0..self.size_y { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 287 - for y in 0..self.size_y { [INFO] [stdout] 287 + for HEIGHT in 0..self.size_y { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/tiled_map.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | let status = rng.random_range(0..3); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 332 | let _status = rng.random_range(0..3); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HEIGHT` [INFO] [stdout] | [INFO] [stdout] 332 - let status = rng.random_range(0..3); [INFO] [stdout] 332 + let HEIGHT = rng.random_range(0..3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/tiled_map.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | for (z, l) in &mut self.map.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tiled_map.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | for (x, row) in l.tiles.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tiled_map.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | for (y, tile) in row.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/tiled_map.rs:452:34 [INFO] [stdout] | [INFO] [stdout] 452 | fn collision_with_rec(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/tool.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut x = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/tool.rs:71:114 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 71 | pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, _delta_time: f32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCALE` [INFO] [stdout] | [INFO] [stdout] 71 - pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, delta_time: f32) { [INFO] [stdout] 71 + pub fn render(&mut self, d: &mut RaylibMode2D<'_, RaylibDrawHandle>, player_pos: Vector2, elapsed_time: f32, tool::SCALE: f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tool.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut tmp: (i32, &Texture2D) = match self { [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: method `get_tile_id` is never used [INFO] [stdout] --> src/tiled_map.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> TiledMap<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn get_tile_id(&self, layer: i32, x: i32, y: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "d950f1c969823e1e5d083f755281239428fc48c0d018c969cb323e4eb228f337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d950f1c969823e1e5d083f755281239428fc48c0d018c969cb323e4eb228f337", kill_on_drop: false }` [INFO] [stdout] d950f1c969823e1e5d083f755281239428fc48c0d018c969cb323e4eb228f337