[INFO] cloning repository https://github.com/paulefoe/rust-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulefoe/rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulefoe%2Frust-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulefoe%2Frust-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f664eabace4f8ee331d3d9cbc6ce625149c0679 [INFO] testing paulefoe/rust-game against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulefoe%2Frust-game" "/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/paulefoe/rust-game [INFO] finished tweaking git repo https://github.com/paulefoe/rust-game [INFO] tweaked toml for git repo https://github.com/paulefoe/rust-game written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paulefoe/rust-game on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/paulefoe/rust-game 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bracket-lib v0.8.1 [INFO] [stderr] Downloaded send_wrapper v0.2.0 [INFO] [stderr] Downloaded wasm-timer v0.1.3 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.2 [INFO] [stderr] Downloaded ctrlc v3.1.9 [INFO] [stderr] Downloaded bracket-noise v0.8.2 [INFO] [stderr] Downloaded bracket-random v0.8.2 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.4 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded rltk v0.8.1 [INFO] [stderr] Downloaded specs v0.16.1 [INFO] [stderr] Downloaded hashbrown v0.7.2 [INFO] [stderr] Downloaded bracket-color v0.8.2 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded shred v0.10.2 [INFO] [stderr] Downloaded bracket-geometry v0.8.2 [INFO] [stderr] Downloaded bracket-terminal v0.8.2 [INFO] [stderr] Downloaded object-pool v0.5.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9366dce3554efab29acf816fb13d50e2d27ea5e1ab255323d61bbb762c9a625d [INFO] running `Command { std: "docker" "start" "-a" "9366dce3554efab29acf816fb13d50e2d27ea5e1ab255323d61bbb762c9a625d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9366dce3554efab29acf816fb13d50e2d27ea5e1ab255323d61bbb762c9a625d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9366dce3554efab29acf816fb13d50e2d27ea5e1ab255323d61bbb762c9a625d", kill_on_drop: false }` [INFO] [stdout] 9366dce3554efab29acf816fb13d50e2d27ea5e1ab255323d61bbb762c9a625d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 72ffbfef2d8eed162d00c7715a971d47978f429cf2f4fba650f8912fb83a0182 [INFO] running `Command { std: "docker" "start" "-a" "72ffbfef2d8eed162d00c7715a971d47978f429cf2f4fba650f8912fb83a0182", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wide v0.5.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling ultraviolet v0.7.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling bracket-geometry v0.8.2 [INFO] [stderr] Compiling object-pool v0.5.3 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling bracket-noise v0.8.2 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling specs-derive v0.4.1 [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.2 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling rltk v0.8.1 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/player.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{VirtualKeyCode, Rltk, Point, console}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileType` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use map::{Map, TileType, draw_map}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monster_ai_system.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | for (mut viewshed,_monster,name,mut pos) in (&mut viewshed, &monster, &name, &mut position).join() { [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/monster_ai_system.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | for (mut viewshed,_monster,name,mut pos) in (&mut viewshed, &monster, &name, &mut position).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_hp`, `hp`, `defense`, and `power` are never read [INFO] [stdout] --> src/components.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CombatStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 45 | pub max_hp: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub hp: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | pub defense: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | pub power: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CombatStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/components.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct WantsToMelee { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 53 | pub target: Entity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WantsToMelee` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amount` is never read [INFO] [stdout] --> src/components.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct SufferDamage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 58 | pub amount: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SufferDamage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_damage` is never used [INFO] [stdout] --> src/components.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl SufferDamage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new_damage(store: &mut WriteStorage, victim: Entity, amount: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "72ffbfef2d8eed162d00c7715a971d47978f429cf2f4fba650f8912fb83a0182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ffbfef2d8eed162d00c7715a971d47978f429cf2f4fba650f8912fb83a0182", kill_on_drop: false }` [INFO] [stdout] 72ffbfef2d8eed162d00c7715a971d47978f429cf2f4fba650f8912fb83a0182 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f34d72e6d131f5f9709dcf3eeeedac6bb77fa47b1b0c77f474bb4f6ccf1165d5 [INFO] running `Command { std: "docker" "start" "-a" "f34d72e6d131f5f9709dcf3eeeedac6bb77fa47b1b0c77f474bb4f6ccf1165d5", kill_on_drop: false }` [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/player.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{VirtualKeyCode, Rltk, Point, console}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileType` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use map::{Map, TileType, draw_map}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monster_ai_system.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | for (mut viewshed,_monster,name,mut pos) in (&mut viewshed, &monster, &name, &mut position).join() { [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/monster_ai_system.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | for (mut viewshed,_monster,name,mut pos) in (&mut viewshed, &monster, &name, &mut position).join() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_hp`, `hp`, `defense`, and `power` are never read [INFO] [stdout] --> src/components.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CombatStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 45 | pub max_hp: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub hp: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | pub defense: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | pub power: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CombatStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/components.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct WantsToMelee { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 53 | pub target: Entity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WantsToMelee` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amount` is never read [INFO] [stdout] --> src/components.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct SufferDamage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 58 | pub amount: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SufferDamage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_damage` is never used [INFO] [stdout] --> src/components.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl SufferDamage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new_damage(store: &mut WriteStorage, victim: Entity, amount: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f34d72e6d131f5f9709dcf3eeeedac6bb77fa47b1b0c77f474bb4f6ccf1165d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34d72e6d131f5f9709dcf3eeeedac6bb77fa47b1b0c77f474bb4f6ccf1165d5", kill_on_drop: false }` [INFO] [stdout] f34d72e6d131f5f9709dcf3eeeedac6bb77fa47b1b0c77f474bb4f6ccf1165d5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dab6cb30373730db808dac9d775f366fbb4c448735acd0541d30a683e3fcc7bc [INFO] running `Command { std: "docker" "start" "-a" "dab6cb30373730db808dac9d775f366fbb4c448735acd0541d30a683e3fcc7bc", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `console` [INFO] [stderr] --> src/player.rs:1:41 [INFO] [stderr] | [INFO] [stderr] 1 | use rltk::{VirtualKeyCode, Rltk, Point, console}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TileType` [INFO] [stderr] --> src/main.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | use map::{Map, TileType, draw_map}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/monster_ai_system.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | for (mut viewshed,_monster,name,mut pos) in (&mut viewshed, &monster, &name, &mut position).join() { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/monster_ai_system.rs:18:41 [INFO] [stderr] | [INFO] [stderr] 18 | for (mut viewshed,_monster,name,mut pos) in (&mut viewshed, &monster, &name, &mut position).join() { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `max_hp`, `hp`, `defense`, and `power` are never read [INFO] [stderr] --> src/components.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct CombatStats { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 45 | pub max_hp: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 46 | pub hp: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 47 | pub defense: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 48 | pub power: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CombatStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `target` is never read [INFO] [stderr] --> src/components.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct WantsToMelee { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 53 | pub target: Entity [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WantsToMelee` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `amount` is never read [INFO] [stderr] --> src/components.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct SufferDamage { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 58 | pub amount: Vec [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SufferDamage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new_damage` is never used [INFO] [stderr] --> src/components.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 61 | impl SufferDamage { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 62 | pub fn new_damage(store: &mut WriteStorage, victim: Entity, amount: i32) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `game` (bin "game" test) generated 8 warnings (run `cargo fix --bin "game" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/game-c4dee36dd57b63d8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dab6cb30373730db808dac9d775f366fbb4c448735acd0541d30a683e3fcc7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab6cb30373730db808dac9d775f366fbb4c448735acd0541d30a683e3fcc7bc", kill_on_drop: false }` [INFO] [stdout] dab6cb30373730db808dac9d775f366fbb4c448735acd0541d30a683e3fcc7bc