[INFO] cloning repository https://github.com/anka-sirota/dvarcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anka-sirota/dvarcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanka-sirota%2Fdvarcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanka-sirota%2Fdvarcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64fe021331afecc141d4ec74e255ed0fdc62a3bd [INFO] checking anka-sirota/dvarcraft against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanka-sirota%2Fdvarcraft" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anka-sirota/dvarcraft on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anka-sirota/dvarcraft [INFO] finished tweaking git repo https://github.com/anka-sirota/dvarcraft [INFO] tweaked toml for git repo https://github.com/anka-sirota/dvarcraft written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anka-sirota/dvarcraft 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/gfx-rs/gfx.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded magenta-sys v0.1.1 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded sdl2-sys v0.30.0 [INFO] [stderr] Downloaded magenta v0.1.1 [INFO] [stderr] Downloaded rand v0.3.16 [INFO] [stderr] Downloaded num v0.1.40 [INFO] [stderr] Downloaded libc v0.2.31 [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] [stderr] Downloaded cgmath v0.15.0 [INFO] [stderr] Downloaded clock_ticks v0.1.1 [INFO] [stderr] Downloaded regex-syntax v0.4.1 [INFO] [stderr] Downloaded regex v0.2.2 [INFO] [stderr] Downloaded khronos_api v1.0.1 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded itertools v0.5.10 [INFO] [stderr] Downloaded derivative v1.0.0 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded draw_state v0.7.1 [INFO] [stderr] Downloaded smallvec v0.4.4 [INFO] [stderr] Downloaded gl_generator v0.5.5 [INFO] [stderr] Downloaded gfx_gl v0.3.1 [INFO] [stderr] Downloaded color_quant v1.0.0 [INFO] [stderr] Downloaded either v1.2.0 [INFO] [stderr] Downloaded coco v0.1.1 [INFO] [stderr] Downloaded num_cpus v1.7.0 [INFO] [stderr] Downloaded rayon-core v1.3.0 [INFO] [stderr] Downloaded rayon v0.8.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded num-rational v0.1.40 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] [stderr] Downloaded inflate v0.3.3 [INFO] [stderr] Downloaded png v0.11.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [INFO] [stderr] Downloaded image v0.18.0 [INFO] [stderr] Downloaded log v0.3.8 [INFO] [stderr] Downloaded arrayvec v0.4.6 [INFO] [stderr] Downloaded linked-hash-map v0.5.0 [INFO] [stderr] Downloaded unreachable v0.1.1 [INFO] [stderr] Downloaded ordered-float v0.5.0 [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] [stderr] Downloaded stb_truetype v0.2.1 [INFO] [stderr] Downloaded rusttype v0.3.0 [INFO] [stderr] Downloaded c_vec v1.0.12 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a02a6cb07c6c2bd64047bcedc24368039ec84a074eeaf7ff8ab4348aca9df969 [INFO] running `Command { std: "docker" "start" "-a" "a02a6cb07c6c2bd64047bcedc24368039ec84a074eeaf7ff8ab4348aca9df969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a02a6cb07c6c2bd64047bcedc24368039ec84a074eeaf7ff8ab4348aca9df969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02a6cb07c6c2bd64047bcedc24368039ec84a074eeaf7ff8ab4348aca9df969", kill_on_drop: false }` [INFO] [stdout] a02a6cb07c6c2bd64047bcedc24368039ec84a074eeaf7ff8ab4348aca9df969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d23a0b163d9241707d219d0342b70af869caf895ed8f89ca121a6030eaf4b756 [INFO] running `Command { std: "docker" "start" "-a" "d23a0b163d9241707d219d0342b70af869caf895ed8f89ca121a6030eaf4b756", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling either v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Checking smallvec v0.4.4 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking inflate v0.3.3 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking c_vec v1.0.12 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking arrayvec v0.4.6 [INFO] [stderr] Checking stb_truetype v0.2.1 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking num-rational v0.1.40 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking cgmath v0.15.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking rusttype v0.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking clock_ticks v0.1.1 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking gfx_core v0.7.1 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking gfx v0.16.0 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking gfx_device_gl v0.14.0 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking gfx_window_sdl v0.7.0 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking dvarcraft v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `clock_ticks` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clock_ticks; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate clock_ticks; [INFO] [stdout] | ------------------------- the item `clock_ticks` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_core` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gfx_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate gfx_core; [INFO] [stdout] | ---------------------- the item `gfx_core` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_device_gl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gfx_device_gl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate gfx_device_gl; [INFO] [stdout] | --------------------------- the item `gfx_device_gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_sdl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx_window_sdl; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gfx_window_sdl; [INFO] [stdout] | ---------------------------- the item `gfx_window_sdl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut B::Device` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut GraphicsQueue` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: shade::Backend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/textures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/textures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/textures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/quadtree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/miners.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/tiles.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/tiles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/tiles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clock_ticks` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clock_ticks; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate clock_ticks; [INFO] [stdout] | ------------------------- the item `clock_ticks` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_core` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gfx_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate gfx_core; [INFO] [stdout] | ---------------------- the item `gfx_core` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_device_gl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gfx_device_gl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate gfx_device_gl; [INFO] [stdout] | --------------------------- the item `gfx_device_gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_sdl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx_window_sdl; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gfx_window_sdl; [INFO] [stdout] | ---------------------------- the item `gfx_window_sdl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut B::Device` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut GraphicsQueue` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: shade::Backend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/textures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/textures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/textures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/quadtree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/miners.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/tiles.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/tiles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/tiles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display` [INFO] [stdout] --> src/selection.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/quadtree.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/tiles.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | resource_count: resource_id.map_or(0, |v| 5), // TODO roll the count, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/tiles.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display` [INFO] [stdout] --> src/selection.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/quadtree.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/tiles.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | resource_count: resource_id.map_or(0, |v| 5), // TODO roll the count, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dvarcraft.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut tiles = tiles::Tiles::new_layer_from_heightmap("heightmap_64.png", 2); [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/dvarcraft.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut miners = miners::Miners::new(10, &tiles); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/tiles.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/support/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WindowTargets { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub views: Vec>, [INFO] [stdout] 27 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_resize` and `on_resize_ext` are never used [INFO] [stdout] --> src/support/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait Application: Sized { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 157 | fn on_resize_ext(&mut self, _device: &mut B::Device, targets: WindowTargets) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectionVertex` is never constructed [INFO] [stdout] --> src/selection.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SelectionVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectionVertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_vertices` is never used [INFO] [stdout] --> src/selection.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Selection { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print`, `overlaps`, and `remove` are never used [INFO] [stdout] --> src/quadtree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl QuadTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn print(&self, level: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn overlaps(&self, other: &QuadTree) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn remove(&mut self, id: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/tiles.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Tiles { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_closest_selected`, `tile_at`, and `remove` are never used [INFO] [stdout] --> src/tiles.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Tiles { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn assign_closest_selected(&mut self, pos: Vector2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn tile_at(&mut self, position: Vector2) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn remove(&mut self, tile_id: Option) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/support/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 22 - pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] 22 + pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dvarcraft.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut tiles = tiles::Tiles::new_layer_from_heightmap("heightmap_64.png", 2); [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/dvarcraft.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut miners = miners::Miners::new(10, &tiles); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/support/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WindowTargets { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub views: Vec>, [INFO] [stdout] 27 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_resize` and `on_resize_ext` are never used [INFO] [stdout] --> src/support/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait Application: Sized { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 157 | fn on_resize_ext(&mut self, _device: &mut B::Device, targets: WindowTargets) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectionVertex` is never constructed [INFO] [stdout] --> src/selection.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SelectionVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectionVertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_vertices` is never used [INFO] [stdout] --> src/selection.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Selection { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print`, `overlaps`, and `remove` are never used [INFO] [stdout] --> src/quadtree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl QuadTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn print(&self, level: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn overlaps(&self, other: &QuadTree) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn remove(&mut self, id: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/tiles.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Tiles { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_closest_selected`, `tile_at`, and `remove` are never used [INFO] [stdout] --> src/tiles.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Tiles { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn assign_closest_selected(&mut self, pos: Vector2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn tile_at(&mut self, position: Vector2) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn remove(&mut self, tile_id: Option) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/support/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 22 - pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] 22 + pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "d23a0b163d9241707d219d0342b70af869caf895ed8f89ca121a6030eaf4b756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23a0b163d9241707d219d0342b70af869caf895ed8f89ca121a6030eaf4b756", kill_on_drop: false }` [INFO] [stdout] d23a0b163d9241707d219d0342b70af869caf895ed8f89ca121a6030eaf4b756 [INFO] checking anka-sirota/dvarcraft against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanka-sirota%2Fdvarcraft" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anka-sirota/dvarcraft on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anka-sirota/dvarcraft [INFO] finished tweaking git repo https://github.com/anka-sirota/dvarcraft [INFO] tweaked toml for git repo https://github.com/anka-sirota/dvarcraft written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anka-sirota/dvarcraft 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87e86c0e2ebe0ab9b214b8c58eed2d50d138c5fc84087018b9ecc47e7b644a4b [INFO] running `Command { std: "docker" "start" "-a" "87e86c0e2ebe0ab9b214b8c58eed2d50d138c5fc84087018b9ecc47e7b644a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87e86c0e2ebe0ab9b214b8c58eed2d50d138c5fc84087018b9ecc47e7b644a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87e86c0e2ebe0ab9b214b8c58eed2d50d138c5fc84087018b9ecc47e7b644a4b", kill_on_drop: false }` [INFO] [stdout] 87e86c0e2ebe0ab9b214b8c58eed2d50d138c5fc84087018b9ecc47e7b644a4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe688b33c6c1d4ffb0947b594c6cb0e8c936b81029d27fe85e5e2f88aca1edd9 [INFO] running `Command { std: "docker" "start" "-a" "fe688b33c6c1d4ffb0947b594c6cb0e8c936b81029d27fe85e5e2f88aca1edd9", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling either v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking smallvec v0.4.4 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking inflate v0.3.3 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking c_vec v1.0.12 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking stb_truetype v0.2.1 [INFO] [stderr] Checking arrayvec v0.4.6 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking num-rational v0.1.40 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking linked-hash-map v0.5.0 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking rusttype v0.3.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking cgmath v0.15.0 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking clock_ticks v0.1.1 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking gfx_core v0.7.1 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking gfx v0.16.0 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking gfx_device_gl v0.14.0 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking gfx_window_sdl v0.7.0 (https://github.com/gfx-rs/gfx.git#c54a35ea) [INFO] [stderr] Checking dvarcraft v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `clock_ticks` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clock_ticks; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate clock_ticks; [INFO] [stdout] | ------------------------- the item `clock_ticks` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_core` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gfx_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate gfx_core; [INFO] [stdout] | ---------------------- the item `gfx_core` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_device_gl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gfx_device_gl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate gfx_device_gl; [INFO] [stdout] | --------------------------- the item `gfx_device_gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_sdl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx_window_sdl; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gfx_window_sdl; [INFO] [stdout] | ---------------------------- the item `gfx_window_sdl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut B::Device` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut GraphicsQueue` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: shade::Backend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/textures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/textures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/textures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/quadtree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/miners.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/tiles.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/tiles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/tiles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clock_ticks` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clock_ticks; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate clock_ticks; [INFO] [stdout] | ------------------------- the item `clock_ticks` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_core` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gfx_core; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate gfx_core; [INFO] [stdout] | ---------------------- the item `gfx_core` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_device_gl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gfx_device_gl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate gfx_device_gl; [INFO] [stdout] | --------------------------- the item `gfx_device_gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_sdl` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx_window_sdl; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gfx_window_sdl; [INFO] [stdout] | ---------------------------- the item `gfx_window_sdl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/support/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut B::Device` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(&mut B::Device, &mut GraphicsQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut GraphicsQueue` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: shade::Backend` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | shade::Backend, WindowTargets) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/support/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: WindowTargets` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/textures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/textures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gfx; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/textures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/quadtree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/miners.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_folder` is imported redundantly [INFO] [stdout] --> src/tiles.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use find_folder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate find_folder; [INFO] [stdout] | ------------------------- the item `find_folder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/tiles.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/tiles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dvarcraft.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display` [INFO] [stdout] --> src/selection.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display` [INFO] [stdout] --> src/selection.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/quadtree.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/quadtree.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/tiles.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | resource_count: resource_id.map_or(0, |v| 5), // TODO roll the count, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/tiles.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | resource_count: resource_id.map_or(0, |v| 5), // TODO roll the count, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/tiles.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/tiles.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let old_len = self.tiles.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dvarcraft.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut tiles = tiles::Tiles::new_layer_from_heightmap("heightmap_64.png", 2); [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/dvarcraft.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut miners = miners::Miners::new(10, &tiles); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/support/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WindowTargets { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub views: Vec>, [INFO] [stdout] 27 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_resize` and `on_resize_ext` are never used [INFO] [stdout] --> src/support/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait Application: Sized { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 157 | fn on_resize_ext(&mut self, _device: &mut B::Device, targets: WindowTargets) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectionVertex` is never constructed [INFO] [stdout] --> src/selection.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SelectionVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectionVertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_vertices` is never used [INFO] [stdout] --> src/selection.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Selection { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print`, `overlaps`, and `remove` are never used [INFO] [stdout] --> src/quadtree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl QuadTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn print(&self, level: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn overlaps(&self, other: &QuadTree) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn remove(&mut self, id: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/tiles.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Tiles { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_closest_selected`, `tile_at`, and `remove` are never used [INFO] [stdout] --> src/tiles.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Tiles { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn assign_closest_selected(&mut self, pos: Vector2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn tile_at(&mut self, position: Vector2) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn remove(&mut self, tile_id: Option) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/support/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 22 - pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] 22 + pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dvarcraft.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut tiles = tiles::Tiles::new_layer_from_heightmap("heightmap_64.png", 2); [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/dvarcraft.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut miners = miners::Miners::new(10, &tiles); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/support/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WindowTargets { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub views: Vec>, [INFO] [stdout] 27 | pub aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_resize` and `on_resize_ext` are never used [INFO] [stdout] --> src/support/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait Application: Sized { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn on_resize(&mut self, WindowTargets) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 157 | fn on_resize_ext(&mut self, _device: &mut B::Device, targets: WindowTargets) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectionVertex` is never constructed [INFO] [stdout] --> src/selection.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SelectionVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectionVertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_vertices` is never used [INFO] [stdout] --> src/selection.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Selection { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn generate_vertices(&self, display: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print`, `overlaps`, and `remove` are never used [INFO] [stdout] --> src/quadtree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl QuadTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn print(&self, level: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn overlaps(&self, other: &QuadTree) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn remove(&mut self, id: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/tiles.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Tiles { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_closest_selected`, `tile_at`, and `remove` are never used [INFO] [stdout] --> src/tiles.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Tiles { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn assign_closest_selected(&mut self, pos: Vector2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn tile_at(&mut self, position: Vector2) -> Option<&Tile> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn remove(&mut self, tile_id: Option) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/support/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 22 - pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] 22 + pub type BackbufferView = (gfx::handle::RenderTargetView, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "fe688b33c6c1d4ffb0947b594c6cb0e8c936b81029d27fe85e5e2f88aca1edd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe688b33c6c1d4ffb0947b594c6cb0e8c936b81029d27fe85e5e2f88aca1edd9", kill_on_drop: false }` [INFO] [stdout] fe688b33c6c1d4ffb0947b594c6cb0e8c936b81029d27fe85e5e2f88aca1edd9