[INFO] cloning repository https://github.com/ech0r/discovery_board [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ech0r/discovery_board" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fdiscovery_board", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fdiscovery_board'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c4b34da5295037155bdb94de9c7a6ea88f3c61b [INFO] checking ech0r/discovery_board against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fdiscovery_board" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ech0r/discovery_board on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ech0r/discovery_board [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ech0r/discovery_board [INFO] tweaked toml for git repo https://github.com/ech0r/discovery_board written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ech0r/discovery_board 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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ech0r/discovery_board against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fdiscovery_board" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ech0r/discovery_board on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ech0r/discovery_board [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ech0r/discovery_board [INFO] tweaked toml for git repo https://github.com/ech0r/discovery_board written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ech0r/discovery_board 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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usb-device v0.3.1 [INFO] [stderr] Downloaded defmt-test-macros v0.3.0 [INFO] [stderr] Downloaded rtcc v0.3.0 [INFO] [stderr] Downloaded stm32f3xx-hal v0.10.0 [INFO] [stderr] Downloaded defmt-test v0.3.1 [INFO] [stderr] Downloaded stm32f3 v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 567a7ba2bbd7b5ec7424ba51d936f0c896cf3d97eccfe63e635de35d3c2356e5 [INFO] running `Command { std: "docker" "start" "-a" "567a7ba2bbd7b5ec7424ba51d936f0c896cf3d97eccfe63e635de35d3c2356e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "567a7ba2bbd7b5ec7424ba51d936f0c896cf3d97eccfe63e635de35d3c2356e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "567a7ba2bbd7b5ec7424ba51d936f0c896cf3d97eccfe63e635de35d3c2356e5", kill_on_drop: false }` [INFO] [stdout] 567a7ba2bbd7b5ec7424ba51d936f0c896cf3d97eccfe63e635de35d3c2356e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 850b139475363475dd6b9e56555297624a198779be5a93e7c2b767afce1a4dc2 [INFO] running `Command { std: "docker" "start" "-a" "850b139475363475dd6b9e56555297624a198779be5a93e7c2b767afce1a4dc2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling defmt v0.3.5 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling defmt-macros v0.3.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling stm32f3 v0.15.1 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking bxcan v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling stm32f3xx-hal v0.10.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking rtcc v0.3.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling defmt-test-macros v0.3.0 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking usb-device v0.3.1 [INFO] [stderr] Compiling defmt-parser v0.3.3 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Checking enumset v1.1.3 [INFO] [stderr] Checking defmt-test v0.3.1 [INFO] [stderr] Checking discovery-board v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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] [stderr] error: could not compile `discovery-board` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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: `#[panic_handler]` function required, but not found [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: `#[panic_handler]` function required, but not found [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: `#[panic_handler]` function required, but not found [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: `#[panic_handler]` function required, but not found [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] warning: constant `USB_BASE_ADDR` is never used [INFO] [stdout] --> src/bin/mouse_jiggler.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const USB_BASE_ADDR: u32 = 0x4000_5C00; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RCC_BASE` is never used [INFO] [stdout] --> src/bin/mouse_jiggler.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const RCC_BASE: u32 = 0x4002_1000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GPIOE_OTYPER` is never used [INFO] [stdout] --> src/bin/blink_raw.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const GPIOE_OTYPER: *mut u32 = (GPIOE_BASE_ADDR + 0x04) as *mut u32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RCC_CFGR` is never used [INFO] [stdout] --> src/bin/mouse_jiggler.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const RCC_CFGR: *mut u32 = (RCC_BASE + 0x04) as *mut u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RCC_APB1RSTR` is never used [INFO] [stdout] --> src/bin/mouse_jiggler.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const RCC_APB1RSTR: *mut u32 = (RCC_BASE + 0x010) as *mut u32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RCC_APB1ENR` is never used [INFO] [stdout] --> src/bin/mouse_jiggler.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const RCC_APB1ENR: *mut u32 = (RCC_BASE + 0x1C) as *mut u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GPIOE_OTYPER` is never used [INFO] [stdout] --> src/bin/mouse_jiggler.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const GPIOE_OTYPER: *mut u32 = (GPIOE_BASE_ADDR + 0x04) as *mut u32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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] [stderr] error: could not compile `discovery-board` (test "integration") due to 2 previous errors [INFO] [stderr] error: could not compile `discovery-board` (bin "panic") due to 2 previous errors [INFO] [stderr] error: could not compile `discovery-board` (bin "bitfield") due to 2 previous errors [INFO] [stderr] error: could not compile `discovery-board` (bin "format") due to 2 previous errors [INFO] [stderr] error: could not compile `discovery-board` (bin "levels") due to 2 previous errors [INFO] [stdout] error[E0277]: the trait bound `Rcc: Format` is not satisfied [INFO] [stdout] --> src/bin/blink.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | defmt::println!("{:?}", rcc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Format` is not implemented for `Rcc` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Format`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 119 others [INFO] [stdout] note: required by a bound in `defmt::export::fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/defmt-0.3.5/src/export/mod.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fmt(f: &T) { [INFO] [stdout] | ^^^^^^ required by this bound in `fmt` [INFO] [stdout] = note: this error originates in the macro `defmt::println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Config` in `i2c` [INFO] [stdout] --> src/bin/compass.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | let i2c_config = i2c::Config::new(100.kHz(), clocks); [INFO] [stdout] | ^^^^^^ could not find `Config` in `i2c` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::hal::adc::config::Config; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::hal::serial::config::Config; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::hal::spi::config::Config; [INFO] [stdout] | [INFO] [stdout] 7 + use stm32f3xx_hal::adc::config::Config; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - let i2c_config = i2c::Config::new(100.kHz(), clocks); [INFO] [stdout] 39 + let i2c_config = Config::new(100.kHz(), clocks); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `pac::i2c1` [INFO] [stdout] --> src/bin/compass.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let mut i2c = pac::i2c1(dp.I2C1, (scl, sda), i2c_config, clocks, &mut rcc.apb1); [INFO] [stdout] | ^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/bin/compass.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use core::{convert::TryInto, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discovery-board` (bin "blink") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `into_af4` found for struct `stm32f3xx_hal::gpio::Pin` in the current scope [INFO] [stdout] --> src/bin/compass.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let scl = gpiob.pb6.into_af4(&mut gpiob.moder, &mut gpiob.afrl); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/09ea730c380b8b9acb96ff87b724c45df920f793/library/core/src/convert/mod.rs:450:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_af4` found for struct `stm32f3xx_hal::gpio::Pin` in the current scope [INFO] [stdout] --> src/bin/compass.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let sda = gpiob.pb7.into_af4(&mut gpiob.moder, &mut gpiob.afrl); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/09ea730c380b8b9acb96ff87b724c45df920f793/library/core/src/convert/mod.rs:450:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discovery-board` (bin "compass" test) due to 4 previous errors; 1 warning emitted [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn initialize_leds() -> [Pin; 8] { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use crate::hal::gpio::Pin; [INFO] [stdout] | [INFO] [stdout] 4 + use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 4 + use stm32f3xx_hal::gpio::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut led1 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut led2 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let mut led3 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut led4 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:21:55 [INFO] [stdout] | [INFO] [stdout] 21 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | let mut led5 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let mut led6 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let mut led7 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let mut led8 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as hal` [INFO] [stdout] --> src/bin/blink_old.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32f3xx_hal::{self as hal, pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn initialize_leds() -> [Pin; 8] { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use crate::hal::gpio::Pin; [INFO] [stdout] | [INFO] [stdout] 4 + use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 4 + use stm32f3xx_hal::gpio::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut led1 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut led2 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let mut led3 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut led4 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:21:55 [INFO] [stdout] | [INFO] [stdout] 21 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | let mut led5 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let mut led6 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let mut led7 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let mut led8 = gpioe [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gpioe` in this scope [INFO] [stdout] --> src/bin/blink_old.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | .into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as hal` [INFO] [stdout] --> src/bin/blink_old.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32f3xx_hal::{self as hal, pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discovery-board` (bin "blink_old") due to 27 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discovery-board` (bin "blink_old" test) due to 25 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "850b139475363475dd6b9e56555297624a198779be5a93e7c2b767afce1a4dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850b139475363475dd6b9e56555297624a198779be5a93e7c2b767afce1a4dc2", kill_on_drop: false }` [INFO] [stdout] 850b139475363475dd6b9e56555297624a198779be5a93e7c2b767afce1a4dc2