[INFO] cloning repository https://github.com/Eleven-junichi2/dungeon_monster_sweeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eleven-junichi2/dungeon_monster_sweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEleven-junichi2%2Fdungeon_monster_sweeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEleven-junichi2%2Fdungeon_monster_sweeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d558e1a3a0ec711dccc9fd60f90aff208ce4363 [INFO] checking Eleven-junichi2/dungeon_monster_sweeper against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEleven-junichi2%2Fdungeon_monster_sweeper" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eleven-junichi2/dungeon_monster_sweeper on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Eleven-junichi2/dungeon_monster_sweeper [INFO] finished tweaking git repo https://github.com/Eleven-junichi2/dungeon_monster_sweeper [INFO] tweaked toml for git repo https://github.com/Eleven-junichi2/dungeon_monster_sweeper written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Eleven-junichi2/dungeon_monster_sweeper 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14c1a7b2acdc983bfa7740840d9032424ba7ae85a9027bf5b5e756716b8f5317 [INFO] running `Command { std: "docker" "start" "-a" "14c1a7b2acdc983bfa7740840d9032424ba7ae85a9027bf5b5e756716b8f5317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c1a7b2acdc983bfa7740840d9032424ba7ae85a9027bf5b5e756716b8f5317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c1a7b2acdc983bfa7740840d9032424ba7ae85a9027bf5b5e756716b8f5317", kill_on_drop: false }` [INFO] [stdout] 14c1a7b2acdc983bfa7740840d9032424ba7ae85a9027bf5b5e756716b8f5317 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24edfdd27b531ba279e4917c4bb536e65e43c1f1308a0373a638520360068098 [INFO] running `Command { std: "docker" "start" "-a" "24edfdd27b531ba279e4917c4bb536e65e43c1f1308a0373a638520360068098", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking dungeon_monster_sweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | ops::{Index, IndexMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SetBackgroundColor` and `execute` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | execute, queue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | style::{Color, Print, ResetColor, SetBackgroundColor, SetForegroundColor}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | ops::{Index, IndexMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SetBackgroundColor` and `execute` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | execute, queue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | style::{Color, Print, ResetColor, SetBackgroundColor, SetForegroundColor}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_line` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn draw_line( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fog_of_war_maskmap` and `enemy_maskmap` are never used [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl DungeonFloor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 86 | fn fog_of_war_maskmap(&self, width: usize, height: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn enemy_maskmap(&self, width: usize, height: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `usize` to `usize` [INFO] [stdout] --> src/main.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | if how_many_enemies > (1 + self.floor_progress).pow(2).into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_line` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn draw_line( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fog_of_war_maskmap` and `enemy_maskmap` are never used [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl DungeonFloor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 86 | fn fog_of_war_maskmap(&self, width: usize, height: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn enemy_maskmap(&self, width: usize, height: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `usize` to `usize` [INFO] [stdout] --> src/main.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | if how_many_enemies > (1 + self.floor_progress).pow(2).into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dungeon_monster_sweeper` (bin "dungeon_monster_sweeper") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dungeon_monster_sweeper` (bin "dungeon_monster_sweeper" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24edfdd27b531ba279e4917c4bb536e65e43c1f1308a0373a638520360068098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24edfdd27b531ba279e4917c4bb536e65e43c1f1308a0373a638520360068098", kill_on_drop: false }` [INFO] [stdout] 24edfdd27b531ba279e4917c4bb536e65e43c1f1308a0373a638520360068098