[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] building rkanati/voxel against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fvoxel" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rkanati/voxel on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.16 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded alga v0.9.2 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.3 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.3 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded cocoa v0.19.1 [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.4 [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.5 [INFO] [stderr] Downloaded core-video-sys v0.1.3 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded x11-dl v2.18.4 [INFO] [stderr] Downloaded noise v0.6.0 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded glutin v0.22.0 [INFO] [stderr] Downloaded dispatch v0.1.4 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded num-rational v0.2.3 [INFO] [stderr] Downloaded image v0.22.4 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.0 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded winit v0.20.0 [INFO] [stderr] Downloaded nalgebra v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef87c0c41714a51bfb50cd0379ff94776dace39359dc8c209f8b2583b65c72a0 [INFO] running `Command { std: "docker" "start" "-a" "ef87c0c41714a51bfb50cd0379ff94776dace39359dc8c209f8b2583b65c72a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef87c0c41714a51bfb50cd0379ff94776dace39359dc8c209f8b2583b65c72a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef87c0c41714a51bfb50cd0379ff94776dace39359dc8c209f8b2583b65c72a0", kill_on_drop: false }` [INFO] [stdout] ef87c0c41714a51bfb50cd0379ff94776dace39359dc8c209f8b2583b65c72a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3fd77f1952af99700298ef8bca7e9d746a1aa3b8e0e6f73b27999a5622f64ba [INFO] running `Command { std: "docker" "start" "-a" "b3fd77f1952af99700298ef8bca7e9d746a1aa3b8e0e6f73b27999a5622f64ba", 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] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [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] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rk-voxel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling image v0.22.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling nalgebra v0.19.0 [INFO] [stderr] Compiling rgb v0.8.16 [INFO] [stderr] Compiling noise v0.6.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling winit v0.20.0 [INFO] [stderr] Compiling glutin v0.22.0 [INFO] [stdout] warning: unused imports: `Array`, `block::Block`, and `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)]` (part of `#[warn(unused)]`) 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: associated constant `N` is never used [INFO] [stdout] --> src/array3d.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub trait StaticDims: Default + Clone + 'static { [INFO] [stdout] | ---------- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | const N: usize = Self::X * Self::Y * Self::Z; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [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`, `project`, and `relative_to` 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] 62 | fn relative_to(&self, other: impl Linear) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/math/linear.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Ray(Line); [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: struct `Plane` is never constructed [INFO] [stdout] --> src/math/planar.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Plane(V3); [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: struct `Intersection` is never constructed [INFO] [stdout] --> src/math/planar.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Intersection { [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] [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "b3fd77f1952af99700298ef8bca7e9d746a1aa3b8e0e6f73b27999a5622f64ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3fd77f1952af99700298ef8bca7e9d746a1aa3b8e0e6f73b27999a5622f64ba", kill_on_drop: false }` [INFO] [stdout] b3fd77f1952af99700298ef8bca7e9d746a1aa3b8e0e6f73b27999a5622f64ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e71e78dacc3ac94057dad52152e76223b076e2fa1b681caeaccd5db94ffb053 [INFO] running `Command { std: "docker" "start" "-a" "3e71e78dacc3ac94057dad52152e76223b076e2fa1b681caeaccd5db94ffb053", kill_on_drop: false }` [INFO] [stderr] Compiling rk-voxel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Array`, `block::Block`, and `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)]` (part of `#[warn(unused)]`) 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: associated constant `N` is never used [INFO] [stdout] --> src/array3d.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub trait StaticDims: Default + Clone + 'static { [INFO] [stdout] | ---------- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | const N: usize = Self::X * Self::Y * Self::Z; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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`, `project`, and `relative_to` 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] 62 | fn relative_to(&self, other: impl Linear) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/math/linear.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Ray(Line); [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: struct `Plane` is never constructed [INFO] [stdout] --> src/math/planar.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Plane(V3); [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: struct `Intersection` is never constructed [INFO] [stdout] --> src/math/planar.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Intersection { [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] [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "3e71e78dacc3ac94057dad52152e76223b076e2fa1b681caeaccd5db94ffb053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e71e78dacc3ac94057dad52152e76223b076e2fa1b681caeaccd5db94ffb053", kill_on_drop: false }` [INFO] [stdout] 3e71e78dacc3ac94057dad52152e76223b076e2fa1b681caeaccd5db94ffb053