[INFO] cloning repository https://github.com/Karanstr/voxel_attempt1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Karanstr/voxel_attempt1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaranstr%2Fvoxel_attempt1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaranstr%2Fvoxel_attempt1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09b55485fc550fe46cb8bba8b571cbf98a12b799 [INFO] checking Karanstr/voxel_attempt1 against master#18a029cfe8e761533634bda8fe8a14e30280a21b for pr-139646 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaranstr%2Fvoxel_attempt1" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Karanstr/voxel_attempt1 on toolchain 18a029cfe8e761533634bda8fe8a14e30280a21b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Karanstr/voxel_attempt1 [INFO] finished tweaking git repo https://github.com/Karanstr/voxel_attempt1 [INFO] tweaked toml for git repo https://github.com/Karanstr/voxel_attempt1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Karanstr/voxel_attempt1 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" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codespan-reporting v0.12.0 [INFO] [stderr] Downloaded vec_mem_heap v0.6.0 [INFO] [stderr] Downloaded derive-new v0.7.0 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Downloaded naga v25.0.0 [INFO] [stderr] Downloaded wgpu-types v25.0.0 [INFO] [stderr] Downloaded wgpu v25.0.0 [INFO] [stderr] Downloaded wgpu-core v25.0.0 [INFO] [stderr] Downloaded wgpu-hal v25.0.0 [INFO] [stderr] Downloaded glam v0.30.1 [INFO] [stderr] Downloaded wgpu-core-deps-apple v25.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v25.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b5282c31314b5135de6137d56501d2b820c945d4621ab81cc7781838d49f11f [INFO] running `Command { std: "docker" "start" "-a" "5b5282c31314b5135de6137d56501d2b820c945d4621ab81cc7781838d49f11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b5282c31314b5135de6137d56501d2b820c945d4621ab81cc7781838d49f11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b5282c31314b5135de6137d56501d2b820c945d4621ab81cc7781838d49f11f", kill_on_drop: false }` [INFO] [stdout] 5b5282c31314b5135de6137d56501d2b820c945d4621ab81cc7781838d49f11f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba04a3b494c4f5994dd5ac2bb8369c4b4727c48eb02759468690385e2166ca4 [INFO] running `Command { std: "docker" "start" "-a" "8ba04a3b494c4f5994dd5ac2bb8369c4b4727c48eb02759468690385e2166ca4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling naga v25.0.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling quick-xml v0.37.4 [INFO] [stderr] Compiling wgpu-hal v25.0.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-core v25.0.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling wgpu v25.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking glam v0.30.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking vec_mem_heap v0.6.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wgpu-types v25.0.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.6 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.6 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking voxel_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `set_position` is never used [INFO] [stdout] --> src/camera.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_position(&mut self, position: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `step_down`, `to_cell`, and `from_cell` are never used [INFO] [stdout] --> src/graph/sdg.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Path { [INFO] [stdout] | ---- associated items in this trait [INFO] [stdout] 16 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | fn steps(&self) -> Vec; [INFO] [stdout] 18 | fn step_down(&self, child:T) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | fn to_cell(&self) -> UVec3; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | fn from_cell(cell:UVec3, depth:u32) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all` is never used [INFO] [stdout] --> src/graph/sdg.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Childs: std::fmt::Debug + Clone + Copy { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 24 | fn all() -> impl Iterator; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaf_count` is never read [INFO] [stdout] --> src/graph/sdg.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SparseDirectedGraph { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | leaf_count : u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/graph/sdg.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl SparseDirectedGraph { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_leaf(&self, index:Index) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_trail(&self, start:Index, path:&[T::Children]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn find_index(&self, node:&T) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn propagate_change( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn set_node(&mut self, start:Pointer, path:&[T::Children], new_pointer:Index) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn mass_remove(&mut self, indices:&[Index]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn node(&self, pointer:Index) -> Result<&T, AccessError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn child(&self, node:Index, child:T::Children) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn descend(&self, start:Pointer, path:&[T::Children]) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_root(&mut self, leaf:Index, height:u32) -> Pointer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_object_json`, `load_object_json`, and `clone_graph` are never used [INFO] [stdout] --> src/graph/sdg.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl SparseDirectedGraph { [INFO] [stdout] | ------------------------------------------------------------------------ methods in this implementation [INFO] [stdout] 195 | pub fn save_object_json(&self, start:Pointer) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn load_object_json(&mut self, json:String) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn clone_graph (&mut self, from:&Vec, start:Index) -> Index { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bfs_nodes` is never used [INFO] [stdout] --> src/graph/sdg.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn bfs_nodes(nodes:&Vec, start:Index, last_leaf:usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_BLOCK_SIZE` is never used [INFO] [stdout] --> src/graph/geometry.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MIN_BLOCK_SIZE: Vec3 = Vec3::ONE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIM_OFFSET` is never used [INFO] [stdout] --> src/graph/geometry.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LIM_OFFSET: f32 = 1. / 0xFFFF as f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cell_length` is never used [INFO] [stdout] --> src/graph/geometry.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn cell_length(height:u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_to_cells` is never used [INFO] [stdout] --> src/graph/geometry.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn point_to_cells(tl_point:Vec3, start:Pointer, target_height:u32, point:Vec3) -> [Option; 8]{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/graph/basic_node3d.rs:132:31 [INFO] [stdout] | [INFO] [stdout] 132 | children: children.clone().try_into().unwrap() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_position` is never used [INFO] [stdout] --> src/camera.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_position(&mut self, position: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `step_down`, `to_cell`, and `from_cell` are never used [INFO] [stdout] --> src/graph/sdg.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Path { [INFO] [stdout] | ---- associated items in this trait [INFO] [stdout] 16 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | fn steps(&self) -> Vec; [INFO] [stdout] 18 | fn step_down(&self, child:T) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | fn to_cell(&self) -> UVec3; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | fn from_cell(cell:UVec3, depth:u32) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all` is never used [INFO] [stdout] --> src/graph/sdg.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Childs: std::fmt::Debug + Clone + Copy { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 24 | fn all() -> impl Iterator; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaf_count` is never read [INFO] [stdout] --> src/graph/sdg.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SparseDirectedGraph { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | leaf_count : u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/graph/sdg.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl SparseDirectedGraph { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_leaf(&self, index:Index) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_trail(&self, start:Index, path:&[T::Children]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn find_index(&self, node:&T) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn propagate_change( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn set_node(&mut self, start:Pointer, path:&[T::Children], new_pointer:Index) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn mass_remove(&mut self, indices:&[Index]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn node(&self, pointer:Index) -> Result<&T, AccessError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn child(&self, node:Index, child:T::Children) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn descend(&self, start:Pointer, path:&[T::Children]) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_root(&mut self, leaf:Index, height:u32) -> Pointer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_object_json`, `load_object_json`, and `clone_graph` are never used [INFO] [stdout] --> src/graph/sdg.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl SparseDirectedGraph { [INFO] [stdout] | ------------------------------------------------------------------------ methods in this implementation [INFO] [stdout] 195 | pub fn save_object_json(&self, start:Pointer) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn load_object_json(&mut self, json:String) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn clone_graph (&mut self, from:&Vec, start:Index) -> Index { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bfs_nodes` is never used [INFO] [stdout] --> src/graph/sdg.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn bfs_nodes(nodes:&Vec, start:Index, last_leaf:usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_BLOCK_SIZE` is never used [INFO] [stdout] --> src/graph/geometry.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MIN_BLOCK_SIZE: Vec3 = Vec3::ONE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIM_OFFSET` is never used [INFO] [stdout] --> src/graph/geometry.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LIM_OFFSET: f32 = 1. / 0xFFFF as f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cell_length` is never used [INFO] [stdout] --> src/graph/geometry.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn cell_length(height:u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_to_cells` is never used [INFO] [stdout] --> src/graph/geometry.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn point_to_cells(tl_point:Vec3, start:Pointer, target_height:u32, point:Vec3) -> [Option; 8]{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/graph/basic_node3d.rs:132:31 [INFO] [stdout] | [INFO] [stdout] 132 | children: children.clone().try_into().unwrap() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "8ba04a3b494c4f5994dd5ac2bb8369c4b4727c48eb02759468690385e2166ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba04a3b494c4f5994dd5ac2bb8369c4b4727c48eb02759468690385e2166ca4", kill_on_drop: false }` [INFO] [stdout] 8ba04a3b494c4f5994dd5ac2bb8369c4b4727c48eb02759468690385e2166ca4