[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] building wbglaeser/termion-game against master#0da281b6068a7d889ae89a9bd8991284cc9b7535 for pr-103610 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbglaeser%2Ftermion-game" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbglaeser/termion-game on toolchain 0da281b6068a7d889ae89a9bd8991284cc9b7535 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b280374e5c3d44a4f70750dc612594c405b2890b8705e95eca145d45199cf3e [INFO] running `Command { std: "docker" "start" "-a" "5b280374e5c3d44a4f70750dc612594c405b2890b8705e95eca145d45199cf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b280374e5c3d44a4f70750dc612594c405b2890b8705e95eca145d45199cf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b280374e5c3d44a4f70750dc612594c405b2890b8705e95eca145d45199cf3e", kill_on_drop: false }` [INFO] [stdout] 5b280374e5c3d44a4f70750dc612594c405b2890b8705e95eca145d45199cf3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bac4b93d6b30d91715a9ebad926d3e133a2f35ee902f9c3e45b67cbeec893c46 [INFO] running `Command { std: "docker" "start" "-a" "bac4b93d6b30d91715a9ebad926d3e133a2f35ee902f9c3e45b67cbeec893c46", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling slab v0.4.7 [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 parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling failure v0.1.8 [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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: 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 `Bullet` is never constructed [INFO] [stdout] --> src/world/components.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum EntityType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Bullet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityType` has a derived impl for the trait `Clone`, 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.96s [INFO] running `Command { std: "docker" "inspect" "bac4b93d6b30d91715a9ebad926d3e133a2f35ee902f9c3e45b67cbeec893c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac4b93d6b30d91715a9ebad926d3e133a2f35ee902f9c3e45b67cbeec893c46", kill_on_drop: false }` [INFO] [stdout] bac4b93d6b30d91715a9ebad926d3e133a2f35ee902f9c3e45b67cbeec893c46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0da281b6068a7d889ae89a9bd8991284cc9b7535" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 049f5eedcc23513507a3ad2137e79a3e3d74b0b95ec1e82a527340021ab6bbe1 [INFO] running `Command { std: "docker" "start" "-a" "049f5eedcc23513507a3ad2137e79a3e3d74b0b95ec1e82a527340021ab6bbe1", 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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: 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 `Bullet` is never constructed [INFO] [stdout] --> src/world/components.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum EntityType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Bullet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityType` has a derived impl for the trait `Clone`, 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "049f5eedcc23513507a3ad2137e79a3e3d74b0b95ec1e82a527340021ab6bbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049f5eedcc23513507a3ad2137e79a3e3d74b0b95ec1e82a527340021ab6bbe1", kill_on_drop: false }` [INFO] [stdout] 049f5eedcc23513507a3ad2137e79a3e3d74b0b95ec1e82a527340021ab6bbe1