[INFO] fetching crate ublox-core 0.1.0... [INFO] checking ublox-core-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ublox-core 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate ublox-core 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/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-11/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-semihosting v0.5.3 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded shufflebuf v0.1.0 [INFO] [stderr] Downloaded stm32h7 v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56f8722e12c67b73dba2e5304ae5bb81db465fa47aa06fded8b9e90579ccbb96 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56f8722e12c67b73dba2e5304ae5bb81db465fa47aa06fded8b9e90579ccbb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56f8722e12c67b73dba2e5304ae5bb81db465fa47aa06fded8b9e90579ccbb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f8722e12c67b73dba2e5304ae5bb81db465fa47aa06fded8b9e90579ccbb96", kill_on_drop: false }` [INFO] [stdout] 56f8722e12c67b73dba2e5304ae5bb81db465fa47aa06fded8b9e90579ccbb96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c25eb5fe31f1b7438e7958afad52d4ccd6d4ec9dcc32c9105fb443938e81167 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c25eb5fe31f1b7438e7958afad52d4ccd6d4ec9dcc32c9105fb443938e81167", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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 shufflebuf v0.1.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Checking ublox-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [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 `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[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] error[E0432]: unresolved imports `cortex_m`, `p_hal` [INFO] [stdout] --> examples/monitor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [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 imports `stm32h7xx_hal`, `ublox_core` [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] 23 | use ublox_core as ublox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_semihosting` (which `monitor` depends on) [INFO] [stdout] = note: first definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-33315d2a6b72043d.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-736d556224107bc3.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cortex_m`, `p_hal` [INFO] [stdout] --> examples/serial_dump.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [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 `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 imports `stm32h7xx_hal`, `stm32::UART7`, `stm32::USART1`, `p_hal::serial::Error` [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] 18 | [INFO] [stdout] 19 | use stm32::UART7; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | use stm32::USART1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | use p_hal::serial::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> examples/serial_dump.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | Err(nb::Error::Other(Error::Overrun)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> examples/serial_dump.rs:188:38 [INFO] [stdout] | [INFO] [stdout] 188 | Err(nb::Error::Other(Error::Overrun)) => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USART1` in this scope [INFO] [stdout] --> examples/serial_dump.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | USART1, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use stm32h7::stm32h743::USART1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UART7` in this scope [INFO] [stdout] --> examples/serial_dump.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | dbg_port: &mut p_hal::serial::Tx, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use stm32h7::stm32h743::UART7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_semihosting` (which `serial_dump` depends on) [INFO] [stdout] = note: first definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-33315d2a6b72043d.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-736d556224107bc3.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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/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 `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 `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/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 9 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6c25eb5fe31f1b7438e7958afad52d4ccd6d4ec9dcc32c9105fb443938e81167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c25eb5fe31f1b7438e7958afad52d4ccd6d4ec9dcc32c9105fb443938e81167", kill_on_drop: false }` [INFO] [stdout] 6c25eb5fe31f1b7438e7958afad52d4ccd6d4ec9dcc32c9105fb443938e81167