[INFO] cloning repository https://github.com/Keio-CSG/lidar-parser-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Keio-CSG/lidar-parser-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeio-CSG%2Flidar-parser-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeio-CSG%2Flidar-parser-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77d2e7e69e64b9c78e89608587d2dc506238cbad [INFO] checking Keio-CSG/lidar-parser-rs against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeio-CSG%2Flidar-parser-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Keio-CSG/lidar-parser-rs [INFO] finished tweaking git repo https://github.com/Keio-CSG/lidar-parser-rs [INFO] tweaked toml for git repo https://github.com/Keio-CSG/lidar-parser-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Keio-CSG/lidar-parser-rs on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Keio-CSG/lidar-parser-rs 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" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcap-parser v0.14.1 [INFO] [stderr] Downloaded async-trait v0.1.76 [INFO] [stderr] Downloaded nom-bufreader v0.2.0 [INFO] [stderr] Downloaded circular v0.3.0 [INFO] [stderr] Downloaded pcd-rs v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5933ec225adbb8ca815e5fd5443e245a595061384380cd4ec0d4a7357bcbc7a [INFO] running `Command { std: "docker" "start" "-a" "d5933ec225adbb8ca815e5fd5443e245a595061384380cd4ec0d4a7357bcbc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5933ec225adbb8ca815e5fd5443e245a595061384380cd4ec0d4a7357bcbc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5933ec225adbb8ca815e5fd5443e245a595061384380cd4ec0d4a7357bcbc7a", kill_on_drop: false }` [INFO] [stdout] d5933ec225adbb8ca815e5fd5443e245a595061384380cd4ec0d4a7357bcbc7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a2a7f66869d1ea11a8a7062bdfa735de4b02fa5dbbb772258ffafd1d961f2e4 [INFO] running `Command { std: "docker" "start" "-a" "7a2a7f66869d1ea11a8a7062bdfa735de4b02fa5dbbb772258ffafd1d961f2e4", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling hdf5-types v0.8.1 (https://github.com/aldanor/hdf5-rust?branch=master#2e44e903) [INFO] [stderr] Compiling hdf5 v0.8.1 (https://github.com/aldanor/hdf5-rust?branch=master#2e44e903) [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.76 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking pcap-parser v0.14.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling hdf5-src v0.8.1 (https://github.com/aldanor/hdf5-rust?branch=master#2e44e903) [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling hdf5-sys v0.8.1 (https://github.com/aldanor/hdf5-rust?branch=master#2e44e903) [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling hdf5-derive v0.8.1 (https://github.com/aldanor/hdf5-rust?branch=master#2e44e903) [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pcd-rs v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking nom-bufreader v0.2.0 [INFO] [stderr] Checking writer-common v0.1.0 (/opt/rustwide/workdir/writer-common) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> writer-common/src/velopoint.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(H5Type, Clone, PartialEq, Debug)] // register with HDF5 [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_VeloPoint` [INFO] [stdout] 7 | #[repr(C)] [INFO] [stdout] 8 | pub struct VeloPoint { [INFO] [stdout] | --------- `VeloPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> writer-common/src/velopoint.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(H5Type, Clone, PartialEq, Debug)] // register with HDF5 [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_VeloPoint` [INFO] [stdout] 7 | #[repr(C)] [INFO] [stdout] 8 | pub struct VeloPoint { [INFO] [stdout] | --------- `VeloPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking velo-pcap-parser-rs v0.1.0 (/opt/rustwide/workdir/velo-pcap-parser-rs) [INFO] [stderr] Checking hesai-pcap-parser-rs v0.1.0 (/opt/rustwide/workdir/hesai-pcap-parser-rs) [INFO] [stderr] Checking ls-pcap-parser-rs v0.1.0 (/opt/rustwide/workdir/ls-pcap-parser-rs) [INFO] [stderr] Checking livox-parser-rs v0.1.0 (/opt/rustwide/workdir/livox-parser-rs) [INFO] [stdout] warning: unused variable: `frame_time_ms` [INFO] [stdout] --> livox-parser-rs/src/run.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | fn read_pcap_file(path: &str, frame_time_ms: u64, mut writer: &mut TimeSplitWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_time_ms` [INFO] [stdout] --> livox-parser-rs/src/run.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | fn read_pcap_file(path: &str, frame_time_ms: u64, mut writer: &mut TimeSplitWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_body` [INFO] [stdout] --> livox-parser-rs/src/parser/pcap.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_header(packet_body: &[u8], writer: &mut TimeSplitWriter) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> livox-parser-rs/src/parser/pcap.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_header(packet_body: &[u8], writer: &mut TimeSplitWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_body` [INFO] [stdout] --> livox-parser-rs/src/parser/pcap.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_header(packet_body: &[u8], writer: &mut TimeSplitWriter) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> livox-parser-rs/src/parser/pcap.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_header(packet_body: &[u8], writer: &mut TimeSplitWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> livox-parser-rs/src/parser/pcap.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse_data0(cursor: &mut Cursor<&[u8]>, writer: &mut TimeSplitWriter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> livox-parser-rs/src/parser/pcap.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse_data0(cursor: &mut Cursor<&[u8]>, writer: &mut TimeSplitWriter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_index` is never read [INFO] [stdout] --> livox-parser-rs/src/parser/lvxp.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 69 | struct LvxFrameHeader { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_index` is never read [INFO] [stdout] --> livox-parser-rs/src/parser/lvx2p.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Lvx2FrameHeader { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_index` is never read [INFO] [stdout] --> livox-parser-rs/src/parser/lvxp.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 69 | struct LvxFrameHeader { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_index` is never read [INFO] [stdout] --> livox-parser-rs/src/parser/lvx2p.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Lvx2FrameHeader { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_FRAME` is never used [INFO] [stdout] --> hesai-pcap-parser-rs/src/constants_at128.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const END_FRAME: [u32; 3] = [1829898, 3360509, 290603]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_FRAME` is never used [INFO] [stdout] --> hesai-pcap-parser-rs/src/constants_at128.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const END_FRAME: [u32; 3] = [1829898, 3360509, 290603]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.65s [INFO] running `Command { std: "docker" "inspect" "7a2a7f66869d1ea11a8a7062bdfa735de4b02fa5dbbb772258ffafd1d961f2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2a7f66869d1ea11a8a7062bdfa735de4b02fa5dbbb772258ffafd1d961f2e4", kill_on_drop: false }` [INFO] [stdout] 7a2a7f66869d1ea11a8a7062bdfa735de4b02fa5dbbb772258ffafd1d961f2e4