[INFO] fetching crate stm32l0x1-hal 0.9.0...
[INFO] testing stm32l0x1-hal-0.9.0 against beta-2020-08-29 for beta-1.47-1
[INFO] extracting crate stm32l0x1-hal 0.9.0 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate stm32l0x1-hal 0.9.0 on toolchain beta-2020-08-29
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-10/source/.cargo/config
[INFO] started tweaking crates.io crate stm32l0x1-hal 0.9.0
[INFO] finished tweaking crates.io crate stm32l0x1-hal 0.9.0
[INFO] tweaked toml for crates.io crate stm32l0x1-hal 0.9.0 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded flash-embedded-hal v0.1.2
[INFO] [stderr]   Downloaded embedded-hal v1.0.0-alpha.1
[INFO] [stderr]   Downloaded stm32l0 v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fbb230530930449c8168f4d368db0d5ffc8d2cae3f7bdb0a680c2ccb2d87ef2e
[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" "fbb230530930449c8168f4d368db0d5ffc8d2cae3f7bdb0a680c2ccb2d87ef2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fbb230530930449c8168f4d368db0d5ffc8d2cae3f7bdb0a680c2ccb2d87ef2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbb230530930449c8168f4d368db0d5ffc8d2cae3f7bdb0a680c2ccb2d87ef2e", kill_on_drop: false }`
[INFO] [stdout] fbb230530930449c8168f4d368db0d5ffc8d2cae3f7bdb0a680c2ccb2d87ef2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c9886e0b2696d1465d8e326ca416198d5888227e8978bd5fd8552d5c76c3b5ab
[INFO] running `Command { std: "docker" "start" "-a" "c9886e0b2696d1465d8e326ca416198d5888227e8978bd5fd8552d5c76c3b5ab", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortex-m-rt v0.6.12
[INFO] [stderr]    Compiling stm32l0 v0.11.0
[INFO] [stderr]    Compiling r0 v0.2.2
[INFO] [stderr]    Compiling flash-embedded-hal v0.1.2
[INFO] [stderr]    Compiling embedded-hal v1.0.0-alpha.1
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.1.8
[INFO] [stderr]    Compiling stm32l0x1-hal v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 23.08s
[INFO] running `Command { std: "docker" "inspect" "c9886e0b2696d1465d8e326ca416198d5888227e8978bd5fd8552d5c76c3b5ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9886e0b2696d1465d8e326ca416198d5888227e8978bd5fd8552d5c76c3b5ab", kill_on_drop: false }`
[INFO] [stdout] c9886e0b2696d1465d8e326ca416198d5888227e8978bd5fd8552d5c76c3b5ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5442be9ae2b0b10e0d134d6db3232a0ebea73bda1aeee180f115f8e74cb18dbd
[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" "5442be9ae2b0b10e0d134d6db3232a0ebea73bda1aeee180f115f8e74cb18dbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling stm32l0x1-hal v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.12s
[INFO] running `Command { std: "docker" "inspect" "5442be9ae2b0b10e0d134d6db3232a0ebea73bda1aeee180f115f8e74cb18dbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5442be9ae2b0b10e0d134d6db3232a0ebea73bda1aeee180f115f8e74cb18dbd", kill_on_drop: false }`
[INFO] [stdout] 5442be9ae2b0b10e0d134d6db3232a0ebea73bda1aeee180f115f8e74cb18dbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1a03d0de31d44e585e905703e32fd744c134058e48da404eb48bdc253ca473c0
[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" "1a03d0de31d44e585e905703e32fd744c134058e48da404eb48bdc253ca473c0", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/stm32l0x1_hal-f3b4048328f0c432
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests stm32l0x1-hal
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/serial/mod.rs - serial (line 7) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio (line 7) ... FAILED
[INFO] [stdout] test src/adc.rs - adc (line 9) ... FAILED
[INFO] [stdout] test src/i2c/mod.rs - i2c (line 8) ... FAILED
[INFO] [stdout] test src/rcc/mod.rs - rcc (line 8) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/serial/mod.rs - serial (line 7) stdout ----
[INFO] [stdout] error: cannot find macro `block` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     block!(tx.write(block!(rx.read()).unwrap())).unwrap();
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed`
[INFO] [stdout]   --> src/serial/mod.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 19 | vcp_rx.set_pin_speed(PinSpeed::VeryHigh);
[INFO] [stdout]    |                      ^^^^^^^^ use of undeclared type or module `PinSpeed`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed`
[INFO] [stdout]   --> src/serial/mod.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | vcp_tx.set_pin_speed(PinSpeed::VeryHigh);
[INFO] [stdout]    |                      ^^^^^^^^ use of undeclared type or module `PinSpeed`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `clocking`
[INFO] [stdout]   --> src/serial/mod.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     clocking::USARTClkSource::HSI16,
[INFO] [stdout]    |     ^^^^^^^^ use of undeclared type or module `clocking`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pwr` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 12 | rcc.freeze(&mut flash, &mut pwr);
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio`
[INFO] [stdout]   --> src/serial/mod.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut gpiob = gpio::B::new(d.GPIOB, &mut rcc.iop);
[INFO] [stdout]    |                       ^ not found in `gpio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::gpio::B;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gpioa` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |              ^^^^^ help: a local variable with a similar name exists: `gpiob`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::gpio::PushPull;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Floating` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:23:49
[INFO] [stdout]    |
[INFO] [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::gpio::Floating;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AF4` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:23:76
[INFO] [stdout]    |
[INFO] [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |                                                                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::gpio::AF::AF4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gpioa` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |              ^^^^^ help: a local variable with a similar name exists: `gpiob`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |                                      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::gpio::PushPull;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Floating` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:26:48
[INFO] [stdout]    |
[INFO] [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::gpio::Floating;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AF4` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:26:75
[INFO] [stdout]    |
[INFO] [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::<PushPull, Floating>().into_alt_fun::<AF4>();
[INFO] [stdout]    |                                                                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::gpio::AF::AF4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Serial`
[INFO] [stdout]   --> src/serial/mod.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | let vcp_serial = Serial::usart2(
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::serial::Serial;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bps` in this scope
[INFO] [stdout]   --> src/serial/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Bps(115200),
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 4  | use stm32l0x1_hal::time::Bps;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio (line 7) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pwr` in this scope
[INFO] [stdout]  --> src/gpio.rs:13:57
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut rcc = d.RCC.constrain().freeze(&mut flash, &mut pwr);
[INFO] [stdout]   |                                                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio`
[INFO] [stdout]   --> src/gpio.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop);
[INFO] [stdout]    |                   ^ not found in `gpio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::A;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/gpio.rs:15:40
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() {
[INFO] [stdout]    |    ---- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 11 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop);
[INFO] [stdout]    |                                        ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope
[INFO] [stdout]   --> src/gpio.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 14 | let pin = gpioa.PA0.into_output::<PushPull, Floating>();
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::PushPull;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Floating` in this scope
[INFO] [stdout]   --> src/gpio.rs:18:45
[INFO] [stdout]    |
[INFO] [stdout] 14 | let pin = gpioa.PA0.into_output::<PushPull, Floating>();
[INFO] [stdout]    |                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::Floating;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::PWR` in the current scope
[INFO] [stdout]  --> src/gpio.rs:11:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut power = d.PWR.constrain();
[INFO] [stdout]   |                       ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::PWR`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::FLASH` in the current scope
[INFO] [stdout]  --> src/gpio.rs:12:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut flash = d.FLASH.constrain();
[INFO] [stdout]   |                         ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::FLASH`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::RCC` in the current scope
[INFO] [stdout]  --> src/gpio.rs:13:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut rcc = d.RCC.constrain().freeze(&mut flash, &mut pwr);
[INFO] [stdout]   |                     ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::RCC`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0424, E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/adc.rs - adc (line 9) stdout ----
[INFO] [stdout] error: cannot find macro `block` in this scope
[INFO] [stdout]   --> src/adc.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | let lvl = block!(adc.read_channel(&mut light_sense)).unwrap();
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc`
[INFO] [stdout]   --> src/adc.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let mut adc: adc::Adc<adc::Res12Bit, adc::Single> = adc::Adc::new(
[INFO] [stdout]    |              ^^^ use of undeclared type or module `adc`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc`
[INFO] [stdout]   --> src/adc.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | let mut adc: adc::Adc<adc::Res12Bit, adc::Single> = adc::Adc::new(
[INFO] [stdout]    |                       ^^^ use of undeclared type or module `adc`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc`
[INFO] [stdout]   --> src/adc.rs:19:38
[INFO] [stdout]    |
[INFO] [stdout] 13 | let mut adc: adc::Adc<adc::Res12Bit, adc::Single> = adc::Adc::new(
[INFO] [stdout]    |                                      ^^^ use of undeclared type or module `adc`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc`
[INFO] [stdout]   --> src/adc.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     adc::AdcClkSrc::Hsi16,
[INFO] [stdout]    |     ^^^ use of undeclared type or module `adc`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc`
[INFO] [stdout]   --> src/adc.rs:19:58
[INFO] [stdout]    |
[INFO] [stdout] 13 | let mut adc: adc::Adc<adc::Res12Bit, adc::Single> = adc::Adc::new(
[INFO] [stdout]    |                                                          ^^^ not found in `adc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::adc::Adc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Duration`
[INFO] [stdout]   --> src/adc.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Duration::new(0, 0),
[INFO] [stdout]    |     ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio`
[INFO] [stdout]   --> src/adc.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 23 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop);
[INFO] [stdout]    |                   ^ not found in `gpio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::A;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/adc.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() {
[INFO] [stdout]    |    ---- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 23 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop);
[INFO] [stdout]    |                                        ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Floating` in this scope
[INFO] [stdout]   --> src/adc.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     .into_input::<Floating>(&mut gpioa.moder, &mut gpioa.pupdr)
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::Floating;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::FLASH` in the current scope
[INFO] [stdout]  --> src/adc.rs:14:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut flash = d.FLASH.constrain();
[INFO] [stdout]   |                         ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::FLASH`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::PWR` in the current scope
[INFO] [stdout]  --> src/adc.rs:15:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut pwr = d.PWR.constrain();
[INFO] [stdout]   |                     ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::PWR`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::RCC` in the current scope
[INFO] [stdout]   --> src/adc.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | let mut rcc = d.RCC.constrain().freeze(&mut flash, &mut pwr);
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::RCC`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0424, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/i2c/mod.rs - i2c (line 8) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed`
[INFO] [stdout]   --> src/i2c/mod.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | i2c_sda.set_pin_speed(PinSpeed::VeryHigh);
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `PinSpeed`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed`
[INFO] [stdout]   --> src/i2c/mod.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 18 | i2c_scl.set_pin_speed(PinSpeed::VeryHigh);
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `PinSpeed`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `i2c`
[INFO] [stdout]   --> src/i2c/mod.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     i2c::I2cClkSrc::HSI16,
[INFO] [stdout]    |     ^^^ use of undeclared type or module `i2c`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio`
[INFO] [stdout]   --> src/i2c/mod.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | let gpiob = gpio::B::new(d.GPIOB, &mut self.rcc.iop);
[INFO] [stdout]    |                   ^ not found in `gpio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::B;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/i2c/mod.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() {
[INFO] [stdout]    |    ---- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 12 | let gpiob = gpio::B::new(d.GPIOB, &mut self.rcc.iop);
[INFO] [stdout]    |                                        ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OpenDrain` in this scope
[INFO] [stdout]   --> src/i2c/mod.rs:19:39
[INFO] [stdout]    |
[INFO] [stdout] 14 | let i2c_sda = gpiob.PB7.into_output::<OpenDrain, PullUp>().into_alt_fun::<AF1>();
[INFO] [stdout]    |                                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::OpenDrain;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PullUp` in this scope
[INFO] [stdout]   --> src/i2c/mod.rs:19:50
[INFO] [stdout]    |
[INFO] [stdout] 14 | let i2c_sda = gpiob.PB7.into_output::<OpenDrain, PullUp>().into_alt_fun::<AF1>();
[INFO] [stdout]    |                                                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::PullUp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AF1` in this scope
[INFO] [stdout]   --> src/i2c/mod.rs:19:75
[INFO] [stdout]    |
[INFO] [stdout] 14 | let i2c_sda = gpiob.PB7.into_output::<OpenDrain, PullUp>().into_alt_fun::<AF1>();
[INFO] [stdout]    |                                                                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::AF::AF1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OpenDrain` in this scope
[INFO] [stdout]   --> src/i2c/mod.rs:22:39
[INFO] [stdout]    |
[INFO] [stdout] 17 | let i2c_scl = gpiob.PB6.into_output::<OpenDrain, PullUp>().into_alt_fun::<AF1>();
[INFO] [stdout]    |                                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::OpenDrain;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PullUp` in this scope
[INFO] [stdout]   --> src/i2c/mod.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 17 | let i2c_scl = gpiob.PB6.into_output::<OpenDrain, PullUp>().into_alt_fun::<AF1>();
[INFO] [stdout]    |                                                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::PullUp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AF1` in this scope
[INFO] [stdout]   --> src/i2c/mod.rs:22:75
[INFO] [stdout]    |
[INFO] [stdout] 17 | let i2c_scl = gpiob.PB6.into_output::<OpenDrain, PullUp>().into_alt_fun::<AF1>();
[INFO] [stdout]    |                                                                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::gpio::AF::AF1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `i2c`
[INFO] [stdout]   --> src/i2c/mod.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 22 | let mut i2c = i2c::I2c::i2c1(
[INFO] [stdout]    |                    ^^^ not found in `i2c`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::i2c::I2c;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i2c1` in this scope
[INFO] [stdout]   --> src/i2c/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     i2c1,
[INFO] [stdout]    |     ^^^^ help: a local variable with a similar name exists: `i2c`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `I2C` on type `stm32l0x1_hal::stm32l0x1::Peripherals`
[INFO] [stdout]  --> src/i2c/mod.rs:12:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let i2c = d.I2C;
[INFO] [stdout]   |             ^^^ help: a field with a similar name exists: `I2C1`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::FLASH` in the current scope
[INFO] [stdout]  --> src/i2c/mod.rs:13:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut flash = d.FLASH.constrain();
[INFO] [stdout]   |                         ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::FLASH`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::PWR` in the current scope
[INFO] [stdout]  --> src/i2c/mod.rs:14:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut pwr = d.PWR.constrain();
[INFO] [stdout]   |                     ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::PWR`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::RCC` in the current scope
[INFO] [stdout]   --> src/i2c/mod.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | let mut rcc = d.RCC.constrain().freeze(&mut flash, &mut pwr);
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::RCC`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0424, E0425, E0433, E0599, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rcc/mod.rs - rcc (line 8) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `clocking`
[INFO] [stdout]   --> src/rcc/mod.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cfgr.msi.set_freq(clocking::MsiFreq::Hz_131_072); // set it to 131 kHz
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `clocking`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Hertz` in this scope
[INFO] [stdout]   --> src/rcc/mod.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |     cfgr.hclk_fclk = Hertz(131_072); // the HCLK bus should not be prescaled
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::time::Hertz;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Hertz` in this scope
[INFO] [stdout]   --> src/rcc/mod.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     cfgr.pclk1 = Hertz(131_072);     // same for the APB1 clock
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::time::Hertz;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Hertz` in this scope
[INFO] [stdout]   --> src/rcc/mod.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |     cfgr.pclk2 = Hertz(131_072);     // and the same for the APB2 clock
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use stm32l0x1_hal::time::Hertz;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::FLASH` in the current scope
[INFO] [stdout]  --> src/rcc/mod.rs:12:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut flash = d.FLASH.constrain();
[INFO] [stdout]   |                         ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::FLASH`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `POWER` on type `stm32l0x1_hal::stm32l0x1::Peripherals`
[INFO] [stdout]  --> src/rcc/mod.rs:13:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut pwr = d.POWER.constrain();
[INFO] [stdout]   |                 ^^^^^ unknown field
[INFO] [stdout]   |
[INFO] [stdout]   = note: available fields are: `AES`, `DMA1`, `CRC`, `GPIOA`, `GPIOB` ... and 32 others
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `constrain` found for struct `stm32l0x1_hal::stm32l0x1::RCC` in the current scope
[INFO] [stdout]  --> src/rcc/mod.rs:14:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut rcc = d.RCC.constrain();
[INFO] [stdout]   |                     ^^^^^^^^^ method not found in `stm32l0x1_hal::stm32l0x1::RCC`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32l0x1_hal::common::Constrain;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/adc.rs - adc (line 9)
[INFO] [stdout]     src/gpio.rs - gpio (line 7)
[INFO] [stdout]     src/i2c/mod.rs - i2c (line 8)
[INFO] [stdout]     src/rcc/mod.rs - rcc (line 8)
[INFO] [stdout]     src/serial/mod.rs - serial (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "1a03d0de31d44e585e905703e32fd744c134058e48da404eb48bdc253ca473c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a03d0de31d44e585e905703e32fd744c134058e48da404eb48bdc253ca473c0", kill_on_drop: false }`
[INFO] [stdout] 1a03d0de31d44e585e905703e32fd744c134058e48da404eb48bdc253ca473c0
