[INFO] cloning repository https://github.com/Salmon-e/glium-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Salmon-e/glium-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalmon-e%2Fglium-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalmon-e%2Fglium-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12c2f08bce48f0e24223344f2c568d6eb664dd1e [INFO] building Salmon-e/glium-test against master#f3126500f25114ba4e0ac3e76694dd45a22de56d for pr-107620-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalmon-e%2Fglium-test" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Salmon-e/glium-test on toolchain f3126500f25114ba4e0ac3e76694dd45a22de56d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Salmon-e/glium-test [INFO] finished tweaking git repo https://github.com/Salmon-e/glium-test [INFO] tweaked toml for git repo https://github.com/Salmon-e/glium-test written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Salmon-e/glium-test 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" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hecs v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 427413bae48c7c25d61d56f4ac051a719110e22ed9377d57ebefef950094d7b9 [INFO] running `Command { std: "docker" "start" "-a" "427413bae48c7c25d61d56f4ac051a719110e22ed9377d57ebefef950094d7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "427413bae48c7c25d61d56f4ac051a719110e22ed9377d57ebefef950094d7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427413bae48c7c25d61d56f4ac051a719110e22ed9377d57ebefef950094d7b9", kill_on_drop: false }` [INFO] [stdout] 427413bae48c7c25d61d56f4ac051a719110e22ed9377d57ebefef950094d7b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ac658f23096945d4b513d5ae5b1d046faef2174ad3063a9c16d7d7344d3f90d [INFO] running `Command { std: "docker" "start" "-a" "4ac658f23096945d4b513d5ae5b1d046faef2174ad3063a9c16d7d7344d3f90d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling glam v0.20.2 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling hecs v0.7.6 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling glium-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformBuffer` [INFO] [stdout] --> src/main.rs:3:120 [INFO] [stdout] | [INFO] [stdout] 3 | use glium::{self, *, glutin::{*, event::*}, uniforms::{SamplerWrapFunction, MinifySamplerFilter, MagnifySamplerFilter, UniformBuffer}, pr... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::buffer::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::buffer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Perlin`, `Seedable` [INFO] [stdout] --> src/main.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `noise::Seedable` [INFO] [stdout] --> src/world.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use noise::Seedable; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uniforms::*` [INFO] [stdout] --> src/world_mesh.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use glium::{*, uniforms::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::*` [INFO] [stdout] --> src/systems.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoiseFn` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/renderers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | for (id, (position, sprite)) in ecs.entities.query_mut::<(&mut Position, &mut Sprite)>() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/systems.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn default_movement(dt: f32, ecs: &mut Ecs, _world: &mut World) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/systems.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | for (id, (Velocity(vel), Gravity(gravity))) in ecs.entities.query_mut::<(&mut Velocity, &mut Gravity)>() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | WindowEvent::KeyboardInput{device_id, input, is_synthetic} => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/main.rs:116:62 [INFO] [stdout] | [INFO] [stdout] 116 | WindowEvent::KeyboardInput{device_id, input, is_synthetic} => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `march` is never used [INFO] [stdout] --> src/square_march.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn march(data: ArrayView2, target: f32, mat_lookup: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_mesh` is never used [INFO] [stdout] --> src/world.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_mesh(&self, chunk_pos: (i32, i32), mat_lookup: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gvert` is never used [INFO] [stdout] --> src/world_mesh.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gvert(vec: Vec2, corners: [f32; 4]) -> GVert { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMesh` is never constructed [INFO] [stdout] --> src/world_mesh.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ChunkMesh { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/world_mesh.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(position: (i32, i32), verts: Vec) -> ChunkMesh{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/systems.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | ecs.entities.despawn(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "4ac658f23096945d4b513d5ae5b1d046faef2174ad3063a9c16d7d7344d3f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac658f23096945d4b513d5ae5b1d046faef2174ad3063a9c16d7d7344d3f90d", kill_on_drop: false }` [INFO] [stdout] 4ac658f23096945d4b513d5ae5b1d046faef2174ad3063a9c16d7d7344d3f90d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d53aa13b0e2cdcf5dc1dfd11c5365cfb354bc773d0c2a25325a0061eaf87659 [INFO] running `Command { std: "docker" "start" "-a" "0d53aa13b0e2cdcf5dc1dfd11c5365cfb354bc773d0c2a25325a0061eaf87659", kill_on_drop: false }` [INFO] [stderr] Compiling glium-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformBuffer` [INFO] [stdout] --> src/main.rs:3:120 [INFO] [stdout] | [INFO] [stdout] 3 | use glium::{self, *, glutin::{*, event::*}, uniforms::{SamplerWrapFunction, MinifySamplerFilter, MagnifySamplerFilter, UniformBuffer}, pr... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::buffer::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::buffer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Perlin`, `Seedable` [INFO] [stdout] --> src/main.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `noise::Seedable` [INFO] [stdout] --> src/world.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use noise::Seedable; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uniforms::*` [INFO] [stdout] --> src/world_mesh.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use glium::{*, uniforms::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::*` [INFO] [stdout] --> src/systems.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoiseFn` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/renderers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | for (id, (position, sprite)) in ecs.entities.query_mut::<(&mut Position, &mut Sprite)>() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/systems.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn default_movement(dt: f32, ecs: &mut Ecs, _world: &mut World) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/systems.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | for (id, (Velocity(vel), Gravity(gravity))) in ecs.entities.query_mut::<(&mut Velocity, &mut Gravity)>() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | WindowEvent::KeyboardInput{device_id, input, is_synthetic} => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/main.rs:116:62 [INFO] [stdout] | [INFO] [stdout] 116 | WindowEvent::KeyboardInput{device_id, input, is_synthetic} => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `march` is never used [INFO] [stdout] --> src/square_march.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn march(data: ArrayView2, target: f32, mat_lookup: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_mesh` is never used [INFO] [stdout] --> src/world.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_mesh(&self, chunk_pos: (i32, i32), mat_lookup: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gvert` is never used [INFO] [stdout] --> src/world_mesh.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gvert(vec: Vec2, corners: [f32; 4]) -> GVert { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMesh` is never constructed [INFO] [stdout] --> src/world_mesh.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ChunkMesh { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/world_mesh.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(position: (i32, i32), verts: Vec) -> ChunkMesh{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/systems.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | ecs.entities.despawn(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "0d53aa13b0e2cdcf5dc1dfd11c5365cfb354bc773d0c2a25325a0061eaf87659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d53aa13b0e2cdcf5dc1dfd11c5365cfb354bc773d0c2a25325a0061eaf87659", kill_on_drop: false }` [INFO] [stdout] 0d53aa13b0e2cdcf5dc1dfd11c5365cfb354bc773d0c2a25325a0061eaf87659