[INFO] cloning repository https://github.com/icevision/velodyne-conv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icevision/velodyne-conv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficevision%2Fvelodyne-conv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficevision%2Fvelodyne-conv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8c88b05053b9e1d9a2ace22df50df1c73d9603d [INFO] checking icevision/velodyne-conv against master#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficevision%2Fvelodyne-conv" "/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/icevision/velodyne-conv on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/icevision/velodyne-conv [INFO] finished tweaking git repo https://github.com/icevision/velodyne-conv [INFO] tweaked toml for git repo https://github.com/icevision/velodyne-conv written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/icevision/velodyne-conv 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" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.59 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a3aad325185605639c308b343788295505e36d8a7d3e12b3f43b0b3d0ac74b4 [INFO] running `Command { std: "docker" "start" "-a" "1a3aad325185605639c308b343788295505e36d8a7d3e12b3f43b0b3d0ac74b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a3aad325185605639c308b343788295505e36d8a7d3e12b3f43b0b3d0ac74b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3aad325185605639c308b343788295505e36d8a7d3e12b3f43b0b3d0ac74b4", kill_on_drop: false }` [INFO] [stdout] 1a3aad325185605639c308b343788295505e36d8a7d3e12b3f43b0b3d0ac74b4 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c0b4e02060814d93d4c2226a1ca391883351ef80e10551d537ba398865b2fe7 [INFO] running `Command { std: "docker" "start" "-a" "8c0b4e02060814d93d4c2226a1ca391883351ef80e10551d537ba398865b2fe7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking atty v0.2.12 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking velodyne v0.1.1 (/opt/rustwide/workdir/velodyne) [INFO] [stdout] warning: unexpected `cfg` condition value: `xml` [INFO] [stdout] --> velodyne/src/hdl64/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "xml")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `xml` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `xml` [INFO] [stdout] --> velodyne/src/hdl64/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "xml")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `xml` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddrV4` [INFO] [stdout] --> velodyne/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::SocketAddrV4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> velodyne/src/hdl64/calib.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | let mut lasers: [LaserCalib; 64] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> velodyne/src/packet/pcap.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let addr = SocketAddrV4::new(Ipv4Addr::new(h[0], h[1], h[2], h[3]), port); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[LaserCalib; 64]` does not permit being left uninitialized [INFO] [stdout] --> velodyne/src/hdl64/calib.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | let mut lasers: [LaserCalib; 64] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> velodyne/src/hdl64/calib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub min_intensity: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking velodyne-conv v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> velodyne/examples/raw_statuses.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> Result<(), Box>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UdpSource` in `packet` [INFO] [stdout] --> velodyne/examples/hdl64_statuses.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let source = packet::UdpSource::new_custom(addr, timeout) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `UdpSource` in `packet` [INFO] [stdout] | help: a struct with a similar name exists: `PcapSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `xml` [INFO] [stdout] --> velodyne/src/hdl64/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "xml")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `xml` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `xml` [INFO] [stdout] --> velodyne/src/hdl64/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "xml")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `xml` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddrV4` [INFO] [stdout] --> velodyne/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::SocketAddrV4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> velodyne/src/hdl64/calib.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | let mut lasers: [LaserCalib; 64] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `velodyne` (example "hdl64_statuses") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> velodyne/src/packet/pcap.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let addr = SocketAddrV4::new(Ipv4Addr::new(h[0], h[1], h[2], h[3]), port); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[LaserCalib; 64]` does not permit being left uninitialized [INFO] [stdout] --> velodyne/src/hdl64/calib.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | let mut lasers: [LaserCalib; 64] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> velodyne/src/hdl64/calib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub min_intensity: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c0b4e02060814d93d4c2226a1ca391883351ef80e10551d537ba398865b2fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0b4e02060814d93d4c2226a1ca391883351ef80e10551d537ba398865b2fe7", kill_on_drop: false }` [INFO] [stdout] 8c0b4e02060814d93d4c2226a1ca391883351ef80e10551d537ba398865b2fe7