[INFO] cloning repository https://github.com/VictiniX888/stardew [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VictiniX888/stardew" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictiniX888%2Fstardew", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictiniX888%2Fstardew'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9350575b3345a6550165af798494831fe86f76bf [INFO] checking VictiniX888/stardew against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictiniX888%2Fstardew" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VictiniX888/stardew [INFO] finished tweaking git repo https://github.com/VictiniX888/stardew [INFO] tweaked toml for git repo https://github.com/VictiniX888/stardew written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VictiniX888/stardew on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VictiniX888/stardew 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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiled v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bd94a85aaf00558599f2ff897a1947bc37e7ea23a0b3d06e1234d1f4e02fd03 [INFO] running `Command { std: "docker" "start" "-a" "0bd94a85aaf00558599f2ff897a1947bc37e7ea23a0b3d06e1234d1f4e02fd03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bd94a85aaf00558599f2ff897a1947bc37e7ea23a0b3d06e1234d1f4e02fd03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd94a85aaf00558599f2ff897a1947bc37e7ea23a0b3d06e1234d1f4e02fd03", kill_on_drop: false }` [INFO] [stdout] 0bd94a85aaf00558599f2ff897a1947bc37e7ea23a0b3d06e1234d1f4e02fd03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92fc36756daff3655b2761fd1c2d40faa450017953b5317ecdff56cc728b114a [INFO] running `Command { std: "docker" "start" "-a" "92fc36756daff3655b2761fd1c2d40faa450017953b5317ecdff56cc728b114a", kill_on_drop: false }` [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking xml-rs v0.8.25 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking macroquad v0.4.13 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking tiled v0.13.0 [INFO] [stderr] Checking stardew v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macroquad::prelude::*` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::prelude::*; [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: `macroquad::prelude::*` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::prelude::*; [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 imports: `ItemResource` and `Item` [INFO] [stdout] --> src/player.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | item::{Item, ItemResource, ItemStack, WorldItemIndex}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemResource` and `Item` [INFO] [stdout] --> src/player.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | item::{Item, ItemResource, ItemStack, WorldItemIndex}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/item.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 49 | TileObjectKind::Tree(_) => vec![WorldEvent::TileObjectDamage { [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 53 | _ => vec![], [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/item.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 49 | TileObjectKind::Tree(_) => vec![WorldEvent::TileObjectDamage { [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 53 | _ => vec![], [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_mut`, and `get_by_index` are never used [INFO] [stdout] --> src/grid.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Grid { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, row: usize, col: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_mut(&mut self, row: usize, col: usize) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_by_index(&self, index: usize) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hoe` is never constructed [INFO] [stdout] --> src/item.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum ItemTool { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 28 | Hoe, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemTool` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_hoe` is never used [INFO] [stdout] --> src/map.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn on_hoe(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tile_object_from_index` and `get_world_item` are never used [INFO] [stdout] --> src/world.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_tile_object_from_index(&self, index: TileObjectIndex) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_world_item(&self, index: WorldItemIndex) -> &WorldItem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn enumerate_iter(&self) -> EnumerateIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn enumerate_iter(&self) -> EnumerateIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn enumerate_iter_sparse(&self) -> EnumerateIterSparse { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn enumerate_iter_sparse(&self) -> EnumerateIterSparse<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_mut`, and `get_by_index` are never used [INFO] [stdout] --> src/grid.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Grid { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, row: usize, col: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_mut(&mut self, row: usize, col: usize) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_by_index(&self, index: usize) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hoe` is never constructed [INFO] [stdout] --> src/item.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum ItemTool { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 28 | Hoe, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemTool` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_hoe` is never used [INFO] [stdout] --> src/map.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn on_hoe(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tile_object_from_index` and `get_world_item` are never used [INFO] [stdout] --> src/world.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_tile_object_from_index(&self, index: TileObjectIndex) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_world_item(&self, index: WorldItemIndex) -> &WorldItem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn enumerate_iter(&self) -> EnumerateIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn enumerate_iter(&self) -> EnumerateIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/grid.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn enumerate_iter_sparse(&self) -> EnumerateIterSparse { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn enumerate_iter_sparse(&self) -> EnumerateIterSparse<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.39s [INFO] running `Command { std: "docker" "inspect" "92fc36756daff3655b2761fd1c2d40faa450017953b5317ecdff56cc728b114a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92fc36756daff3655b2761fd1c2d40faa450017953b5317ecdff56cc728b114a", kill_on_drop: false }` [INFO] [stdout] 92fc36756daff3655b2761fd1c2d40faa450017953b5317ecdff56cc728b114a