[INFO] crate ublox-core 0.1.0 is already in cache [INFO] testing ublox-core-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate ublox-core 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ublox-core 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/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-4/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d17045b60e62b864d3eeb93b127de4bc85e058ff3cbde8c72271e70c44132445 [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" "d17045b60e62b864d3eeb93b127de4bc85e058ff3cbde8c72271e70c44132445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d17045b60e62b864d3eeb93b127de4bc85e058ff3cbde8c72271e70c44132445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17045b60e62b864d3eeb93b127de4bc85e058ff3cbde8c72271e70c44132445", kill_on_drop: false }` [INFO] [stdout] d17045b60e62b864d3eeb93b127de4bc85e058ff3cbde8c72271e70c44132445 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb06aae031305ac1beadd85017f3e1f8015f7492725f303a38b90de0b5edcfa3 [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" "fb06aae031305ac1beadd85017f3e1f8015f7492725f303a38b90de0b5edcfa3", kill_on_drop: false }` [INFO] [stderr] Compiling shufflebuf v0.1.0 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling ublox-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "fb06aae031305ac1beadd85017f3e1f8015f7492725f303a38b90de0b5edcfa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb06aae031305ac1beadd85017f3e1f8015f7492725f303a38b90de0b5edcfa3", kill_on_drop: false }` [INFO] [stdout] fb06aae031305ac1beadd85017f3e1f8015f7492725f303a38b90de0b5edcfa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f6d750cc5194ea16b3971bf18b6746b7e59f0c6299e9958197e20eb4d6039b91 [INFO] running `Command { std: "docker" "start" "-a" "f6d750cc5194ea16b3971bf18b6746b7e59f0c6299e9958197e20eb4d6039b91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [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 panic-halt v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling panic-semihosting v0.5.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling ublox-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `p_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `stm32h7xx_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 type 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 `stm32h7xx_hal` external crate [INFO] [stdout] ... [INFO] [stdout] 23 | use ublox_core as ublox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 type or module `p_hal` [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-04966d5bd23effa6.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-da9b187e191efdac.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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 `stm32h7xx_hal` external crate [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 type 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 or module `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 or module `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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-04966d5bd23effa6.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-da9b187e191efdac.rlib [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" "f6d750cc5194ea16b3971bf18b6746b7e59f0c6299e9958197e20eb4d6039b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d750cc5194ea16b3971bf18b6746b7e59f0c6299e9958197e20eb4d6039b91", kill_on_drop: false }` [INFO] [stdout] f6d750cc5194ea16b3971bf18b6746b7e59f0c6299e9958197e20eb4d6039b91