[INFO] fetching crate ublox-core 0.1.0... [INFO] checking ublox-core-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate ublox-core 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate ublox-core 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking crates.io crate ublox-core 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ublox-core 0.1.0 [INFO] tweaked toml for crates.io crate ublox-core 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate ublox-core 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shufflebuf v0.1.0 [INFO] [stderr] Downloaded panic-semihosting v0.5.3 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded stm32h7 v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce46e357974f5d9f309860c175ce872071f7adc7991f5d4d6231c27a23ae0af0 [INFO] running `Command { std: "docker" "start" "-a" "ce46e357974f5d9f309860c175ce872071f7adc7991f5d4d6231c27a23ae0af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce46e357974f5d9f309860c175ce872071f7adc7991f5d4d6231c27a23ae0af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce46e357974f5d9f309860c175ce872071f7adc7991f5d4d6231c27a23ae0af0", kill_on_drop: false }` [INFO] [stdout] ce46e357974f5d9f309860c175ce872071f7adc7991f5d4d6231c27a23ae0af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 216a741135cee680b1171b543f6f776cc5dd9848d777d086157763dff8486497 [INFO] running `Command { std: "docker" "start" "-a" "216a741135cee680b1171b543f6f776cc5dd9848d777d086157763dff8486497", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling stm32h7 v0.10.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking shufflebuf v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking ublox-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::spi::SpiInterface` [INFO] [stdout] --> src/interface/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::spi::SpiInterface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `p_hal` [INFO] [stdout] --> examples/monitor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use p_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `p_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::spi::SpiInterface` [INFO] [stdout] --> src/interface/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::spi::SpiInterface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32h7xx_hal` [INFO] [stdout] --> examples/serial_dump.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use stm32h7xx_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32h7xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `p_hal` [INFO] [stdout] --> examples/serial_dump.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use p_hal::stm32; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `p_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `p_hal` [INFO] [stdout] --> examples/monitor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use p_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `p_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32h7xx_hal` [INFO] [stdout] --> examples/monitor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use stm32h7xx_hal as p_hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `stm32h7xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32h7xx_hal` [INFO] [stdout] --> examples/serial_dump.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32h7xx_hal as p_hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `stm32h7xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32h7xx_hal` [INFO] [stdout] --> examples/serial_dump.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use stm32h7xx_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32h7xx_hal` [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] 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] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_dump.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | let mut ccdr = rcc.sys_ck(160.mhz()).freeze(vos, &dp.SYSCFG); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/monitor.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | let mut ccdr = rcc.sys_ck(160.mhz()).freeze(vos, &dp.SYSCFG); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `u32` in the current scope [INFO] [stdout] --> examples/serial_dump.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 66 | p_hal::serial::config::Config::default().baudrate(57_600_u32.bps()); [INFO] [stdout] | ^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `u32` in the current scope [INFO] [stdout] --> examples/monitor.rs:61:74 [INFO] [stdout] | [INFO] [stdout] 61 | p_hal::serial::config::Config::default().baudrate(57_600_u32.bps()); [INFO] [stdout] | ^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/monitor.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | p_hal::serial::config::Config::default().baudrate(115200.bps()); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `u32` in the current scope [INFO] [stdout] --> examples/serial_dump.rs:79:68 [INFO] [stdout] | [INFO] [stdout] 79 | p_hal::serial::config::Config::default().baudrate(baud.bps()); [INFO] [stdout] | ^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `embedded_hal::blocking::delay::DelayMs` [INFO] [stdout] --> examples/monitor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use embedded_hal::blocking::delay::DelayMs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/monitor.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: unused import: `embedded_hal::blocking::delay::DelayMs` [INFO] [stdout] --> examples/serial_dump.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use embedded_hal::blocking::delay::DelayMs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/serial_dump.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `core::fmt::Write` [INFO] [stdout] --> examples/serial_dump.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ublox-core` (example "monitor") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ublox-core` (example "serial_dump") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "216a741135cee680b1171b543f6f776cc5dd9848d777d086157763dff8486497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "216a741135cee680b1171b543f6f776cc5dd9848d777d086157763dff8486497", kill_on_drop: false }` [INFO] [stdout] 216a741135cee680b1171b543f6f776cc5dd9848d777d086157763dff8486497