[INFO] updating cached repository https://github.com/pentagolo/blocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e5d3e0887f74cffd6c97bf82f1d39e8c5a2d600 [INFO] testing pentagolo/blocks against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentagolo%2Fblocks" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pentagolo/blocks on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pentagolo/blocks [INFO] finished tweaking git repo https://github.com/pentagolo/blocks [INFO] tweaked toml for git repo https://github.com/pentagolo/blocks written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/pentagolo/blocks already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20f4e14b51f8981dd7f0aa6c31f7a71863cbdb558749af5c9979ba9d98d60c5c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "20f4e14b51f8981dd7f0aa6c31f7a71863cbdb558749af5c9979ba9d98d60c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20f4e14b51f8981dd7f0aa6c31f7a71863cbdb558749af5c9979ba9d98d60c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f4e14b51f8981dd7f0aa6c31f7a71863cbdb558749af5c9979ba9d98d60c5c", kill_on_drop: false }` [INFO] [stdout] 20f4e14b51f8981dd7f0aa6c31f7a71863cbdb558749af5c9979ba9d98d60c5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd0a0726f1fb1ab73477596be58bdccc1742ffb543b98fac078f551334adad7f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cd0a0726f1fb1ab73477596be58bdccc1742ffb543b98fac078f551334adad7f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling serde v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Compiling adler32 v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling deflate v0.7.2 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling num_cpus v1.2.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling nalgebra v0.10.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling image v0.12.1 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.5.11 [INFO] [stderr] Compiling wayland-window v0.2.3 [INFO] [stderr] Compiling wayland-kbd v0.3.6 [INFO] [stderr] Compiling blocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/boxtree.rs:436:29 [INFO] [stdout] | [INFO] [stdout] 436 | let index = ( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 437 | | ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 438 | | | [INFO] [stdout] 439 | | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 440 | | | [INFO] [stdout] 441 | | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 442 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 436 | let index = [INFO] [stdout] 437 | ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 438 | | [INFO] [stdout] 439 | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 440 | | [INFO] [stdout] 441 | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/boxtree.rs:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | let index = ( [INFO] [stdout] | _________________________^ [INFO] [stdout] 481 | | ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 482 | | | [INFO] [stdout] 483 | | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 484 | | | [INFO] [stdout] 485 | | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 486 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 | let index = [INFO] [stdout] 481 | ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 482 | | [INFO] [stdout] 483 | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 484 | | [INFO] [stdout] 485 | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/boxtree.rs:523:29 [INFO] [stdout] | [INFO] [stdout] 523 | let index = ( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 524 | | ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 525 | | | [INFO] [stdout] 526 | | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 527 | | | [INFO] [stdout] 528 | | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 529 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 523 | let index = [INFO] [stdout] 524 | ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 525 | | [INFO] [stdout] 526 | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 527 | | [INFO] [stdout] 528 | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/boxtree.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | dists[i] = ( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 644 | | (-origin.x * (deltas[i].x as f64)).ceil() as i64 [INFO] [stdout] 645 | | + [INFO] [stdout] 646 | | (-origin.y * (deltas[i].y as f64)).ceil() as i64 [INFO] [stdout] 647 | | + [INFO] [stdout] 648 | | (-origin.z * (deltas[i].z as f64)).ceil() as i64 [INFO] [stdout] 649 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 643 | dists[i] = [INFO] [stdout] 644 | (-origin.x * (deltas[i].x as f64)).ceil() as i64 [INFO] [stdout] 645 | + [INFO] [stdout] 646 | (-origin.y * (deltas[i].y as f64)).ceil() as i64 [INFO] [stdout] 647 | + [INFO] [stdout] 648 | (-origin.z * (deltas[i].z as f64)).ceil() as i64 [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/boxtree.rs:662:24 [INFO] [stdout] | [INFO] [stdout] 662 | dists[4] = ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 663 | | (-origin.x * (deltas[4].x as f64)).ceil() as i64 [INFO] [stdout] 664 | | + [INFO] [stdout] 665 | | (-origin.y * (deltas[4].y as f64)).ceil() as i64 [INFO] [stdout] ... | [INFO] [stdout] 669 | | ((dist * ((1 << 28) as f64)).ceil() as i64) [INFO] [stdout] 670 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 662 | dists[4] = [INFO] [stdout] 663 | (-origin.x * (deltas[4].x as f64)).ceil() as i64 [INFO] [stdout] 664 | + [INFO] [stdout] 665 | (-origin.y * (deltas[4].y as f64)).ceil() as i64 [INFO] [stdout] 666 | + [INFO] [stdout] 667 | (-origin.z * (deltas[4].z as f64)).ceil() as i64 [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra as na` [INFO] [stdout] --> src/boxmodel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `boxtree` [INFO] [stdout] --> src/boxmodel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use boxtree; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Seek` [INFO] [stdout] --> src/boxmodel.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Seek}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/boxmodel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/main.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/boxtree.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 539 | panic!("not jet supported {} {} {:b} {:b}", chunk, pos, orig_leaf.value, new_leaf.value); [INFO] [stdout] | ----------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 540 | self.chunks_.get_unchecked_mut(chunk as usize).get_unchecked_mut(index as usize).set_surface(orig_leaf.is_surface()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/boxtree.rs:544:34 [INFO] [stdout] | [INFO] [stdout] 543 | panic!("usage of transparent data not jet supported"); [INFO] [stdout] | ------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 544 | for z in 0..5u32 { [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | let mut images = (0..256).map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf` [INFO] [stdout] --> src/main.rs:115:98 [INFO] [stdout] | [INFO] [stdout] 115 | box_tree.cast_view(origin, planes, max_dist as f64, &mut |box_pos: na::Vector3, leaf| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn compress(&mut self, pos: na::Vector3, depth: u8, chunk: &boxtree::Chunk) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/main.rs:22:55 [INFO] [stdout] | [INFO] [stdout] 22 | fn compress(&mut self, pos: na::Vector3, depth: u8, chunk: &boxtree::Chunk) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/main.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | fn compress(&mut self, pos: na::Vector3, depth: u8, chunk: &boxtree::Chunk) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn decompress(&mut self, pos: na::Vector3, depth: u8, leaf: boxtree::HiddenLeaf, chunk: &mut boxtree::Chunk) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/main.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | fn decompress(&mut self, pos: na::Vector3, depth: u8, leaf: boxtree::HiddenLeaf, chunk: &mut boxtree::Chunk) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf` [INFO] [stdout] --> src/main.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | fn decompress(&mut self, pos: na::Vector3, depth: u8, leaf: boxtree::HiddenLeaf, chunk: &mut boxtree::Chunk) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/main.rs:25:95 [INFO] [stdout] | [INFO] [stdout] 25 | fn decompress(&mut self, pos: na::Vector3, depth: u8, leaf: boxtree::HiddenLeaf, chunk: &mut boxtree::Chunk) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/boxtree.rs:455:43 [INFO] [stdout] | [INFO] [stdout] 455 | pub unsafe fn neighbor_mut(&mut self, index: u16, mut pos: na::Vector3, dir: na::Vector3) -> &mut Child { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/boxtree.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub fn set_void_at_pos(&mut self, pos: na::Vector3) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `norm` [INFO] [stdout] --> src/boxmodel.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let norm = [pos[0] - 0.5, pos[1] - 0.5, pos[2] - 0.5]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_norm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut time = Instant::now(); [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/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut per_instance = { [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:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | for mut p in planes.iter_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boxtree.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { self.set_box_spec_unmasked(box_spec & BOX_SPEC_BIT_MASK); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boxtree.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { self.set_ext_spec_unmasked(ext_spec & (BOX_SPEC_BIT_MASK | SOLID_BIT_MASK)); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boxtree.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { self.set_node_index_unmasked(node_index & NODE_INDEX_BIT_MASK); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `compression_` [INFO] [stdout] --> src/boxtree.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | compression_: C, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.blocks.1lrk4y70-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d" "/opt/rustwide/target/debug/deps/blocks-ab1d310b252f900d.1xohjqiocssnw13y.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libimage-448915e00216ea8b.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-8668534f79582aee.rlib" "/opt/rustwide/target/debug/deps/libgif-1f81bbff90ce429a.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-e4f662233de57dd4.rlib" "/opt/rustwide/target/debug/deps/liblzw-258df11cbdcd0b61.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-d66c45cf168ec9fe.rlib" "/opt/rustwide/target/debug/deps/librayon-a93eac20b974f7da.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-18d3b9755c98d528.rlib" "/opt/rustwide/target/debug/deps/libdeque-f926a12ac7049e5a.rlib" "/opt/rustwide/target/debug/deps/libpng-a3f61b1726d8b5fe.rlib" "/opt/rustwide/target/debug/deps/libdeflate-3d3f05172b906329.rlib" "/opt/rustwide/target/debug/deps/libadler32-21c648f7b7281990.rlib" "/opt/rustwide/target/debug/deps/libinflate-396c4b43ae7b2483.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-92068bddf822f1d1.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-7b7d4c1cf1b51873.rlib" "/opt/rustwide/target/debug/deps/libnalgebra-a75f636f69a38a38.rlib" "/opt/rustwide/target/debug/deps/libnum-86e2322f54e62637.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-6487f14f9fa379cd.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-34b7fee816f8a57d.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-277aab50abe3f69e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-958013e0f18940a4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-60341ae0bedeac5c.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-de483f475320e2d8.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-b62ff30fd8887c8c.rlib" "/opt/rustwide/target/debug/deps/libglium-cd58a08e334f92b1.rlib" "/opt/rustwide/target/debug/deps/libglutin-796d401686d4cd43.rlib" "/opt/rustwide/target/debug/deps/libwayland_window-25d110a4d6178c83.rlib" "/opt/rustwide/target/debug/deps/libtempfile-c0b4726c91bc75de.rlib" "/opt/rustwide/target/debug/deps/librand-0ade5ee10228e1af.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-25b43da44e7bda7c.rlib" "/opt/rustwide/target/debug/deps/libwayland_kbd-d8a9ea95802b10ee.rlib" "/opt/rustwide/target/debug/deps/libmemmap-7dda5cac2d18b277.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-aa4da54a5fab4c07.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-abb878ea9113b97c.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-24c0f8cbcb994322.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-a4e598766183d104.rlib" "/opt/rustwide/target/debug/deps/libdlib-da4bffd83851bd35.rlib" "/opt/rustwide/target/debug/deps/liblibloading-aa2a40878b46ee0c.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-c19298deeeede56c.rlib" "/opt/rustwide/target/debug/deps/libbitflags-12fb577444bcad11.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-3a0a7d459dca047c.rlib" "/opt/rustwide/target/debug/deps/libshared_library-f4f34b829791cdea.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-291b4ff20667b52b.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-164c8fff562edb82.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-2ef2214ee8f5407c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-78aeb5d56643d06e.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-30cba4ee85dcefbb.rlib" "/opt/rustwide/target/debug/deps/libdbghelp-25917302f706a38d.rlib" "/opt/rustwide/target/debug/deps/libwinapi-0f165c0ed5b63ae2.rlib" "/opt/rustwide/target/debug/deps/libkernel32-a7da0be504f2a82f.rlib" "/opt/rustwide/target/debug/deps/liblibc-ed671c4d701c0489.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-0aebb8ea9abcf480.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libbacktrace-164c8fff562edb82.rlib(backtrace-164c8fff562edb82.backtrace.98atielx-cgu.13.rcgu.o): in function `backtrace::symbolize::libbacktrace::init_state::{{closure}}': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.2.3/src/symbolize/libbacktrace.rs:150: undefined reference to `backtrace_create_state' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libbacktrace-164c8fff562edb82.rlib(backtrace-164c8fff562edb82.backtrace.98atielx-cgu.13.rcgu.o): in function `backtrace::symbolize::libbacktrace::resolve': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.2.3/src/symbolize/libbacktrace.rs:167: undefined reference to `backtrace_pcinfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.2.3/src/symbolize/libbacktrace.rs:171: undefined reference to `backtrace_syminfo' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blocks`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cd0a0726f1fb1ab73477596be58bdccc1742ffb543b98fac078f551334adad7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0a0726f1fb1ab73477596be58bdccc1742ffb543b98fac078f551334adad7f", kill_on_drop: false }` [INFO] [stdout] cd0a0726f1fb1ab73477596be58bdccc1742ffb543b98fac078f551334adad7f