[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] checking Arnaz87/Miterra/d31d65b6f58028c266ca299b815eb0a884bdec0e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaz87%2FMiterra" "/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/Arnaz87/Miterra on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded num-traits v0.2.0 [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded num-integer v0.1.36 [INFO] [stderr] Downloaded color_quant v1.0.0 [INFO] [stderr] Downloaded gleam v0.4.20 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded gfx_core v0.8.2 [INFO] [stderr] Downloaded cgmath v0.16.0 [INFO] [stderr] Downloaded cocoa v0.14.0 [INFO] [stderr] Downloaded derivative v1.0.0 [INFO] [stderr] Downloaded glutin v0.12.1 [INFO] [stderr] Downloaded wayland-protocols v0.12.5 [INFO] [stderr] Downloaded winit v0.10.1 [INFO] [stderr] Downloaded pkg-config v0.3.9 [INFO] [stderr] Downloaded x11-dl v2.17.2 [INFO] [stderr] Downloaded rayon-core v1.3.0 [INFO] [stderr] Downloaded gl_generator v0.7.0 [INFO] [stderr] Downloaded gfx_window_glutin v0.20.0 [INFO] [stderr] Downloaded cgl v0.2.1 [INFO] [stderr] Downloaded khronos_api v2.1.0 [INFO] [stderr] Downloaded gl_generator v0.8.0 [INFO] [stderr] Downloaded objc v0.2.2 [INFO] [stderr] Downloaded wayland-kbd v0.13.1 [INFO] [stderr] Downloaded wayland-window v0.13.2 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded coco v0.1.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded num-rational v0.1.41 [INFO] [stderr] Downloaded gfx_gl v0.4.0 [INFO] [stderr] Downloaded gfx_device_gl v0.15.0 [INFO] [stderr] Downloaded shared_library v0.1.8 [INFO] [stderr] Downloaded core-graphics v0.13.0 [INFO] [stderr] Downloaded dlib v0.4.0 [INFO] [stderr] Downloaded core-foundation v0.5.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3507aca29b89f93c114aec3400dbf5701659d5365e2c0b7f4f90fedd6c51df73 [INFO] running `Command { std: "docker" "start" "-a" "3507aca29b89f93c114aec3400dbf5701659d5365e2c0b7f4f90fedd6c51df73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3507aca29b89f93c114aec3400dbf5701659d5365e2c0b7f4f90fedd6c51df73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3507aca29b89f93c114aec3400dbf5701659d5365e2c0b7f4f90fedd6c51df73", kill_on_drop: false }` [INFO] [stdout] 3507aca29b89f93c114aec3400dbf5701659d5365e2c0b7f4f90fedd6c51df73 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 825130fb5ea695f46c6755e1db5cd2c9efbb83be0497d9db2c276a5a26214e0f [INFO] running `Command { std: "docker" "start" "-a" "825130fb5ea695f46c6755e1db5cd2c9efbb83be0497d9db2c276a5a26214e0f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling khronos_api v2.1.0 [INFO] [stderr] Checking num-traits v0.2.0 [INFO] [stderr] Checking 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 either v1.4.0 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Compiling cgmath v0.16.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking dlib v0.4.0 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling x11-dl v2.17.2 [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] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num-rational v0.1.41 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling glutin v0.12.1 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking gfx_core v0.8.2 [INFO] [stderr] Checking wayland-window v0.13.2 [INFO] [stderr] Checking winit v0.10.1 [INFO] [stderr] Checking gfx_device_gl v0.15.0 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_window_glutin v0.20.0 [INFO] [stderr] Checking 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | mesher: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 | 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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 | fn mesh (&mut self, source: &dyn VoxelSource) -> Mesh { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/marching_cubes/mod.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | let mut vertex = &mut mesh.vertices[i]; [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: 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] [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: variable does not need to be mutable [INFO] [stdout] --> src/marching_cubes/mod.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | let mut vertex = &mut mesh.vertices[i]; [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: fields `camera` and `sun_angle` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | camera: Camera, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | sun_angle: Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EDGE_CONNECTION` is never used [INFO] [stdout] --> src/marching_cubes/data.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const EDGE_CONNECTION: [[usize; 2]; 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EDGE_DIRECTION` is never used [INFO] [stdout] --> src/marching_cubes/data.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const EDGE_DIRECTION: [[f32; 3]; 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mesh.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new () -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampler` is never read [INFO] [stdout] --> src/base.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Base { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub sampler: handle::Sampler, [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: 27 warnings emitted [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] [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: fields `camera` and `sun_angle` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | camera: Camera, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | sun_angle: Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EDGE_CONNECTION` is never used [INFO] [stdout] --> src/marching_cubes/data.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const EDGE_CONNECTION: [[usize; 2]; 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EDGE_DIRECTION` is never used [INFO] [stdout] --> src/marching_cubes/data.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const EDGE_DIRECTION: [[f32; 3]; 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mesh.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new () -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampler` is never read [INFO] [stdout] --> src/base.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Base { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub sampler: handle::Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.48s [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" "825130fb5ea695f46c6755e1db5cd2c9efbb83be0497d9db2c276a5a26214e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825130fb5ea695f46c6755e1db5cd2c9efbb83be0497d9db2c276a5a26214e0f", kill_on_drop: false }` [INFO] [stdout] 825130fb5ea695f46c6755e1db5cd2c9efbb83be0497d9db2c276a5a26214e0f