[INFO] fetching crate uvt 0.1.1... [INFO] checking uvt-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate uvt 0.1.1 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate uvt 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6897254e4f8646b750f23b9ff5bede033079bffdb038df5b613f7ba1655ee06d [INFO] running `Command { std: "docker" "start" "-a" "6897254e4f8646b750f23b9ff5bede033079bffdb038df5b613f7ba1655ee06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6897254e4f8646b750f23b9ff5bede033079bffdb038df5b613f7ba1655ee06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6897254e4f8646b750f23b9ff5bede033079bffdb038df5b613f7ba1655ee06d", kill_on_drop: false }` [INFO] [stdout] 6897254e4f8646b750f23b9ff5bede033079bffdb038df5b613f7ba1655ee06d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e77af2c383341ef97124558ecc6af3b71006a51ad0b6d26d0f1a7b6b2555148b [INFO] running `Command { std: "docker" "start" "-a" "e77af2c383341ef97124558ecc6af3b71006a51ad0b6d26d0f1a7b6b2555148b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling binrw_derive v0.12.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling binrw v0.12.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking lz4_flex v0.7.5 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking quaternion-core v0.5.4 [INFO] [stderr] Checking tqdm v0.7.0 [INFO] [stderr] Checking rayon v1.10.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] Checking xz2 v0.1.7 [INFO] [stderr] Checking bzip2 v0.4.4 [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 darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enumset_derive v0.11.0 [INFO] [stderr] Checking enumset v1.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking vtkio v0.6.3 [INFO] [stderr] Checking lz4 v1.28.1 [INFO] [stderr] Checking mcap v0.23.1 [INFO] [stderr] Checking rosbag v0.6.3 [INFO] [stderr] Checking 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: `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: 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: 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: `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: 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: 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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | let pts: Vec = last_pcloud [INFO] [stdout] | _____________________________^ [INFO] [stdout] 281 | | .par_iter() [INFO] [stdout] 282 | | .map(|&pt| Into::<[f32; 3]>::into(pt)) [INFO] [stdout] 283 | | .flatten() [INFO] [stdout] 284 | | .collect::>() [INFO] [stdout] 285 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | let pts: Vec = last_pcloud [INFO] [stdout] | _____________________________^ [INFO] [stdout] 412 | | .par_iter() [INFO] [stdout] 413 | | .map(|&pt| Into::<[f32; 3]>::into(pt)) [INFO] [stdout] 414 | | .flatten() [INFO] [stdout] 415 | | .collect::>() [INFO] [stdout] 416 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/deserialization.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let bytes: &[u8] = self.data[self.position..self.position + length] [INFO] [stdout] | ____________________________^ [INFO] [stdout] 92 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uvt` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | let pts: Vec = last_pcloud [INFO] [stdout] | _____________________________^ [INFO] [stdout] 281 | | .par_iter() [INFO] [stdout] 282 | | .map(|&pt| Into::<[f32; 3]>::into(pt)) [INFO] [stdout] 283 | | .flatten() [INFO] [stdout] 284 | | .collect::>() [INFO] [stdout] 285 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | let pts: Vec = last_pcloud [INFO] [stdout] | _____________________________^ [INFO] [stdout] 412 | | .par_iter() [INFO] [stdout] 413 | | .map(|&pt| Into::<[f32; 3]>::into(pt)) [INFO] [stdout] 414 | | .flatten() [INFO] [stdout] 415 | | .collect::>() [INFO] [stdout] 416 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/deserialization.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let bytes: &[u8] = self.data[self.position..self.position + length] [INFO] [stdout] | ____________________________^ [INFO] [stdout] 92 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uvt` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e77af2c383341ef97124558ecc6af3b71006a51ad0b6d26d0f1a7b6b2555148b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77af2c383341ef97124558ecc6af3b71006a51ad0b6d26d0f1a7b6b2555148b", kill_on_drop: false }` [INFO] [stdout] e77af2c383341ef97124558ecc6af3b71006a51ad0b6d26d0f1a7b6b2555148b