[INFO] fetching crate stm32g4xx-hal 0.0.0... [INFO] checking stm32g4xx-hal-0.0.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate stm32g4xx-hal 0.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate stm32g4xx-hal 0.0.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stm32g4xx-hal 0.0.0 [INFO] finished tweaking crates.io crate stm32g4xx-hal 0.0.0 [INFO] tweaked toml for crates.io crate stm32g4xx-hal 0.0.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.11.2 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34bf3d26ea8e856e490040a9aff2d4eba6ac62f2989a015b677b918f7149c690 [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" "34bf3d26ea8e856e490040a9aff2d4eba6ac62f2989a015b677b918f7149c690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34bf3d26ea8e856e490040a9aff2d4eba6ac62f2989a015b677b918f7149c690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34bf3d26ea8e856e490040a9aff2d4eba6ac62f2989a015b677b918f7149c690", kill_on_drop: false }` [INFO] [stdout] 34bf3d26ea8e856e490040a9aff2d4eba6ac62f2989a015b677b918f7149c690 [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c28c4197332ab1afd76a22f57d435beb3151a51d37ae5da146bc0e8c8337a48c [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" "c28c4197332ab1afd76a22f57d435beb3151a51d37ae5da146bc0e8c8337a48c", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling owned-singleton-macros v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking cortex-m v0.7.3 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Checking cortex-m v0.5.11 [INFO] [stderr] Checking stm32g4xx-hal v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking owned-singleton v0.1.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/button.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/button.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [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 `hal::prelude` [INFO] [stdout] --> examples/qei.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/qei.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/pwm.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/pwm.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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 `hal::prelude` [INFO] [stdout] --> examples/blinky_timer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/blinky_timer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32g4xx-hal` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `hal::adc` [INFO] [stdout] --> examples/adc.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::adc::{SampleTime, VTemp}; [INFO] [stdout] | ^^^ help: a similar path exists: `stm32g4xx_hal::hal::adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/adc.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/adc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/blinky_random.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::rng` [INFO] [stdout] --> examples/blinky_random.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::rng::Config; [INFO] [stdout] | ^^^ could not find `rng` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/blinky_random.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/blinky.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/blinky.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/clockout.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::rcc` [INFO] [stdout] --> examples/clockout.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::rcc::{Config, LSCOSrc, MCOSrc, Prescaler}; [INFO] [stdout] | ^^^ could not find `rcc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/clockout.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `hal` [INFO] [stdout] --> examples/rtfm.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::gpio::gpioa::PA5; [INFO] [stdout] | ^^^^ could not find `gpio` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::exti` [INFO] [stdout] --> examples/rtfm.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::exti::Event; [INFO] [stdout] | ^^^^ could not find `exti` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::gpio` [INFO] [stdout] --> examples/rtfm.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::gpio::{Output, PushPull, SignalEdge}; [INFO] [stdout] | ^^^^ could not find `gpio` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/rtfm.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/rtfm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hal::timer`, `super`, `super` [INFO] [stdout] --> examples/rtfm.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | use hal::timer::Timer; [INFO] [stdout] | ^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::timer` [INFO] [stdout] ... [INFO] [stdout] 20 | #[app(device = hal::stm32)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/spi.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::rcc` [INFO] [stdout] --> examples/spi.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::rcc::Config; [INFO] [stdout] | ^^^ could not find `rcc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/stopwatch.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::spi` [INFO] [stdout] --> examples/spi.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hal::spi; [INFO] [stdout] | ^^^^^^^^ no `spi` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::rcc` [INFO] [stdout] --> examples/stopwatch.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | use hal::rcc::{Config, SysClockSrc}; [INFO] [stdout] | ^^^ could not find `rcc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/stopwatch.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/spi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delay` found for struct `SYST` in the current scope [INFO] [stdout] --> examples/button.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let mut delay = cp.SYST.delay(&rcc.clocks); [INFO] [stdout] | ^^^^^ method not found in `SYST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/dac.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/dac.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [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 `ms` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/button.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(true) => 300.ms(), [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `stm32` in `hal` [INFO] [stdout] --> examples/rtfm.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[app(device = hal::stm32)] [INFO] [stdout] | ^^^^^ could not find `stm32` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PA5` in this scope [INFO] [stdout] --> examples/rtfm.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | static mut LED: PA5> = (); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `stm32` in `hal` [INFO] [stdout] --> examples/rtfm.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[app(device = hal::stm32)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `hal::stm32` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11 | use rtfm::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11 | use rtfm::export::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ms` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/button.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(false) => 100.ms(), [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/pwm.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | let mut pwm = dp.TIM14.pwm(gpioa.pa4, 10.khz(), &mut rcc); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ms` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_timer.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | timer.start(500.ms()); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::crc` [INFO] [stdout] --> examples/crc.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::crc::*; [INFO] [stdout] | ^^^ could not find `crc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/crc.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/crc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputReverse` [INFO] [stdout] --> examples/crc.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | crc.reverse_input(InputReverse::Word); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InputReverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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 `delay` found for struct `SYST` in the current scope [INFO] [stdout] --> examples/blinky_random.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let mut delay = cp.SYST.delay(&rcc.clocks); [INFO] [stdout] | ^^^^^ method not found in `SYST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/spi.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | .spi((sck, miso, mosi), spi::MODE_0, 100.khz(), &mut rcc); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delay` found for struct `SYST` in the current scope [INFO] [stdout] --> examples/stopwatch.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mut delay = cp.SYST.delay(&rcc.clocks); [INFO] [stdout] | ^^^^^ method not found in `SYST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `us` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stopwatch.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | delay.delay(10.us()); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delay` found for struct `SYST` in the current scope [INFO] [stdout] --> examples/dac.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let mut delay = cp.SYST.delay(&rcc.clocks); [INFO] [stdout] | ^^^^^ method not found in `SYST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtfm.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | timer.start(3.hz()); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `us` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stopwatch.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | timer.start(10.us()); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::prelude` [INFO] [stdout] --> examples/blinky_delay.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use hal::prelude::*; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `stm32g4xx_hal::hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::rcc` [INFO] [stdout] --> examples/blinky_delay.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::rcc::Config; [INFO] [stdout] | ^^^ could not find `rcc` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal::stm32` [INFO] [stdout] --> examples/blinky_delay.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ no `stm32` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 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] [stdout] error[E0599]: no method named `delay` found for struct `SYST` in the current scope [INFO] [stdout] --> examples/blinky_delay.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mut delay = cp.SYST.delay(&rcc.clocks); [INFO] [stdout] | ^^^^^ method not found in `SYST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ms` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_delay.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | delay.delay(500.ms()); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c28c4197332ab1afd76a22f57d435beb3151a51d37ae5da146bc0e8c8337a48c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28c4197332ab1afd76a22f57d435beb3151a51d37ae5da146bc0e8c8337a48c", kill_on_drop: false }` [INFO] [stdout] c28c4197332ab1afd76a22f57d435beb3151a51d37ae5da146bc0e8c8337a48c