[INFO] fetching crate ydlidar_driver 0.1.0... [INFO] testing ydlidar_driver-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ydlidar_driver 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ydlidar_driver 0.1.0 [INFO] finished tweaking crates.io crate ydlidar_driver 0.1.0 [INFO] tweaked toml for crates.io crate ydlidar_driver 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ydlidar_driver 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ydlidar_driver 0.1.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 266e6e8eed9ce545e859ca8ad7e6a66b476c5d3554c1c23b19c894d1fe1cacd7 [INFO] running `Command { std: "docker" "start" "-a" "266e6e8eed9ce545e859ca8ad7e6a66b476c5d3554c1c23b19c894d1fe1cacd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "266e6e8eed9ce545e859ca8ad7e6a66b476c5d3554c1c23b19c894d1fe1cacd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266e6e8eed9ce545e859ca8ad7e6a66b476c5d3554c1c23b19c894d1fe1cacd7", kill_on_drop: false }` [INFO] [stdout] 266e6e8eed9ce545e859ca8ad7e6a66b476c5d3554c1c23b19c894d1fe1cacd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a68add71e30b8e5e6313b34ebc7c3cd4bb1dc419737ec5e199ac13a326dde6ed [INFO] running `Command { std: "docker" "start" "-a" "a68add71e30b8e5e6313b34ebc7c3cd4bb1dc419737ec5e199ac13a326dde6ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.0.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling serialport v4.2.2 [INFO] [stderr] Compiling ydlidar_driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `firmware_major_version`, `firmware_minor_version`, `hardware_version`, and `serial_number` are never read [INFO] [stdout] --> src/device_info.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DeviceInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | pub model_number: u8, [INFO] [stdout] 3 | pub firmware_major_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub firmware_minor_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | pub hardware_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub serial_number: [u8; 16], [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 2.23s [INFO] running `Command { std: "docker" "inspect" "a68add71e30b8e5e6313b34ebc7c3cd4bb1dc419737ec5e199ac13a326dde6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68add71e30b8e5e6313b34ebc7c3cd4bb1dc419737ec5e199ac13a326dde6ed", kill_on_drop: false }` [INFO] [stdout] a68add71e30b8e5e6313b34ebc7c3cd4bb1dc419737ec5e199ac13a326dde6ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c891b693795ab8c456b12d7262fabbd09bec1e9d87a5b93d13e71641f182f59 [INFO] running `Command { std: "docker" "start" "-a" "7c891b693795ab8c456b12d7262fabbd09bec1e9d87a5b93d13e71641f182f59", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling gfx v0.18.3 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling spin_sleep v1.1.1 [INFO] [stderr] Compiling piston2d-graphics v0.40.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stdout] warning: fields `firmware_major_version`, `firmware_minor_version`, `hardware_version`, and `serial_number` are never read [INFO] [stdout] --> src/device_info.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DeviceInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | pub model_number: u8, [INFO] [stdout] 3 | pub firmware_major_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub firmware_minor_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | pub hardware_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub serial_number: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.73.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling piston_window v0.120.0 [INFO] [stderr] Compiling ydlidar_driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/plot_scan.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotters::drawing::IntoDrawingArea; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/plot_scan.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use plotters::prelude::{ChartBuilder, Circle, GREEN, WHITE}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plotters` [INFO] [stdout] --> examples/plot_scan.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use plotters::style::Color; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `plotters` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters`, use `cargo add plotters` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `plotters_piston` [INFO] [stdout] --> examples/plot_scan.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use plotters_piston::{draw_piston_window, PistonBackend}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `plotters_piston` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plotters_piston`, use `cargo add plotters_piston` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ydlidar_driver` (example "plot_scan") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7c891b693795ab8c456b12d7262fabbd09bec1e9d87a5b93d13e71641f182f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c891b693795ab8c456b12d7262fabbd09bec1e9d87a5b93d13e71641f182f59", kill_on_drop: false }` [INFO] [stdout] 7c891b693795ab8c456b12d7262fabbd09bec1e9d87a5b93d13e71641f182f59