[INFO] cloning repository https://github.com/palmergs/marches-rltk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/palmergs/marches-rltk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3db4fcbb5dc74d66013750fbfa40de054955a958 [INFO] building palmergs/marches-rltk against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk" "/workspace/builds/worker-69/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-69/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/palmergs/marches-rltk on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/palmergs/marches-rltk [INFO] finished tweaking git repo https://github.com/palmergs/marches-rltk [INFO] tweaked toml for git repo https://github.com/palmergs/marches-rltk written to /workspace/builds/worker-69/source/Cargo.toml [INFO] crate git repo https://github.com/palmergs/marches-rltk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b164888e3b4d744f082299db4435d4f042fb67d60b51ace91f288aee588223e [INFO] running `Command { std: "docker" "start" "-a" "2b164888e3b4d744f082299db4435d4f042fb67d60b51ace91f288aee588223e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b164888e3b4d744f082299db4435d4f042fb67d60b51ace91f288aee588223e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b164888e3b4d744f082299db4435d4f042fb67d60b51ace91f288aee588223e", kill_on_drop: false }` [INFO] [stdout] 2b164888e3b4d744f082299db4435d4f042fb67d60b51ace91f288aee588223e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05cb49e56bc3fce74e59fe840b583cd09e0d8f2262aa0584da00b71a7db48add [INFO] running `Command { std: "docker" "start" "-a" "05cb49e56bc3fce74e59fe840b583cd09e0d8f2262aa0584da00b71a7db48add", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling glow v0.10.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling bit-set 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 nom v7.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Compiling winit v0.24.0 [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 uuid v0.8.2 [INFO] [stderr] Compiling ron v0.7.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 legion v0.3.1 [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 marches-rltk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/state.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | fn save_world(&mut self, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/select_equipped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/systems/select_equipped.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | commands: &mut CommandBuffer, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/systems/select_equipped.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | item: &VirtualKeyCode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | fn draw_instructions(ecs: &SubWorld, draw_batch: &mut DrawBatch, rect: &Rect) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `item_first_at` [INFO] [stdout] --> src/systems/select_target.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn item_first_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `thing_at` [INFO] [stdout] --> src/systems/select_target.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn thing_at(ecs: &SubWorld, at: Point) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `actors` [INFO] [stdout] --> src/spawners/templates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | actors: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Actors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/spawners/templates.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | command: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uses` [INFO] [stdout] --> src/spawners/templates.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | uses: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `effects` [INFO] [stdout] --> src/spawners/templates.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | effects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/spawners/templates.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chance` [INFO] [stdout] --> src/spawners/templates.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | chance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `items` [INFO] [stdout] --> src/spawners/templates.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | items: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Items` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/state.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &cb.flush(&mut self.ecs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &cb.flush(&mut self.ecs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "05cb49e56bc3fce74e59fe840b583cd09e0d8f2262aa0584da00b71a7db48add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05cb49e56bc3fce74e59fe840b583cd09e0d8f2262aa0584da00b71a7db48add", kill_on_drop: false }` [INFO] [stdout] 05cb49e56bc3fce74e59fe840b583cd09e0d8f2262aa0584da00b71a7db48add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6f997937b0ff21beb0dd63c868f90cbf5d3643b6c1d158040904678edf3d1a9 [INFO] running `Command { std: "docker" "start" "-a" "f6f997937b0ff21beb0dd63c868f90cbf5d3643b6c1d158040904678edf3d1a9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling marches-rltk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/state.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | fn save_world(&mut self, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/select_equipped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/systems/select_equipped.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | commands: &mut CommandBuffer, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/systems/select_equipped.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | item: &VirtualKeyCode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | fn draw_instructions(ecs: &SubWorld, draw_batch: &mut DrawBatch, rect: &Rect) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `item_first_at` [INFO] [stdout] --> src/systems/select_target.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn item_first_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `thing_at` [INFO] [stdout] --> src/systems/select_target.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn thing_at(ecs: &SubWorld, at: Point) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `actors` [INFO] [stdout] --> src/spawners/templates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | actors: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Actors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/spawners/templates.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | command: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uses` [INFO] [stdout] --> src/spawners/templates.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | uses: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `effects` [INFO] [stdout] --> src/spawners/templates.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | effects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/spawners/templates.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chance` [INFO] [stdout] --> src/spawners/templates.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | chance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `items` [INFO] [stdout] --> src/spawners/templates.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | items: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Items` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/spawners/templates.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/state.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &cb.flush(&mut self.ecs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &cb.flush(&mut self.ecs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 42.01s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/marches_rltk-c33d6c8a2b9055ed) [INFO] running `Command { std: "docker" "inspect" "f6f997937b0ff21beb0dd63c868f90cbf5d3643b6c1d158040904678edf3d1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f997937b0ff21beb0dd63c868f90cbf5d3643b6c1d158040904678edf3d1a9", kill_on_drop: false }` [INFO] [stdout] f6f997937b0ff21beb0dd63c868f90cbf5d3643b6c1d158040904678edf3d1a9