[INFO] cloning repository https://github.com/pentagolo/blocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pentagolo/blocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentagolo%2Fblocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentagolo%2Fblocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e5d3e0887f74cffd6c97bf82f1d39e8c5a2d600 [INFO] testing pentagolo/blocks against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentagolo%2Fblocks" "/workspace/builds/worker-78/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-78/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pentagolo/blocks on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-78/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18e749dfd48ef2c134db7ba1e9caf930f5c18b108f2613bf08e6cbeb4995bf73 [INFO] running `Command { std: "docker" "start" "-a" "18e749dfd48ef2c134db7ba1e9caf930f5c18b108f2613bf08e6cbeb4995bf73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18e749dfd48ef2c134db7ba1e9caf930f5c18b108f2613bf08e6cbeb4995bf73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e749dfd48ef2c134db7ba1e9caf930f5c18b108f2613bf08e6cbeb4995bf73", kill_on_drop: false }` [INFO] [stdout] 18e749dfd48ef2c134db7ba1e9caf930f5c18b108f2613bf08e6cbeb4995bf73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08906c9b83b572f289764470dd37f7d4b802e0017dd292a4a1fa8a300910ee12 [INFO] running `Command { std: "docker" "start" "-a" "08906c9b83b572f289764470dd37f7d4b802e0017dd292a4a1fa8a300910ee12", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v0.8.20 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling adler32 v0.3.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num_cpus v1.2.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling deflate v0.7.2 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling nalgebra v0.10.1 [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] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 441 | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] | ____________________________________________________________________________________^ [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 = ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 437 | | [INFO] [stdout] 438 | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 439 | | [INFO] [stdout] 440 ~ ((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] | |________________^ [INFO] [stdout] ... [INFO] [stdout] 485 | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 486 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 ~ let index = ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 481 | | [INFO] [stdout] 482 | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 483 | | [INFO] [stdout] 484 ~ ((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] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 528 | ((pos.z & CHUNK_SIDE_MASK) as u16) << (2 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 529 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 523 ~ let index = ((pos.x & CHUNK_SIDE_MASK) as u16) << (0 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 524 | | [INFO] [stdout] 525 | ((pos.y & CHUNK_SIDE_MASK) as u16) << (1 * CHUNK_SIDE_LEN_LOG2) [INFO] [stdout] 526 | | [INFO] [stdout] 527 ~ ((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] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 648 | (-origin.z * (deltas[i].z as f64)).ceil() as i64 [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 649 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 643 ~ dists[i] = (-origin.x * (deltas[i].x as f64)).ceil() as i64 [INFO] [stdout] 644 | + [INFO] [stdout] 645 | (-origin.y * (deltas[i].y as f64)).ceil() as i64 [INFO] [stdout] 646 | + [INFO] [stdout] 647 ~ (-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] | |________________^ [INFO] [stdout] ... [INFO] [stdout] 669 | ((dist * ((1 << 28) as f64)).ceil() as i64) [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 670 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 662 ~ dists[4] = (-origin.x * (deltas[4].x as f64)).ceil() as i64 [INFO] [stdout] 663 | + [INFO] [stdout] 664 | (-origin.y * (deltas[4].y as f64)).ceil() as i64 [INFO] [stdout] 665 | + [INFO] [stdout] 666 | (-origin.z * (deltas[4].z as f64)).ceil() as i64 [INFO] [stdout] 667 | + [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:25 [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] 545 | | for y in 0..5u32 { [INFO] [stdout] 546 | | for x in 0..5u32 { [INFO] [stdout] 547 | | let d = na::Vector3::new(x.wrapping_sub(2), y.wrapping_sub(2), z.wrapping_sub(2)); [INFO] [stdout] ... | [INFO] [stdout] 553 | | } [INFO] [stdout] 554 | | } [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 | ... 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 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 src/main.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | ...: 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 | ...8, 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 status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.blocks.ade5c16a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee.4cxxvqeohs1h37kr.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libimage-1701733fd04d2358.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-772b83aa7b886a32.rlib" "/opt/rustwide/target/debug/deps/libgif-51543f2898bf6d41.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-00a88d686431ce58.rlib" "/opt/rustwide/target/debug/deps/liblzw-7b67818fa924d644.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-8867233f51b8981b.rlib" "/opt/rustwide/target/debug/deps/librayon-4039e996be12e940.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-2a9fe2fb3f588435.rlib" "/opt/rustwide/target/debug/deps/libdeque-019307400e8425c4.rlib" "/opt/rustwide/target/debug/deps/libpng-8e6bd3adbe1d5922.rlib" "/opt/rustwide/target/debug/deps/libdeflate-dc573d71a7f19154.rlib" "/opt/rustwide/target/debug/deps/libadler32-d2ca316696458677.rlib" "/opt/rustwide/target/debug/deps/libinflate-aa6cf723bd226a65.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-f6c36b9301ce24c7.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f995c68fedb10eb3.rlib" "/opt/rustwide/target/debug/deps/libnalgebra-b095780f3ee3664a.rlib" "/opt/rustwide/target/debug/deps/libnum-fa64dc699f5e8e3c.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-a0e9833315c6d166.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-9e26531fa3100f5c.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-1414bcbb691345aa.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-e969d69ee9f4d60b.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-db13333060ad6b2f.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-aa401973396c5141.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-8671410fdbb26149.rlib" "/opt/rustwide/target/debug/deps/libglium-eb9438e791e7321e.rlib" "/opt/rustwide/target/debug/deps/libglutin-5d46bd541d278329.rlib" "/opt/rustwide/target/debug/deps/libwayland_window-5be1c76a2f084549.rlib" "/opt/rustwide/target/debug/deps/libtempfile-fc8ed251b5038d72.rlib" "/opt/rustwide/target/debug/deps/librand-22c3b457f682b65c.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f7a78ccb944e69cd.rlib" "/opt/rustwide/target/debug/deps/libwayland_kbd-e63818e445546b8c.rlib" "/opt/rustwide/target/debug/deps/libmemmap-c74755ced3c53b10.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-b8f89a07336d1d8b.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-46596a2614936122.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-e251ff7023d05e2d.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-61a0d13503f44696.rlib" "/opt/rustwide/target/debug/deps/libdlib-7f13139abfae96d9.rlib" "/opt/rustwide/target/debug/deps/liblibloading-030375522d5a5323.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-3b2e0e67da99d2eb.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e0f7dbb2934afe82.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-847f4b063e4aa239.rlib" "/opt/rustwide/target/debug/deps/libshared_library-a6d4bc6d0f97c2a9.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-4922dee2c0fe5f2e.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-dc8ce84483fed65d.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-a8ba2d870a4c0ff8.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-27e609617fffd9ba.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-54fc4b981caf04b1.rlib" "/opt/rustwide/target/debug/deps/libdbghelp-1b8c89a4415b9ce8.rlib" "/opt/rustwide/target/debug/deps/libwinapi-4d42a927084ddbff.rlib" "/opt/rustwide/target/debug/deps/libkernel32-1cb31e1f8a5753d0.rlib" "/opt/rustwide/target/debug/deps/liblibc-91d676c0f1ac80f2.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-4fb368957abad32a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/blocks-eed9307c3dd743ee" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libbacktrace-dc8ce84483fed65d.rlib(backtrace-dc8ce84483fed65d.backtrace.4f97555e-cgu.12.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-dc8ce84483fed65d.rlib(backtrace-dc8ce84483fed65d.backtrace.4f97555e-cgu.12.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] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [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` due to 2 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08906c9b83b572f289764470dd37f7d4b802e0017dd292a4a1fa8a300910ee12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08906c9b83b572f289764470dd37f7d4b802e0017dd292a4a1fa8a300910ee12", kill_on_drop: false }` [INFO] [stdout] 08906c9b83b572f289764470dd37f7d4b802e0017dd292a4a1fa8a300910ee12