[INFO] cloning repository https://github.com/TheCHead/rustroguelikestudy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheCHead/rustroguelikestudy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheCHead%2Frustroguelikestudy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheCHead%2Frustroguelikestudy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6e883279498898230f59d8aafa7d3dc0335daa6 [INFO] building TheCHead/rustroguelikestudy against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheCHead%2Frustroguelikestudy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheCHead/rustroguelikestudy [INFO] finished tweaking git repo https://github.com/TheCHead/rustroguelikestudy [INFO] tweaked toml for git repo https://github.com/TheCHead/rustroguelikestudy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheCHead/rustroguelikestudy on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheCHead/rustroguelikestudy 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic_refcell v0.1.13 [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded nougat-proc_macros v0.2.4 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded xcursor v0.3.6 [INFO] [stderr] Downloaded tuple_utils v0.4.0 [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] [stderr] Downloaded nougat v0.2.4 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded wide v0.7.26 [INFO] [stderr] Downloaded rltk v0.8.7 [INFO] [stderr] Downloaded shred v0.15.0 [INFO] [stderr] Downloaded specs v0.20.0 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2af96d4c10b77bd3d50d60e15571196f1c3257081163bccee1cf1a178e4ba111 [INFO] running `Command { std: "docker" "start" "-a" "2af96d4c10b77bd3d50d60e15571196f1c3257081163bccee1cf1a178e4ba111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2af96d4c10b77bd3d50d60e15571196f1c3257081163bccee1cf1a178e4ba111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af96d4c10b77bd3d50d60e15571196f1c3257081163bccee1cf1a178e4ba111", kill_on_drop: false }` [INFO] [stdout] 2af96d4c10b77bd3d50d60e15571196f1c3257081163bccee1cf1a178e4ba111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56f2ce6f6ea8164d303f9bf6d07cbd50aa8e5f691d1fe67816d0d451c02bb9a6 [INFO] running `Command { std: "docker" "start" "-a" "56f2ce6f6ea8164d303f9bf6d07cbd50aa8e5f691d1fe67816d0d451c02bb9a6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wide v0.7.26 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tuple_utils v0.4.0 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling shred v0.15.0 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling specs v0.20.0 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling rltk v0.8.7 [INFO] [stderr] Compiling hellorust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RGB`, `RandomNumberGenerator`, and `Rltk` [INFO] [stdout] --> src/map.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{ RGB, Rltk, RandomNumberGenerator, BaseMap, Algorithm2D, Point }; [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: `Rect` [INFO] [stdout] --> src/map.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{Rect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/map.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> src/monster_ai_system.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{Viewshed, Position, Map, Monster, Name, WantsToMelee, RunState, Confusion, particle_system::ParticleBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console` and `field_of_view` [INFO] [stdout] --> src/monster_ai_system.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rltk::{field_of_view, Point, console}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rltk::console` [INFO] [stdout] --> src/melee_combat_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rltk::console; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rltk::console` [INFO] [stdout] --> src/damage_system.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rltk::console; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::error::NoError` [INFO] [stdout] --> src/saveload_system.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> src/map_builders/common.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Map, Rect, TileType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/map_builders/common.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/components.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut players = ecs.write_storage::(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle_builder` [INFO] [stdout] --> src/monster_ai_system.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | mut particle_builder, mut entity_moved) = data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monster_ai_system.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | mut particle_builder, mut entity_moved) = data; [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] --> src/monster_ai_system.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | for (entity, mut viewshed,_monster,mut pos) in (&entities, &mut viewshed, &monster, &mut position).join() { [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] --> src/monster_ai_system.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | for (entity, mut viewshed,_monster,mut pos) in (&entities, &mut viewshed, &monster, &mut position).join() { [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] --> src/damage_system.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | for (entity, mut stats, damage) in (&entities, &mut stats, &damage).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/spawner.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn spawn_region(map: &Map, rng: &mut RandomNumberGenerator, area : &[usize], map_depth: i32, spawn_list : &mut Vec<(usize, String)>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inventory_system.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | let (player_entity, mut gamelog, mut map, entities, mut wants_use, names, [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] --> src/particle_system.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | for (entity, mut particle) in (&entities, &mut particles).join() { [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] --> src/hunger_system.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | for (entity, mut clock) in (&entities, &mut hunger_clock).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map_builders/simple_map.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..MAX_ROOMS { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 25 | for _i in 0..MAX_ROOMS { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 25 - for i in 0..MAX_ROOMS { [INFO] [stdout] 25 + for map_builders::waveform_collapse::WaveformCollapseBuilder::build::CHUNK_SIZE in 0..MAX_ROOMS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ITEMS` is never used [INFO] [stdout] --> src/spawner.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MAX_ITEMS : i32 = 2; [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 `Vertical` is never constructed [INFO] [stdout] --> src/map_builders/common.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum Symmetry { None, Horizontal, Vertical, Both } [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `Symmetry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map_builders/maze.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | fn new(width: i32, height:i32, rng: &mut RandomNumberGenerator) -> Grid { [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] 85 | fn new(width: i32, height:i32, rng: &mut RandomNumberGenerator) -> Grid<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "56f2ce6f6ea8164d303f9bf6d07cbd50aa8e5f691d1fe67816d0d451c02bb9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f2ce6f6ea8164d303f9bf6d07cbd50aa8e5f691d1fe67816d0d451c02bb9a6", kill_on_drop: false }` [INFO] [stdout] 56f2ce6f6ea8164d303f9bf6d07cbd50aa8e5f691d1fe67816d0d451c02bb9a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaebd8c24e5276652fed2badc026c01e21740893526a5f8b97f294ac6534f6f0 [INFO] running `Command { std: "docker" "start" "-a" "aaebd8c24e5276652fed2badc026c01e21740893526a5f8b97f294ac6534f6f0", kill_on_drop: false }` [INFO] [stderr] Compiling hellorust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RGB`, `RandomNumberGenerator`, and `Rltk` [INFO] [stdout] --> src/map.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{ RGB, Rltk, RandomNumberGenerator, BaseMap, Algorithm2D, Point }; [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: `Rect` [INFO] [stdout] --> src/map.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{Rect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/map.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> src/monster_ai_system.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{Viewshed, Position, Map, Monster, Name, WantsToMelee, RunState, Confusion, particle_system::ParticleBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console` and `field_of_view` [INFO] [stdout] --> src/monster_ai_system.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rltk::{field_of_view, Point, console}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rltk::console` [INFO] [stdout] --> src/melee_combat_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rltk::console; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rltk::console` [INFO] [stdout] --> src/damage_system.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rltk::console; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::error::NoError` [INFO] [stdout] --> src/saveload_system.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> src/map_builders/common.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Map, Rect, TileType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/map_builders/common.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/components.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut players = ecs.write_storage::(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle_builder` [INFO] [stdout] --> src/monster_ai_system.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | mut particle_builder, mut entity_moved) = data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monster_ai_system.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | mut particle_builder, mut entity_moved) = data; [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] --> src/monster_ai_system.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | for (entity, mut viewshed,_monster,mut pos) in (&entities, &mut viewshed, &monster, &mut position).join() { [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] --> src/monster_ai_system.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | for (entity, mut viewshed,_monster,mut pos) in (&entities, &mut viewshed, &monster, &mut position).join() { [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] --> src/damage_system.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | for (entity, mut stats, damage) in (&entities, &mut stats, &damage).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/spawner.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn spawn_region(map: &Map, rng: &mut RandomNumberGenerator, area : &[usize], map_depth: i32, spawn_list : &mut Vec<(usize, String)>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inventory_system.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | let (player_entity, mut gamelog, mut map, entities, mut wants_use, names, [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] --> src/particle_system.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | for (entity, mut particle) in (&entities, &mut particles).join() { [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] --> src/hunger_system.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | for (entity, mut clock) in (&entities, &mut hunger_clock).join() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map_builders/simple_map.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..MAX_ROOMS { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 25 | for _i in 0..MAX_ROOMS { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 25 - for i in 0..MAX_ROOMS { [INFO] [stdout] 25 + for map_builders::waveform_collapse::WaveformCollapseBuilder::build::CHUNK_SIZE in 0..MAX_ROOMS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ITEMS` is never used [INFO] [stdout] --> src/spawner.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MAX_ITEMS : i32 = 2; [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 `Vertical` is never constructed [INFO] [stdout] --> src/map_builders/common.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum Symmetry { None, Horizontal, Vertical, Both } [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `Symmetry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map_builders/maze.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | fn new(width: i32, height:i32, rng: &mut RandomNumberGenerator) -> Grid { [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] 85 | fn new(width: i32, height:i32, rng: &mut RandomNumberGenerator) -> Grid<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "aaebd8c24e5276652fed2badc026c01e21740893526a5f8b97f294ac6534f6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaebd8c24e5276652fed2badc026c01e21740893526a5f8b97f294ac6534f6f0", kill_on_drop: false }` [INFO] [stdout] aaebd8c24e5276652fed2badc026c01e21740893526a5f8b97f294ac6534f6f0