[INFO] cloning repository https://github.com/grimli/rpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grimli/rpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimli%2Frpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimli%2Frpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db964d8354513436f4463df694f00d855758ba8f [INFO] building grimli/rpg against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimli%2Frpg" "/workspace/builds/worker-31/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grimli/rpg on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grimli/rpg [INFO] finished tweaking git repo https://github.com/grimli/rpg [INFO] tweaked toml for git repo https://github.com/grimli/rpg written to /workspace/builds/worker-31/source/Cargo.toml [INFO] crate git repo https://github.com/grimli/rpg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcc2126246bafd86bf9297179e8516e967f738c2e41fba51b3cac563089fc1a5 [INFO] running `Command { std: "docker" "start" "-a" "dcc2126246bafd86bf9297179e8516e967f738c2e41fba51b3cac563089fc1a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc2126246bafd86bf9297179e8516e967f738c2e41fba51b3cac563089fc1a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc2126246bafd86bf9297179e8516e967f738c2e41fba51b3cac563089fc1a5", kill_on_drop: false }` [INFO] [stdout] dcc2126246bafd86bf9297179e8516e967f738c2e41fba51b3cac563089fc1a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa2cb392789aa49c69fec2cd9f97ed2b232280841d4abfa11f355af66511f017 [INFO] running `Command { std: "docker" "start" "-a" "aa2cb392789aa49c69fec2cd9f97ed2b232280841d4abfa11f355af66511f017", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling glow v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling shred v0.12.0 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling bracket-geometry v0.8.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling specs v0.17.0 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling bracket-noise v0.8.2 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling bracket-terminal v0.8.5 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling rltk v0.8.1 [INFO] [stderr] Compiling rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rltk::console` [INFO] [stdout] --> src/damage_system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::console; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RunState` [INFO] [stdout] --> src/gui.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | Position, RunState, State, Viewshed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::gamelog` [INFO] [stdout] --> src/menu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::gamelog; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RGB` [INFO] [stdout] --> src/player.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{Point, Rltk, VirtualKeyCode, RGB}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConvertSaveload`, `Marker`, `error::NoError` [INFO] [stdout] --> src/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | error::NoError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | prelude::*, [INFO] [stdout] 8 | saveload::{ConvertSaveload, Marker}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConvertSaveload` [INFO] [stdout] --> src/player.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use specs_derive::{Component, ConvertSaveload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAPCOUNT`, `MAPHEIGHT`, `Map` [INFO] [stdout] --> src/spawner.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | map::{Map, MAPCOUNT, MAPHEIGHT, MAPWIDTH}, [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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | 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/player.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | error::NoError, [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/saveload_system.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::error::NoError; [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/saveload_system.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | SerializeComponents::>::serialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | / serialize_individually!( [INFO] [stdout] 44 | | ecs, [INFO] [stdout] 45 | | serializer, [INFO] [stdout] 46 | | data, [INFO] [stdout] ... | [INFO] [stdout] 81 | | SingleActivation [INFO] [stdout] 82 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [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:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | DeserializeComponents::::deserialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | / deserialize_individually!( [INFO] [stdout] 131 | | ecs, [INFO] [stdout] 132 | | de, [INFO] [stdout] 133 | | d, [INFO] [stdout] ... | [INFO] [stdout] 168 | | SingleActivation [INFO] [stdout] 169 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `deserialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude` [INFO] [stdout] --> src/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `used_item` is assigned to, but never used [INFO] [stdout] --> src/inventory_system.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut used_item = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_used_item` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | ... used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inventory_system.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | mut map, [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] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut current_depth: i32 = 1; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_ITEMS` [INFO] [stdout] --> src/spawner.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const MAX_ITEMS: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "aa2cb392789aa49c69fec2cd9f97ed2b232280841d4abfa11f355af66511f017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2cb392789aa49c69fec2cd9f97ed2b232280841d4abfa11f355af66511f017", kill_on_drop: false }` [INFO] [stdout] aa2cb392789aa49c69fec2cd9f97ed2b232280841d4abfa11f355af66511f017 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6088897b8ef51c84c4f4559f734e35504c8820a386c13f5cc29dcd2019164872 [INFO] running `Command { std: "docker" "start" "-a" "6088897b8ef51c84c4f4559f734e35504c8820a386c13f5cc29dcd2019164872", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rltk::console` [INFO] [stdout] --> src/damage_system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::console; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RunState` [INFO] [stdout] --> src/gui.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | Position, RunState, State, Viewshed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::gamelog` [INFO] [stdout] --> src/menu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::gamelog; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RGB` [INFO] [stdout] --> src/player.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{Point, Rltk, VirtualKeyCode, RGB}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConvertSaveload`, `Marker`, `error::NoError` [INFO] [stdout] --> src/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | error::NoError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | prelude::*, [INFO] [stdout] 8 | saveload::{ConvertSaveload, Marker}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConvertSaveload` [INFO] [stdout] --> src/player.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use specs_derive::{Component, ConvertSaveload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAPCOUNT`, `MAPHEIGHT`, `Map` [INFO] [stdout] --> src/spawner.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | map::{Map, MAPCOUNT, MAPHEIGHT, MAPWIDTH}, [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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | 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/player.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | error::NoError, [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/saveload_system.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::error::NoError; [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/saveload_system.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | SerializeComponents::>::serialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | / serialize_individually!( [INFO] [stdout] 44 | | ecs, [INFO] [stdout] 45 | | serializer, [INFO] [stdout] 46 | | data, [INFO] [stdout] ... | [INFO] [stdout] 81 | | SingleActivation [INFO] [stdout] 82 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [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:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | DeserializeComponents::::deserialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | / deserialize_individually!( [INFO] [stdout] 131 | | ecs, [INFO] [stdout] 132 | | de, [INFO] [stdout] 133 | | d, [INFO] [stdout] ... | [INFO] [stdout] 168 | | SingleActivation [INFO] [stdout] 169 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `deserialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude` [INFO] [stdout] --> src/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `used_item` is assigned to, but never used [INFO] [stdout] --> src/inventory_system.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut used_item = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_used_item` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | ... used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `used_item` is never read [INFO] [stdout] --> src/inventory_system.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | used_item = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inventory_system.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | mut map, [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] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut current_depth: i32 = 1; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_ITEMS` [INFO] [stdout] --> src/spawner.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const MAX_ITEMS: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.77s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rpg-053c3da4d7ef235a) [INFO] running `Command { std: "docker" "inspect" "6088897b8ef51c84c4f4559f734e35504c8820a386c13f5cc29dcd2019164872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6088897b8ef51c84c4f4559f734e35504c8820a386c13f5cc29dcd2019164872", kill_on_drop: false }` [INFO] [stdout] 6088897b8ef51c84c4f4559f734e35504c8820a386c13f5cc29dcd2019164872