[INFO] cloning repository https://github.com/Arnaz87/Miterra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arnaz87/Miterra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaz87%2FMiterra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaz87%2FMiterra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d31d65b6f58028c266ca299b815eb0a884bdec0e [INFO] testing Arnaz87/Miterra against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaz87%2FMiterra" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Arnaz87/Miterra on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Arnaz87/Miterra [INFO] finished tweaking git repo https://github.com/Arnaz87/Miterra [INFO] tweaked toml for git repo https://github.com/Arnaz87/Miterra written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Arnaz87/Miterra already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd47993cd34c4521c799e0d69ad51d4954500a615c81421fedef4d147469ecec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd47993cd34c4521c799e0d69ad51d4954500a615c81421fedef4d147469ecec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd47993cd34c4521c799e0d69ad51d4954500a615c81421fedef4d147469ecec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd47993cd34c4521c799e0d69ad51d4954500a615c81421fedef4d147469ecec", kill_on_drop: false }` [INFO] [stdout] fd47993cd34c4521c799e0d69ad51d4954500a615c81421fedef4d147469ecec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10d249c05a46c95fc07662281687295dac718c975926ad3375a1e5717c0d33ab [INFO] running `Command { std: "docker" "start" "-a" "10d249c05a46c95fc07662281687295dac718c975926ad3375a1e5717c0d33ab", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling khronos_api v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling cgmath v0.16.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling x11-dl v2.17.2 [INFO] [stderr] Compiling dlib v0.4.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.41 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling glutin v0.12.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling gfx_core v0.8.2 [INFO] [stderr] Compiling wayland-window v0.13.2 [INFO] [stderr] Compiling winit v0.10.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_window_glutin v0.20.0 [INFO] [stderr] Compiling miterra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mesher::Mesher` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mesher::Mesher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::traits::FactoryExt` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::Device` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use gfx::Device; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use cgmath::{Matrix4, Vector3, InnerSpace, Rad, Deg}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/surfnet.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | source: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - source: &'a VoxelSource, [INFO] [stdout] 15 + source: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blocky.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | source: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - source: &'a VoxelSource, [INFO] [stdout] 11 + source: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/marching_cubes/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | source: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - source: &'a VoxelSource, [INFO] [stdout] 15 + source: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chunk/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | orig: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - orig: &'a VoxelSource, [INFO] [stdout] 21 + orig: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chunk/mod.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - source: Box, [INFO] [stdout] 42 + source: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chunk/mod.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | mesher: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - mesher: Box, [INFO] [stdout] 43 + mesher: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mesher.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | fn mesh (&mut self, source: &VoxelSource) -> Mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn mesh (&mut self, source: &VoxelSource) -> Mesh; [INFO] [stdout] 6 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/surfnet.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new (params: &SurfNet, source: &'a VoxelSource) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn new (params: &SurfNet, source: &'a VoxelSource) -> Self { [INFO] [stdout] 24 + pub fn new (params: &SurfNet, source: &'a dyn VoxelSource) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/surfnet.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] 202 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blocky.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] 16 + fn new (source: &'a dyn VoxelSource, size: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blocky.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] 98 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/marching_cubes/mod.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] 38 + fn new (source: &'a dyn VoxelSource, size: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/marching_cubes/mod.rs:390:34 [INFO] [stdout] | [INFO] [stdout] 390 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] 390 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/chunk/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | ref chunks, ref grass_texture, ref soilsand_texture, ref sampler, .. [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `chunks: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut event_loop = glutin::EventsLoop::new(); [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/base.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let (window, mut device, mut factory, rtv, stv) = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut encoder: gfx::Encoder<_, _> = factory.create_command_buffer().into(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | camera: Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sun_angle` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | sun_angle: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mesh.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new () -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EDGE_CONNECTION` [INFO] [stdout] --> src/marching_cubes/data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub const EDGE_CONNECTION: [[usize; 2]; 12] = [ [INFO] [stdout] 18 | | [0,1], [1,2], [2,3], [3,0], [INFO] [stdout] 19 | | [4,5], [5,6], [6,7], [7,4], [INFO] [stdout] 20 | | [0,4], [1,5], [2,6], [3,7] [INFO] [stdout] 21 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EDGE_DIRECTION` [INFO] [stdout] --> src/marching_cubes/data.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub const EDGE_DIRECTION: [[f32; 3]; 12] = [ [INFO] [stdout] 25 | | [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [-1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [INFO] [stdout] 26 | | [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [-1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [INFO] [stdout] 27 | | [0.0, 0.0, 1.0], [0.0, 0.0, 1.0], [ 0.0, 0.0, 1.0], [0.0, 0.0, 1.0] [INFO] [stdout] 28 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "10d249c05a46c95fc07662281687295dac718c975926ad3375a1e5717c0d33ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d249c05a46c95fc07662281687295dac718c975926ad3375a1e5717c0d33ab", kill_on_drop: false }` [INFO] [stdout] 10d249c05a46c95fc07662281687295dac718c975926ad3375a1e5717c0d33ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3421b28dea689faf473e51bf388abf52a1fe5c3a59b218a068536d3f633741ce [INFO] running `Command { std: "docker" "start" "-a" "3421b28dea689faf473e51bf388abf52a1fe5c3a59b218a068536d3f633741ce", kill_on_drop: false }` [INFO] [stderr] Compiling miterra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mesher::Mesher` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mesher::Mesher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::traits::FactoryExt` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::Device` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use gfx::Device; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use cgmath::{Matrix4, Vector3, InnerSpace, Rad, Deg}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/surfnet.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | source: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - source: &'a VoxelSource, [INFO] [stdout] 15 + source: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blocky.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | source: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - source: &'a VoxelSource, [INFO] [stdout] 11 + source: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/marching_cubes/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | source: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - source: &'a VoxelSource, [INFO] [stdout] 15 + source: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chunk/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | orig: &'a VoxelSource, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - orig: &'a VoxelSource, [INFO] [stdout] 21 + orig: &'a dyn VoxelSource, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chunk/mod.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - source: Box, [INFO] [stdout] 42 + source: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chunk/mod.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | mesher: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - mesher: Box, [INFO] [stdout] 43 + mesher: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mesher.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | fn mesh (&mut self, source: &VoxelSource) -> Mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn mesh (&mut self, source: &VoxelSource) -> Mesh; [INFO] [stdout] 6 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/surfnet.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new (params: &SurfNet, source: &'a VoxelSource) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn new (params: &SurfNet, source: &'a VoxelSource) -> Self { [INFO] [stdout] 24 + pub fn new (params: &SurfNet, source: &'a dyn VoxelSource) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/surfnet.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] 202 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blocky.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] 16 + fn new (source: &'a dyn VoxelSource, size: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blocky.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] 98 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/marching_cubes/mod.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stdout] 38 + fn new (source: &'a dyn VoxelSource, size: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/marching_cubes/mod.rs:390:34 [INFO] [stdout] | [INFO] [stdout] 390 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stdout] 390 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/chunk/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | ref chunks, ref grass_texture, ref soilsand_texture, ref sampler, .. [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `chunks: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut event_loop = glutin::EventsLoop::new(); [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/base.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let (window, mut device, mut factory, rtv, stv) = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut encoder: gfx::Encoder<_, _> = factory.create_command_buffer().into(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | camera: Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sun_angle` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | sun_angle: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mesh.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new () -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EDGE_CONNECTION` [INFO] [stdout] --> src/marching_cubes/data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub const EDGE_CONNECTION: [[usize; 2]; 12] = [ [INFO] [stdout] 18 | | [0,1], [1,2], [2,3], [3,0], [INFO] [stdout] 19 | | [4,5], [5,6], [6,7], [7,4], [INFO] [stdout] 20 | | [0,4], [1,5], [2,6], [3,7] [INFO] [stdout] 21 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EDGE_DIRECTION` [INFO] [stdout] --> src/marching_cubes/data.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub const EDGE_DIRECTION: [[f32; 3]; 12] = [ [INFO] [stdout] 25 | | [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [-1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [INFO] [stdout] 26 | | [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [-1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [INFO] [stdout] 27 | | [0.0, 0.0, 1.0], [0.0, 0.0, 1.0], [ 0.0, 0.0, 1.0], [0.0, 0.0, 1.0] [INFO] [stdout] 28 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/miterra-7144825af9ffa675) [INFO] running `Command { std: "docker" "inspect" "3421b28dea689faf473e51bf388abf52a1fe5c3a59b218a068536d3f633741ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3421b28dea689faf473e51bf388abf52a1fe5c3a59b218a068536d3f633741ce", kill_on_drop: false }` [INFO] [stdout] 3421b28dea689faf473e51bf388abf52a1fe5c3a59b218a068536d3f633741ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc22584658bfed65bac2ab02e3a4600d6a058fda108d53c08d18a37ab4d03dae [INFO] running `Command { std: "docker" "start" "-a" "dc22584658bfed65bac2ab02e3a4600d6a058fda108d53c08d18a37ab4d03dae", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mesher::Mesher` [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use mesher::Mesher; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `gfx::traits::FactoryExt` [INFO] [stderr] --> src/main.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use gfx::traits::FactoryExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gfx::Device` [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use gfx::Device; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Matrix4` [INFO] [stderr] --> src/main.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | use cgmath::{Matrix4, Vector3, InnerSpace, Rad, Deg}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/surfnet.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | source: &'a VoxelSource, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - source: &'a VoxelSource, [INFO] [stderr] 15 + source: &'a dyn VoxelSource, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/blocky.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | source: &'a VoxelSource, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - source: &'a VoxelSource, [INFO] [stderr] 11 + source: &'a dyn VoxelSource, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/marching_cubes/mod.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | source: &'a VoxelSource, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - source: &'a VoxelSource, [INFO] [stderr] 15 + source: &'a dyn VoxelSource, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chunk/mod.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | orig: &'a VoxelSource, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - orig: &'a VoxelSource, [INFO] [stderr] 21 + orig: &'a dyn VoxelSource, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chunk/mod.rs:42:15 [INFO] [stderr] | [INFO] [stderr] 42 | source: Box, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - source: Box, [INFO] [stderr] 42 + source: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chunk/mod.rs:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | mesher: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - mesher: Box, [INFO] [stderr] 43 + mesher: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mesher.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | fn mesh (&mut self, source: &VoxelSource) -> Mesh; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - fn mesh (&mut self, source: &VoxelSource) -> Mesh; [INFO] [stderr] 6 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/surfnet.rs:24:47 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new (params: &SurfNet, source: &'a VoxelSource) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - pub fn new (params: &SurfNet, source: &'a VoxelSource) -> Self { [INFO] [stderr] 24 + pub fn new (params: &SurfNet, source: &'a dyn VoxelSource) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/surfnet.rs:202:34 [INFO] [stderr] | [INFO] [stderr] 202 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 202 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stderr] 202 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/blocky.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 - fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stderr] 16 + fn new (source: &'a dyn VoxelSource, size: i32) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/blocky.rs:98:34 [INFO] [stderr] | [INFO] [stderr] 98 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stderr] 98 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/marching_cubes/mod.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - fn new (source: &'a VoxelSource, size: i32) -> Self { [INFO] [stderr] 38 + fn new (source: &'a dyn VoxelSource, size: i32) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/marching_cubes/mod.rs:390:34 [INFO] [stderr] | [INFO] [stderr] 390 | fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 390 - fn mesh (&mut self, source: &VoxelSource) -> Mesh { [INFO] [stderr] 390 + fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `chunks` [INFO] [stderr] --> src/chunk/mod.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | ref chunks, ref grass_texture, ref soilsand_texture, ref sampler, .. [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `chunks: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/base.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let mut event_loop = glutin::EventsLoop::new(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/base.rs:77:22 [INFO] [stderr] | [INFO] [stderr] 77 | let (window, mut device, mut factory, rtv, stv) = [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/base.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let mut encoder: gfx::Encoder<_, _> = factory.create_command_buffer().into(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `camera` [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | camera: Camera, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sun_angle` [INFO] [stderr] --> src/main.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | sun_angle: Vector3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/mesh.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new () -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EDGE_CONNECTION` [INFO] [stderr] --> src/marching_cubes/data.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / pub const EDGE_CONNECTION: [[usize; 2]; 12] = [ [INFO] [stderr] 18 | | [0,1], [1,2], [2,3], [3,0], [INFO] [stderr] 19 | | [4,5], [5,6], [6,7], [7,4], [INFO] [stderr] 20 | | [0,4], [1,5], [2,6], [3,7] [INFO] [stderr] 21 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EDGE_DIRECTION` [INFO] [stderr] --> src/marching_cubes/data.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / pub const EDGE_DIRECTION: [[f32; 3]; 12] = [ [INFO] [stderr] 25 | | [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [-1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [INFO] [stderr] 26 | | [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [-1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [INFO] [stderr] 27 | | [0.0, 0.0, 1.0], [0.0, 0.0, 1.0], [ 0.0, 0.0, 1.0], [0.0, 0.0, 1.0] [INFO] [stderr] 28 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: `miterra` (bin "miterra" test) generated 26 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/miterra-7144825af9ffa675) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc22584658bfed65bac2ab02e3a4600d6a058fda108d53c08d18a37ab4d03dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc22584658bfed65bac2ab02e3a4600d6a058fda108d53c08d18a37ab4d03dae", kill_on_drop: false }` [INFO] [stdout] dc22584658bfed65bac2ab02e3a4600d6a058fda108d53c08d18a37ab4d03dae