[INFO] fetching crate ydlidar_driver 0.1.0... [INFO] testing ydlidar_driver-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ydlidar_driver 0.1.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ydlidar_driver 0.1.0 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 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-graphics v0.40.0 [INFO] [stderr] Downloaded serialport v4.2.2 [INFO] [stderr] Downloaded piston_window v0.120.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.41.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.73.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 24f41ce095df06b87066c079796d3b1fc55e8bd726e7b14f08e5afa48231f81c [INFO] running `Command { std: "docker" "start" "-a" "24f41ce095df06b87066c079796d3b1fc55e8bd726e7b14f08e5afa48231f81c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24f41ce095df06b87066c079796d3b1fc55e8bd726e7b14f08e5afa48231f81c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f41ce095df06b87066c079796d3b1fc55e8bd726e7b14f08e5afa48231f81c", kill_on_drop: false }` [INFO] [stdout] 24f41ce095df06b87066c079796d3b1fc55e8bd726e7b14f08e5afa48231f81c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 17fa66929c9166098617fa44e6bb42d20b03c82efd71e872ee4764326164c9c7 [INFO] running `Command { std: "docker" "start" "-a" "17fa66929c9166098617fa44e6bb42d20b03c82efd71e872ee4764326164c9c7", 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "17fa66929c9166098617fa44e6bb42d20b03c82efd71e872ee4764326164c9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17fa66929c9166098617fa44e6bb42d20b03c82efd71e872ee4764326164c9c7", kill_on_drop: false }` [INFO] [stdout] 17fa66929c9166098617fa44e6bb42d20b03c82efd71e872ee4764326164c9c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 42cd18780690fa7df9f5a8efe224f65296c0ba1283b65ed005d53b988f2717ed [INFO] running `Command { std: "docker" "start" "-a" "42cd18780690fa7df9f5a8efe224f65296c0ba1283b65ed005d53b988f2717ed", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling khronos_api v3.1.0 [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 wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling net2 v0.2.39 [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-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling gfx v0.18.3 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling spin_sleep v1.1.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling piston2d-graphics v0.40.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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.2 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.73.0 [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" "42cd18780690fa7df9f5a8efe224f65296c0ba1283b65ed005d53b988f2717ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cd18780690fa7df9f5a8efe224f65296c0ba1283b65ed005d53b988f2717ed", kill_on_drop: false }` [INFO] [stdout] 42cd18780690fa7df9f5a8efe224f65296c0ba1283b65ed005d53b988f2717ed