[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] checking fredrikjacobson/rusty-potree-converter against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikjacobson%2Frusty-potree-converter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fredrikjacobson/rusty-potree-converter on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ord_subset v3.1.1 [INFO] [stderr] Downloaded pcd-rs v0.9.1 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f6c211c7282b0ae9a47cec9cadd7fc9d1b5c66e3b1859d0d2753a264ea1b211 [INFO] running `Command { std: "docker" "start" "-a" "0f6c211c7282b0ae9a47cec9cadd7fc9d1b5c66e3b1859d0d2753a264ea1b211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f6c211c7282b0ae9a47cec9cadd7fc9d1b5c66e3b1859d0d2753a264ea1b211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6c211c7282b0ae9a47cec9cadd7fc9d1b5c66e3b1859d0d2753a264ea1b211", kill_on_drop: false }` [INFO] [stdout] 0f6c211c7282b0ae9a47cec9cadd7fc9d1b5c66e3b1859d0d2753a264ea1b211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b3603c312f0dc8c5d3b1715883fb68458de3c87cb6fcbb8fb6ddd30c7beb979 [INFO] running `Command { std: "docker" "start" "-a" "4b3603c312f0dc8c5d3b1715883fb68458de3c87cb6fcbb8fb6ddd30c7beb979", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking ord_subset v3.1.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pcd-rs v0.9.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rusty-potree-converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/model/hierarchy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/model/hierarchy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [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: `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] 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(()), [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] 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(()) [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: 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: 8 warnings emitted [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] 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(()), [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] 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(()) [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.68s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4b3603c312f0dc8c5d3b1715883fb68458de3c87cb6fcbb8fb6ddd30c7beb979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3603c312f0dc8c5d3b1715883fb68458de3c87cb6fcbb8fb6ddd30c7beb979", kill_on_drop: false }` [INFO] [stdout] 4b3603c312f0dc8c5d3b1715883fb68458de3c87cb6fcbb8fb6ddd30c7beb979