[INFO] cloning repository https://github.com/agmcleod/agile_archer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agmcleod/agile_archer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmcleod%2Fagile_archer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmcleod%2Fagile_archer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3b8ad690f4592cf104e910a32247f5c7293f7a [INFO] building agmcleod/agile_archer against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmcleod%2Fagile_archer" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agmcleod/agile_archer on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agmcleod/agile_archer [INFO] finished tweaking git repo https://github.com/agmcleod/agile_archer [INFO] tweaked toml for git repo https://github.com/agmcleod/agile_archer written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate git repo https://github.com/agmcleod/agile_archer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 895ea0295647545cdca497bd6459279f5710d1ad1db2793fedf87757eb3b9a90 [INFO] running `Command { std: "docker" "start" "-a" "895ea0295647545cdca497bd6459279f5710d1ad1db2793fedf87757eb3b9a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "895ea0295647545cdca497bd6459279f5710d1ad1db2793fedf87757eb3b9a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895ea0295647545cdca497bd6459279f5710d1ad1db2793fedf87757eb3b9a90", kill_on_drop: false }` [INFO] [stdout] 895ea0295647545cdca497bd6459279f5710d1ad1db2793fedf87757eb3b9a90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aaab0b47232225341816db2996152ff06b9dc814f0fc165470e5724d1ab46eb [INFO] running `Command { std: "docker" "start" "-a" "7aaab0b47232225341816db2996152ff06b9dc814f0fc165470e5724d1ab46eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling num-traits v0.1.39 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling scopeguard v0.3.2 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling atom v0.3.4 [INFO] [stderr] Compiling odds v0.2.25 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling smallvec v0.4.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling serde v1.0.8 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling base64 v0.1.1 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling draw_state v0.7.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling nodrop v0.1.9 [INFO] [stderr] Compiling deflate v0.7.11 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num-rational v0.1.38 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.5.3 [INFO] [stderr] Compiling wayland-scanner v0.9.9 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling arrayvec v0.3.23 [INFO] [stderr] Compiling flate2 v0.2.19 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling rayon v0.7.1 [INFO] [stderr] Compiling rayon v0.8.1 [INFO] [stderr] Compiling png v0.8.0 [INFO] [stderr] Compiling tiled v0.6.0 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling hibitset v0.1.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling wayland-client v0.9.9 [INFO] [stderr] Compiling image v0.14.0 [INFO] [stderr] Compiling genmesh v0.4.3 [INFO] [stderr] Compiling shred-derive v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.8 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling shred v0.4.3 [INFO] [stderr] Compiling specs v0.9.3 [INFO] [stderr] Compiling gfx_core v0.7.1 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling gfx v0.16.1 [INFO] [stderr] Compiling gfx_device_gl v0.14.1 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.9 [INFO] [stderr] Compiling wayland-window v0.6.1 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling winit v0.7.5 [INFO] [stderr] Compiling gfx_window_glutin v0.17.0 [INFO] [stderr] Compiling agile_archer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/renderer/basic.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use cgmath::{SquareMatrix, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FactoryExt` is imported redundantly [INFO] [stdout] --> src/renderer/basic.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 8 | use gfx::traits::FactoryExt; [INFO] [stdout] | ----------------------- the item `FactoryExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 53 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loader.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | try!(file.read_to_string(&mut text)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loader.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/tile_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/math/astar.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, BinaryHeap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/systems/animation_system.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | type SystemData = ( [INFO] [stdout] | _______________________^ [INFO] [stdout] 20 | | WriteStorage<'a, AnimationSheet> [INFO] [stdout] | |________^________________________________^ [INFO] [stdout] | ||________| [INFO] [stdout] | | [INFO] [stdout] 21 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - type SystemData = ( [INFO] [stdout] 19 + type SystemData = WriteStorage<'a, AnimationSheet>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileMapping` [INFO] [stdout] --> src/systems/player_movement.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use types::{TileMapping, Turn}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/systems/process_turn.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fetch` [INFO] [stdout] --> src/systems/process_turn.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::{Fetch, FetchMut, Join, ReadStorage, WriteStorage, System}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/utils/tiled.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Image`, `Layer`, `Map`, `Properties`, `Tile`, `Tileset` [INFO] [stdout] --> src/utils/tiled.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | use tiled::{Map, Layer, Tileset, Image, Tile, Properties}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/tiled.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ys = ground_tiles.get_mut(&x).unwrap(); [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/utils/tiled.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let mut xs = unpassable_tiles.get_mut(&y).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut tile_data = tile_data_res.deref_mut(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let mut input = input_res.deref_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | let (window, mut device, mut factory, main_color, mut main_depth) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_energy` [INFO] [stdout] --> src/components/player.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn reset_energy(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_time` [INFO] [stdout] --> src/systems/animation_system.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | last_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "7aaab0b47232225341816db2996152ff06b9dc814f0fc165470e5724d1ab46eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aaab0b47232225341816db2996152ff06b9dc814f0fc165470e5724d1ab46eb", kill_on_drop: false }` [INFO] [stdout] 7aaab0b47232225341816db2996152ff06b9dc814f0fc165470e5724d1ab46eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 526c8c1ba0219ccecab8c59056dfdb8a8e84b2ea4241c845ab8be865f41d93e6 [INFO] running `Command { std: "docker" "start" "-a" "526c8c1ba0219ccecab8c59056dfdb8a8e84b2ea4241c845ab8be865f41d93e6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling agile_archer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/renderer/basic.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use cgmath::{SquareMatrix, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FactoryExt` is imported redundantly [INFO] [stdout] --> src/renderer/basic.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 8 | use gfx::traits::FactoryExt; [INFO] [stdout] | ----------------------- the item `FactoryExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 53 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loader.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | try!(file.read_to_string(&mut text)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loader.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/tile_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/math/astar.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, BinaryHeap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/systems/animation_system.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | type SystemData = ( [INFO] [stdout] | _______________________^ [INFO] [stdout] 20 | | WriteStorage<'a, AnimationSheet> [INFO] [stdout] | |________^________________________________^ [INFO] [stdout] | ||________| [INFO] [stdout] | | [INFO] [stdout] 21 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - type SystemData = ( [INFO] [stdout] 19 + type SystemData = WriteStorage<'a, AnimationSheet>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileMapping` [INFO] [stdout] --> src/systems/player_movement.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use types::{TileMapping, Turn}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/systems/process_turn.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fetch` [INFO] [stdout] --> src/systems/process_turn.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::{Fetch, FetchMut, Join, ReadStorage, WriteStorage, System}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/tiled.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ys = ground_tiles.get_mut(&x).unwrap(); [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/utils/tiled.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let mut xs = unpassable_tiles.get_mut(&y).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut tile_data = tile_data_res.deref_mut(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let mut input = input_res.deref_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | let (window, mut device, mut factory, main_color, mut main_depth) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_energy` [INFO] [stdout] --> src/components/player.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn reset_energy(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_time` [INFO] [stdout] --> src/systems/animation_system.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | last_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.15s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/agile_archer-2be95a92f0a9d6ed) [INFO] running `Command { std: "docker" "inspect" "526c8c1ba0219ccecab8c59056dfdb8a8e84b2ea4241c845ab8be865f41d93e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526c8c1ba0219ccecab8c59056dfdb8a8e84b2ea4241c845ab8be865f41d93e6", kill_on_drop: false }` [INFO] [stdout] 526c8c1ba0219ccecab8c59056dfdb8a8e84b2ea4241c845ab8be865f41d93e6