[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] checking paulefoe/rust-game against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulefoe%2Frust-game" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulefoe/rust-game on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.73 [INFO] [stderr] Downloaded ctrlc v3.1.9 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded bracket-geometry v0.8.2 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded js-sys v0.3.50 [INFO] [stderr] Downloaded regex-syntax v0.6.23 [INFO] [stderr] Downloaded regex v1.4.5 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] [stderr] Downloaded bumpalo v3.6.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.73 [INFO] [stderr] Downloaded syn v1.0.69 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded redox_syscall v0.2.6 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.73 [INFO] [stderr] Downloaded bracket-terminal v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Downloaded object-pool v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b564bf471788a9208975e1212dfe8ea13473a44171e3e677beb6c5b74d647131 [INFO] running `Command { std: "docker" "start" "-a" "b564bf471788a9208975e1212dfe8ea13473a44171e3e677beb6c5b74d647131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b564bf471788a9208975e1212dfe8ea13473a44171e3e677beb6c5b74d647131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b564bf471788a9208975e1212dfe8ea13473a44171e3e677beb6c5b74d647131", kill_on_drop: false }` [INFO] [stdout] b564bf471788a9208975e1212dfe8ea13473a44171e3e677beb6c5b74d647131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0add851ed73d4668814bd28554c7e0650a79b86430f55c9813778f59c19e4b44 [INFO] running `Command { std: "docker" "start" "-a" "0add851ed73d4668814bd28554c7e0650a79b86430f55c9813778f59c19e4b44", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking wide v0.5.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking 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 wayland-scanner v0.28.5 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking ultraviolet v0.7.5 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking tynm v0.1.6 [INFO] [stderr] Checking object-pool v0.5.3 [INFO] [stderr] Checking bracket-color v0.8.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking bracket-random v0.8.2 [INFO] [stderr] Checking bracket-noise v0.8.2 [INFO] [stderr] Checking bracket-geometry v0.8.2 [INFO] [stderr] Checking bracket-algorithm-traits v0.8.2 [INFO] [stderr] Checking bracket-pathfinding v0.8.4 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking bracket-terminal v0.8.2 [INFO] [stderr] Checking bracket-lib v0.8.1 [INFO] [stderr] Checking rltk v0.8.1 [INFO] [stderr] Checking 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: 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 `Clone` and `Debug`, 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] [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 `Clone` and `Debug`, 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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.04s [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 3` [INFO] running `Command { std: "docker" "inspect" "0add851ed73d4668814bd28554c7e0650a79b86430f55c9813778f59c19e4b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0add851ed73d4668814bd28554c7e0650a79b86430f55c9813778f59c19e4b44", kill_on_drop: false }` [INFO] [stdout] 0add851ed73d4668814bd28554c7e0650a79b86430f55c9813778f59c19e4b44