[INFO] cloning repository https://github.com/superosku/platosku2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/superosku/platosku2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperosku%2Fplatosku2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperosku%2Fplatosku2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d026d1482f116e34a38697728e31f6a6cbd2588f [INFO] checking superosku/platosku2 against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperosku%2Fplatosku2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/superosku/platosku2 [INFO] finished tweaking git repo https://github.com/superosku/platosku2 [INFO] tweaked toml for git repo https://github.com/superosku/platosku2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/superosku/platosku2 on toolchain bac5816c5f3d02cebd0599070af62d1782530294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/superosku/platosku2 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded webbrowser v0.5.5 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded zmij v1.0.3 [INFO] [stderr] Downloaded sapp-jsutils v0.1.7 [INFO] [stderr] Downloaded egui-miniquad v0.16.0 [INFO] [stderr] Downloaded quad-url v0.1.2 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc17a0f68ce0047edf507dd7a459b46ce770cbb0a7825ee596535497ccb43b65 [INFO] running `Command { std: "docker" "start" "-a" "bc17a0f68ce0047edf507dd7a459b46ce770cbb0a7825ee596535497ccb43b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc17a0f68ce0047edf507dd7a459b46ce770cbb0a7825ee596535497ccb43b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc17a0f68ce0047edf507dd7a459b46ce770cbb0a7825ee596535497ccb43b65", kill_on_drop: false }` [INFO] [stdout] bc17a0f68ce0047edf507dd7a459b46ce770cbb0a7825ee596535497ccb43b65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c54bc00efa4ec66c478fa36b1bd467ca494917f58d79cf51ae4394a9a5d8795e [INFO] running `Command { std: "docker" "start" "-a" "c54bc00efa4ec66c478fa36b1bd467ca494917f58d79cf51ae4394a9a5d8795e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling zmij v1.0.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking quad-url v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking egui-miniquad v0.16.0 [INFO] [stderr] Checking platosku2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::state::GameMap` [INFO] [stdout] --> src/physics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::GameMap; [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: `GameMap` [INFO] [stdout] --> src/state/coin.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::game_map::{GameMap, MapLike}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMap` [INFO] [stdout] --> src/state/enemies.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::game_map::{GameMap, MapLike}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/state/game_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameMap` and `MapLike` [INFO] [stdout] --> src/state/game_state.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use super::game_map::{GameMap, MapLike, Room}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMap` [INFO] [stdout] --> src/state/player.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::game_map::{GameMap, MapLike}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMap` [INFO] [stdout] --> src/main.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state::{BaseTile, Bat, Coin, Enemy, GameMap, GameState, InputState, Player}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::GameMap` [INFO] [stdout] --> src/physics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::GameMap; [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: `GameMap` [INFO] [stdout] --> src/state/coin.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::game_map::{GameMap, MapLike}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMap` [INFO] [stdout] --> src/state/enemies.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::game_map::{GameMap, MapLike}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/state/game_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameMap` and `MapLike` [INFO] [stdout] --> src/state/game_state.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use super::game_map::{GameMap, MapLike, Room}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMap` [INFO] [stdout] --> src/state/player.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use super::game_map::{GameMap, MapLike}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameMap` [INFO] [stdout] --> src/main.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state::{BaseTile, Bat, Coin, Enemy, GameMap, GameState, InputState, Player}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/state/game_map.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | fn set_base(&mut self, x: i32, y: i32, tile: BaseTile) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/state/game_map.rs:445:36 [INFO] [stdout] | [INFO] [stdout] 445 | fn set_base(&mut self, x: i32, y: i32, tile: BaseTile) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/state/game_map.rs:445:44 [INFO] [stdout] | [INFO] [stdout] 445 | fn set_base(&mut self, x: i32, y: i32, tile: BaseTile) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/state/game_map.rs:449:31 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_overlay(&mut self, x: i32, y: i32, tile: OverlayTile) { [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/state/game_map.rs:449:39 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_overlay(&mut self, x: i32, y: i32, tile: OverlayTile) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/state/game_map.rs:449:47 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_overlay(&mut self, x: i32, y: i32, tile: OverlayTile) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:557:13 [INFO] [stdout] | [INFO] [stdout] 552 | EditorSelection::PlayerPos => { [INFO] [stdout] | -------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 557 | EditorSelection::PlayerPos => { [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: unused variable: `selection` [INFO] [stdout] --> src/main.rs:556:40 [INFO] [stdout] | [INFO] [stdout] 556 | EditorSelection::Enemies { selection } => {} [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `selection: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlaps` is never used [INFO] [stdout] --> src/state/enemies.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Enemy { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn overlaps(&self, bb: &BoundingBox) -> 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: struct `GameMap` is never constructed [INFO] [stdout] --> src/state/game_map.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct GameMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_random` is never used [INFO] [stdout] --> src/state/game_map.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 420 | impl GameMap { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 421 | pub fn new_random() -> GameMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/state/game_map.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | fn set_base(&mut self, x: i32, y: i32, tile: BaseTile) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/state/game_map.rs:445:36 [INFO] [stdout] | [INFO] [stdout] 445 | fn set_base(&mut self, x: i32, y: i32, tile: BaseTile) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/state/game_map.rs:445:44 [INFO] [stdout] | [INFO] [stdout] 445 | fn set_base(&mut self, x: i32, y: i32, tile: BaseTile) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/state/game_map.rs:449:31 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_overlay(&mut self, x: i32, y: i32, tile: OverlayTile) { [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/state/game_map.rs:449:39 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_overlay(&mut self, x: i32, y: i32, tile: OverlayTile) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/state/game_map.rs:449:47 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_overlay(&mut self, x: i32, y: i32, tile: OverlayTile) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:557:13 [INFO] [stdout] | [INFO] [stdout] 552 | EditorSelection::PlayerPos => { [INFO] [stdout] | -------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 557 | EditorSelection::PlayerPos => { [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: unused variable: `selection` [INFO] [stdout] --> src/main.rs:556:40 [INFO] [stdout] | [INFO] [stdout] 556 | EditorSelection::Enemies { selection } => {} [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `selection: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlaps` is never used [INFO] [stdout] --> src/state/enemies.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Enemy { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn overlaps(&self, bb: &BoundingBox) -> 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: struct `GameMap` is never constructed [INFO] [stdout] --> src/state/game_map.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct GameMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_random` is never used [INFO] [stdout] --> src/state/game_map.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 420 | impl GameMap { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 421 | pub fn new_random() -> GameMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.79s [INFO] running `Command { std: "docker" "inspect" "c54bc00efa4ec66c478fa36b1bd467ca494917f58d79cf51ae4394a9a5d8795e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54bc00efa4ec66c478fa36b1bd467ca494917f58d79cf51ae4394a9a5d8795e", kill_on_drop: false }` [INFO] [stdout] c54bc00efa4ec66c478fa36b1bd467ca494917f58d79cf51ae4394a9a5d8795e