[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 master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fvoxel" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rkanati/voxel on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.0 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.3 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.5 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.3 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded image v0.22.4 [INFO] [stderr] Downloaded nalgebra v0.19.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.4 [INFO] [stderr] Downloaded x11-dl v2.18.4 [INFO] [stderr] Downloaded glutin v0.22.0 [INFO] [stderr] Downloaded alga v0.9.2 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded num-rational v0.2.3 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded rgb v0.8.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 014b63443421765af71bcd3dce6161975a0288fd342b1bdbea6c820fec734442 [INFO] running `Command { std: "docker" "start" "-a" "014b63443421765af71bcd3dce6161975a0288fd342b1bdbea6c820fec734442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "014b63443421765af71bcd3dce6161975a0288fd342b1bdbea6c820fec734442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014b63443421765af71bcd3dce6161975a0288fd342b1bdbea6c820fec734442", kill_on_drop: false }` [INFO] [stdout] 014b63443421765af71bcd3dce6161975a0288fd342b1bdbea6c820fec734442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1fbe1c8150a8c88854b8b4c693b9ab000c31be51e83e28cca7b51f58932b19b [INFO] running `Command { std: "docker" "start" "-a" "e1fbe1c8150a8c88854b8b4c693b9ab000c31be51e83e28cca7b51f58932b19b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [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 bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking rgb v0.8.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.5.6 [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_egl_sys v0.1.4 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling rk-voxel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking image v0.22.4 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking noise v0.6.0 [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 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: `planar::Plane` [INFO] [stdout] --> src/math/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use planar::Plane; [INFO] [stdout] | ^^^^^^^^^^^^^ [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 import: `planar::Plane` [INFO] [stdout] --> src/math/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use planar::Plane; [INFO] [stdout] | ^^^^^^^^^^^^^ [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: method `volume` is never used [INFO] [stdout] --> src/array3d.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl Array where D: Dims { [INFO] [stdout] | ------------------------------------ method in this implementation [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 `new_with_dims` is never used [INFO] [stdout] --> src/array3d.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 329 | impl Array> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [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 `SliceMut` is never used [INFO] [stdout] --> src/block/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type SliceMut<'a> = array3d::ArraySliceMut<'a, Block>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VOLUME` is never used [INFO] [stdout] --> src/chunk.rs:61:11 [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: method `unwrap` is never used [INFO] [stdout] --> src/chunk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl BlockCoords { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn unwrap(self) -> V3i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Slice` is never used [INFO] [stdout] --> src/chunk.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub type Slice<'a> = array3d::ArraySlice<'a, Block>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/chunk.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/chunk_cache.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Entry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn unwrap(self) -> V { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_and_acquire`, `remove`, and `borrowed` are never used [INFO] [stdout] --> src/chunk_cache.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Cache where K: Hash + Eq { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn insert_and_acquire(&mut self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn remove (&mut self, key: &Q) -> V [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn borrowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/chunk_source.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ChunkStore { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 10 | fn load(&mut self, coords: Coords) -> Option; [INFO] [stdout] 11 | fn store(&mut self, coords: Coords, chunk: &Chunk); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sync` and `flush` are never used [INFO] [stdout] --> src/chunk_source.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Source where S: ChunkStore, M: ChunkMaker { [INFO] [stdout] | ---------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn sync(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/math/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl OrdFloat where T: PartialOrd + PartialEq { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 27 | fn unwrap(self) -> T { self.0 } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P3u8` is never used [INFO] [stdout] --> src/math/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub type P3u8 = P3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P3usize` is never used [INFO] [stdout] --> src/math/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub type P3usize = P3; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `M4` is never used [INFO] [stdout] --> src/math/mod.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub type M4 = na::Matrix4; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Translation` is never used [INFO] [stdout] --> src/math/mod.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub type Translation = na::Translation3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Quaternion` is never used [INFO] [stdout] --> src/math/mod.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub type Quaternion = na::Quaternion; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Versor` is never used [INFO] [stdout] --> src/math/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Versor = na::UnitQuaternion; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/math/linear.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const EPSILON: f32 = 0.00001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `direction` and `project` are never used [INFO] [stdout] --> src/math/linear.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Linear { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn direction(&self) -> V3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn project(&self, p: P3) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/linear.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 108 | pub fn new(source: P3, stride: V3) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_points` and `reverse` are never used [INFO] [stdout] --> src/math/linear.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Segment { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn new_from_points(a: P3, b: P3) -> Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn reverse(self) -> Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_point_and_normal` are never used [INFO] [stdout] --> src/math/planar.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Plane { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new(normal_to_centre: V3) -> Plane { [INFO] [stdout] | ^^^ [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: fields `lambda` and `point` are never read [INFO] [stdout] --> src/math/planar.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Intersection { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 20 | pub lambda: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub point: P3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_dims_unchecked` is never used [INFO] [stdout] --> src/math/box3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Box3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn with_dims_unchecked(mins: P3, dims: V3) -> Box3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `point` is never read [INFO] [stdout] --> src/math/box3.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 48 | pub lambda: f32, [INFO] [stdout] 49 | pub point: P3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intersection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/mesher.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Vertex(V4u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `relative_to_absolute`, `absolute_to_relative`, and `insert_relative` are never used [INFO] [stdout] --> src/stage.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Stage { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn relative_to_absolute(&self, rel: V3i32) -> chunk::Coords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn absolute_to_relative(&self, abs: chunk::Coords) -> V3i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 `load` is never used [INFO] [stdout] --> src/texture.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Texture2D { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn load(path: impl AsRef, levels: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_dims` is never used [INFO] [stdout] --> src/array3d.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 329 | impl Array> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [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 `SliceMut` is never used [INFO] [stdout] --> src/block/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type SliceMut<'a> = array3d::ArraySliceMut<'a, Block>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VOLUME` is never used [INFO] [stdout] --> src/chunk.rs:61:11 [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: method `unwrap` is never used [INFO] [stdout] --> src/chunk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl BlockCoords { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn unwrap(self) -> V3i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Slice` is never used [INFO] [stdout] --> src/chunk.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub type Slice<'a> = array3d::ArraySlice<'a, Block>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/chunk.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/chunk_cache.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Entry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn unwrap(self) -> V { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_and_acquire`, `remove`, and `borrowed` are never used [INFO] [stdout] --> src/chunk_cache.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Cache where K: Hash + Eq { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn insert_and_acquire(&mut self, key: K) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn remove (&mut self, key: &Q) -> V [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn borrowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/chunk_source.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ChunkStore { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 10 | fn load(&mut self, coords: Coords) -> Option; [INFO] [stdout] 11 | fn store(&mut self, coords: Coords, chunk: &Chunk); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sync` and `flush` are never used [INFO] [stdout] --> src/chunk_source.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Source where S: ChunkStore, M: ChunkMaker { [INFO] [stdout] | ---------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn sync(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> src/math/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl OrdFloat where T: PartialOrd + PartialEq { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 27 | fn unwrap(self) -> T { self.0 } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P3u8` is never used [INFO] [stdout] --> src/math/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub type P3u8 = P3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P3usize` is never used [INFO] [stdout] --> src/math/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub type P3usize = P3; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `M4` is never used [INFO] [stdout] --> src/math/mod.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub type M4 = na::Matrix4; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Translation` is never used [INFO] [stdout] --> src/math/mod.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub type Translation = na::Translation3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Quaternion` is never used [INFO] [stdout] --> src/math/mod.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub type Quaternion = na::Quaternion; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Versor` is never used [INFO] [stdout] --> src/math/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Versor = na::UnitQuaternion; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/math/linear.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const EPSILON: f32 = 0.00001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `direction` and `project` are never used [INFO] [stdout] --> src/math/linear.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Linear { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn direction(&self) -> V3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn project(&self, p: P3) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/linear.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 108 | pub fn new(source: P3, stride: V3) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_points` and `reverse` are never used [INFO] [stdout] --> src/math/linear.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Segment { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn new_from_points(a: P3, b: P3) -> Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn reverse(self) -> Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_point_and_normal` are never used [INFO] [stdout] --> src/math/planar.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Plane { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 8 | pub fn new(normal_to_centre: V3) -> Plane { [INFO] [stdout] | ^^^ [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: fields `lambda` and `point` are never read [INFO] [stdout] --> src/math/planar.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Intersection { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 20 | pub lambda: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub point: P3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_dims_unchecked` is never used [INFO] [stdout] --> src/math/box3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Box3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn with_dims_unchecked(mins: P3, dims: V3) -> Box3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `point` is never read [INFO] [stdout] --> src/math/box3.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 48 | pub lambda: f32, [INFO] [stdout] 49 | pub point: P3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intersection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/mesher.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Vertex(V4u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `relative_to_absolute`, `absolute_to_relative`, and `insert_relative` are never used [INFO] [stdout] --> src/stage.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Stage { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn relative_to_absolute(&self, rel: V3i32) -> chunk::Coords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn absolute_to_relative(&self, abs: chunk::Coords) -> V3i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 `load` is never used [INFO] [stdout] --> src/texture.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Texture2D { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn load(path: impl AsRef, levels: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = dst.save("atlas-pack.png"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = dst.save("atlas-pack.png"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 38.90s [INFO] running `Command { std: "docker" "inspect" "e1fbe1c8150a8c88854b8b4c693b9ab000c31be51e83e28cca7b51f58932b19b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fbe1c8150a8c88854b8b4c693b9ab000c31be51e83e28cca7b51f58932b19b", kill_on_drop: false }` [INFO] [stdout] e1fbe1c8150a8c88854b8b4c693b9ab000c31be51e83e28cca7b51f58932b19b