[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentagolo%2Fblocks" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pentagolo/blocks on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-1/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gleam v0.2.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1dda4bb89e3617a15bca46b41f846f71884b56985413f7588bf82fcbb342665 [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" "c1dda4bb89e3617a15bca46b41f846f71884b56985413f7588bf82fcbb342665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1dda4bb89e3617a15bca46b41f846f71884b56985413f7588bf82fcbb342665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1dda4bb89e3617a15bca46b41f846f71884b56985413f7588bf82fcbb342665", kill_on_drop: false }` [INFO] [stdout] c1dda4bb89e3617a15bca46b41f846f71884b56985413f7588bf82fcbb342665 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a4eedb1b0c03cb60a3f1f9f7046be4a7107919a3017df549dd5396cf835e64 [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" "07a4eedb1b0c03cb60a3f1f9f7046be4a7107919a3017df549dd5396cf835e64", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v0.8.20 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling adler32 v0.3.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling deflate v0.7.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling image v0.12.1 [INFO] [stderr] Compiling nalgebra v0.10.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-kbd v0.3.6 [INFO] [stderr] Compiling wayland-window v0.2.3 [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 = ((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] 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 = ((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] 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 = ((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] 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] = (-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] 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] = (-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: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 | ... 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] warning: field is never read: `right_mouse_button_down` [INFO] [stdout] --> src/camera.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | right_mouse_button_down: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-905ac9e54545f2e8.blocks.e029b108-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.blocks.e029b108-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8.4abvpnzkgz4fc7f9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libimage-ccc610df2a168999.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-406a4d6f79b2a797.rlib" "/opt/rustwide/target/debug/deps/libgif-2709fda9d0086e2d.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-3d3ec445f4ed8c15.rlib" "/opt/rustwide/target/debug/deps/liblzw-ea9e0ef2ed832b20.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-61bb07c6aaab33dd.rlib" "/opt/rustwide/target/debug/deps/librayon-ac5f32ea2791834f.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-d2c6c89248aa9e5c.rlib" "/opt/rustwide/target/debug/deps/libdeque-884d5410b8a272c0.rlib" "/opt/rustwide/target/debug/deps/libpng-c4da7d3c3e77ef20.rlib" "/opt/rustwide/target/debug/deps/libdeflate-ef84510aa370d896.rlib" "/opt/rustwide/target/debug/deps/libadler32-6812c1b8a6d000ce.rlib" "/opt/rustwide/target/debug/deps/libinflate-0051774a83714658.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-f62a8ad76999a58b.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-07c204ff229ef2c8.rlib" "/opt/rustwide/target/debug/deps/libnalgebra-29f471131a1f4a08.rlib" "/opt/rustwide/target/debug/deps/libnum-699685f9de534e96.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-f5a6a5ccb9a35757.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-7ed83697a7e361dd.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-e7440b17acc5d9e9.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-fb5d95ae62d75f3f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-02dbaa4126695595.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7ad53993be2f3577.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-7d954fdcdeae440c.rlib" "/opt/rustwide/target/debug/deps/libglium-349db6552c0b8e0c.rlib" "/opt/rustwide/target/debug/deps/libglutin-ec2df60ed485303c.rlib" "/opt/rustwide/target/debug/deps/libwayland_window-c5e39065bcf51bae.rlib" "/opt/rustwide/target/debug/deps/libtempfile-b772388d10f75e8a.rlib" "/opt/rustwide/target/debug/deps/librand-5c3cfb25d89222c8.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-1831721e8a68023c.rlib" "/opt/rustwide/target/debug/deps/libwayland_kbd-d3e9b11bdfbc443a.rlib" "/opt/rustwide/target/debug/deps/libmemmap-930bdc6c22f5fd60.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-08fbe2d8c3fb84ae.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-a9df1910154e4f49.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-eabaf3feff4c5e1d.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-459da1343fe0e872.rlib" "/opt/rustwide/target/debug/deps/libdlib-19af6a065c4f0086.rlib" "/opt/rustwide/target/debug/deps/liblibloading-7b101f42c353c86d.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-180e5efc8f38a49f.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80053f417b3b3269.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-033a3220991f002f.rlib" "/opt/rustwide/target/debug/deps/libshared_library-7787fefd61103b03.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-ef315dbf249d7311.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-382974ca9f36ab28.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-145f8fa31d3f989c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-b6b68660676f275d.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-3562bf65d9243e05.rlib" "/opt/rustwide/target/debug/deps/libdbghelp-f8afcf81f7518078.rlib" "/opt/rustwide/target/debug/deps/libwinapi-752b8c6fa8b80860.rlib" "/opt/rustwide/target/debug/deps/libkernel32-eb9071fb75aa08cb.rlib" "/opt/rustwide/target/debug/deps/liblibc-c98f1c265f8668d0.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f7399d2cd8e24511.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.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/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/blocks-905ac9e54545f2e8" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libbacktrace-382974ca9f36ab28.rlib(backtrace-382974ca9f36ab28.backtrace.bf03ca47-cgu.11.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-382974ca9f36ab28.rlib(backtrace-382974ca9f36ab28.backtrace.bf03ca47-cgu.11.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; 32 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" "07a4eedb1b0c03cb60a3f1f9f7046be4a7107919a3017df549dd5396cf835e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a4eedb1b0c03cb60a3f1f9f7046be4a7107919a3017df549dd5396cf835e64", kill_on_drop: false }` [INFO] [stdout] 07a4eedb1b0c03cb60a3f1f9f7046be4a7107919a3017df549dd5396cf835e64