[INFO] cloning repository https://github.com/nsmryan/RustTcodTutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nsmryan/RustTcodTutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73c1f608292044de140475a5a3ee57179a101f23 [INFO] checking nsmryan/RustTcodTutorial against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/RustTcodTutorial on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nsmryan/RustTcodTutorial [INFO] finished tweaking git repo https://github.com/nsmryan/RustTcodTutorial [INFO] tweaked toml for git repo https://github.com/nsmryan/RustTcodTutorial written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/RustTcodTutorial 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-logging v2.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] [stderr] Downloaded parse-display v0.5.5 [INFO] [stderr] Downloaded logging_timer_proc_macros v1.1.0 [INFO] [stderr] Downloaded gumdrop_derive v0.8.0 [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] [stderr] Downloaded logging_timer v1.1.0 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded gumdrop v0.8.0 [INFO] [stderr] Downloaded rmp-serde v0.15.5 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded cc v1.0.72 [INFO] [stderr] Downloaded wfc-rs v0.6.1 [INFO] [stderr] Downloaded pathfinding v2.0.5 [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded serde_yaml v0.8.23 [INFO] [stderr] Downloaded getrandom v0.2.4 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded fixedbitset v0.3.2 [INFO] [stderr] Downloaded parse-display-derive v0.5.5 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded linked-hash-map v0.5.4 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded symmetric-shadowcasting v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e595aaf88b20e914e1745f23be8f664180dfe21ac7f6ff6cb8a749b223f7b892 [INFO] running `Command { std: "docker" "start" "-a" "e595aaf88b20e914e1745f23be8f664180dfe21ac7f6ff6cb8a749b223f7b892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e595aaf88b20e914e1745f23be8f664180dfe21ac7f6ff6cb8a749b223f7b892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e595aaf88b20e914e1745f23be8f664180dfe21ac7f6ff6cb8a749b223f7b892", kill_on_drop: false }` [INFO] [stdout] e595aaf88b20e914e1745f23be8f664180dfe21ac7f6ff6cb8a749b223f7b892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab133d4068bb7c77405a074dcb292e3396d14f6880c43606a227609668243b4f [INFO] running `Command { std: "docker" "start" "-a" "ab133d4068bb7c77405a074dcb292e3396d14f6880c43606a227609668243b4f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fixedbitset v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Compiling wfc-rs v0.6.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pathfinding v2.0.5 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking symmetric-shadowcasting v0.2.0 [INFO] [stderr] Compiling structmeta-derive v0.1.5 [INFO] [stderr] Compiling logging_timer_proc_macros v1.1.0 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Checking logging_timer v1.1.0 [INFO] [stderr] Compiling structmeta v0.1.5 [INFO] [stderr] Checking gumdrop v0.8.0 [INFO] [stderr] Compiling parse-display-derive v0.5.5 [INFO] [stderr] Checking parse-display v0.5.5 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking roguelike_utils v0.1.0 (/opt/rustwide/workdir/roguelike_utils) [INFO] [stderr] Checking roguelike_map v0.1.0 (/opt/rustwide/workdir/roguelike_map) [INFO] [stderr] Checking roguelike_core v0.1.0 (/opt/rustwide/workdir/roguelike_core) [INFO] [stderr] Checking roguelike_draw v0.1.0 (/opt/rustwide/workdir/roguelike_draw) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteKey` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::animation::{Sprite, SpriteKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `lookup_spritekey` and `parse_atlas_file` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::spritesheet::{SpriteSheet, lookup_spritekey, parse_atlas_file}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerDirection` [INFO] [stdout] --> roguelike_draw/src/spritesheet.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use roguelike_map::{PlayerDirection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> roguelike_draw/src/spritesheet.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::animation::{Sprite, SpriteKey}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Panel` [INFO] [stdout] --> roguelike_draw/src/spritesheet.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::panel::{Panel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpriteKey` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::animation::{Sprite, SpriteKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `lookup_spritekey` and `parse_atlas_file` [INFO] [stdout] --> roguelike_draw/src/drawcmd.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::spritesheet::{SpriteSheet, lookup_spritekey, parse_atlas_file}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerDirection` [INFO] [stdout] --> roguelike_draw/src/spritesheet.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use roguelike_map::{PlayerDirection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> roguelike_draw/src/spritesheet.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::animation::{Sprite, SpriteKey}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Panel` [INFO] [stdout] --> roguelike_draw/src/spritesheet.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::panel::{Panel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> roguelike_core/src/level.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | for offset in reach.move_with_reach(&direction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 100 | while let Some(offset) = reach.move_with_reach(&direction) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(offset) = reach.move_with_reach(&direction) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking roguelike_engine v0.1.0 (/opt/rustwide/workdir/roguelike_engine) [INFO] [stderr] Checking roguelike_display v0.1.0 (/opt/rustwide/workdir/roguelike_display) [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> roguelike_core/src/level.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | for offset in reach.move_with_reach(&direction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 100 | while let Some(offset) = reach.move_with_reach(&direction) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(offset) = reach.move_with_reach(&direction) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::utils::*` [INFO] [stdout] --> roguelike_engine/src/step.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use roguelike_core::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::movement::*` [INFO] [stdout] --> roguelike_engine/src/step.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use roguelike_core::movement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_display/src/render.rs:1216:21 [INFO] [stdout] | [INFO] [stdout] 1216 | let mut color = color; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_display/src/render.rs:1216:21 [INFO] [stdout] | [INFO] [stdout] 1216 | let mut color = color; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> roguelike_engine/src/map_construct.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | for index in 0..1000 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> roguelike_engine/src/map_construct.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | for index in 0..1000 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_engine/src/resolve.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(mut status) = game.level.entities.status.get_mut(&entity_id) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_engine/src/step.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(mut status) = game.level.entities.status.get_mut(entity_id) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_engine/src/resolve.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(mut status) = game.level.entities.status.get_mut(&entity_id) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> roguelike_engine/src/resolve.rs:1052:25 [INFO] [stdout] | [INFO] [stdout] 1052 | for other_id in level.has_entity(interact_pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1052 | while let Some(other_id) = level.has_entity(interact_pos) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1052 | if let Some(other_id) = level.has_entity(interact_pos) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking roguelike_lib v0.1.0 (/opt/rustwide/workdir/roguelike_lib) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_engine/src/step.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(mut status) = game.level.entities.status.get_mut(entity_id) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> roguelike_engine/src/step.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | let col = make_column(&mut game.level.entities, &game.config, col_pos, &mut game.msg_log); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> roguelike_engine/src/resolve.rs:1052:25 [INFO] [stdout] | [INFO] [stdout] 1052 | for other_id in level.has_entity(interact_pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1052 | while let Some(other_id) = level.has_entity(interact_pos) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1052 | if let Some(other_id) = level.has_entity(interact_pos) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking roguelike_main v0.1.0 (/opt/rustwide/workdir/roguelike_main) [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::movement::*` [INFO] [stdout] --> roguelike_main/src/replay.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use roguelike_core::movement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_state` [INFO] [stdout] --> roguelike_main/src/replay.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let (game, display_state) = recording.backward(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_state` [INFO] [stdout] --> roguelike_main/src/replay.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | let (game, display_state) = recording.forward().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_state` [INFO] [stdout] --> roguelike_main/src/replay.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | let (game, display_state) = recording.forward().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.83s [INFO] running `Command { std: "docker" "inspect" "ab133d4068bb7c77405a074dcb292e3396d14f6880c43606a227609668243b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab133d4068bb7c77405a074dcb292e3396d14f6880c43606a227609668243b4f", kill_on_drop: false }` [INFO] [stdout] ab133d4068bb7c77405a074dcb292e3396d14f6880c43606a227609668243b4f [INFO] checking nsmryan/RustTcodTutorial against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/RustTcodTutorial on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nsmryan/RustTcodTutorial [INFO] finished tweaking git repo https://github.com/nsmryan/RustTcodTutorial [INFO] tweaked toml for git repo https://github.com/nsmryan/RustTcodTutorial written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/RustTcodTutorial 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfc7e4d94799af99681b5fc13fd36242e9ed8fcbae9facb2c1bcc7830db2a13f [INFO] running `Command { std: "docker" "start" "-a" "bfc7e4d94799af99681b5fc13fd36242e9ed8fcbae9facb2c1bcc7830db2a13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfc7e4d94799af99681b5fc13fd36242e9ed8fcbae9facb2c1bcc7830db2a13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc7e4d94799af99681b5fc13fd36242e9ed8fcbae9facb2c1bcc7830db2a13f", kill_on_drop: false }` [INFO] [stdout] bfc7e4d94799af99681b5fc13fd36242e9ed8fcbae9facb2c1bcc7830db2a13f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f649da8c89bc777d00a5a256f7c2dee73812936c8ece263e7a576c83cf3da21e [INFO] running `Command { std: "docker" "start" "-a" "f649da8c89bc777d00a5a256f7c2dee73812936c8ece263e7a576c83cf3da21e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fixedbitset v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling wfc-rs v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking pathfinding v2.0.5 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pathfinding-2.0.5/src/matrix.rs:392:60 [INFO] [stdout] | [INFO] [stdout] 392 | if (diagonals && dr != 0 && dc != 0) || dr.abs() + dc.abs() == 1 { [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pathfinding-2.0.5/src/matrix.rs:392:71 [INFO] [stdout] | [INFO] [stdout] 392 | if (diagonals && dr != 0 && dc != 0) || dr.abs() + dc.abs() == 1 { [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pathfinding` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f649da8c89bc777d00a5a256f7c2dee73812936c8ece263e7a576c83cf3da21e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f649da8c89bc777d00a5a256f7c2dee73812936c8ece263e7a576c83cf3da21e", kill_on_drop: false }` [INFO] [stdout] f649da8c89bc777d00a5a256f7c2dee73812936c8ece263e7a576c83cf3da21e