[INFO] fetching crate uvt 0.1.1... [INFO] testing uvt-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate uvt 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate uvt 0.1.1 [INFO] finished tweaking crates.io crate uvt 0.1.1 [INFO] tweaked toml for crates.io crate uvt 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uvt 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uvt 0.1.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumset v1.1.6 [INFO] [stderr] Downloaded enumset_derive v0.11.0 [INFO] [stderr] Downloaded rosbag v0.6.3 [INFO] [stderr] Downloaded lz4_flex v0.7.5 [INFO] [stderr] Downloaded binrw_derive v0.12.0 [INFO] [stderr] Downloaded quaternion-core v0.5.4 [INFO] [stderr] Downloaded binrw v0.12.0 [INFO] [stderr] Downloaded vtkio v0.6.3 [INFO] [stderr] Downloaded tqdm v0.7.0 [INFO] [stderr] Downloaded mcap v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cb1607005c641e3c77fb6547f7735c3bd200ebd6fbb33fd5d19f9fb7c578db3 [INFO] running `Command { std: "docker" "start" "-a" "2cb1607005c641e3c77fb6547f7735c3bd200ebd6fbb33fd5d19f9fb7c578db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cb1607005c641e3c77fb6547f7735c3bd200ebd6fbb33fd5d19f9fb7c578db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb1607005c641e3c77fb6547f7735c3bd200ebd6fbb33fd5d19f9fb7c578db3", kill_on_drop: false }` [INFO] [stdout] 2cb1607005c641e3c77fb6547f7735c3bd200ebd6fbb33fd5d19f9fb7c578db3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c643baa7336481d8ab331aa5daacc105f12518753ac25038425b45edf4a9fdd1 [INFO] running `Command { std: "docker" "start" "-a" "c643baa7336481d8ab331aa5daacc105f12518753ac25038425b45edf4a9fdd1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling binrw_derive v0.12.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling binrw v0.12.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling lz4_flex v0.7.5 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling quaternion-core v0.5.4 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling tqdm v0.7.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enumset_derive v0.11.0 [INFO] [stderr] Compiling enumset v1.1.6 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling vtkio v0.6.3 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling mcap v0.23.1 [INFO] [stderr] Compiling rosbag v0.6.3 [INFO] [stderr] Compiling uvt v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/deserialization.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | while let b = self.read_byte()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_alignment` [INFO] [stdout] --> src/deserialization.rs:226:37 [INFO] [stdout] | [INFO] [stdout] 226 | fn read_byte_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_alignment` [INFO] [stdout] --> src/deserialization.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | fn read_lp_string_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pt_len` [INFO] [stdout] --> src/pointcloud.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let pt_len = self.point_step as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pt_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pointcloud.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/deserialization.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MessageDataBuffer { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn n_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn dump_to_file(&self, path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn seek(&self, position: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn read_i16_le(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn read_null_terminated_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_f64_le`, `slice`, and `read_null_terminated_string` are never used [INFO] [stdout] --> src/deserialization.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub trait BufferReader { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 223 | fn read_u32_le(&mut self) -> Result; [INFO] [stdout] 224 | fn read_f64_le(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn slice(&mut self, length: usize) -> Option<&[u8]>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn read_null_terminated_string(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c643baa7336481d8ab331aa5daacc105f12518753ac25038425b45edf4a9fdd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c643baa7336481d8ab331aa5daacc105f12518753ac25038425b45edf4a9fdd1", kill_on_drop: false }` [INFO] [stdout] c643baa7336481d8ab331aa5daacc105f12518753ac25038425b45edf4a9fdd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a77c091511fb81aed115fe4f6ea5d2d683fa5ae0d55a7129977f9ea894a58423 [INFO] running `Command { std: "docker" "start" "-a" "a77c091511fb81aed115fe4f6ea5d2d683fa5ae0d55a7129977f9ea894a58423", kill_on_drop: false }` [INFO] [stderr] Compiling uvt v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/deserialization.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | while let b = self.read_byte()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_alignment` [INFO] [stdout] --> src/deserialization.rs:226:37 [INFO] [stdout] | [INFO] [stdout] 226 | fn read_byte_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_alignment` [INFO] [stdout] --> src/deserialization.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | fn read_lp_string_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pt_len` [INFO] [stdout] --> src/pointcloud.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let pt_len = self.point_step as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pt_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pointcloud.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/deserialization.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MessageDataBuffer { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn n_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn dump_to_file(&self, path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn seek(&self, position: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn read_i16_le(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn read_null_terminated_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_f64_le`, `slice`, and `read_null_terminated_string` are never used [INFO] [stdout] --> src/deserialization.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub trait BufferReader { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 223 | fn read_u32_le(&mut self) -> Result; [INFO] [stdout] 224 | fn read_f64_le(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn slice(&mut self, length: usize) -> Option<&[u8]>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn read_null_terminated_string(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/deserialization.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | while let b = self.read_byte()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_alignment` [INFO] [stdout] --> src/deserialization.rs:226:37 [INFO] [stdout] | [INFO] [stdout] 226 | fn read_byte_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_alignment` [INFO] [stdout] --> src/deserialization.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | fn read_lp_string_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pt_len` [INFO] [stdout] --> src/pointcloud.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let pt_len = self.point_step as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pt_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pointcloud.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/deserialization.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MessageDataBuffer { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn n_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn dump_to_file(&self, path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn seek(&self, position: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn read_i16_le(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn read_null_terminated_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_f64_le`, `slice`, and `read_null_terminated_string` are never used [INFO] [stdout] --> src/deserialization.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub trait BufferReader { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 223 | fn read_u32_le(&mut self) -> Result; [INFO] [stdout] 224 | fn read_f64_le(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn slice(&mut self, length: usize) -> Option<&[u8]>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn read_null_terminated_string(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a77c091511fb81aed115fe4f6ea5d2d683fa5ae0d55a7129977f9ea894a58423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77c091511fb81aed115fe4f6ea5d2d683fa5ae0d55a7129977f9ea894a58423", kill_on_drop: false }` [INFO] [stdout] a77c091511fb81aed115fe4f6ea5d2d683fa5ae0d55a7129977f9ea894a58423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64ce240a8ca9a2ba4852aff51a02dc17c7af71edafb110b9e0261caa3d1df224 [INFO] running `Command { std: "docker" "start" "-a" "64ce240a8ca9a2ba4852aff51a02dc17c7af71edafb110b9e0261caa3d1df224", kill_on_drop: false }` [INFO] [stderr] warning: irrefutable `while let` pattern [INFO] [stderr] --> src/deserialization.rs:194:15 [INFO] [stderr] | [INFO] [stderr] 194 | while let b = self.read_byte()? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the loop will never exit [INFO] [stderr] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next_alignment` [INFO] [stderr] --> src/deserialization.rs:226:37 [INFO] [stderr] | [INFO] [stderr] 226 | fn read_byte_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next_alignment` [INFO] [stderr] --> src/deserialization.rs:231:42 [INFO] [stderr] | [INFO] [stderr] 231 | fn read_lp_string_aligned(&mut self, next_alignment: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_alignment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pt_len` [INFO] [stderr] --> src/pointcloud.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | let pt_len = self.point_step as usize; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pt_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/pointcloud.rs:119:19 [INFO] [stderr] | [INFO] [stderr] 119 | .map(|i| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/deserialization.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl MessageDataBuffer { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn n_remaining(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn offset(&self) -> usize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn dump_to_file(&self, path: &str) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn seek(&self, position: usize) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn read_i16_le(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 191 | pub fn read_null_terminated_string(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `read_f64_le`, `slice`, and `read_null_terminated_string` are never used [INFO] [stderr] --> src/deserialization.rs:224:8 [INFO] [stderr] | [INFO] [stderr] 222 | pub trait BufferReader { [INFO] [stderr] | ------------ methods in this trait [INFO] [stderr] 223 | fn read_u32_le(&mut self) -> Result; [INFO] [stderr] 224 | fn read_f64_le(&mut self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | fn slice(&mut self, length: usize) -> Option<&[u8]>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 234 | fn read_null_terminated_string(&mut self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `uvt` (lib) generated 7 warnings [INFO] [stderr] warning: `uvt` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uvt-3665666efc52ef98) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test pose::tests::test_conjugate ... ok [INFO] [stdout] test pose::tests::test_duration_time_conversion ... ok [INFO] [stdout] test pose::tests::test_path_len ... ok [INFO] [stdout] test pose::tests::test_quaternion_conversion ... ok [INFO] [stdout] test pose::tests::test_point_creation ... ok [INFO] [stdout] test pose::tests::test_quaternion_creation ... ok [INFO] [stdout] test pose::tests::test_quaternion_multiplication ... ok [INFO] [stdout] test pose::tests::test_square_len_and_norm ... ok [INFO] [stdout] test pose::tests::test_normalized ... ok [INFO] [stdout] test pose::tests::test_normalized_zero - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests uvt [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Uvt::read_file (line 68) - compile ... ok [INFO] [stdout] test src/lib.rs - Uvt::read_rosbag (line 230) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) - compile ... ok [INFO] [stdout] test src/lib.rs - Uvt::read_mcap (line 360) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Uvt::read_file (line 81) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Uvt::read_rosbag (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uvt` [INFO] [stdout] --> src/lib.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 5 | let uvt = Uvt::read_rosbag("my_file.bag", "/map", "/odom").unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Uvt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uvt::Uvt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Uvt::read_mcap (line 360) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uvt` [INFO] [stdout] --> src/lib.rs:362:11 [INFO] [stdout] | [INFO] [stdout] 5 | let uvt = Uvt::read_mcap("my_file.mcap", "/map", "/odom").unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Uvt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uvt::Uvt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Uvt::read_file (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uvt` [INFO] [stdout] --> src/lib.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 5 | let uvt = Uvt::read_file("my_file.uvt").unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Uvt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uvt::Uvt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Uvt::read_file (line 81) [INFO] [stdout] src/lib.rs - Uvt::read_mcap (line 360) [INFO] [stdout] src/lib.rs - Uvt::read_rosbag (line 230) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.23s; merged doctests compilation took 0.10s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "64ce240a8ca9a2ba4852aff51a02dc17c7af71edafb110b9e0261caa3d1df224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ce240a8ca9a2ba4852aff51a02dc17c7af71edafb110b9e0261caa3d1df224", kill_on_drop: false }` [INFO] [stdout] 64ce240a8ca9a2ba4852aff51a02dc17c7af71edafb110b9e0261caa3d1df224