[INFO] fetching crate nrf-smartled 0.5.0... [INFO] checking nrf-smartled-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate nrf-smartled 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate nrf-smartled 0.5.0 [INFO] finished tweaking crates.io crate nrf-smartled 0.5.0 [INFO] tweaked toml for crates.io crate nrf-smartled 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nrf-smartled 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding nrf-usbd v0.1.0 (available: v0.1.1) [INFO] [stderr] Adding nrf52810-hal v0.14.1 (available: v0.18.0) [INFO] [stderr] Adding nrf52832-hal v0.14.1 (available: v0.18.0) [INFO] [stderr] Adding nrf52840-hal v0.14.1 (available: v0.18.0) [INFO] [stderr] Adding smart-leds-trait v0.2.1 (available: v0.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.5 [INFO] [stderr] Downloaded nrf52840-hal v0.14.1 [INFO] [stderr] Downloaded smart-leds-trait v0.2.1 [INFO] [stderr] Downloaded nrf-usbd v0.1.0 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded nrf-hal-common v0.14.1 [INFO] [stderr] Downloaded usb-device v0.2.9 [INFO] [stderr] Downloaded cortex-m-rt v0.7.5 [INFO] [stderr] Downloaded nrf52810-pac v0.10.1 [INFO] [stderr] Downloaded nrf52832-pac v0.10.1 [INFO] [stderr] Downloaded nrf52840-pac v0.10.1 [INFO] [stderr] Downloaded nrf52810-hal v0.14.1 [INFO] [stderr] Downloaded nrf52832-hal v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d8763632bd45070826b01bed34f809d2eeda44f02f9f8a2dea3a0735cb0631b [INFO] running `Command { std: "docker" "start" "-a" "0d8763632bd45070826b01bed34f809d2eeda44f02f9f8a2dea3a0735cb0631b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d8763632bd45070826b01bed34f809d2eeda44f02f9f8a2dea3a0735cb0631b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d8763632bd45070826b01bed34f809d2eeda44f02f9f8a2dea3a0735cb0631b", kill_on_drop: false }` [INFO] [stdout] 0d8763632bd45070826b01bed34f809d2eeda44f02f9f8a2dea3a0735cb0631b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34c3ca2d9acdff94c1c758bbac2fbe8229f4bb9f3a4980a894d494697e957475 [INFO] running `Command { std: "docker" "start" "-a" "34c3ca2d9acdff94c1c758bbac2fbe8229f4bb9f3a4980a894d494697e957475", kill_on_drop: false }` [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Checking nrf-smartled v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/pwm.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/pwm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::hal; [INFO] [stdout] | ^^^^^^^^^^ no `hal` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/pwm.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/pwm.rs:354:47 [INFO] [stdout] | [INFO] [stdout] 354 | pub trait Instance: Deref {} [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [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] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/pwm.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-smartled` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/pwm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::hal; [INFO] [stdout] | ^^^^^^^^^^ no `hal` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/pwm.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/pwm.rs:354:47 [INFO] [stdout] | [INFO] [stdout] 354 | pub trait Instance: Deref {} [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "52810")] [INFO] [stdout] | ----------------- the item is gated behind the `52810` feature [INFO] [stdout] 10 | use nrf52810_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "52832")] [INFO] [stdout] | ----------------- the item is gated behind the `52832` feature [INFO] [stdout] 13 | use nrf52832_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "52840")] [INFO] [stdout] | ----------------- the item is gated behind the `52840` feature [INFO] [stdout] 16 | use nrf52840_hal as hal; [INFO] [stdout] | ^^^ [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 `nrf-smartled` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "34c3ca2d9acdff94c1c758bbac2fbe8229f4bb9f3a4980a894d494697e957475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34c3ca2d9acdff94c1c758bbac2fbe8229f4bb9f3a4980a894d494697e957475", kill_on_drop: false }` [INFO] [stdout] 34c3ca2d9acdff94c1c758bbac2fbe8229f4bb9f3a4980a894d494697e957475