[INFO] cloning repository https://github.com/ivanceras/balisong
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivanceras/balisong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fbalisong", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fbalisong'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88dd21bc1f28c15146be6a65b970c4904275f82d
[INFO] testing ivanceras/balisong against 1.75.0 for beta-1.76-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fbalisong" "/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/ivanceras/balisong on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ivanceras/balisong
[INFO] finished tweaking git repo https://github.com/ivanceras/balisong
[INFO] tweaked toml for git repo https://github.com/ivanceras/balisong written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ivanceras/balisong 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (num) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time v0.1.35
[INFO] [stderr]   Downloaded libc v0.2.18
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb6c9fd9a7480ba1dc94aea69dbe2bfecf726bad277533b3b7bb626a5c9270a4
[INFO] running `Command { std: "docker" "start" "-a" "eb6c9fd9a7480ba1dc94aea69dbe2bfecf726bad277533b3b7bb626a5c9270a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb6c9fd9a7480ba1dc94aea69dbe2bfecf726bad277533b3b7bb626a5c9270a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb6c9fd9a7480ba1dc94aea69dbe2bfecf726bad277533b3b7bb626a5c9270a4", kill_on_drop: false }`
[INFO] [stdout] eb6c9fd9a7480ba1dc94aea69dbe2bfecf726bad277533b3b7bb626a5c9270a4
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6bec1566128c752f89559dd9cf1042abab615d97bc1f9662156a3ea4c0bf8c18
[INFO] running `Command { std: "docker" "start" "-a" "6bec1566128c752f89559dd9cf1042abab615d97bc1f9662156a3ea4c0bf8c18", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (num) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling libc v0.2.18
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling time v0.1.35
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling num-bigint v0.1.35
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling num-rational v0.1.35
[INFO] [stderr]    Compiling num v0.1.36
[INFO] [stderr]    Compiling balisong v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/location.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |     for i in (1..lod.lod+1){
[INFO] [stdout]     |              ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -     for i in (1..lod.lod+1){
[INFO] [stdout] 104 +     for i in 1..lod.lod+1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 160 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 161 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 162 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/voxelizer.rs:13:56
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout]    |                                                        ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout] 13 + pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->Voxtree<Normal>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/renderer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/raytracer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/raytracer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/raytracer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::PreciseTime`
[INFO] [stdout]  --> src/raytracer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use time::PreciseTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/raytracer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `point::Point`
[INFO] [stdout]  --> src/raytracer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `camera::Camera`
[INFO] [stdout]   --> src/raytracer.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use camera::Camera;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxelizer`
[INFO] [stdout]   --> src/raytracer.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/raytracer.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `color::Color`
[INFO] [stdout]   --> src/binvox.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/neighbors.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> src/voxel/vox.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn or_bitset(&mut self, u64);
[INFO] [stdout]   |                             ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxgrid.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 10 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 11 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 12 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/binvox.rs:64:28
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn read_header(reader:&mut BufRead)->String{
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn read_header(reader:&mut dyn BufRead)->String{
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/binvox.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn read_dim(reader:&mut BufRead)->(u64, u64, u64){
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn read_dim(reader:&mut dyn BufRead)->(u64, u64, u64){
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_translation(reader:&mut BufRead)->(f64, f64, f64){
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_translation(reader:&mut dyn BufRead)->(f64, f64, f64){
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn read_scaling(reader:&mut BufRead)->f64{
[INFO] [stdout]     |                             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn read_scaling(reader:&mut dyn BufRead)->f64{
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:166:26
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn read_data(reader:&mut BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stdout]     |                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn read_data(reader:&mut dyn BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stdout]     |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxstream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/voxelizer.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut cnt = 0;
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut cnt = 0;
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let (iteration, hit) = initial_normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normals`
[INFO] [stdout]    --> src/voxelizer.rs:307:29
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/voxelizer.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut normals = Voxtree::new();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:346:22
[INFO] [stdout]     |
[INFO] [stdout] 346 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/renderer.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     for t in 0..total{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/renderer.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         Err(why) => panic!("couldn't create file {}", filename),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_lod`
[INFO] [stdout]    --> src/raytracer.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let low_lod = LOD::new(lod.lod-1);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/raytracer.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |             let (iteration, hit) = model.normal.is_location_occupied(&vec_location);
[INFO] [stdout]     |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `screen`
[INFO] [stdout]    --> src/raytracer.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn hit_location(screen:&Screen, lod:&LOD, view_lod:&LOD, ray:&Ray, model:&Model, obj_scale:f64, max_distance:u64)->Option<Vec<u64>>{
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Err(why) => panic!("couldn't open {}", display),
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binvox`
[INFO] [stdout]   --> src/binvox.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let binvox = Binvox{
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binvox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut file = match File::open(&path) {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/binvox.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Err(why) => panic!("error reading header"),
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/binvox.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Err(why) => panic!("couldn't read dimension"),
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         Err(why) => panic!("couldn't read translation"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         Err(why) => panic!("couldn't read scaling"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         Err(why) => panic!("couldn't read data"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_index` is never read
[INFO] [stdout]    --> src/binvox.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let mut end_index = 0u64;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nr_voxels` is assigned to, but never used
[INFO] [stdout]    --> src/binvox.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let mut nr_voxels = 0u64;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_nr_voxels` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/binvox.rs:197:21
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 for j in index..end_index {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/binvox.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let mut cnt = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `required_lod`
[INFO] [stdout]   --> src/voxel/voxstream.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stdout]    |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stdout]    |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxbit.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let mut top = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxtree.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let mut top:&mut Voxtree<T> = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `center` is never read
[INFO] [stdout]   --> src/shape.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Cube{
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     center:Point,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prism` is never constructed
[INFO] [stdout]   --> src/shape.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Prism{
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cylinder` is never constructed
[INFO] [stdout]   --> src/shape.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Cylinder{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `linear_to_morton_64` is never used
[INFO] [stdout]    --> src/location.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn linear_to_morton_64(linear:u64)->u8{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_location` is never used
[INFO] [stdout]    --> src/raytracer.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn clamp_location(location:&Vec<u64>, view_lod:&LOD)->Vec<u64>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gamma_correction` is never used
[INFO] [stdout]    --> src/raytracer.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn gamma_correction(color:Color)->Color{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `dim`, `translate`, and `scale` are never read
[INFO] [stdout]   --> src/binvox.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Binvox{
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     version:String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 22 |     dim:Point,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     translate:Vector,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 24 |     scale:f64
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lod`, `bitset`, and `content` are never read
[INFO] [stdout]   --> src/voxel/voxgrid.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Voxgrid<T>{
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 9  |     lod:LOD,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     bitset:Vec<u64>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     content:Vec<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get` are never used
[INFO] [stdout]   --> src/voxel/voxgrid.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl <T> Voxgrid<T>{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(lod:&LOD)->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn get(&self, x:u64, y:u64, z:u64)->&T{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_tree` is never used
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T> Voxstream<T>{
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             tx.send((start, end, line, durations));
[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] 102 |             let _ = tx.send((start, end, line, durations));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     file.write_all(&buffer);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let _ = file.write_all(&buffer);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/binvox.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |         reader.read_to_end(&mut buff);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let _ = reader.read_to_end(&mut buff);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:402:17
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxbit.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxbit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxtree.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxtree<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 93 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `normal::Normal`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use normal::Normal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::option::Option`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::option::Option;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `color::Color`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use color::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/location.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |     for i in (1..lod.lod+1){
[INFO] [stdout]     |              ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -     for i in (1..lod.lod+1){
[INFO] [stdout] 104 +     for i in 1..lod.lod+1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 160 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 161 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 162 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/neighbors.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/voxelizer.rs:13:56
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout]    |                                                        ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout] 13 + pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->Voxtree<Normal>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/raytracer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/raytracer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/raytracer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::PreciseTime`
[INFO] [stdout]  --> src/raytracer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use time::PreciseTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/raytracer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `point::Point`
[INFO] [stdout]  --> src/raytracer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `camera::Camera`
[INFO] [stdout]   --> src/raytracer.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use camera::Camera;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxelizer`
[INFO] [stdout]   --> src/raytracer.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/raytracer.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/renderer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> src/voxel/vox.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn or_bitset(&mut self, u64);
[INFO] [stdout]   |                             ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxgrid.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 10 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 11 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 12 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxstream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/voxelizer.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut cnt = 0;
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut cnt = 0;
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let (iteration, hit) = initial_normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normals`
[INFO] [stdout]    --> src/voxelizer.rs:307:29
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/voxelizer.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut normals = Voxtree::new();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:346:22
[INFO] [stdout]     |
[INFO] [stdout] 346 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_lod`
[INFO] [stdout]    --> src/raytracer.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let low_lod = LOD::new(lod.lod-1);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/raytracer.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |             let (iteration, hit) = model.normal.is_location_occupied(&vec_location);
[INFO] [stdout]     |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `screen`
[INFO] [stdout]    --> src/raytracer.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn hit_location(screen:&Screen, lod:&LOD, view_lod:&LOD, ray:&Ray, model:&Model, obj_scale:f64, max_distance:u64)->Option<Vec<u64>>{
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/renderer.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     for t in 0..total{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/renderer.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         Err(why) => panic!("couldn't create file {}", filename),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `required_lod`
[INFO] [stdout]   --> src/voxel/voxstream.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stdout]    |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stdout]    |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxbit.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let mut top = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxtree.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let mut top:&mut Voxtree<T> = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let mut normals = voxelizer::voxelize(&lod, shape);
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `center` is never read
[INFO] [stdout]   --> src/shape.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Cube{
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     center:Point,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prism` is never constructed
[INFO] [stdout]   --> src/shape.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Prism{
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cylinder` is never constructed
[INFO] [stdout]   --> src/shape.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Cylinder{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/shape.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl Cube{
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 76 |     pub fn new(radius:u64, center:&Point)->Cube{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `from_f64` are never used
[INFO] [stdout]   --> src/normal.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Normal{
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn new(x:i8, y:i8, z:i8)->Normal{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn from_f64(x:f64, y:f64, z:f64)->Normal{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_point` is never used
[INFO] [stdout]   --> src/vector.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Vector{
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn add_point(&self, point:&Point)->Vector{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `red`, `green`, and `blue` are never used
[INFO] [stdout]   --> src/color.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Color {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn red()->Color{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn green()->Color{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn blue()->Color{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_xyz_orig` is never used
[INFO] [stdout]  --> src/location.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn from_xyz_orig(lod:&LOD, x:u64, y:u64, z:u64)->Vec<u64>{
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_xyz_orig` is never used
[INFO] [stdout]   --> src/location.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn to_xyz_orig(location:&Vec<u64>)->(u64, u64, u64){
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_xyz_morton` is never used
[INFO] [stdout]   --> src/location.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn from_xyz_morton(lod:&LOD, x:u64, y:u64, z:u64)->Vec<u64>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_xyz_morton` is never used
[INFO] [stdout]   --> src/location.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn to_xyz_morton(location:&Vec<u64>)->(u64, u64, u64){
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_xyz_top_down` is never used
[INFO] [stdout]   --> src/location.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn from_xyz_top_down(lod:&LOD, x:u64, y:u64, z:u64)->Vec<u64>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `linear_to_morton_64` is never used
[INFO] [stdout]    --> src/location.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn linear_to_morton_64(linear:u64)->u8{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xyz_to_index` is never used
[INFO] [stdout]    --> src/location.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub fn xyz_to_index(lod:&LOD, x:u64, y:u64, z:u64)->u64{
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index_to_xyz` is never used
[INFO] [stdout]    --> src/location.rs:194:8
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub fn index_to_xyz(lod:&LOD, idx:u64)->(u64, u64, u64){
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_semi_occluded` is never used
[INFO] [stdout]    --> src/neighbors.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 335 | pub fn is_semi_occluded(node:&Voxbit, lod:&LOD, point:&Point)->bool{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_closest_occluded_neighbor` is never used
[INFO] [stdout]    --> src/neighbors.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 | pub fn get_closest_occluded_neighbor(node:&Voxbit, lod:&LOD, point:&Point)->Option<Point>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_closest_empty_neighbor` is never used
[INFO] [stdout]    --> src/neighbors.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 | pub fn get_closest_empty_neighbor(node:&Voxbit, lod:&LOD, point:&Point)->Option<Point>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_lower_lod_normals` is never used
[INFO] [stdout]   --> src/voxelizer.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn calculate_lower_lod_normals(node:&Voxbit, mut normals:Voxtree<Normal>, lod:&LOD)->Voxtree<Normal>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_lower_lod_normals_using_average` is never used
[INFO] [stdout]    --> src/voxelizer.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn calculate_lower_lod_normals_using_average(node:&Voxbit, mut normals:Voxtree<Normal>, orig_normals:&Voxtree<Normal>, lod:&LOD)->Vox...
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_children_normals` is never used
[INFO] [stdout]    --> src/voxelizer.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn calculate_children_normals(children:&Vec<Voxtree<Normal>>)->Normal{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_average_normal` is never used
[INFO] [stdout]    --> src/voxelizer.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn calculate_average_normal(normals:Vec<Normal>)->Normal{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `smoothen_normals` is never used
[INFO] [stdout]    --> src/voxelizer.rs:273:8
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub fn smoothen_normals(node:&Voxbit, initial_normals:&Voxtree<Normal>, lod:&LOD)->Voxtree<Normal>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mipmap_voxel_normals` is never used
[INFO] [stdout]    --> src/voxelizer.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_average_normal` is never used
[INFO] [stdout]    --> src/voxelizer.rs:312:4
[INFO] [stdout]     |
[INFO] [stdout] 312 | fn get_average_normal(node:&Voxbit, normals:&Voxtree<Normal>, lod:&LOD, point:&Point)->Normal{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `carve_out` is never used
[INFO] [stdout]    --> src/voxelizer.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn carve_out(node:&Voxbit, lod:&LOD)->Voxtree<bool>{
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `look_at` and `default` are never used
[INFO] [stdout]   --> src/camera.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Camera{
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn look_at(&mut self, lookat:&Point){
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn default()->Camera{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `at_pixel_up_y`, `get_view_lod`, and `get_required_lod` are never used
[INFO] [stdout]   --> src/screen.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Screen{
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn at_pixel_up_y(&self, px:i64, py:i64)->Vector{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn get_view_lod(&self)->LOD{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn get_required_lod(&self, view_lod:u8, distance:f64)->i8{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `at_lod_length` is never used
[INFO] [stdout]   --> src/ray.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Ray{
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn at_lod_length(&self, lod:&LOD, view_lod:&LOD, length:f64)->Vector{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_location` is never used
[INFO] [stdout]    --> src/raytracer.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn clamp_location(location:&Vec<u64>, view_lod:&LOD)->Vec<u64>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gamma_correction` is never used
[INFO] [stdout]    --> src/raytracer.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn gamma_correction(color:Color)->Color{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PRECALCULATE_NORMALS` is never used
[INFO] [stdout]  --> src/constants.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub static PRECALCULATE_NORMALS:bool = true;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `USE_GAMMA_CORRECTION` is never used
[INFO] [stdout]  --> src/constants.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub static USE_GAMMA_CORRECTION:bool = false;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SMOOTHEN_NORMALS` is never used
[INFO] [stdout]  --> src/constants.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub static SMOOTHEN_NORMALS:bool = true;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SMOOTHING_ITERATION` is never used
[INFO] [stdout]  --> src/constants.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub static SMOOTHING_ITERATION:usize = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MORTON_BASE` is never used
[INFO] [stdout]   --> src/constants.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub static MORTON_BASE:u8 = 1; //(BASE/2)
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `inc` and `from_volume` are never used
[INFO] [stdout]   --> src/lod.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LOD{
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn inc(&mut self, inc:u8){
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn from_volume(volume:u64)->LOD{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Voxgrid` is never constructed
[INFO] [stdout]  --> src/voxel/voxgrid.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Voxgrid<T>{
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get` are never used
[INFO] [stdout]   --> src/voxel/voxgrid.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl <T> Voxgrid<T>{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(lod:&LOD)->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn get(&self, x:u64, y:u64, z:u64)->&T{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Voxstream` is never constructed
[INFO] [stdout]  --> src/voxel/voxstream.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Voxstream<T>{
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_tree`, `total_ones`, `insert_root`, and `get_content` are never used
[INFO] [stdout]   --> src/voxel/voxstream.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T> Voxstream<T>{
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 13 |     
[INFO] [stdout] 14 |     pub fn new()->Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn insert_root(&mut self){
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `morton_to_xyz` is never used
[INFO] [stdout]  --> src/morton.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn morton_to_xyz(base:u8, morton:u64)->(u64, u64, u64){
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xyz_to_morton` is never used
[INFO] [stdout]   --> src/morton.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn xyz_to_morton(base:u8, x:u64, y:u64, z:u64)->u64{
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:402:17
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             tx.send((start, end, line, durations));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let _ = tx.send((start, end, line, durations));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     file.write_all(&buffer);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let _ = file.write_all(&buffer);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxbit.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxbit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxtree.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxtree<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 102 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 7.01s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "6bec1566128c752f89559dd9cf1042abab615d97bc1f9662156a3ea4c0bf8c18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bec1566128c752f89559dd9cf1042abab615d97bc1f9662156a3ea4c0bf8c18", kill_on_drop: false }`
[INFO] [stdout] 6bec1566128c752f89559dd9cf1042abab615d97bc1f9662156a3ea4c0bf8c18
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1235fcc9498f71bf6b9b7d1bdaad89ff4a24a42466be28f2859a76f06846f461
[INFO] running `Command { std: "docker" "start" "-a" "1235fcc9498f71bf6b9b7d1bdaad89ff4a24a42466be28f2859a76f06846f461", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (num) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/location.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |     for i in (1..lod.lod+1){
[INFO] [stdout]     |              ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -     for i in (1..lod.lod+1){
[INFO] [stdout] 104 +     for i in 1..lod.lod+1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 160 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 161 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 162 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/voxelizer.rs:13:56
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout]    |                                                        ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout] 13 + pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->Voxtree<Normal>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/renderer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/raytracer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/raytracer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/raytracer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::PreciseTime`
[INFO] [stdout]  --> src/raytracer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use time::PreciseTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/raytracer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `point::Point`
[INFO] [stdout]  --> src/raytracer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `camera::Camera`
[INFO] [stdout]   --> src/raytracer.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use camera::Camera;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxelizer`
[INFO] [stdout]   --> src/raytracer.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/raytracer.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `color::Color`
[INFO] [stdout]   --> src/binvox.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/neighbors.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> src/voxel/vox.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn or_bitset(&mut self, u64);
[INFO] [stdout]   |                             ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxgrid.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 10 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 11 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 12 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/binvox.rs:64:28
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn read_header(reader:&mut BufRead)->String{
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn read_header(reader:&mut dyn BufRead)->String{
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/binvox.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn read_dim(reader:&mut BufRead)->(u64, u64, u64){
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn read_dim(reader:&mut dyn BufRead)->(u64, u64, u64){
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_translation(reader:&mut BufRead)->(f64, f64, f64){
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_translation(reader:&mut dyn BufRead)->(f64, f64, f64){
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn read_scaling(reader:&mut BufRead)->f64{
[INFO] [stdout]     |                             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn read_scaling(reader:&mut dyn BufRead)->f64{
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:166:26
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn read_data(reader:&mut BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stdout]     |                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn read_data(reader:&mut dyn BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stdout]     |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxstream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/voxelizer.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut cnt = 0;
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut cnt = 0;
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let (iteration, hit) = initial_normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normals`
[INFO] [stdout]    --> src/voxelizer.rs:307:29
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/voxelizer.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut normals = Voxtree::new();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:346:22
[INFO] [stdout]     |
[INFO] [stdout] 346 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/renderer.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     for t in 0..total{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/renderer.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         Err(why) => panic!("couldn't create file {}", filename),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_lod`
[INFO] [stdout]    --> src/raytracer.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let low_lod = LOD::new(lod.lod-1);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/raytracer.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |             let (iteration, hit) = model.normal.is_location_occupied(&vec_location);
[INFO] [stdout]     |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `screen`
[INFO] [stdout]    --> src/raytracer.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn hit_location(screen:&Screen, lod:&LOD, view_lod:&LOD, ray:&Ray, model:&Model, obj_scale:f64, max_distance:u64)->Option<Vec<u64>>{
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Err(why) => panic!("couldn't open {}", display),
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binvox`
[INFO] [stdout]   --> src/binvox.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let binvox = Binvox{
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binvox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut file = match File::open(&path) {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling balisong v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/binvox.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Err(why) => panic!("error reading header"),
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/binvox.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Err(why) => panic!("couldn't read dimension"),
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         Err(why) => panic!("couldn't read translation"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         Err(why) => panic!("couldn't read scaling"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         Err(why) => panic!("couldn't read data"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_index` is never read
[INFO] [stdout]    --> src/binvox.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let mut end_index = 0u64;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nr_voxels` is assigned to, but never used
[INFO] [stdout]    --> src/binvox.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let mut nr_voxels = 0u64;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_nr_voxels` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/binvox.rs:197:21
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 for j in index..end_index {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/binvox.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let mut cnt = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `required_lod`
[INFO] [stdout]   --> src/voxel/voxstream.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stdout]    |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stdout]    |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxbit.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let mut top = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxtree.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let mut top:&mut Voxtree<T> = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `center` is never read
[INFO] [stdout]   --> src/shape.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Cube{
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     center:Point,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prism` is never constructed
[INFO] [stdout]   --> src/shape.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Prism{
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cylinder` is never constructed
[INFO] [stdout]   --> src/shape.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Cylinder{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `linear_to_morton_64` is never used
[INFO] [stdout]    --> src/location.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn linear_to_morton_64(linear:u64)->u8{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_location` is never used
[INFO] [stdout]    --> src/raytracer.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn clamp_location(location:&Vec<u64>, view_lod:&LOD)->Vec<u64>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gamma_correction` is never used
[INFO] [stdout]    --> src/raytracer.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn gamma_correction(color:Color)->Color{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `dim`, `translate`, and `scale` are never read
[INFO] [stdout]   --> src/binvox.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Binvox{
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     version:String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 22 |     dim:Point,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     translate:Vector,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 24 |     scale:f64
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lod`, `bitset`, and `content` are never read
[INFO] [stdout]   --> src/voxel/voxgrid.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Voxgrid<T>{
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 9  |     lod:LOD,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     bitset:Vec<u64>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     content:Vec<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get` are never used
[INFO] [stdout]   --> src/voxel/voxgrid.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl <T> Voxgrid<T>{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(lod:&LOD)->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn get(&self, x:u64, y:u64, z:u64)->&T{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_tree` is never used
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T> Voxstream<T>{
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             tx.send((start, end, line, durations));
[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] 102 |             let _ = tx.send((start, end, line, durations));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     file.write_all(&buffer);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let _ = file.write_all(&buffer);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/binvox.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |         reader.read_to_end(&mut buff);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let _ = reader.read_to_end(&mut buff);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:402:17
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxbit.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxbit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxtree.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxtree<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 93 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> examples/render_complex64.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> examples/render_complex64.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts`
[INFO] [stdout]  --> examples/render_complex64.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> examples/render_complex10.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::ray::Ray`
[INFO] [stdout]   --> examples/render_complex64.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use balisong::ray::Ray;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> examples/render_complex10.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts`
[INFO] [stdout]  --> examples/render_complex10.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::ray::Ray`
[INFO] [stdout]   --> examples/render_complex10.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use balisong::ray::Ray;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::vector::Vector`
[INFO] [stdout]   --> examples/render_complex10.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use balisong::vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::color::Color`
[INFO] [stdout]   --> examples/render_complex10.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use balisong::color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::vector::Vector`
[INFO] [stdout]   --> examples/render_complex64.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use balisong::vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::color::Color`
[INFO] [stdout]   --> examples/render_complex64.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use balisong::color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Sphere`
[INFO] [stdout]   --> examples/render_complex10.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use balisong::shape::Sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Sphere`
[INFO] [stdout]   --> examples/render_complex64.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use balisong::shape::Sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Cube`
[INFO] [stdout]   --> examples/render_complex64.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use balisong::shape::Cube;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Shape`
[INFO] [stdout]   --> examples/render_complex64.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use balisong::shape::Shape;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Cube`
[INFO] [stdout]   --> examples/render_complex10.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use balisong::shape::Cube;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::voxelizer`
[INFO] [stdout]   --> examples/render_complex64.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use balisong::voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::lod::LOD`
[INFO] [stdout]   --> examples/render_complex64.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use balisong::lod::LOD;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Shape`
[INFO] [stdout]   --> examples/render_complex10.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use balisong::shape::Shape;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::voxelizer`
[INFO] [stdout]   --> examples/render_complex10.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use balisong::voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::lod::LOD`
[INFO] [stdout]   --> examples/render_complex10.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use balisong::lod::LOD;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `normal::Normal`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use normal::Normal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::option::Option`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::option::Option;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `color::Color`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use color::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/location.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |     for i in (1..lod.lod+1){
[INFO] [stdout]     |              ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -     for i in (1..lod.lod+1){
[INFO] [stdout] 104 +     for i in 1..lod.lod+1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> examples/render_hairball.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> examples/render_hairball.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts`
[INFO] [stdout]  --> examples/render_hairball.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::ray::Ray`
[INFO] [stdout]   --> examples/render_hairball.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use balisong::ray::Ray;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::vector::Vector`
[INFO] [stdout]   --> examples/render_hairball.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use balisong::vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::color::Color`
[INFO] [stdout]   --> examples/render_hairball.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use balisong::color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Sphere`
[INFO] [stdout]   --> examples/render_hairball.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use balisong::shape::Sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Cube`
[INFO] [stdout]   --> examples/render_hairball.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use balisong::shape::Cube;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Shape`
[INFO] [stdout]   --> examples/render_hairball.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use balisong::shape::Shape;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::voxelizer`
[INFO] [stdout]   --> examples/render_hairball.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use balisong::voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::lod::LOD`
[INFO] [stdout]   --> examples/render_hairball.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use balisong::lod::LOD;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> examples/render_complex10.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let r = limit as u64 / 4 as u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]   --> examples/render_complex10.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let center = Point::new(cx, cy, cz);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `voxel_grid_size`
[INFO] [stdout]   --> examples/render_complex10.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 160 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 161 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 162 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/neighbors.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/voxelizer.rs:13:56
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout]    |                                                        ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout] 13 + pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->Voxtree<Normal>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/raytracer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/raytracer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/raytracer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::PreciseTime`
[INFO] [stdout]  --> src/raytracer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use time::PreciseTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> examples/render_hairball.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let r = limit as u64 / 4 as u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/raytracer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `point::Point`
[INFO] [stdout]  --> src/raytracer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `camera::Camera`
[INFO] [stdout]   --> src/raytracer.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use camera::Camera;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxelizer`
[INFO] [stdout]   --> src/raytracer.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/raytracer.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/renderer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> src/voxel/vox.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn or_bitset(&mut self, u64);
[INFO] [stdout]   |                             ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxgrid.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]   --> examples/render_hairball.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let center = Point::new(cx, cy, cz);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 10 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 11 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `voxel_grid_size`
[INFO] [stdout]   --> examples/render_hairball.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 12 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> examples/render_ktm_side.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> examples/render_ktm_side.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::ray::Ray`
[INFO] [stdout]   --> examples/render_ktm_side.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use balisong::ray::Ray;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::vector::Vector`
[INFO] [stdout]   --> examples/render_ktm_side.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use balisong::vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> examples/render_complex64.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let r = limit as u64 / 4 as u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> examples/render_complex256.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]   --> examples/render_complex64.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let center = Point::new(cx, cy, cz);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `voxel_grid_size`
[INFO] [stdout]   --> examples/render_complex64.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> examples/render_complex256.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::color::Color`
[INFO] [stdout]   --> examples/render_ktm_side.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use balisong::color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Sphere`
[INFO] [stdout]   --> examples/render_ktm_side.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use balisong::shape::Sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Cube`
[INFO] [stdout]   --> examples/render_ktm_side.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use balisong::shape::Cube;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Shape`
[INFO] [stdout]   --> examples/render_ktm_side.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use balisong::shape::Shape;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::voxelizer`
[INFO] [stdout]   --> examples/render_ktm_side.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use balisong::voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::lod::LOD`
[INFO] [stdout]   --> examples/render_ktm_side.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use balisong::lod::LOD;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::voxel::vox::Vox`
[INFO] [stdout]   --> examples/render_ktm_side.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use balisong::voxel::vox::Vox;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> examples/render_ktm_side.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let r = limit as u64 / 4 as u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]   --> examples/render_ktm_side.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let center = Point::new(cx, cy, cz);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration`
[INFO] [stdout]   --> examples/render_ktm_side.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let duration = start.to(PreciseTime::now());
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `voxel_grid_size`
[INFO] [stdout]   --> examples/render_ktm_side.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts`
[INFO] [stdout]  --> examples/render_complex256.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::ray::Ray`
[INFO] [stdout]   --> examples/render_complex256.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use balisong::ray::Ray;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::vector::Vector`
[INFO] [stdout]   --> examples/render_complex256.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use balisong::vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::color::Color`
[INFO] [stdout]   --> examples/render_complex256.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use balisong::color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Sphere`
[INFO] [stdout]   --> examples/render_complex256.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use balisong::shape::Sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Cube`
[INFO] [stdout]   --> examples/render_complex256.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use balisong::shape::Cube;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::shape::Shape`
[INFO] [stdout]   --> examples/render_complex256.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use balisong::shape::Shape;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::voxelizer`
[INFO] [stdout]   --> examples/render_complex256.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use balisong::voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `balisong::lod::LOD`
[INFO] [stdout]   --> examples/render_complex256.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use balisong::lod::LOD;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> examples/render_complex256.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let r = limit as u64 / 4 as u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]   --> examples/render_complex256.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let center = Point::new(cx, cy, cz);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `voxel_grid_size`
[INFO] [stdout]   --> examples/render_complex256.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `index` is assigned to, but never used
[INFO] [stdout]  --> examples/print_morton_64bit.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut index = 0;
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_index` instead
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/location.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |     for i in (1..lod.lod+1){
[INFO] [stdout]     |              ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -     for i in (1..lod.lod+1){
[INFO] [stdout] 104 +     for i in 1..lod.lod+1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 160 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 161 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/location.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]     |              ^                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 162 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/voxelizer.rs:13:56
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout]    |                                                        ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stdout] 13 + pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->Voxtree<Normal>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/renderer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/raytracer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/raytracer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/raytracer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::PreciseTime`
[INFO] [stdout]  --> src/raytracer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use time::PreciseTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/raytracer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `point::Point`
[INFO] [stdout]  --> src/raytracer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `camera::Camera`
[INFO] [stdout]   --> src/raytracer.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use camera::Camera;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxelizer`
[INFO] [stdout]   --> src/raytracer.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use voxelizer;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]   --> src/raytracer.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::cmp;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `color::Color`
[INFO] [stdout]   --> src/binvox.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stdout]  --> src/neighbors.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use voxel::voxtree::Voxtree;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> src/voxel/vox.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn or_bitset(&mut self, u64);
[INFO] [stdout]   |                             ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxgrid.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stdout] 10 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stdout] 11 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/morton.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout]    |              ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stdout] 12 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/binvox.rs:64:28
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn read_header(reader:&mut BufRead)->String{
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn read_header(reader:&mut dyn BufRead)->String{
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/binvox.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn read_dim(reader:&mut BufRead)->(u64, u64, u64){
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn read_dim(reader:&mut dyn BufRead)->(u64, u64, u64){
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_translation(reader:&mut BufRead)->(f64, f64, f64){
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_translation(reader:&mut dyn BufRead)->(f64, f64, f64){
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn read_scaling(reader:&mut BufRead)->f64{
[INFO] [stdout]     |                             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn read_scaling(reader:&mut dyn BufRead)->f64{
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/binvox.rs:166:26
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn read_data(reader:&mut BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stdout]     |                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn read_data(reader:&mut dyn BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stdout]     |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxstream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `voxel::vox::Vox`
[INFO] [stdout]  --> src/voxel/voxstream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use voxel::vox::Vox;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/voxelizer.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut cnt = 0;
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut cnt = 0;
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let (iteration, hit) = initial_normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normals`
[INFO] [stdout]    --> src/voxelizer.rs:307:29
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/voxelizer.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut normals = Voxtree::new();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:346:22
[INFO] [stdout]     |
[INFO] [stdout] 346 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/renderer.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     for t in 0..total{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/renderer.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         Err(why) => panic!("couldn't create file {}", filename),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_lod`
[INFO] [stdout]    --> src/raytracer.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let low_lod = LOD::new(lod.lod-1);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/raytracer.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |             let (iteration, hit) = model.normal.is_location_occupied(&vec_location);
[INFO] [stdout]     |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `screen`
[INFO] [stdout]    --> src/raytracer.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn hit_location(screen:&Screen, lod:&LOD, view_lod:&LOD, ray:&Ray, model:&Model, obj_scale:f64, max_distance:u64)->Option<Vec<u64>>{
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Err(why) => panic!("couldn't open {}", display),
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binvox`
[INFO] [stdout]   --> src/binvox.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let binvox = Binvox{
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binvox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut file = match File::open(&path) {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/binvox.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Err(why) => panic!("error reading header"),
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]   --> src/binvox.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/binvox.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Err(why) => panic!("couldn't read dimension"),
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/binvox.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         Err(why) => panic!("couldn't read translation"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         Err(why) => panic!("couldn't read scaling"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/binvox.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/binvox.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         Err(why) => panic!("couldn't read data"),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_index` is never read
[INFO] [stdout]    --> src/binvox.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let mut end_index = 0u64;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nr_voxels` is assigned to, but never used
[INFO] [stdout]    --> src/binvox.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let mut nr_voxels = 0u64;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_nr_voxels` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/binvox.rs:197:21
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 for j in index..end_index {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/binvox.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let mut cnt = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binvox.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/neighbors.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/voxelizer.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut cnt = 0;
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]   --> src/voxelizer.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut cnt = 0;
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `skipped` is assigned to, but never used
[INFO] [stdout]    --> src/voxelizer.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut skipped = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_skipped` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `required_lod`
[INFO] [stdout]   --> src/voxel/voxstream.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stdout]    |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stdout]    |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let (iteration, hit) = initial_normals.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxbit.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let mut top = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normals`
[INFO] [stdout]    --> src/voxelizer.rs:307:29
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/voxelizer.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut normals = Voxtree::new();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxtree.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let mut top:&mut Voxtree<T> = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/voxelizer.rs:346:22
[INFO] [stdout]     |
[INFO] [stdout] 346 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x1`
[INFO] [stdout]    --> src/morton.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_x1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y1`
[INFO] [stdout]    --> src/morton.rs:177:25
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_y1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z1`
[INFO] [stdout]    --> src/morton.rs:177:28
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_z1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_lod`
[INFO] [stdout]    --> src/raytracer.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let low_lod = LOD::new(lod.lod-1);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iteration`
[INFO] [stdout]    --> src/raytracer.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |             let (iteration, hit) = model.normal.is_location_occupied(&vec_location);
[INFO] [stdout]     |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `screen`
[INFO] [stdout]    --> src/raytracer.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn hit_location(screen:&Screen, lod:&LOD, view_lod:&LOD, ray:&Ray, model:&Model, obj_scale:f64, max_distance:u64)->Option<Vec<u64>>{
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/renderer.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     for t in 0..total{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]    --> src/renderer.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         Err(why) => panic!("couldn't create file {}", filename),
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `required_lod`
[INFO] [stdout]   --> src/voxel/voxstream.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stdout]    |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_lod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/voxel/voxstream.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stdout]    |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxbit.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let mut top = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/voxel/voxtree.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let mut top:&mut Voxtree<T> = match stack.pop(){
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `center` is never read
[INFO] [stdout]   --> src/shape.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Cube{
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     center:Point,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prism` is never constructed
[INFO] [stdout]   --> src/shape.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Prism{
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cylinder` is never constructed
[INFO] [stdout]   --> src/shape.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Cylinder{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `linear_to_morton_64` is never used
[INFO] [stdout]    --> src/location.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn linear_to_morton_64(linear:u64)->u8{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_location` is never used
[INFO] [stdout]    --> src/raytracer.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn clamp_location(location:&Vec<u64>, view_lod:&LOD)->Vec<u64>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gamma_correction` is never used
[INFO] [stdout]    --> src/raytracer.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn gamma_correction(color:Color)->Color{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `dim`, `translate`, and `scale` are never read
[INFO] [stdout]   --> src/binvox.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Binvox{
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     version:String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 22 |     dim:Point,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     translate:Vector,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 24 |     scale:f64
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lod`, `bitset`, and `content` are never read
[INFO] [stdout]   --> src/voxel/voxgrid.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Voxgrid<T>{
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 9  |     lod:LOD,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     bitset:Vec<u64>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     content:Vec<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get` are never used
[INFO] [stdout]   --> src/voxel/voxgrid.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl <T> Voxgrid<T>{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(lod:&LOD)->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn get(&self, x:u64, y:u64, z:u64)->&T{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_tree` is never used
[INFO] [stdout]   --> src/voxel/voxstream.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T> Voxstream<T>{
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x1`
[INFO] [stdout]    --> src/morton.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_x1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y1`
[INFO] [stdout]    --> src/morton.rs:177:25
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_y1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z1`
[INFO] [stdout]    --> src/morton.rs:177:28
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_z1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             tx.send((start, end, line, durations));
[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] 102 |             let _ = tx.send((start, end, line, durations));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     file.write_all(&buffer);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let _ = file.write_all(&buffer);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/binvox.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |         reader.read_to_end(&mut buff);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let _ = reader.read_to_end(&mut buff);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:402:17
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxbit.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxbit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxtree.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxtree<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let mut normals = voxelizer::voxelize(&lod, shape);
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `center` is never read
[INFO] [stdout]   --> src/shape.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Cube{
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     center:Point,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prism` is never constructed
[INFO] [stdout]   --> src/shape.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Prism{
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cylinder` is never constructed
[INFO] [stdout]   --> src/shape.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Cylinder{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/shape.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl Cube{
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 76 |     pub fn new(radius:u64, center:&Point)->Cube{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `from_f64` are never used
[INFO] [stdout]   --> src/normal.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Normal{
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn new(x:i8, y:i8, z:i8)->Normal{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn from_f64(x:f64, y:f64, z:f64)->Normal{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_point` is never used
[INFO] [stdout]   --> src/vector.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Vector{
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn add_point(&self, point:&Point)->Vector{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `red`, `green`, and `blue` are never used
[INFO] [stdout]   --> src/color.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Color {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn red()->Color{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn green()->Color{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn blue()->Color{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_xyz_top_down` is never used
[INFO] [stdout]   --> src/location.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn from_xyz_top_down(lod:&LOD, x:u64, y:u64, z:u64)->Vec<u64>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `linear_to_morton_64` is never used
[INFO] [stdout]    --> src/location.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn linear_to_morton_64(linear:u64)->u8{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_semi_occluded` is never used
[INFO] [stdout]    --> src/neighbors.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 335 | pub fn is_semi_occluded(node:&Voxbit, lod:&LOD, point:&Point)->bool{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_closest_occluded_neighbor` is never used
[INFO] [stdout]    --> src/neighbors.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 | pub fn get_closest_occluded_neighbor(node:&Voxbit, lod:&LOD, point:&Point)->Option<Point>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_closest_empty_neighbor` is never used
[INFO] [stdout]    --> src/neighbors.rs:427:8
[INFO] [stdout]     |
[INFO] [stdout] 427 | pub fn get_closest_empty_neighbor(node:&Voxbit, lod:&LOD, point:&Point)->Option<Point>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_lower_lod_normals` is never used
[INFO] [stdout]   --> src/voxelizer.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn calculate_lower_lod_normals(node:&Voxbit, mut normals:Voxtree<Normal>, lod:&LOD)->Voxtree<Normal>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_lower_lod_normals_using_average` is never used
[INFO] [stdout]    --> src/voxelizer.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn calculate_lower_lod_normals_using_average(node:&Voxbit, mut normals:Voxtree<Normal>, orig_normals:&Voxtree<Normal>, lod:&LOD)->Vox...
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_children_normals` is never used
[INFO] [stdout]    --> src/voxelizer.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn calculate_children_normals(children:&Vec<Voxtree<Normal>>)->Normal{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_average_normal` is never used
[INFO] [stdout]    --> src/voxelizer.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn calculate_average_normal(normals:Vec<Normal>)->Normal{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `smoothen_normals` is never used
[INFO] [stdout]    --> src/voxelizer.rs:273:8
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub fn smoothen_normals(node:&Voxbit, initial_normals:&Voxtree<Normal>, lod:&LOD)->Voxtree<Normal>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mipmap_voxel_normals` is never used
[INFO] [stdout]    --> src/voxelizer.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_average_normal` is never used
[INFO] [stdout]    --> src/voxelizer.rs:312:4
[INFO] [stdout]     |
[INFO] [stdout] 312 | fn get_average_normal(node:&Voxbit, normals:&Voxtree<Normal>, lod:&LOD, point:&Point)->Normal{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `carve_out` is never used
[INFO] [stdout]    --> src/voxelizer.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn carve_out(node:&Voxbit, lod:&LOD)->Voxtree<bool>{
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `look_at` and `default` are never used
[INFO] [stdout]   --> src/camera.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Camera{
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn look_at(&mut self, lookat:&Point){
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn default()->Camera{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `at_pixel_up_y`, `get_view_lod`, and `get_required_lod` are never used
[INFO] [stdout]   --> src/screen.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Screen{
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn at_pixel_up_y(&self, px:i64, py:i64)->Vector{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn get_view_lod(&self)->LOD{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn get_required_lod(&self, view_lod:u8, distance:f64)->i8{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `at_lod_length` is never used
[INFO] [stdout]   --> src/ray.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Ray{
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn at_lod_length(&self, lod:&LOD, view_lod:&LOD, length:f64)->Vector{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_location` is never used
[INFO] [stdout]    --> src/raytracer.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn clamp_location(location:&Vec<u64>, view_lod:&LOD)->Vec<u64>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gamma_correction` is never used
[INFO] [stdout]    --> src/raytracer.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn gamma_correction(color:Color)->Color{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PRECALCULATE_NORMALS` is never used
[INFO] [stdout]  --> src/constants.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub static PRECALCULATE_NORMALS:bool = true;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `USE_GAMMA_CORRECTION` is never used
[INFO] [stdout]  --> src/constants.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub static USE_GAMMA_CORRECTION:bool = false;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SMOOTHEN_NORMALS` is never used
[INFO] [stdout]  --> src/constants.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub static SMOOTHEN_NORMALS:bool = true;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SMOOTHING_ITERATION` is never used
[INFO] [stdout]  --> src/constants.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub static SMOOTHING_ITERATION:usize = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MORTON_BASE` is never used
[INFO] [stdout]   --> src/constants.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub static MORTON_BASE:u8 = 1; //(BASE/2)
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `inc` and `from_volume` are never used
[INFO] [stdout]   --> src/lod.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LOD{
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn inc(&mut self, inc:u8){
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn from_volume(volume:u64)->LOD{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Voxgrid` is never constructed
[INFO] [stdout]  --> src/voxel/voxgrid.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Voxgrid<T>{
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get` are never used
[INFO] [stdout]   --> src/voxel/voxgrid.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl <T> Voxgrid<T>{
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(lod:&LOD)->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn get(&self, x:u64, y:u64, z:u64)->&T{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Voxstream` is never constructed
[INFO] [stdout]  --> src/voxel/voxstream.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Voxstream<T>{
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_tree`, `total_ones`, `insert_root`, and `get_content` are never used
[INFO] [stdout]   --> src/voxel/voxstream.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T> Voxstream<T>{
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 13 |     
[INFO] [stdout] 14 |     pub fn new()->Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn insert_root(&mut self){
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:402:17
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 402 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/neighbors.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 max_dot == dot;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 let _ = max_dot == dot;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             tx.send((start, end, line, durations));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let _ = tx.send((start, end, line, durations));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     file.write_all(&buffer);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let _ = file.write_all(&buffer);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxbit.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxbit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/voxel/voxtree.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         drop(self);
[INFO] [stdout]    |         ^^^^^----^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `&mut Voxtree<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 96 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 97 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.89s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "1235fcc9498f71bf6b9b7d1bdaad89ff4a24a42466be28f2859a76f06846f461", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1235fcc9498f71bf6b9b7d1bdaad89ff4a24a42466be28f2859a76f06846f461", kill_on_drop: false }`
[INFO] [stdout] 1235fcc9498f71bf6b9b7d1bdaad89ff4a24a42466be28f2859a76f06846f461
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] aa4cbfaf89904e04cc60dd21495d5df9acf815c54e4c24e607013a5a9d9b43ea
[INFO] running `Command { std: "docker" "start" "-a" "aa4cbfaf89904e04cc60dd21495d5df9acf815c54e4c24e607013a5a9d9b43ea", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (num) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]    --> src/location.rs:104:14
[INFO] [stderr]     |
[INFO] [stderr] 104 |     for i in (1..lod.lod+1){
[INFO] [stderr]     |              ^            ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 104 -     for i in (1..lod.lod+1){
[INFO] [stderr] 104 +     for i in 1..lod.lod+1 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/location.rs:160:14
[INFO] [stderr]     |
[INFO] [stderr] 160 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr]     |              ^                                                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 160 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr] 160 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/location.rs:161:14
[INFO] [stderr]     |
[INFO] [stderr] 161 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr]     |              ^                                                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 161 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr] 161 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/location.rs:162:14
[INFO] [stderr]     |
[INFO] [stderr] 162 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr]     |              ^                                                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 162 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr] 162 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/voxelizer.rs:13:56
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stderr]    |                                                        ^               ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 13 - pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stderr] 13 + pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->Voxtree<Normal>{
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]  --> src/renderer.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::Path;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::mpsc`
[INFO] [stderr]  --> src/raytracer.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::mpsc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::Thread`
[INFO] [stderr]  --> src/raytracer.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::thread::Thread;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/raytracer.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `time::PreciseTime`
[INFO] [stderr]  --> src/raytracer.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use time::PreciseTime;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stderr]  --> src/raytracer.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use voxel::voxtree::Voxtree;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `point::Point`
[INFO] [stderr]  --> src/raytracer.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use point::Point;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `camera::Camera`
[INFO] [stderr]   --> src/raytracer.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use camera::Camera;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `voxelizer`
[INFO] [stderr]   --> src/raytracer.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use voxelizer;
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp`
[INFO] [stderr]   --> src/raytracer.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::cmp;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt`
[INFO] [stderr]  --> src/model.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::fmt;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `color::Color`
[INFO] [stderr]   --> src/binvox.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use color::Color;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stderr]  --> src/neighbors.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use voxel::voxtree::Voxtree;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]  --> src/voxel/vox.rs:7:29
[INFO] [stderr]   |
[INFO] [stderr] 7 |     fn or_bitset(&mut self, u64);
[INFO] [stderr]   |                             ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64`
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `voxel::vox::Vox`
[INFO] [stderr]  --> src/voxel/voxgrid.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use voxel::vox::Vox;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/morton.rs:10:14
[INFO] [stderr]    |
[INFO] [stderr] 10 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr]    |              ^                                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 10 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr] 10 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/morton.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr]    |              ^                                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 11 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr] 11 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/morton.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr]    |              ^                                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 12 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr] 12 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/binvox.rs:64:28
[INFO] [stderr]    |
[INFO] [stderr] 64 | fn read_header(reader:&mut BufRead)->String{
[INFO] [stderr]    |                            ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 64 | fn read_header(reader:&mut dyn BufRead)->String{
[INFO] [stderr]    |                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/binvox.rs:85:25
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn read_dim(reader:&mut BufRead)->(u64, u64, u64){
[INFO] [stderr]    |                         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn read_dim(reader:&mut dyn BufRead)->(u64, u64, u64){
[INFO] [stderr]    |                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/binvox.rs:113:33
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn read_translation(reader:&mut BufRead)->(f64, f64, f64){
[INFO] [stderr]     |                                 ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn read_translation(reader:&mut dyn BufRead)->(f64, f64, f64){
[INFO] [stderr]     |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/binvox.rs:144:29
[INFO] [stderr]     |
[INFO] [stderr] 144 | fn read_scaling(reader:&mut BufRead)->f64{
[INFO] [stderr]     |                             ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 144 | fn read_scaling(reader:&mut dyn BufRead)->f64{
[INFO] [stderr]     |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/binvox.rs:166:26
[INFO] [stderr]     |
[INFO] [stderr] 166 | fn read_data(reader:&mut BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stderr]     |                          ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 166 | fn read_data(reader:&mut dyn BufRead, size:u64)->Voxtree<Normal>{
[INFO] [stderr]     |                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `voxel::vox::Vox`
[INFO] [stderr]  --> src/voxel/voxstream.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use voxel::vox::Vox;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]   --> src/voxelizer.rs:57:22
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stderr]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `cnt` is assigned to, but never used
[INFO] [stderr]   --> src/voxelizer.rs:74:13
[INFO] [stderr]    |
[INFO] [stderr] 74 |     let mut cnt = 0;
[INFO] [stderr]    |             ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_cnt` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]   --> src/voxelizer.rs:89:22
[INFO] [stderr]    |
[INFO] [stderr] 89 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stderr]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `cnt` is assigned to, but never used
[INFO] [stderr]    --> src/voxelizer.rs:103:13
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let mut cnt = 0;
[INFO] [stderr]     |             ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_cnt` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]    --> src/voxelizer.rs:118:22
[INFO] [stderr]     |
[INFO] [stderr] 118 |                 let (iteration, hit) = normals.is_location_occupied(&loc);
[INFO] [stderr]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `skipped` is assigned to, but never used
[INFO] [stderr]    --> src/voxelizer.rs:187:13
[INFO] [stderr]     |
[INFO] [stderr] 187 |     let mut skipped = 0;
[INFO] [stderr]     |             ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_skipped` instead
[INFO] [stderr] 
[INFO] [stderr] warning: variable `skipped` is assigned to, but never used
[INFO] [stderr]    --> src/voxelizer.rs:222:13
[INFO] [stderr]     |
[INFO] [stderr] 222 |     let mut skipped = 0;
[INFO] [stderr]     |             ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_skipped` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]    --> src/voxelizer.rs:290:22
[INFO] [stderr]     |
[INFO] [stderr] 290 |                 let (iteration, hit) = initial_normals.is_location_occupied(&loc);
[INFO] [stderr]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `normals`
[INFO] [stderr]    --> src/voxelizer.rs:307:29
[INFO] [stderr]     |
[INFO] [stderr] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stderr]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/voxelizer.rs:308:9
[INFO] [stderr]     |
[INFO] [stderr] 308 |     let mut normals = Voxtree::new();
[INFO] [stderr]     |         ----^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]    --> src/voxelizer.rs:346:22
[INFO] [stderr]     |
[INFO] [stderr] 346 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stderr]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/renderer.rs:52:9
[INFO] [stderr]    |
[INFO] [stderr] 52 |     for t in 0..total{
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `why`
[INFO] [stderr]    --> src/renderer.rs:164:13
[INFO] [stderr]     |
[INFO] [stderr] 164 |         Err(why) => panic!("couldn't create file {}", filename),
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `low_lod`
[INFO] [stderr]    --> src/raytracer.rs:134:9
[INFO] [stderr]     |
[INFO] [stderr] 134 |     let low_lod = LOD::new(lod.lod-1);
[INFO] [stderr]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_lod`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]    --> src/raytracer.rs:148:18
[INFO] [stderr]     |
[INFO] [stderr] 148 |             let (iteration, hit) = model.normal.is_location_occupied(&vec_location);
[INFO] [stderr]     |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `screen`
[INFO] [stderr]    --> src/raytracer.rs:132:21
[INFO] [stderr]     |
[INFO] [stderr] 132 | pub fn hit_location(screen:&Screen, lod:&LOD, view_lod:&LOD, ray:&Ray, model:&Model, obj_scale:f64, max_distance:u64)->Option<Vec<u64>>{
[INFO] [stderr]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `why`
[INFO] [stderr]   --> src/binvox.rs:33:17
[INFO] [stderr]    |
[INFO] [stderr] 33 |             Err(why) => panic!("couldn't open {}", display),
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `binvox`
[INFO] [stderr]   --> src/binvox.rs:48:13
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let binvox = Binvox{
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binvox`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/binvox.rs:32:13
[INFO] [stderr]    |
[INFO] [stderr] 32 |         let mut file = match File::open(&path) {
[INFO] [stderr]    |             ----^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]   --> src/binvox.rs:67:13
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `why`
[INFO] [stderr]   --> src/binvox.rs:68:13
[INFO] [stderr]    |
[INFO] [stderr] 68 |         Err(why) => panic!("error reading header"),
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/binvox.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]   --> src/binvox.rs:87:13
[INFO] [stderr]    |
[INFO] [stderr] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `why`
[INFO] [stderr]   --> src/binvox.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 88 |         Err(why) => panic!("couldn't read dimension"),
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/binvox.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/binvox.rs:115:13
[INFO] [stderr]     |
[INFO] [stderr] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `why`
[INFO] [stderr]    --> src/binvox.rs:116:13
[INFO] [stderr]     |
[INFO] [stderr] 116 |         Err(why) => panic!("couldn't read translation"),
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/binvox.rs:115:9
[INFO] [stderr]     |
[INFO] [stderr] 115 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]     |         ----^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/binvox.rs:146:13
[INFO] [stderr]     |
[INFO] [stderr] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `why`
[INFO] [stderr]    --> src/binvox.rs:147:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |         Err(why) => panic!("couldn't read scaling"),
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/binvox.rs:146:9
[INFO] [stderr]     |
[INFO] [stderr] 146 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]     |         ----^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/binvox.rs:170:13
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `why`
[INFO] [stderr]    --> src/binvox.rs:171:13
[INFO] [stderr]     |
[INFO] [stderr] 171 |         Err(why) => panic!("couldn't read data"),
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `end_index` is never read
[INFO] [stderr]    --> src/binvox.rs:184:17
[INFO] [stderr]     |
[INFO] [stderr] 184 |         let mut end_index = 0u64;
[INFO] [stderr]     |                 ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `nr_voxels` is assigned to, but never used
[INFO] [stderr]    --> src/binvox.rs:185:17
[INFO] [stderr]     |
[INFO] [stderr] 185 |         let mut nr_voxels = 0u64;
[INFO] [stderr]     |                 ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_nr_voxels` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `j`
[INFO] [stderr]    --> src/binvox.rs:197:21
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 for j in index..end_index {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `cnt` is assigned to, but never used
[INFO] [stderr]    --> src/binvox.rs:206:17
[INFO] [stderr]     |
[INFO] [stderr] 206 |         let mut cnt = 0;
[INFO] [stderr]     |                 ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_cnt` instead
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/binvox.rs:170:9
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let mut line = match reader.read_line(&mut buff) {
[INFO] [stderr]     |         ----^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]   --> src/neighbors.rs:21:18
[INFO] [stderr]    |
[INFO] [stderr] 21 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stderr]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]   --> src/neighbors.rs:42:18
[INFO] [stderr]    |
[INFO] [stderr] 42 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stderr]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]   --> src/neighbors.rs:61:18
[INFO] [stderr]    |
[INFO] [stderr] 61 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stderr]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `location`
[INFO] [stderr]   --> src/voxel/voxstream.rs:19:24
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stderr]    |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `required_lod`
[INFO] [stderr]   --> src/voxel/voxstream.rs:47:30
[INFO] [stderr]    |
[INFO] [stderr] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stderr]    |                              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_lod`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `location`
[INFO] [stderr]   --> src/voxel/voxstream.rs:61:31
[INFO] [stderr]    |
[INFO] [stderr] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stderr]    |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/voxel/voxbit.rs:23:17
[INFO] [stderr]    |
[INFO] [stderr] 23 |             let mut top = match stack.pop(){
[INFO] [stderr]    |                 ----^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/voxel/voxtree.rs:31:17
[INFO] [stderr]    |
[INFO] [stderr] 31 |             let mut top:&mut Voxtree<T> = match stack.pop(){
[INFO] [stderr]    |                 ----^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: field `center` is never read
[INFO] [stderr]   --> src/shape.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct Cube{
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     center:Point,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Prism` is never constructed
[INFO] [stderr]   --> src/shape.rs:25:8
[INFO] [stderr]    |
[INFO] [stderr] 25 | struct Prism{
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Cylinder` is never constructed
[INFO] [stderr]   --> src/shape.rs:31:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | struct Cylinder{
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `linear_to_morton_64` is never used
[INFO] [stderr]    --> src/location.rs:134:4
[INFO] [stderr]     |
[INFO] [stderr] 134 | fn linear_to_morton_64(linear:u64)->u8{
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `clamp_location` is never used
[INFO] [stderr]    --> src/raytracer.rs:159:4
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn clamp_location(location:&Vec<u64>, view_lod:&LOD)->Vec<u64>{
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `gamma_correction` is never used
[INFO] [stderr]    --> src/raytracer.rs:179:4
[INFO] [stderr]     |
[INFO] [stderr] 179 | fn gamma_correction(color:Color)->Color{
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `version`, `dim`, `translate`, and `scale` are never read
[INFO] [stderr]   --> src/binvox.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct Binvox{
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 21 |     version:String,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 22 |     dim:Point,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 23 |     translate:Vector,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 24 |     scale:f64
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `lod`, `bitset`, and `content` are never read
[INFO] [stderr]   --> src/voxel/voxgrid.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr] 8  | pub struct Voxgrid<T>{
[INFO] [stderr]    |            ------- fields in this struct
[INFO] [stderr] 9  |     lod:LOD,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 10 |     bitset:Vec<u64>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 11 |     content:Vec<T>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `get` are never used
[INFO] [stderr]   --> src/voxel/voxgrid.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl <T> Voxgrid<T>{
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] 15 |     fn new(lod:&LOD)->Self{
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     fn get(&self, x:u64, y:u64, z:u64)->&T{
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_tree` is never used
[INFO] [stderr]   --> src/voxel/voxstream.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl <T> Voxstream<T>{
[INFO] [stderr]    | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/renderer.rs:102:13
[INFO] [stderr]     |
[INFO] [stderr] 102 |             tx.send((start, end, line, durations));
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 102 |             let _ = tx.send((start, end, line, durations));
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/renderer.rs:189:5
[INFO] [stderr]     |
[INFO] [stderr] 189 |     file.write_all(&buffer);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 189 |     let _ = file.write_all(&buffer);
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/binvox.rs:189:9
[INFO] [stderr]     |
[INFO] [stderr] 189 |         reader.read_to_end(&mut buff);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 189 |         let _ = reader.read_to_end(&mut buff);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> src/neighbors.rs:389:17
[INFO] [stderr]     |
[INFO] [stderr] 389 |                 max_dot == dot;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 389 |                 let _ = max_dot == dot;
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> src/neighbors.rs:402:17
[INFO] [stderr]     |
[INFO] [stderr] 402 |                 max_dot == dot;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 402 |                 let _ = max_dot == dot;
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> src/neighbors.rs:415:17
[INFO] [stderr]     |
[INFO] [stderr] 415 |                 max_dot == dot;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 415 |                 let _ = max_dot == dot;
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]   --> src/voxel/voxbit.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 |         drop(self);
[INFO] [stderr]    |         ^^^^^----^
[INFO] [stderr]    |              |
[INFO] [stderr]    |              argument has type `&mut Voxbit`
[INFO] [stderr]    |
[INFO] [stderr]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]   --> src/voxel/voxtree.rs:84:9
[INFO] [stderr]    |
[INFO] [stderr] 84 |         drop(self);
[INFO] [stderr]    |         ^^^^^----^
[INFO] [stderr]    |              |
[INFO] [stderr]    |              argument has type `&mut Voxtree<T>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: use `let _ = ...` to ignore the expression or result
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x1`
[INFO] [stderr]    --> src/morton.rs:177:22
[INFO] [stderr]     |
[INFO] [stderr] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stderr]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_x1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y1`
[INFO] [stderr]    --> src/morton.rs:177:25
[INFO] [stderr]     |
[INFO] [stderr] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stderr]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_y1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `z1`
[INFO] [stderr]    --> src/morton.rs:177:28
[INFO] [stderr]     |
[INFO] [stderr] 177 |                 let (x1,y1,z1) = morton_to_xyz(1, m1);//<---not OK
[INFO] [stderr]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_z1`
[INFO] [stderr] 
[INFO] [stderr] warning: `balisong` (lib) generated 93 warnings (run `cargo fix --lib -p balisong` to apply 67 suggestions)
[INFO] [stderr] warning: `balisong` (lib test) generated 96 warnings (93 duplicates) (run `cargo fix --lib -p balisong --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> examples/render_complex64.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::Thread`
[INFO] [stderr]  --> examples/render_complex64.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::thread::Thread;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f64::consts`
[INFO] [stderr]  --> examples/render_complex64.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::f64::consts;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::ray::Ray`
[INFO] [stderr]   --> examples/render_complex64.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use balisong::ray::Ray;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::vector::Vector`
[INFO] [stderr]   --> examples/render_complex64.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use balisong::vector::Vector;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::color::Color`
[INFO] [stderr]   --> examples/render_complex64.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use balisong::color::Color;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Sphere`
[INFO] [stderr]   --> examples/render_complex64.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use balisong::shape::Sphere;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Cube`
[INFO] [stderr]   --> examples/render_complex64.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use balisong::shape::Cube;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Shape`
[INFO] [stderr]   --> examples/render_complex64.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use balisong::shape::Shape;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::voxelizer`
[INFO] [stderr]   --> examples/render_complex64.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use balisong::voxelizer;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::lod::LOD`
[INFO] [stderr]   --> examples/render_complex64.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use balisong::lod::LOD;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> examples/render_complex64.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let r = limit as u64 / 4 as u64;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `center`
[INFO] [stderr]   --> examples/render_complex64.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let center = Point::new(cx, cy, cz);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `voxel_grid_size`
[INFO] [stderr]   --> examples/render_complex64.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> examples/render_ktm_side.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::Thread`
[INFO] [stderr]  --> examples/render_ktm_side.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::thread::Thread;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::ray::Ray`
[INFO] [stderr]   --> examples/render_ktm_side.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use balisong::ray::Ray;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::vector::Vector`
[INFO] [stderr]   --> examples/render_ktm_side.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use balisong::vector::Vector;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::color::Color`
[INFO] [stderr]   --> examples/render_ktm_side.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use balisong::color::Color;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Sphere`
[INFO] [stderr]   --> examples/render_ktm_side.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use balisong::shape::Sphere;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Cube`
[INFO] [stderr]   --> examples/render_ktm_side.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use balisong::shape::Cube;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Shape`
[INFO] [stderr]   --> examples/render_ktm_side.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use balisong::shape::Shape;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::voxelizer`
[INFO] [stderr]   --> examples/render_ktm_side.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use balisong::voxelizer;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::lod::LOD`
[INFO] [stderr]   --> examples/render_ktm_side.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use balisong::lod::LOD;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::voxel::vox::Vox`
[INFO] [stderr]   --> examples/render_ktm_side.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use balisong::voxel::vox::Vox;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> examples/render_ktm_side.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let r = limit as u64 / 4 as u64;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `center`
[INFO] [stderr]   --> examples/render_ktm_side.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let center = Point::new(cx, cy, cz);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `duration`
[INFO] [stderr]   --> examples/render_ktm_side.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let duration = start.to(PreciseTime::now());
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `voxel_grid_size`
[INFO] [stderr]   --> examples/render_ktm_side.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `voxel::voxtree::Voxtree`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use voxel::voxtree::Voxtree;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `normal::Normal`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use normal::Normal;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::option::Option`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::option::Option;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `color::Color`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use color::Color;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]  --> src/renderer.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::Path;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]   --> src/neighbors.rs:21:18
[INFO] [stderr]    |
[INFO] [stderr] 21 |             let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stderr]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iteration`
[INFO] [stderr]   --> src/voxelizer.rs:57:22
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 let (iteration, hit) = node.is_location_occupied(&loc);
[INFO] [stderr]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 54 |     let mut normals = voxelizer::voxelize(&lod, shape);
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/shape.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 75 | impl Cube{
[INFO] [stderr]    | --------- associated function in this implementation
[INFO] [stderr] 76 |     pub fn new(radius:u64, center:&Point)->Cube{
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `from_f64` are never used
[INFO] [stderr]   --> src/normal.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl Normal{
[INFO] [stderr]    | ----------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn new(x:i8, y:i8, z:i8)->Normal{
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn from_f64(x:f64, y:f64, z:f64)->Normal{
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `add_point` is never used
[INFO] [stderr]   --> src/vector.rs:51:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Vector{
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 51 |     pub fn add_point(&self, point:&Point)->Vector{
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `red`, `green`, and `blue` are never used
[INFO] [stderr]   --> src/color.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Color {
[INFO] [stderr]    | ---------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn red()->Color{
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 28 |     pub fn green()->Color{
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub fn blue()->Color{
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `from_xyz_top_down` is never used
[INFO] [stderr]   --> src/location.rs:98:8
[INFO] [stderr]    |
[INFO] [stderr] 98 | pub fn from_xyz_top_down(lod:&LOD, x:u64, y:u64, z:u64)->Vec<u64>{
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_semi_occluded` is never used
[INFO] [stderr]    --> src/neighbors.rs:335:8
[INFO] [stderr]     |
[INFO] [stderr] 335 | pub fn is_semi_occluded(node:&Voxbit, lod:&LOD, point:&Point)->bool{
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_closest_occluded_neighbor` is never used
[INFO] [stderr]    --> src/neighbors.rs:343:8
[INFO] [stderr]     |
[INFO] [stderr] 343 | pub fn get_closest_occluded_neighbor(node:&Voxbit, lod:&LOD, point:&Point)->Option<Point>{
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_closest_empty_neighbor` is never used
[INFO] [stderr]    --> src/neighbors.rs:427:8
[INFO] [stderr]     |
[INFO] [stderr] 427 | pub fn get_closest_empty_neighbor(node:&Voxbit, lod:&LOD, point:&Point)->Option<Point>{
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_lower_lod_normals` is never used
[INFO] [stderr]   --> src/voxelizer.rs:73:8
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub fn calculate_lower_lod_normals(node:&Voxbit, mut normals:Voxtree<Normal>, lod:&LOD)->Voxtree<Normal>{
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_lower_lod_normals_using_average` is never used
[INFO] [stderr]    --> src/voxelizer.rs:102:8
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub fn calculate_lower_lod_normals_using_average(node:&Voxbit, mut normals:Voxtree<Normal>, orig_normals:&Voxtree<Normal>, lod:&LOD)->Vox...
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_children_normals` is never used
[INFO] [stderr]    --> src/voxelizer.rs:132:4
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn calculate_children_normals(children:&Vec<Voxtree<Normal>>)->Normal{
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_average_normal` is never used
[INFO] [stderr]    --> src/voxelizer.rs:143:4
[INFO] [stderr]     |
[INFO] [stderr] 143 | fn calculate_average_normal(normals:Vec<Normal>)->Normal{
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `smoothen_normals` is never used
[INFO] [stderr]    --> src/voxelizer.rs:273:8
[INFO] [stderr]     |
[INFO] [stderr] 273 | pub fn smoothen_normals(node:&Voxbit, initial_normals:&Voxtree<Normal>, lod:&LOD)->Voxtree<Normal>{
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `mipmap_voxel_normals` is never used
[INFO] [stderr]    --> src/voxelizer.rs:307:8
[INFO] [stderr]     |
[INFO] [stderr] 307 | pub fn mipmap_voxel_normals(normals:&Voxtree<Normal>)->Voxtree<Normal>{
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_average_normal` is never used
[INFO] [stderr]    --> src/voxelizer.rs:312:4
[INFO] [stderr]     |
[INFO] [stderr] 312 | fn get_average_normal(node:&Voxbit, normals:&Voxtree<Normal>, lod:&LOD, point:&Point)->Normal{
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `carve_out` is never used
[INFO] [stderr]    --> src/voxelizer.rs:329:8
[INFO] [stderr]     |
[INFO] [stderr] 329 | pub fn carve_out(node:&Voxbit, lod:&LOD)->Voxtree<bool>{
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `look_at` and `default` are never used
[INFO] [stderr]   --> src/camera.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Camera{
[INFO] [stderr]    | ----------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn look_at(&mut self, lookat:&Point){
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub fn default()->Camera{
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `at_pixel_up_y`, `get_view_lod`, and `get_required_lod` are never used
[INFO] [stderr]   --> src/screen.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Screen{
[INFO] [stderr]    | ----------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn at_pixel_up_y(&self, px:i64, py:i64)->Vector{
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     pub fn get_view_lod(&self)->LOD{
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn get_required_lod(&self, view_lod:u8, distance:f64)->i8{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `at_lod_length` is never used
[INFO] [stderr]   --> src/ray.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl Ray{
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn at_lod_length(&self, lod:&LOD, view_lod:&LOD, length:f64)->Vector{
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `PRECALCULATE_NORMALS` is never used
[INFO] [stderr]  --> src/constants.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub static PRECALCULATE_NORMALS:bool = true;
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `USE_GAMMA_CORRECTION` is never used
[INFO] [stderr]  --> src/constants.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub static USE_GAMMA_CORRECTION:bool = false;
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `SMOOTHEN_NORMALS` is never used
[INFO] [stderr]  --> src/constants.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub static SMOOTHEN_NORMALS:bool = true;
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `SMOOTHING_ITERATION` is never used
[INFO] [stderr]  --> src/constants.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub static SMOOTHING_ITERATION:usize = 0;
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `MORTON_BASE` is never used
[INFO] [stderr]   --> src/constants.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub static MORTON_BASE:u8 = 1; //(BASE/2)
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `inc` and `from_volume` are never used
[INFO] [stderr]   --> src/lod.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl LOD{
[INFO] [stderr]    | -------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn inc(&mut self, inc:u8){
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     pub fn from_volume(volume:u64)->LOD{
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Voxgrid` is never constructed
[INFO] [stderr]  --> src/voxel/voxgrid.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct Voxgrid<T>{
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Voxstream` is never constructed
[INFO] [stderr]  --> src/voxel/voxstream.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Voxstream<T>{
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get_tree`, `total_ones`, `insert_root`, and `get_content` are never used
[INFO] [stderr]   --> src/voxel/voxstream.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl <T> Voxstream<T>{
[INFO] [stderr]    | --------------------- associated items in this implementation
[INFO] [stderr] 13 |     
[INFO] [stderr] 14 |     pub fn new()->Self{
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 19 |     fn get_tree(&self, location:&Vec<u64>)->&Self{
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     pub fn total_ones(&self, required_lod: &LOD)->usize{
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub fn insert_root(&mut self){
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 61 |     pub fn get_content(&self, location:&Vec<u64>)->&T{
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> src/neighbors.rs:389:17
[INFO] [stderr]     |
[INFO] [stderr] 389 |                 max_dot == dot;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 389 |                 let _ = max_dot == dot;
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/renderer.rs:102:13
[INFO] [stderr]     |
[INFO] [stderr] 102 |             tx.send((start, end, line, durations));
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 102 |             let _ = tx.send((start, end, line, durations));
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> examples/render_complex256.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::Thread`
[INFO] [stderr]  --> examples/render_complex256.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::thread::Thread;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f64::consts`
[INFO] [stderr]  --> examples/render_complex256.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::f64::consts;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::ray::Ray`
[INFO] [stderr]   --> examples/render_complex256.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use balisong::ray::Ray;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::vector::Vector`
[INFO] [stderr]   --> examples/render_complex256.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use balisong::vector::Vector;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::color::Color`
[INFO] [stderr]   --> examples/render_complex256.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use balisong::color::Color;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Sphere`
[INFO] [stderr]   --> examples/render_complex256.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use balisong::shape::Sphere;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Cube`
[INFO] [stderr]   --> examples/render_complex256.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use balisong::shape::Cube;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Shape`
[INFO] [stderr]   --> examples/render_complex256.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use balisong::shape::Shape;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::voxelizer`
[INFO] [stderr]   --> examples/render_complex256.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use balisong::voxelizer;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::lod::LOD`
[INFO] [stderr]   --> examples/render_complex256.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use balisong::lod::LOD;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> examples/render_complex256.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let r = limit as u64 / 4 as u64;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `center`
[INFO] [stderr]   --> examples/render_complex256.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let center = Point::new(cx, cy, cz);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `voxel_grid_size`
[INFO] [stderr]   --> examples/render_complex256.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> examples/render_hairball.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::Thread`
[INFO] [stderr]  --> examples/render_hairball.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::thread::Thread;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f64::consts`
[INFO] [stderr]  --> examples/render_hairball.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::f64::consts;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::ray::Ray`
[INFO] [stderr]   --> examples/render_hairball.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use balisong::ray::Ray;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::vector::Vector`
[INFO] [stderr]   --> examples/render_hairball.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use balisong::vector::Vector;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::color::Color`
[INFO] [stderr]   --> examples/render_hairball.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use balisong::color::Color;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Sphere`
[INFO] [stderr]   --> examples/render_hairball.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use balisong::shape::Sphere;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Cube`
[INFO] [stderr]   --> examples/render_hairball.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use balisong::shape::Cube;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Shape`
[INFO] [stderr]   --> examples/render_hairball.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use balisong::shape::Shape;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::voxelizer`
[INFO] [stderr]   --> examples/render_hairball.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use balisong::voxelizer;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::lod::LOD`
[INFO] [stderr]   --> examples/render_hairball.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use balisong::lod::LOD;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> examples/render_hairball.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let r = limit as u64 / 4 as u64;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `center`
[INFO] [stderr]   --> examples/render_hairball.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let center = Point::new(cx, cy, cz);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `voxel_grid_size`
[INFO] [stderr]   --> examples/render_hairball.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `index` is assigned to, but never used
[INFO] [stderr]  --> examples/print_morton_64bit.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let mut index = 0;
[INFO] [stderr]   |             ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: consider using `_index` instead
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> examples/render_complex10.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::Thread`
[INFO] [stderr]  --> examples/render_complex10.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::thread::Thread;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f64::consts`
[INFO] [stderr]  --> examples/render_complex10.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::f64::consts;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::ray::Ray`
[INFO] [stderr]   --> examples/render_complex10.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use balisong::ray::Ray;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::vector::Vector`
[INFO] [stderr]   --> examples/render_complex10.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use balisong::vector::Vector;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::color::Color`
[INFO] [stderr]   --> examples/render_complex10.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use balisong::color::Color;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Sphere`
[INFO] [stderr]   --> examples/render_complex10.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use balisong::shape::Sphere;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Cube`
[INFO] [stderr]   --> examples/render_complex10.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use balisong::shape::Cube;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::shape::Shape`
[INFO] [stderr]   --> examples/render_complex10.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use balisong::shape::Shape;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::voxelizer`
[INFO] [stderr]   --> examples/render_complex10.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use balisong::voxelizer;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `balisong::lod::LOD`
[INFO] [stderr]   --> examples/render_complex10.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use balisong::lod::LOD;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> examples/render_complex10.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let r = limit as u64 / 4 as u64;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `center`
[INFO] [stderr]   --> examples/render_complex10.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let center = Point::new(cx, cy, cz);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `voxel_grid_size`
[INFO] [stderr]   --> examples/render_complex10.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let voxel_grid_size = limit * limit * limit;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_voxel_grid_size`
[INFO] [stderr] 
[INFO] [stderr] warning: `balisong` (example "render_complex64") generated 14 warnings (run `cargo fix --example "render_complex64"` to apply 14 suggestions)
[INFO] [stderr] warning: `balisong` (example "render_ktm_side") generated 15 warnings (run `cargo fix --example "render_ktm_side"` to apply 15 suggestions)
[INFO] [stderr] warning: `balisong` (bin "balisong" test) generated 97 warnings (59 duplicates) (run `cargo fix --bin "balisong" --tests` to apply 8 suggestions)
[INFO] [stderr] warning: `balisong` (example "render_complex256") generated 14 warnings (run `cargo fix --example "render_complex256"` to apply 14 suggestions)
[INFO] [stderr] warning: `balisong` (example "render_hairball") generated 14 warnings (run `cargo fix --example "render_hairball"` to apply 14 suggestions)
[INFO] [stderr] warning: `balisong` (example "print_morton_64bit") generated 1 warning
[INFO] [stderr] warning: `balisong` (example "render_complex10") generated 14 warnings (run `cargo fix --example "render_complex10"` to apply 14 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/balisong-916a06a0f675e5c7)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test location::test_morton_8 ... ok
[INFO] [stdout] test morton::test_morton_64bit ... ok
[INFO] [stdout] test morton::test_morton_64bit_all ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_base ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_ok_lesser_base2 ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_ok_lesser_base3 ... ok
[INFO] [stdout] test morton::test_morton_64bit_ok ... ok
[INFO] [stdout] test morton::test_morton_8bit_4 ... ok
[INFO] [stdout] test morton::test_morton_8bit_all ... ok
[INFO] [stdout] test morton::test_morton_8bit_all_ok_greater_base ... ok
[INFO] [stdout] test morton::test_morton_8bit_5 ... ok
[INFO] [stdout] test morton::test_morton_8bit_all_base ... ok
[INFO] [stdout] test morton::test_morton_8bit_all_ok_lesser_base ... ok
[INFO] [stdout] test morton::test_morton_8bit ... ok
[INFO] [stdout] test location::test_location_conversion_linear ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_fail_lesser_base1 - should panic ... ok
[INFO] [stdout] test morton::test_morton_64bit_fail - should panic ... ok
[INFO] [stdout] test morton::test_morton_8bit_fail - should panic ... ok
[INFO] [stdout] test location::test_location_conversion_orig ... ok
[INFO] [stdout] test location::test_location_conversion_morton ... ok
[INFO] [stdout] test location::test_location_conversion ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/balisong-936f9abb9be8e2ce)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test morton::test_morton_64bit ... ok
[INFO] [stdout] test location::test_morton_8 ... ok
[INFO] [stdout] test morton::test_morton_64bit_all ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_base ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_ok_lesser_base2 ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_ok_lesser_base3 ... ok
[INFO] [stdout] test morton::test_morton_64bit_ok ... ok
[INFO] [stdout] test morton::test_morton_8bit ... ok
[INFO] [stdout] test morton::test_morton_8bit_4 ... ok
[INFO] [stdout] test morton::test_morton_8bit_5 ... ok
[INFO] [stdout] test morton::test_morton_8bit_all_ok_greater_base ... ok
[INFO] [stdout] test morton::test_morton_8bit_all ... ok
[INFO] [stdout] test morton::test_morton_8bit_all_ok_lesser_base ... ok
[INFO] [stdout] test morton::test_morton_8bit_all_base ... ok
[INFO] [stdout] test location::test_location_conversion_linear ... ok
[INFO] [stdout] test morton::test_morton_64bit_all_fail_lesser_base1 - should panic ... ok
[INFO] [stdout] test morton::test_morton_64bit_fail - should panic ... ok
[INFO] [stdout] test morton::test_morton_8bit_fail - should panic ... ok
[INFO] [stdout] test location::test_location_conversion_orig ... ok
[INFO] [stdout] test location::test_location_conversion_morton ... ok
[INFO] [stdout] test location::test_location_conversion ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests balisong
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]    --> src/location.rs:104:14
[INFO] [stderr]     |
[INFO] [stderr] 104 |     for i in (1..lod.lod+1){
[INFO] [stderr]     |              ^            ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 104 -     for i in (1..lod.lod+1){
[INFO] [stderr] 104 +     for i in 1..lod.lod+1 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/location.rs:160:14
[INFO] [stderr]     |
[INFO] [stderr] 160 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr]     |              ^                                                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 160 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr] 160 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/location.rs:161:14
[INFO] [stderr]     |
[INFO] [stderr] 161 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr]     |              ^                                                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 161 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr] 161 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/location.rs:162:14
[INFO] [stderr]     |
[INFO] [stderr] 162 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr]     |              ^                                                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 162 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr] 162 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/voxelizer.rs:13:56
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stderr]    |                                                        ^               ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 13 - pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->(Voxtree<Normal>){
[INFO] [stderr] 13 + pub fn voxelize<T:Shape> (required_lod:&LOD, shape:T)->Voxtree<Normal>{
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/morton.rs:10:14
[INFO] [stderr]    |
[INFO] [stderr] 10 |         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr]    |              ^                                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 10 -         x |= ((morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i);
[INFO] [stderr] 10 +         x |= (morton & ( 1  << 3 * i + 0)) >> ((3 * i) + 0)-i;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/morton.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 |         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr]    |              ^                                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 11 -         y |= ((morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i);
[INFO] [stderr] 11 +         y |= (morton & ( 1  << 3 * i + 1)) >> ((3 * i) + 1)-i;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/morton.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 |         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr]    |              ^                                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 12 -         z |= ((morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i);
[INFO] [stderr] 12 +         z |= (morton & ( 1  << 3 * i + 2)) >> ((3 * i) + 2)-i;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "aa4cbfaf89904e04cc60dd21495d5df9acf815c54e4c24e607013a5a9d9b43ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa4cbfaf89904e04cc60dd21495d5df9acf815c54e4c24e607013a5a9d9b43ea", kill_on_drop: false }`
[INFO] [stdout] aa4cbfaf89904e04cc60dd21495d5df9acf815c54e4c24e607013a5a9d9b43ea
[INFO] testing ivanceras/balisong against beta-2024-01-09 for beta-1.76-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fbalisong" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ivanceras/balisong on toolchain beta-2024-01-09
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-01-09" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ivanceras/balisong
[INFO] finished tweaking git repo https://github.com/ivanceras/balisong
[INFO] tweaked toml for git repo https://github.com/ivanceras/balisong written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ivanceras/balisong 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" "+beta-2024-01-09" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (num) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+beta-2024-01-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 992913f8056c0f0dd1d9a6c5909eea09254added7e36657de701d1ca8a72a3da
[INFO] running `Command { std: "docker" "start" "-a" "992913f8056c0f0dd1d9a6c5909eea09254added7e36657de701d1ca8a72a3da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "992913f8056c0f0dd1d9a6c5909eea09254added7e36657de701d1ca8a72a3da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "992913f8056c0f0dd1d9a6c5909eea09254added7e36657de701d1ca8a72a3da", kill_on_drop: false }`
[INFO] [stdout] 992913f8056c0f0dd1d9a6c5909eea09254added7e36657de701d1ca8a72a3da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-01-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a925e56dbe7798f4cfcbbcb6d530c7ffa65780de26fb7e2816f64ada37da825
[INFO] running `Command { std: "docker" "start" "-a" "4a925e56dbe7798f4cfcbbcb6d530c7ffa65780de26fb7e2816f64ada37da825", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (num) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling libc v0.2.18
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling rustc-serialize v0.3.22
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.22/src/serialize.rs:1155:5
[INFO] [stdout]      |
[INFO] [stdout] 1155 |     fn decode<D: Decoder>(d: &mut D) -> Result<Cow<'static, T>, D::Error> {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     the parameter type `T` must be valid for the static lifetime...
[INFO] [stdout]      |     ...so that the type `T` will meet its required lifetime bounds...
[INFO] [stdout]      |
[INFO] [stdout] note: ...that is required by this bound
[INFO] [stdout]     --> /rustc/650745ceb2ae60e04f8cd7bfb671fc37239533e4/library/alloc/src/borrow.rs:180:30
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]      |
[INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T>
[INFO] [stdout]      |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling time v0.1.35
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "4a925e56dbe7798f4cfcbbcb6d530c7ffa65780de26fb7e2816f64ada37da825", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a925e56dbe7798f4cfcbbcb6d530c7ffa65780de26fb7e2816f64ada37da825", kill_on_drop: false }`
[INFO] [stdout] 4a925e56dbe7798f4cfcbbcb6d530c7ffa65780de26fb7e2816f64ada37da825
