[INFO] cloning repository https://github.com/fredrikjacobson/rusty-potree-converter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredrikjacobson/rusty-potree-converter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikjacobson%2Frusty-potree-converter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikjacobson%2Frusty-potree-converter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afd3e990b238c8315f4a3bb5b49c6541f7cd6b22 [INFO] testing fredrikjacobson/rusty-potree-converter against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikjacobson%2Frusty-potree-converter" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fredrikjacobson/rusty-potree-converter [INFO] finished tweaking git repo https://github.com/fredrikjacobson/rusty-potree-converter [INFO] tweaked toml for git repo https://github.com/fredrikjacobson/rusty-potree-converter written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fredrikjacobson/rusty-potree-converter on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fredrikjacobson/rusty-potree-converter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4370f6fa7b289f18f33c9cd406077ec7991f8e32b0e045db883ffeac449d52cc [INFO] running `Command { std: "docker" "start" "-a" "4370f6fa7b289f18f33c9cd406077ec7991f8e32b0e045db883ffeac449d52cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4370f6fa7b289f18f33c9cd406077ec7991f8e32b0e045db883ffeac449d52cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4370f6fa7b289f18f33c9cd406077ec7991f8e32b0e045db883ffeac449d52cc", kill_on_drop: false }` [INFO] [stdout] 4370f6fa7b289f18f33c9cd406077ec7991f8e32b0e045db883ffeac449d52cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 13d86d4940dfd6d15c645997c10f74f1932e5985e4de61efa75b9042e3299dc9 [INFO] running `Command { std: "docker" "start" "-a" "13d86d4940dfd6d15c645997c10f74f1932e5985e4de61efa75b9042e3299dc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ord_subset v3.1.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pcd-rs v0.9.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rusty-potree-converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `intensity` [INFO] [stdout] --> src/csv_reader.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let Point { x, y, z, intensity } = record; [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `intensity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_offset` and `get` are never used [INFO] [stdout] --> src/model/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 42 | impl Attributes { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_offset(&self, name: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn get(&self, name: String) -> Option<&Attribute> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_attribute` is never used [INFO] [stdout] --> src/model/metadata.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Attribute { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 32 | fn from_attribute(attribute: &InternalAttribute) -> Attribute { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/csv_reader.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | Int(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Intensity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Int(u8), [INFO] [stdout] 9 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/csv_reader.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Float(f32) [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Intensity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Float(f32) [INFO] [stdout] 10 + Float(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cubic_bounds`, `size_len`, and `point_per_leaf_node_limit` are never read [INFO] [stdout] --> src/potree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Potree { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub bounds: Bounds, [INFO] [stdout] 8 | cubic_bounds: Bounds, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | size_len: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | point_per_leaf_node_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model/hierarchy.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn gather_chunk(start: &Node, levels: usize) -> HierarchyChunk { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | fn gather_chunk(start: &Node, levels: usize) -> HierarchyChunk<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model/hierarchy.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn create_hierarchy_chunks(root: &Node, hierarchy_step_size: usize) -> Vec { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | fn create_hierarchy_chunks(root: &Node, hierarchy_step_size: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/writer.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new<'a>(buf_writer: &'a mut T) -> Writer { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new<'a>(buf_writer: &'a mut T) -> Writer<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.05s [INFO] running `Command { std: "docker" "inspect" "13d86d4940dfd6d15c645997c10f74f1932e5985e4de61efa75b9042e3299dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13d86d4940dfd6d15c645997c10f74f1932e5985e4de61efa75b9042e3299dc9", kill_on_drop: false }` [INFO] [stdout] 13d86d4940dfd6d15c645997c10f74f1932e5985e4de61efa75b9042e3299dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a3abcd1b722c8088ff9ae9b3793db6b4a019081dfa46c5a23a15875171e8fc8f [INFO] running `Command { std: "docker" "start" "-a" "a3abcd1b722c8088ff9ae9b3793db6b4a019081dfa46c5a23a15875171e8fc8f", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-potree-converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `intensity` [INFO] [stdout] --> src/csv_reader.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let Point { x, y, z, intensity } = record; [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `intensity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_offset` and `get` are never used [INFO] [stdout] --> src/model/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 42 | impl Attributes { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_offset(&self, name: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn get(&self, name: String) -> Option<&Attribute> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_attribute` is never used [INFO] [stdout] --> src/model/metadata.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Attribute { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 32 | fn from_attribute(attribute: &InternalAttribute) -> Attribute { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/csv_reader.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | Int(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Intensity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Int(u8), [INFO] [stdout] 9 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/csv_reader.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Float(f32) [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Intensity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Float(f32) [INFO] [stdout] 10 + Float(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cubic_bounds`, `size_len`, and `point_per_leaf_node_limit` are never read [INFO] [stdout] --> src/potree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Potree { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub bounds: Bounds, [INFO] [stdout] 8 | cubic_bounds: Bounds, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | size_len: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | point_per_leaf_node_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model/hierarchy.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn gather_chunk(start: &Node, levels: usize) -> HierarchyChunk { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | fn gather_chunk(start: &Node, levels: usize) -> HierarchyChunk<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model/hierarchy.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn create_hierarchy_chunks(root: &Node, hierarchy_step_size: usize) -> Vec { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | fn create_hierarchy_chunks(root: &Node, hierarchy_step_size: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/writer.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new<'a>(buf_writer: &'a mut T) -> Writer { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new<'a>(buf_writer: &'a mut T) -> Writer<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intensity` [INFO] [stdout] --> src/csv_reader.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let Point { x, y, z, intensity } = record; [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `intensity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/potree.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let pos = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_offset` and `get` are never used [INFO] [stdout] --> src/model/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 42 | impl Attributes { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_offset(&self, name: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn get(&self, name: String) -> Option<&Attribute> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_attribute` is never used [INFO] [stdout] --> src/model/metadata.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Attribute { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 32 | fn from_attribute(attribute: &InternalAttribute) -> Attribute { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/csv_reader.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | Int(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Intensity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Int(u8), [INFO] [stdout] 9 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/csv_reader.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Float(f32) [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Intensity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Float(f32) [INFO] [stdout] 10 + Float(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cubic_bounds`, `size_len`, and `point_per_leaf_node_limit` are never read [INFO] [stdout] --> src/potree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Potree { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub bounds: Bounds, [INFO] [stdout] 8 | cubic_bounds: Bounds, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | size_len: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | point_per_leaf_node_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model/hierarchy.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn gather_chunk(start: &Node, levels: usize) -> HierarchyChunk { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | fn gather_chunk(start: &Node, levels: usize) -> HierarchyChunk<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model/hierarchy.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn create_hierarchy_chunks(root: &Node, hierarchy_step_size: usize) -> Vec { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | fn create_hierarchy_chunks(root: &Node, hierarchy_step_size: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/potree.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | write_potree(potree, dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = write_potree(potree, dir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/potree.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | write_potree(potree, dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = write_potree(potree, dir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/writer.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new<'a>(buf_writer: &'a mut T) -> Writer { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new<'a>(buf_writer: &'a mut T) -> Writer<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcSzXmwd/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libserde_json-1182ee2a84afb8d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-d145b28a6197ac8d.rlib,librand_chacha-3720b5afd1f8cde3.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-720f676522af5de6.rlib,libgetrandom-d4295ee9b9edb2c6.rlib,liblibc-9c90e06bf55659f8.rlib,libcfg_if-66d55f6b302e88c8.rlib,libpcd_rs-4663798acc5b6f10.rlib,libthiserror-a022ccf32dece71b.rlib,libnum_traits-86a63621aee64471.rlib,libanyhow-eed28ff9edbfa8cf.rlib,libcsv-bee5469c836aab5a.rlib,libryu-af883cd9b444a782.rlib,libitoa-7c9a83f6047c872a.rlib,libcsv_core-f6be677625097c27.rlib,libbstr-85d80f61b49c6113.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libregex_automata-2f772042de7a2dcd.rlib,libmemchr-d88797af6a5880b4.rlib,libbyteorder-c7092f68299ac016.rlib,libord_subset-bddd201179737e1e.rlib,libserde-de67563dec92f5cd.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcSzXmwd/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_potree_converter-6eb3830633aef156" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-d4295ee9b9edb2c6.rlib(getrandom-d4295ee9b9edb2c6.getrandom.245d787ab5ee6ee3-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hd32365cd08834ee8E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: 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#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-potree-converter` (lib test) due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3abcd1b722c8088ff9ae9b3793db6b4a019081dfa46c5a23a15875171e8fc8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3abcd1b722c8088ff9ae9b3793db6b4a019081dfa46c5a23a15875171e8fc8f", kill_on_drop: false }` [INFO] [stdout] a3abcd1b722c8088ff9ae9b3793db6b4a019081dfa46c5a23a15875171e8fc8f