[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] building VictiniX888/stardew against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictiniX888%2Fstardew" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VictiniX888/stardew on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbb23878cff715272ef80fbcc0e10c8eaca2ae44c70f8707c25fc8ecb9e3d676 [INFO] running `Command { std: "docker" "start" "-a" "dbb23878cff715272ef80fbcc0e10c8eaca2ae44c70f8707c25fc8ecb9e3d676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbb23878cff715272ef80fbcc0e10c8eaca2ae44c70f8707c25fc8ecb9e3d676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb23878cff715272ef80fbcc0e10c8eaca2ae44c70f8707c25fc8ecb9e3d676", kill_on_drop: false }` [INFO] [stdout] dbb23878cff715272ef80fbcc0e10c8eaca2ae44c70f8707c25fc8ecb9e3d676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4fff1ae081de7ec84439949608ae556b8672825d98dcba665535c7f62e6f8911 [INFO] running `Command { std: "docker" "start" "-a" "4fff1ae081de7ec84439949608ae556b8672825d98dcba665535c7f62e6f8911", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling tiled v0.13.0 [INFO] [stderr] Compiling 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 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: 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 16.76s [INFO] running `Command { std: "docker" "inspect" "4fff1ae081de7ec84439949608ae556b8672825d98dcba665535c7f62e6f8911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fff1ae081de7ec84439949608ae556b8672825d98dcba665535c7f62e6f8911", kill_on_drop: false }` [INFO] [stdout] 4fff1ae081de7ec84439949608ae556b8672825d98dcba665535c7f62e6f8911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] f0d8a841603c72e901d569f5376049ce53c3d73ba57d5ad971472889f6481382 [INFO] running `Command { std: "docker" "start" "-a" "f0d8a841603c72e901d569f5376049ce53c3d73ba57d5ad971472889f6481382", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "f0d8a841603c72e901d569f5376049ce53c3d73ba57d5ad971472889f6481382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d8a841603c72e901d569f5376049ce53c3d73ba57d5ad971472889f6481382", kill_on_drop: false }` [INFO] [stdout] f0d8a841603c72e901d569f5376049ce53c3d73ba57d5ad971472889f6481382