[INFO] fetching crate pmsx003 1.0.0... [INFO] testing pmsx003-1.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pmsx003 1.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pmsx003 1.0.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pmsx003 1.0.0 [INFO] tweaked toml for crates.io crate pmsx003 1.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pmsx003 1.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pmsx003 1.0.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fbf1df2fa99460aa1f2c58162096b7a4fa04d913cad2498ac8add737e751e67 [INFO] running `Command { std: "docker" "start" "-a" "7fbf1df2fa99460aa1f2c58162096b7a4fa04d913cad2498ac8add737e751e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fbf1df2fa99460aa1f2c58162096b7a4fa04d913cad2498ac8add737e751e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fbf1df2fa99460aa1f2c58162096b7a4fa04d913cad2498ac8add737e751e67", kill_on_drop: false }` [INFO] [stdout] 7fbf1df2fa99460aa1f2c58162096b7a4fa04d913cad2498ac8add737e751e67 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e73e2a15848ba16bd97dedba625e472ba8a0cab741065c6f40ec37667fed1612 [INFO] running `Command { std: "docker" "start" "-a" "e73e2a15848ba16bd97dedba625e472ba8a0cab741065c6f40ec37667fed1612", kill_on_drop: false }` [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling pmsx003 v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "e73e2a15848ba16bd97dedba625e472ba8a0cab741065c6f40ec37667fed1612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e73e2a15848ba16bd97dedba625e472ba8a0cab741065c6f40ec37667fed1612", kill_on_drop: false }` [INFO] [stdout] e73e2a15848ba16bd97dedba625e472ba8a0cab741065c6f40ec37667fed1612 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c1576a25448840bc043433110c05aef685f8de96c0ebffa0c070ec9905697f1 [INFO] running `Command { std: "docker" "start" "-a" "0c1576a25448840bc043433110c05aef685f8de96c0ebffa0c070ec9905697f1", kill_on_drop: false }` [INFO] [stderr] Compiling pmsx003 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pmsx003::*` [INFO] [stdout] --> examples/sleep_and_wake.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pmsx003::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] --> examples/esp32_basic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use esp_hal::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_backtrace` [INFO] [stdout] --> examples/esp32_basic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use esp_backtrace as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no external crate `esp_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_println` [INFO] [stdout] --> examples/esp32_basic.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use esp_println::println; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_println` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_println`, use `cargo add esp_println` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entry` in this scope [INFO] [stdout] --> examples/esp32_basic.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] --> examples/esp32_basic.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | data_bits: esp_hal::uart::config::DataBits::DataBits8, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` 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 `esp_hal` [INFO] [stdout] --> examples/esp32_basic.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | parity: esp_hal::uart::config::Parity::ParityNone, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` 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 `esp_hal` [INFO] [stdout] --> examples/esp32_basic.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | stop_bits: esp_hal::uart::config::StopBits::STOP1, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` 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 `esp_hal` [INFO] [stdout] --> examples/esp32_basic.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | clock_source: esp_hal::uart::config::ClockSource::default(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pmsx003::*` [INFO] [stdout] --> examples/read.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pmsx003::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pmsx003` (example "esp32_basic") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `pmsx003::*` [INFO] [stdout] --> examples/passive_mode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pmsx003::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_nb` [INFO] [stdout] --> tests/separate_rx_tx.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal_nb::serial::{ErrorType, Read, Write, Error as SerialError, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_nb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal_nb`, use `cargo add embedded_hal_nb` 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 `nb` [INFO] [stdout] --> tests/separate_rx_tx.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(nb::Error::Other(MockError)) [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nb`, use `cargo add nb` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - Err(nb::Error::Other(MockError)) [INFO] [stdout] 22 + Err(Error::Other(MockError)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nb` [INFO] [stdout] --> tests/separate_rx_tx.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn read(&mut self) -> nb::Result { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nb`, use `cargo add nb` 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 `nb` [INFO] [stdout] --> tests/separate_rx_tx.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | fn write(&mut self, _: u8) -> nb::Result<(), Self::Error> { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nb`, use `cargo add nb` 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 `nb` [INFO] [stdout] --> tests/separate_rx_tx.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | fn flush(&mut self) -> nb::Result<(), Self::Error> { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nb`, use `cargo add nb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pmsx003` (test "separate_rx_tx") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0c1576a25448840bc043433110c05aef685f8de96c0ebffa0c070ec9905697f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c1576a25448840bc043433110c05aef685f8de96c0ebffa0c070ec9905697f1", kill_on_drop: false }` [INFO] [stdout] 0c1576a25448840bc043433110c05aef685f8de96c0ebffa0c070ec9905697f1