[INFO] fetching crate stm32f072-hal 0.6.5... [INFO] checking stm32f072-hal-0.6.5 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate stm32f072-hal 0.6.5 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate stm32f072-hal 0.6.5 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking crates.io crate stm32f072-hal 0.6.5 [INFO] finished tweaking crates.io crate stm32f072-hal 0.6.5 [INFO] tweaked toml for crates.io crate stm32f072-hal 0.6.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding bare-metal v0.2.5 (available: v1.0.0) [INFO] [stderr] Adding cast v0.2.7 (available: v0.3.0) [INFO] [stderr] Adding cortex-m v0.5.11 (available: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (available: v0.7.5) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding ina260 v0.2.6 (available: v0.3.1) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding panic-halt v0.2.0 (available: v1.0.0) [INFO] [stderr] Adding stm32f0 v0.4.0 (available: v0.15.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded ina260 v0.2.6 [INFO] [stderr] Downloaded stm32f0 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0d3ee5974f34d43e5ec70592e45fe356cc2261289759d9806ac96bf02ffcb71 [INFO] running `Command { std: "docker" "start" "-a" "e0d3ee5974f34d43e5ec70592e45fe356cc2261289759d9806ac96bf02ffcb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d3ee5974f34d43e5ec70592e45fe356cc2261289759d9806ac96bf02ffcb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d3ee5974f34d43e5ec70592e45fe356cc2261289759d9806ac96bf02ffcb71", kill_on_drop: false }` [INFO] [stdout] e0d3ee5974f34d43e5ec70592e45fe356cc2261289759d9806ac96bf02ffcb71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa4bbfe0892ddb0c419da589e24fdd6acfb52443c1331e14b12fdd9279b1a045 [INFO] running `Command { std: "docker" "start" "-a" "fa4bbfe0892ddb0c419da589e24fdd6acfb52443c1331e14b12fdd9279b1a045", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling stm32f0 v0.4.0 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking cortex-m v0.7.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking cortex-m v0.6.7 [INFO] [stderr] Checking cortex-m v0.5.11 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking ina260 v0.2.6 [INFO] [stderr] Checking stm32f072-hal v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/blinky.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/i2c_hal_ina260reader.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/blinky_delay.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/led_hal_button_irq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/serial_echo.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/i2c_hal_ssd1306alphabeter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "blinky") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find macro `interrupt` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | interrupt!(EXTI0_1, button_press); [INFO] [stdout] | ^^^^^^^^^ [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[E0433]: failed to resolve: use of undeclared type `I2c` [INFO] [stdout] --> examples/i2c_hal_ina260reader.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 10.khz()); [INFO] [stdout] | ^^^ use of undeclared type `I2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f042_hal` [INFO] [stdout] --> examples/flash_systick.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate stm32f042_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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[E0689]: can't call method `khz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ina260reader.rs:63:56 [INFO] [stdout] | [INFO] [stdout] 63 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 10.khz()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 63 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 10_i32.khz()); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/blinky_delay.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | let clocks = rcc.cfgr.sysclk(8.mhz()).freeze(); [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_echo.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let clocks = rcc.cfgr.sysclk(48.mhz()).freeze(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | static LED: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | static LED: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EXTI` in this scope [INFO] [stdout] --> examples/led_hal_button_irq.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | static INT: Mutex>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> examples/led_hal_button_irq.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | if let (Some(p), Some(cp)) = (Peripherals::take(), c_m_Peripherals::take()) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use cortex_m::Peripherals; [INFO] [stdout] | [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 `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/serial_echo.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), clocks); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2c` [INFO] [stdout] --> examples/i2c_hal_ssd1306alphabeter.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 400.khz()); [INFO] [stdout] | ^^^ use of undeclared type `I2c` [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[E0433]: failed to resolve: use of undeclared type `Serial` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), clocks); [INFO] [stdout] | ^^^^^^ use of undeclared type `Serial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `khz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ssd1306alphabeter.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 400.khz()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 58 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 400_i32.khz()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "blinky_delay") due to 3 previous errors [INFO] [stdout] error[E0689]: can't call method `mhz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/led_hal_button_irq.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | let clocks = rcc.constrain().cfgr.sysclk(8.mhz()).freeze(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 55 | let clocks = rcc.constrain().cfgr.sysclk(8_i32.mhz()).freeze(); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `bps` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 38 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200.bps(), clocks); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 38 | let serial = Serial::usart1(p.USART1, (tx, rx), 115_200_i32.bps(), clocks); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2c` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 1.khz()); [INFO] [stdout] | ^^^ use of undeclared type `I2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `khz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/i2c_hal_ina260serial.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 54 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 1.khz()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 54 | let mut i2c = I2c::i2c1(p.I2C1, (scl, sda), 1_i32.khz()); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "serial_echo") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/led_hal_button_irq.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | nvic.enable(Interrupt::EXTI0_1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cortex_m::peripheral::scb::VectActive::Interrupt`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 80 | nvic.enable(cortex_m::peripheral::scb::VectActive::EXTI0_1); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/led_hal_button_irq.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { nvic.set_priority(Interrupt::EXTI0_1, 1) }; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cortex_m::peripheral::scb::VectActive::Interrupt`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { nvic.set_priority(cortex_m::peripheral::scb::VectActive::EXTI0_1, 1) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt` [INFO] [stdout] --> examples/led_hal_button_irq.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | cortex_m::peripheral::NVIC::unpend(Interrupt::EXTI0_1); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Interrupt` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cortex_m::peripheral::scb::VectActive::Interrupt`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 82 | cortex_m::peripheral::NVIC::unpend(cortex_m::peripheral::scb::VectActive::EXTI0_1); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> examples/flash_systick.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> examples/flash_systick.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [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] Some errors have detailed explanations: E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/led_hal_button_irq.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/led_hal_button_irq.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | delay.delay_ms(1_000_u16); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pr` on type `&mut _` [INFO] [stdout] --> examples/led_hal_button_irq.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | exti.pr.modify(|_, w| w.pif1().set_bit()); [INFO] [stdout] | ^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "i2c_hal_ina260reader") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpiob` [INFO] [stdout] --> examples/led_hal_button_irq.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | static LED: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `gpiob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433, E0463, E0609, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "i2c_hal_ina260serial") due to 6 previous errors [INFO] [stderr] error: could not compile `stm32f072-hal` (example "i2c_hal_ssd1306alphabeter") due to 4 previous errors [INFO] [stdout] error[E0689]: can't call method `mhz` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/flash_systick.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | let _ = rcc.cfgr.sysclk(48.mhz()).freeze(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 29 | let _ = rcc.cfgr.sysclk(48_i32.mhz()).freeze(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/flash_systick.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | led.set_low(); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "led_hal_button_irq") due to 15 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/flash_systick.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 63 | #[exception] [INFO] [stdout] | ------------ implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 64 | fn SysTick() -> ! { [INFO] [stdout] | ^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpioa` [INFO] [stdout] --> examples/flash_systick.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | static GPIO: Mutex>>>> = Mutex::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `gpioa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0433, E0463, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-hal` (example "flash_systick") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "fa4bbfe0892ddb0c419da589e24fdd6acfb52443c1331e14b12fdd9279b1a045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa4bbfe0892ddb0c419da589e24fdd6acfb52443c1331e14b12fdd9279b1a045", kill_on_drop: false }` [INFO] [stdout] fa4bbfe0892ddb0c419da589e24fdd6acfb52443c1331e14b12fdd9279b1a045