[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentagolo%2Fblocks" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pentagolo/blocks on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-6/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gleam v0.2.29 [INFO] [stderr] Downloaded nalgebra v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd49737c9aaaabbb3d015b74de1443b98ff31728ea16db3929efdcd790e0f8f [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" "7fd49737c9aaaabbb3d015b74de1443b98ff31728ea16db3929efdcd790e0f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd49737c9aaaabbb3d015b74de1443b98ff31728ea16db3929efdcd790e0f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd49737c9aaaabbb3d015b74de1443b98ff31728ea16db3929efdcd790e0f8f", kill_on_drop: false }` [INFO] [stdout] 7fd49737c9aaaabbb3d015b74de1443b98ff31728ea16db3929efdcd790e0f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5698061cd048985733a7266cd36f729b0db9844b6f78b09c345010368fa4e6fa [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" "5698061cd048985733a7266cd36f729b0db9844b6f78b09c345010368fa4e6fa", kill_on_drop: false }` [INFO] [stderr] Compiling serde v0.8.20 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling adler32 v0.3.0 [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 smallvec v0.1.8 [INFO] [stderr] Compiling num_cpus v1.2.1 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling deflate v0.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling nalgebra v0.10.1 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling image v0.12.1 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [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 = ((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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.blocks.07d22c8f-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473.14j53brdwaflkhzn.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libimage-1c292e00df20ab9b.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-edb18b30af2a7662.rlib" "/opt/rustwide/target/debug/deps/libgif-11f84411d783d7b1.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-5c88878427f5e119.rlib" "/opt/rustwide/target/debug/deps/liblzw-bf28a12cd9e5ee2b.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-036f7e7bb269674e.rlib" "/opt/rustwide/target/debug/deps/librayon-ccabff9d8aef0a30.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-0e9570ca5c8a1528.rlib" "/opt/rustwide/target/debug/deps/libdeque-6bce37501514dbda.rlib" "/opt/rustwide/target/debug/deps/libpng-d32c473e43e537b4.rlib" "/opt/rustwide/target/debug/deps/libdeflate-cc8b6e6e8fc7cc89.rlib" "/opt/rustwide/target/debug/deps/libadler32-91f237e6dd325cf2.rlib" "/opt/rustwide/target/debug/deps/libinflate-b9cf5c0e6ea67e03.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-5a7a5147c08425c8.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-16c41b766b53c371.rlib" "/opt/rustwide/target/debug/deps/libnalgebra-f7d37058c96fcde1.rlib" "/opt/rustwide/target/debug/deps/libnum-45ccb36fc9d51785.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-228a2219b2430505.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-3bd4f37483401c64.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-797480a7e78f7b25.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8b95d22092a8439a.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e291f3bcdd58d36f.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-64aad82bdd4bbfbe.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-0e10216c64e454b4.rlib" "/opt/rustwide/target/debug/deps/libglium-2b4dd2883241a8e6.rlib" "/opt/rustwide/target/debug/deps/libglutin-2862d93189adced6.rlib" "/opt/rustwide/target/debug/deps/libwayland_window-d05411f4bab42c15.rlib" "/opt/rustwide/target/debug/deps/libtempfile-56a82695d78e87d9.rlib" "/opt/rustwide/target/debug/deps/librand-38cb5ee1e530f28b.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-dee9f612019fe116.rlib" "/opt/rustwide/target/debug/deps/libwayland_kbd-7cedcbbb15816acb.rlib" "/opt/rustwide/target/debug/deps/libmemmap-eac64524f01fd1e9.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-7033c0dab3cd1fdc.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-f740249717ea402d.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-0e5121f1ab22ceb3.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-ea1dd145109d7244.rlib" "/opt/rustwide/target/debug/deps/libdlib-745cbfcc9d90b43d.rlib" "/opt/rustwide/target/debug/deps/liblibloading-687cd550eb6eed14.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-c627f0ff48c21f11.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b22133e6ab819f70.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-92a15dce179d8c16.rlib" "/opt/rustwide/target/debug/deps/libshared_library-20d5fbd2d438339e.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-9f03f23545b118d8.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-791cf215d17cac06.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-1070facfe5c9eae7.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-05b07151452f007a.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-33d6be977058b36c.rlib" "/opt/rustwide/target/debug/deps/libdbghelp-a84ca1bc5e51cf01.rlib" "/opt/rustwide/target/debug/deps/libwinapi-91b2b0ae1989e851.rlib" "/opt/rustwide/target/debug/deps/libkernel32-22de4dded38eac93.rlib" "/opt/rustwide/target/debug/deps/liblibc-bc65a03c243104c6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-d35d41b8217d9572.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/blocks-7e694c807ae7c473" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libbacktrace-791cf215d17cac06.rlib(backtrace-791cf215d17cac06.backtrace.ebe9bd80-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-791cf215d17cac06.rlib(backtrace-791cf215d17cac06.backtrace.ebe9bd80-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; 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" "5698061cd048985733a7266cd36f729b0db9844b6f78b09c345010368fa4e6fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5698061cd048985733a7266cd36f729b0db9844b6f78b09c345010368fa4e6fa", kill_on_drop: false }` [INFO] [stdout] 5698061cd048985733a7266cd36f729b0db9844b6f78b09c345010368fa4e6fa