[INFO] cloning repository https://github.com/WiseEyeKOSO/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/WiseEyeKOSO/Rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWiseEyeKOSO%2FRust-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWiseEyeKOSO%2FRust-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c693d37fa20f3f641b64aab0921a126377d2a69 [INFO] testing WiseEyeKOSO/Rust-game against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWiseEyeKOSO%2FRust-game" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WiseEyeKOSO/Rust-game on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WiseEyeKOSO/Rust-game [INFO] finished tweaking git repo https://github.com/WiseEyeKOSO/Rust-game [INFO] tweaked toml for git repo https://github.com/WiseEyeKOSO/Rust-game written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WiseEyeKOSO/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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a2a89322f64062c635415f0c5130d4d9be0893ca8793e17e873a1ae74e034a5 [INFO] running `Command { std: "docker" "start" "-a" "2a2a89322f64062c635415f0c5130d4d9be0893ca8793e17e873a1ae74e034a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a2a89322f64062c635415f0c5130d4d9be0893ca8793e17e873a1ae74e034a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2a89322f64062c635415f0c5130d4d9be0893ca8793e17e873a1ae74e034a5", kill_on_drop: false }` [INFO] [stdout] 2a2a89322f64062c635415f0c5130d4d9be0893ca8793e17e873a1ae74e034a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5480bee4e5fff64deacb2324f308e5fc3507d7996e0c406f60fb82f88ba22ee [INFO] running `Command { std: "docker" "start" "-a" "f5480bee4e5fff64deacb2324f308e5fc3507d7996e0c406f60fb82f88ba22ee", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling piston-viewport v0.5.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rusttype v0.7.5 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling andrew v0.2.0 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling safe-transmute v0.10.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.11 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling wayland-commons v0.21.11 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling piston2d-graphics v0.30.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.5 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling image v0.21.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling piston-gfx_texture v0.35.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.56.0 [INFO] [stderr] Compiling pistoncore-input v0.24.0 [INFO] [stderr] Compiling pistoncore-window v0.36.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.41.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.53.1 [INFO] [stderr] Compiling piston v0.41.0 [INFO] [stderr] Compiling piston_window v0.88.0 [INFO] [stderr] Compiling piston-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Object` [INFO] [stdout] --> src/opponent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/bullet.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap,LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/game.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | Object::Bullet(b) => (10,10), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVING_PERIOD` is never used [INFO] [stdout] --> src/game.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MOVING_PERIOD: f64 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Triangle` are never constructed [INFO] [stdout] --> src/opponent.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum EnemyType{ [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Rect, [INFO] [stdout] 14 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnemyType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 24s [INFO] running `Command { std: "docker" "inspect" "f5480bee4e5fff64deacb2324f308e5fc3507d7996e0c406f60fb82f88ba22ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5480bee4e5fff64deacb2324f308e5fc3507d7996e0c406f60fb82f88ba22ee", kill_on_drop: false }` [INFO] [stdout] f5480bee4e5fff64deacb2324f308e5fc3507d7996e0c406f60fb82f88ba22ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad56d02b6797f95d4394fbb0617623aa2255b55b0ea24634ebf1a0d750e66cf8 [INFO] running `Command { std: "docker" "start" "-a" "ad56d02b6797f95d4394fbb0617623aa2255b55b0ea24634ebf1a0d750e66cf8", kill_on_drop: false }` [INFO] [stderr] Compiling piston-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Object` [INFO] [stdout] --> src/opponent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/bullet.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap,LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/game.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | Object::Bullet(b) => (10,10), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVING_PERIOD` is never used [INFO] [stdout] --> src/game.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MOVING_PERIOD: f64 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Triangle` are never constructed [INFO] [stdout] --> src/opponent.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum EnemyType{ [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Rect, [INFO] [stdout] 14 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnemyType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "ad56d02b6797f95d4394fbb0617623aa2255b55b0ea24634ebf1a0d750e66cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad56d02b6797f95d4394fbb0617623aa2255b55b0ea24634ebf1a0d750e66cf8", kill_on_drop: false }` [INFO] [stdout] ad56d02b6797f95d4394fbb0617623aa2255b55b0ea24634ebf1a0d750e66cf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33582f7b6e2c7789db9ccd202a7d5a4a3d528c0dfdc7b402aa8649b32a1a49f5 [INFO] running `Command { std: "docker" "start" "-a" "33582f7b6e2c7789db9ccd202a7d5a4a3d528c0dfdc7b402aa8649b32a1a49f5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `piston_window::types::Color` [INFO] [stderr] --> src/player.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use piston_window::types::Color; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston_window::types::Color` [INFO] [stderr] --> src/game.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use piston_window::types::Color; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::game::Object` [INFO] [stderr] --> src/opponent.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::game::Object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LinkedList` [INFO] [stderr] --> src/bullet.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::{HashMap,LinkedList}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/game.rs:20:28 [INFO] [stderr] | [INFO] [stderr] 20 | Object::Bullet(b) => (10,10), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MOVING_PERIOD` is never used [INFO] [stderr] --> src/game.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const MOVING_PERIOD: f64 = 0.1; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Circle` and `Triangle` are never constructed [INFO] [stderr] --> src/opponent.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum EnemyType{ [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 12 | Circle, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 13 | Rect, [INFO] [stderr] 14 | Triangle, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EnemyType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `piston-tutorial` (bin "piston-tutorial" test) generated 7 warnings (run `cargo fix --bin "piston-tutorial" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/piston_tutorial-13e0e00209bd2a19) [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" "33582f7b6e2c7789db9ccd202a7d5a4a3d528c0dfdc7b402aa8649b32a1a49f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33582f7b6e2c7789db9ccd202a7d5a4a3d528c0dfdc7b402aa8649b32a1a49f5", kill_on_drop: false }` [INFO] [stdout] 33582f7b6e2c7789db9ccd202a7d5a4a3d528c0dfdc7b402aa8649b32a1a49f5