[INFO] cloning repository https://github.com/wbglaeser/termion-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wbglaeser/termion-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbglaeser%2Ftermion-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbglaeser%2Ftermion-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 337999efbfd441e6ebe082b61a0fbacae6bf39e7 [INFO] testing wbglaeser/termion-game against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbglaeser%2Ftermion-game" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbglaeser/termion-game on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wbglaeser/termion-game [INFO] finished tweaking git repo https://github.com/wbglaeser/termion-game [INFO] tweaked toml for git repo https://github.com/wbglaeser/termion-game written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11703dfe49ee0487368b343f5b98b4b6e0b6a585e172c311e0e00a6a0b58e68c [INFO] running `Command { std: "docker" "start" "-a" "11703dfe49ee0487368b343f5b98b4b6e0b6a585e172c311e0e00a6a0b58e68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11703dfe49ee0487368b343f5b98b4b6e0b6a585e172c311e0e00a6a0b58e68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11703dfe49ee0487368b343f5b98b4b6e0b6a585e172c311e0e00a6a0b58e68c", kill_on_drop: false }` [INFO] [stdout] 11703dfe49ee0487368b343f5b98b4b6e0b6a585e172c311e0e00a6a0b58e68c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0762e4c3f0e899c75a0b7b08d0054311dea19949107955862e979acea58cebaf [INFO] running `Command { std: "docker" "start" "-a" "0762e4c3f0e899c75a0b7b08d0054311dea19949107955862e979acea58cebaf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling const-random v0.1.13 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling start_shooter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `termion::raw::IntoRawMode` [INFO] [stdout] --> src/world/input.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termion::raw::IntoRawMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/world/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut stdout = io::stdout().into_raw_mode().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let weapon = WeaponSystem; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `velocity` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let velocity = VelocitySystem; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weap` [INFO] [stdout] --> src/world/systems.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(weap) = weapon { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weap` [INFO] [stdout] --> src/world/systems.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(weap) = weapon { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weap` [INFO] [stdout] --> src/world/systems.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(weap) = weapon {} else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/visuals.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 1..dims.0-1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/visuals.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | for i in 1..dims.1-2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/world/visuals.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | for y in 1..dims.0-1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/visuals.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | for i in 1..dims.0-1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/systems.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | for (etype, mut weapon) in izip!(&mut world.entitytype, &mut world.weapons) { [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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut stdout = io::stdout().into_raw_mode().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bullet` [INFO] [stdout] --> src/world/components.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Bullet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.77s [INFO] running `Command { std: "docker" "inspect" "0762e4c3f0e899c75a0b7b08d0054311dea19949107955862e979acea58cebaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0762e4c3f0e899c75a0b7b08d0054311dea19949107955862e979acea58cebaf", kill_on_drop: false }` [INFO] [stdout] 0762e4c3f0e899c75a0b7b08d0054311dea19949107955862e979acea58cebaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89cccac8a83327ac856dc08077eeed10e71bfe797623aa11e22c6c89c57d36a9 [INFO] running `Command { std: "docker" "start" "-a" "89cccac8a83327ac856dc08077eeed10e71bfe797623aa11e22c6c89c57d36a9", kill_on_drop: false }` [INFO] [stderr] Compiling start_shooter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `termion::raw::IntoRawMode` [INFO] [stdout] --> src/world/input.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termion::raw::IntoRawMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/world/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut stdout = io::stdout().into_raw_mode().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weapon` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let weapon = WeaponSystem; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `velocity` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let velocity = VelocitySystem; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weap` [INFO] [stdout] --> src/world/systems.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(weap) = weapon { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weap` [INFO] [stdout] --> src/world/systems.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(weap) = weapon { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weap` [INFO] [stdout] --> src/world/systems.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(weap) = weapon {} else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/visuals.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 1..dims.0-1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/visuals.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | for i in 1..dims.1-2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/world/visuals.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | for y in 1..dims.0-1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/visuals.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | for i in 1..dims.0-1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world/systems.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | for (etype, mut weapon) in izip!(&mut world.entitytype, &mut world.weapons) { [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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut stdout = io::stdout().into_raw_mode().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bullet` [INFO] [stdout] --> src/world/components.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Bullet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "89cccac8a83327ac856dc08077eeed10e71bfe797623aa11e22c6c89c57d36a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89cccac8a83327ac856dc08077eeed10e71bfe797623aa11e22c6c89c57d36a9", kill_on_drop: false }` [INFO] [stdout] 89cccac8a83327ac856dc08077eeed10e71bfe797623aa11e22c6c89c57d36a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d073cb658bc9c25b419ce9848d959508390df769d8f7eed4d7115814e2dc586 [INFO] running `Command { std: "docker" "start" "-a" "1d073cb658bc9c25b419ce9848d959508390df769d8f7eed4d7115814e2dc586", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `termion::raw::IntoRawMode` [INFO] [stderr] --> src/world/input.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use termion::raw::IntoRawMode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/world/input.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `termion::input::TermRead` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use termion::input::TermRead; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stdout` [INFO] [stderr] --> src/main.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let mut stdout = io::stdout().into_raw_mode().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `weapon` [INFO] [stderr] --> src/main.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | let weapon = WeaponSystem; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weapon` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `velocity` [INFO] [stderr] --> src/main.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let velocity = VelocitySystem; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `weap` [INFO] [stderr] --> src/world/systems.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | if let Some(weap) = weapon { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `weap` [INFO] [stderr] --> src/world/systems.rs:118:33 [INFO] [stderr] | [INFO] [stderr] 118 | if let Some(weap) = weapon { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `weap` [INFO] [stderr] --> src/world/systems.rs:135:33 [INFO] [stderr] | [INFO] [stderr] 135 | if let Some(weap) = weapon {} else { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weap` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/world/visuals.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | for i in 1..dims.0-1 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/world/visuals.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | for i in 1..dims.1-2 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/world/visuals.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | for y in 1..dims.0-1 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/world/visuals.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | for i in 1..dims.0-1 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/world/systems.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | for (etype, mut weapon) in izip!(&mut world.entitytype, &mut world.weapons) { [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/main.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let mut stdout = io::stdout().into_raw_mode().unwrap(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bullet` [INFO] [stderr] --> src/world/components.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | Bullet, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `start_shooter` (bin "start_shooter" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/start_shooter-53ef57985a2aab07) [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" "1d073cb658bc9c25b419ce9848d959508390df769d8f7eed4d7115814e2dc586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d073cb658bc9c25b419ce9848d959508390df769d8f7eed4d7115814e2dc586", kill_on_drop: false }` [INFO] [stdout] 1d073cb658bc9c25b419ce9848d959508390df769d8f7eed4d7115814e2dc586