[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 master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fdiscovery_board" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ech0r/discovery_board on toolchain 82310651b93a594a3fd69015e1562186a080d94c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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 cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded defmt-rtt v0.4.0 [INFO] [stderr] Downloaded defmt-test-macros v0.3.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded defmt v0.3.5 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] [stderr] Downloaded usb-device v0.2.9 [INFO] [stderr] Downloaded portable-atomic v1.6.0 [INFO] [stderr] Downloaded stm32f3xx-hal v0.10.0 [INFO] [stderr] Downloaded cortex-m-rt v0.7.3 [INFO] [stderr] Downloaded bxcan v0.7.0 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded enumset v1.1.3 [INFO] [stderr] Downloaded stm32-usbd v0.6.0 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded thiserror-impl v1.0.49 [INFO] [stderr] Downloaded thiserror v1.0.49 [INFO] [stderr] Downloaded defmt-parser v0.3.3 [INFO] [stderr] Downloaded defmt-macros v0.3.6 [INFO] [stderr] Downloaded defmt-test v0.3.1 [INFO] [stderr] Downloaded panic-probe v0.3.1 [INFO] [stderr] Downloaded enumset_derive v0.8.1 [INFO] [stderr] Downloaded rtcc v0.3.0 [INFO] [stderr] Downloaded slice-group-by v0.3.1 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded stm32f3 v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1932d079d43aaa4bb544a32b63f8be16c25bdf58609a7398e74251f93bdc385f [INFO] running `Command { std: "docker" "start" "-a" "1932d079d43aaa4bb544a32b63f8be16c25bdf58609a7398e74251f93bdc385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1932d079d43aaa4bb544a32b63f8be16c25bdf58609a7398e74251f93bdc385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1932d079d43aaa4bb544a32b63f8be16c25bdf58609a7398e74251f93bdc385f", kill_on_drop: false }` [INFO] [stdout] 1932d079d43aaa4bb544a32b63f8be16c25bdf58609a7398e74251f93bdc385f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14cf2149812e4485aa5d8d34688bb8c394b70373b3a4c41be082ea82525c006c [INFO] running `Command { std: "docker" "start" "-a" "14cf2149812e4485aa5d8d34688bb8c394b70373b3a4c41be082ea82525c006c", 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 nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling defmt v0.3.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling defmt-macros v0.3.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling stm32f3 v0.15.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking num 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] Compiling stm32f3xx-hal v0.10.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking bxcan v0.7.0 [INFO] [stderr] Checking cfg-if v1.0.0 [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 darling_macro v0.20.3 [INFO] [stderr] Compiling defmt-parser v0.3.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] [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` (bin "blink_raw") 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] [stderr] error: could not compile `discovery-board` (lib test) due to 2 previous errors [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] [stderr] error: could not compile `discovery-board` (bin "mouse_jiggler") 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 "overflow") due to 2 previous errors [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] 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] 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[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/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:454: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/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:454: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] [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/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:454:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discovery-board` (bin "compass") due to 6 previous errors; 1 warning emitted [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/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:454: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] 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" "14cf2149812e4485aa5d8d34688bb8c394b70373b3a4c41be082ea82525c006c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14cf2149812e4485aa5d8d34688bb8c394b70373b3a4c41be082ea82525c006c", kill_on_drop: false }` [INFO] [stdout] 14cf2149812e4485aa5d8d34688bb8c394b70373b3a4c41be082ea82525c006c