[INFO] cloning repository https://github.com/rkanati/voxel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rkanati/voxel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fvoxel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fvoxel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82a99f3659b2f386e40e9fda823a044ada52659d [INFO] checking rkanati/voxel against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fvoxel" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rkanati/voxel on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rkanati/voxel [INFO] finished tweaking git repo https://github.com/rkanati/voxel [INFO] tweaked toml for git repo https://github.com/rkanati/voxel written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/rkanati/voxel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fccaa0f1399d6fd8a12eb0c949a61b0574d42bc4bc7d2b898ca02068c30e77d8 [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" "fccaa0f1399d6fd8a12eb0c949a61b0574d42bc4bc7d2b898ca02068c30e77d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fccaa0f1399d6fd8a12eb0c949a61b0574d42bc4bc7d2b898ca02068c30e77d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fccaa0f1399d6fd8a12eb0c949a61b0574d42bc4bc7d2b898ca02068c30e77d8", kill_on_drop: false }` [INFO] [stdout] fccaa0f1399d6fd8a12eb0c949a61b0574d42bc4bc7d2b898ca02068c30e77d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a872c8d3d552b5a0a69db068b733f253cc7be32cdfdd2c7e793153d3e831fb56 [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" "a872c8d3d552b5a0a69db068b733f253cc7be32cdfdd2c7e793153d3e831fb56", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking xml-rs v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rgb v0.8.16 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling rk-voxel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking noise v0.6.0 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking image v0.22.4 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking nalgebra v0.19.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking winit v0.20.0 [INFO] [stderr] Checking glutin v0.22.0 [INFO] [stdout] warning: unused imports: `Array`, `block::Block`, `self` [INFO] [stdout] --> src/chunk_store.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | block::Block, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | chunk::{self, Array, Chunk, Coords}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::null as nullptr` [INFO] [stdout] --> src/mesher.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | ptr::null as nullptr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array`, `block::Block`, `self` [INFO] [stdout] --> src/chunk_store.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | block::Block, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | chunk::{self, Array, Chunk, Coords}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::null as nullptr` [INFO] [stdout] --> src/mesher.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | ptr::null as nullptr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_dims` [INFO] [stdout] --> src/array3d.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn new_with_dims(dims: V3usize, elements: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SliceMut` [INFO] [stdout] --> src/block/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type SliceMut<'a> = array3d::ArraySliceMut<'a, Block>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VOLUME` [INFO] [stdout] --> src/chunk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub const VOLUME: i32 = DIM * DIM * DIM; // 512 4k 32k 256k (Blocks, not bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/chunk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn unwrap(self) -> V3i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Slice` [INFO] [stdout] --> src/chunk.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub type Slice<'a> = array3d::ArraySlice<'a, Block>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/chunk.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/chunk_cache.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn unwrap(self) -> V { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_and_acquire` [INFO] [stdout] --> src/chunk_cache.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn insert_and_acquire(&mut self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/chunk_cache.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn remove (&mut self, key: &Q) -> V [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrowed` [INFO] [stdout] --> src/chunk_cache.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn borrowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sync` [INFO] [stdout] --> src/chunk_source.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sync(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/chunk_source.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EPSILON` [INFO] [stdout] --> src/math/linear.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const EPSILON: f32 = 0.00001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/math/linear.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn new(source: P3, stride: V3) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_points` [INFO] [stdout] --> src/math/linear.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new_from_points(a: P3, b: P3) -> Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/math/linear.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn reverse(self) -> Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/math/planar.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(normal_to_centre: V3) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_point_and_normal` [INFO] [stdout] --> src/math/planar.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_point_and_normal(point: P3, normal: V3) -> Plane { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_dims_unchecked` [INFO] [stdout] --> src/math/box3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_dims_unchecked(mins: P3, dims: V3) -> Box3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/math/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn unwrap(self) -> T { self.0 } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P3u8` [INFO] [stdout] --> src/math/mod.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub type P3u8 = P3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P3usize` [INFO] [stdout] --> src/math/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub type P3usize = P3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `M4` [INFO] [stdout] --> src/math/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub type M4 = na::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Translation` [INFO] [stdout] --> src/math/mod.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub type Translation = na::Translation3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Quaternion` [INFO] [stdout] --> src/math/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub type Quaternion = na::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Versor` [INFO] [stdout] --> src/math/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Versor = na::UnitQuaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `relative_to_absolute` [INFO] [stdout] --> src/stage.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn relative_to_absolute(&self, rel: V3i32) -> chunk::Coords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `absolute_to_relative` [INFO] [stdout] --> src/stage.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn absolute_to_relative(&self, abs: chunk::Coords) -> V3i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_relative` [INFO] [stdout] --> src/stage.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn insert_relative(&mut self, rel: V3i32, content: T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/texture.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load(path: impl AsRef, levels: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/texture.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | dst.save("atlas-pack.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `volume` [INFO] [stdout] --> src/array3d.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn volume(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_dims` [INFO] [stdout] --> src/array3d.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn new_with_dims(dims: V3usize, elements: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SliceMut` [INFO] [stdout] --> src/block/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type SliceMut<'a> = array3d::ArraySliceMut<'a, Block>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VOLUME` [INFO] [stdout] --> src/chunk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub const VOLUME: i32 = DIM * DIM * DIM; // 512 4k 32k 256k (Blocks, not bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/chunk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn unwrap(self) -> V3i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Slice` [INFO] [stdout] --> src/chunk.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub type Slice<'a> = array3d::ArraySlice<'a, Block>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/chunk.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/chunk_cache.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn unwrap(self) -> V { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_and_acquire` [INFO] [stdout] --> src/chunk_cache.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn insert_and_acquire(&mut self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/chunk_cache.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn remove (&mut self, key: &Q) -> V [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrowed` [INFO] [stdout] --> src/chunk_cache.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn borrowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sync` [INFO] [stdout] --> src/chunk_source.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sync(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/chunk_source.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EPSILON` [INFO] [stdout] --> src/math/linear.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const EPSILON: f32 = 0.00001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/math/linear.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn new(source: P3, stride: V3) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_points` [INFO] [stdout] --> src/math/linear.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new_from_points(a: P3, b: P3) -> Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/math/linear.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn reverse(self) -> Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/math/planar.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(normal_to_centre: V3) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_point_and_normal` [INFO] [stdout] --> src/math/planar.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_point_and_normal(point: P3, normal: V3) -> Plane { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_dims_unchecked` [INFO] [stdout] --> src/math/box3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_dims_unchecked(mins: P3, dims: V3) -> Box3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/math/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn unwrap(self) -> T { self.0 } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P3u8` [INFO] [stdout] --> src/math/mod.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub type P3u8 = P3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P3usize` [INFO] [stdout] --> src/math/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub type P3usize = P3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `M4` [INFO] [stdout] --> src/math/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub type M4 = na::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Translation` [INFO] [stdout] --> src/math/mod.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub type Translation = na::Translation3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Quaternion` [INFO] [stdout] --> src/math/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub type Quaternion = na::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Versor` [INFO] [stdout] --> src/math/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Versor = na::UnitQuaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `relative_to_absolute` [INFO] [stdout] --> src/stage.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn relative_to_absolute(&self, rel: V3i32) -> chunk::Coords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `absolute_to_relative` [INFO] [stdout] --> src/stage.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn absolute_to_relative(&self, abs: chunk::Coords) -> V3i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_relative` [INFO] [stdout] --> src/stage.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn insert_relative(&mut self, rel: V3i32, content: T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/texture.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load(path: impl AsRef, levels: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/texture.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | dst.save("atlas-pack.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "a872c8d3d552b5a0a69db068b733f253cc7be32cdfdd2c7e793153d3e831fb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a872c8d3d552b5a0a69db068b733f253cc7be32cdfdd2c7e793153d3e831fb56", kill_on_drop: false }` [INFO] [stdout] a872c8d3d552b5a0a69db068b733f253cc7be32cdfdd2c7e793153d3e831fb56