Dec 06 21:27:25.846 INFO testing stm32l0x1-hal-0.8.0 against try#6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468 for pr-56514 Dec 06 21:27:25.846 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56514/worker-1/try#6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-1/pr-56514/try#6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Dec 06 21:27:26.052 INFO [stdout] 25dfab397c8bb9d9513b1f2b00b9b5818763300e350c250b04f99959a41fd297 Dec 06 21:27:26.057 INFO running `"docker" "start" "-a" "25dfab397c8bb9d9513b1f2b00b9b5818763300e350c250b04f99959a41fd297"` Dec 06 21:27:26.460 INFO [stderr] usermod: no changes Dec 06 21:27:26.627 INFO [stderr] Compiling rand_core v0.3.0 Dec 06 21:27:26.627 INFO [stderr] Compiling cortex-m v0.5.8 Dec 06 21:27:26.627 INFO [stderr] Compiling cortex-m-rt v0.6.5 Dec 06 21:27:26.627 INFO [stderr] Compiling stm32l0x1 v0.13.2 Dec 06 21:27:26.630 INFO [stderr] Compiling aligned v0.2.0 Dec 06 21:27:26.630 INFO [stderr] Compiling r0 v0.2.2 Dec 06 21:27:26.630 INFO [stderr] Compiling nb v0.1.1 Dec 06 21:27:26.630 INFO [stderr] Compiling flash-embedded-hal v0.1.2 Dec 06 21:27:27.156 INFO [stderr] Compiling bare-metal v0.2.4 Dec 06 21:27:27.165 INFO [stderr] Compiling syn v0.15.22 Dec 06 21:27:27.204 INFO [stderr] Compiling embedded-hal v0.2.2 Dec 06 21:27:27.872 INFO [stderr] Compiling rand_core v0.2.2 Dec 06 21:27:28.052 INFO [stderr] Compiling rand v0.5.5 Dec 06 21:27:41.496 INFO [stderr] Compiling cortex-m-rt-macros v0.1.3 Dec 06 21:27:55.925 INFO [stderr] Compiling stm32l0x1-hal v0.8.0 (/source) Dec 06 21:27:57.020 INFO [stderr] warning: unused import: `rcc::clocking::LPTimerClkSource` Dec 06 21:27:57.020 INFO [stderr] --> src/timer.rs:10:5 Dec 06 21:27:57.020 INFO [stderr] | Dec 06 21:27:57.020 INFO [stderr] 10 | use rcc::clocking::LPTimerClkSource; Dec 06 21:27:57.021 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Dec 06 21:27:57.021 INFO [stderr] | Dec 06 21:27:57.021 INFO [stderr] = note: #[warn(unused_imports)] on by default Dec 06 21:27:57.021 INFO [stderr] Dec 06 21:27:58.963 INFO [stderr] warning: unused import: `Read` Dec 06 21:27:58.963 INFO [stderr] --> src/flash.rs:12:19 Dec 06 21:27:58.963 INFO [stderr] | Dec 06 21:27:58.963 INFO [stderr] 12 | use fhal::flash::{Read, WriteErase, Locking}; Dec 06 21:27:58.963 INFO [stderr] | ^^^^ Dec 06 21:27:58.963 INFO [stderr] Dec 06 21:28:00.097 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.62s Dec 06 21:28:00.104 INFO [stderr] su: No module specific data is present Dec 06 21:28:00.509 INFO running `"docker" "inspect" "25dfab397c8bb9d9513b1f2b00b9b5818763300e350c250b04f99959a41fd297"` Dec 06 21:28:00.650 INFO running `"docker" "rm" "-f" "25dfab397c8bb9d9513b1f2b00b9b5818763300e350c250b04f99959a41fd297"` Dec 06 21:28:00.836 INFO [stdout] 25dfab397c8bb9d9513b1f2b00b9b5818763300e350c250b04f99959a41fd297 Dec 06 21:28:00.839 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56514/worker-1/try#6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-1/pr-56514/try#6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468-alt test --frozen --no-run" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Dec 06 21:28:01.112 INFO [stdout] 4fc9da36c853b6a8e83582db490d6df4bd6c7ff76a551f41854f537f3f777eaa Dec 06 21:28:01.117 INFO running `"docker" "start" "-a" "4fc9da36c853b6a8e83582db490d6df4bd6c7ff76a551f41854f537f3f777eaa"` Dec 06 21:28:01.637 INFO [stderr] usermod: no changes Dec 06 21:28:01.711 INFO [stderr] Compiling stm32l0x1-hal v0.8.0 (/source) Dec 06 21:28:02.824 INFO [stderr] warning: unused import: `rcc::clocking::LPTimerClkSource` Dec 06 21:28:02.824 INFO [stderr] --> src/timer.rs:10:5 Dec 06 21:28:02.825 INFO [stderr] | Dec 06 21:28:02.825 INFO [stderr] 10 | use rcc::clocking::LPTimerClkSource; Dec 06 21:28:02.825 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Dec 06 21:28:02.826 INFO [stderr] | Dec 06 21:28:02.826 INFO [stderr] = note: #[warn(unused_imports)] on by default Dec 06 21:28:02.826 INFO [stderr] Dec 06 21:28:04.674 INFO [stderr] warning: unused import: `Read` Dec 06 21:28:04.675 INFO [stderr] --> src/flash.rs:12:19 Dec 06 21:28:04.675 INFO [stderr] | Dec 06 21:28:04.675 INFO [stderr] 12 | use fhal::flash::{Read, WriteErase, Locking}; Dec 06 21:28:04.676 INFO [stderr] | ^^^^ Dec 06 21:28:04.676 INFO [stderr] Dec 06 21:28:05.857 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.18s Dec 06 21:28:05.868 INFO [stderr] su: No module specific data is present Dec 06 21:28:06.918 INFO running `"docker" "inspect" "4fc9da36c853b6a8e83582db490d6df4bd6c7ff76a551f41854f537f3f777eaa"` Dec 06 21:28:07.178 INFO running `"docker" "rm" "-f" "4fc9da36c853b6a8e83582db490d6df4bd6c7ff76a551f41854f537f3f777eaa"` Dec 06 21:28:07.436 INFO [stdout] 4fc9da36c853b6a8e83582db490d6df4bd6c7ff76a551f41854f537f3f777eaa Dec 06 21:28:07.442 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56514/worker-1/try#6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-1/pr-56514/try#6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468-alt test --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Dec 06 21:28:07.761 INFO [stdout] 785f01388175b8906873d3bef6427952a5f01c982aca808feb8a7f55301330ba Dec 06 21:28:07.764 INFO running `"docker" "start" "-a" "785f01388175b8906873d3bef6427952a5f01c982aca808feb8a7f55301330ba"` Dec 06 21:28:09.015 INFO [stderr] usermod: no changes Dec 06 21:28:09.107 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.07s Dec 06 21:28:09.112 INFO [stderr] Running /target/debug/deps/stm32l0x1_hal-2db908e636ffbadb Dec 06 21:28:09.118 INFO [stderr] Doc-tests stm32l0x1-hal Dec 06 21:28:09.119 INFO [stdout] Dec 06 21:28:09.119 INFO [stdout] running 0 tests Dec 06 21:28:09.119 INFO [stdout] Dec 06 21:28:09.119 INFO [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Dec 06 21:28:09.119 INFO [stdout] Dec 06 21:28:10.668 INFO [stdout] Dec 06 21:28:10.668 INFO [stdout] running 5 tests Dec 06 21:28:17.444 INFO [stdout] test src/i2c/mod.rs - i2c (line 8) ... FAILED Dec 06 21:28:17.444 INFO [stdout] test src/adc.rs - adc (line 9) ... FAILED Dec 06 21:28:17.444 INFO [stdout] test src/serial/mod.rs - serial (line 7) ... FAILED Dec 06 21:28:17.510 INFO [stdout] test src/gpio.rs - gpio (line 7) ... FAILED Dec 06 21:28:17.662 INFO [stdout] test src/rcc/mod.rs - rcc (line 8) ... FAILED Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] failures: Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] ---- src/i2c/mod.rs - i2c (line 8) stdout ---- Dec 06 21:28:17.662 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio` Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:17:13 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 12 | let gpiob = gpio::B::new(d.GPIOB, &mut self.rcc.iop); Dec 06 21:28:17.662 INFO [stdout] | ^^^^ use of undeclared type or module `gpio` Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed` Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:20:23 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 15 | i2c_sda.set_pin_speed(PinSpeed::VeryHigh); Dec 06 21:28:17.662 INFO [stdout] | ^^^^^^^^ use of undeclared type or module `PinSpeed` Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed` Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:23:23 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 18 | i2c_scl.set_pin_speed(PinSpeed::VeryHigh); Dec 06 21:28:17.662 INFO [stdout] | ^^^^^^^^ use of undeclared type or module `PinSpeed` Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `i2c` Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:27:15 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 22 | let mut i2c = i2c::I2c::i2c1( Dec 06 21:28:17.662 INFO [stdout] | ^^^ use of undeclared type or module `i2c` Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `i2c` Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:30:5 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 25 | i2c::I2cClkSrc::HSI16, Dec 06 21:28:17.662 INFO [stdout] | ^^^ use of undeclared type or module `i2c` Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0424]: expected value, found module `self` Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:17:40 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 12 | let gpiob = gpio::B::new(d.GPIOB, &mut self.rcc.iop); Dec 06 21:28:17.662 INFO [stdout] | ^^^^ `self` value is a keyword only available in methods with `self` parameter Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0412]: cannot find type `OpenDrain` in this scope Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:19:39 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 14 | let i2c_sda = gpiob.PB7.into_output::().into_alt_fun::(); Dec 06 21:28:17.662 INFO [stdout] | ^^^^^^^^^ not found in this scope Dec 06 21:28:17.662 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 3 | use stm32l0x1_hal::gpio::OpenDrain; Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0412]: cannot find type `PullUp` in this scope Dec 06 21:28:17.662 INFO [stdout] --> src/i2c/mod.rs:19:50 Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 14 | let i2c_sda = gpiob.PB7.into_output::().into_alt_fun::(); Dec 06 21:28:17.662 INFO [stdout] | ^^^^^^ not found in this scope Dec 06 21:28:17.662 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] 3 | use stm32l0x1_hal::gpio::PullUp; Dec 06 21:28:17.662 INFO [stdout] | Dec 06 21:28:17.662 INFO [stdout] Dec 06 21:28:17.662 INFO [stdout] error[E0412]: cannot find type `AF1` in this scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:19:75 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 14 | let i2c_sda = gpiob.PB7.into_output::().into_alt_fun::(); Dec 06 21:28:17.663 INFO [stdout] | ^^^ not found in this scope Dec 06 21:28:17.663 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 3 | use stm32l0x1_hal::gpio::AF::AF1; Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0412]: cannot find type `OpenDrain` in this scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:22:39 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 17 | let i2c_scl = gpiob.PB6.into_output::().into_alt_fun::(); Dec 06 21:28:17.663 INFO [stdout] | ^^^^^^^^^ not found in this scope Dec 06 21:28:17.663 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 3 | use stm32l0x1_hal::gpio::OpenDrain; Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0412]: cannot find type `PullUp` in this scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:22:50 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 17 | let i2c_scl = gpiob.PB6.into_output::().into_alt_fun::(); Dec 06 21:28:17.663 INFO [stdout] | ^^^^^^ not found in this scope Dec 06 21:28:17.663 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 3 | use stm32l0x1_hal::gpio::PullUp; Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0412]: cannot find type `AF1` in this scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:22:75 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 17 | let i2c_scl = gpiob.PB6.into_output::().into_alt_fun::(); Dec 06 21:28:17.663 INFO [stdout] | ^^^ not found in this scope Dec 06 21:28:17.663 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 3 | use stm32l0x1_hal::gpio::AF::AF1; Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0425]: cannot find value `i2c1` in this scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:28:5 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 23 | i2c1, Dec 06 21:28:17.663 INFO [stdout] | ^^^^ did you mean `i2c`? Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0609]: no field `I2C` on type `stm32l0x1_hal::stm32l0x1::Peripherals` Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:12:13 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 7 | let i2c = d.I2C; Dec 06 21:28:17.663 INFO [stdout] | ^^^ did you mean `I2C1`? Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::FLASH` in the current scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:13:25 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 8 | let mut flash = d.FLASH.constrain(); Dec 06 21:28:17.663 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.663 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::PWR` in the current scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:14:21 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 9 | let mut pwr = d.PWR.constrain(); Dec 06 21:28:17.663 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.663 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] Dec 06 21:28:17.663 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::RCC` in the current scope Dec 06 21:28:17.663 INFO [stdout] --> src/i2c/mod.rs:15:21 Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 10 | let mut rcc = d.RCC.constrain().freeze(&mut flash, &mut pwr); Dec 06 21:28:17.663 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.663 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.663 INFO [stdout] | Dec 06 21:28:17.663 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.664 INFO [stdout] | Dec 06 21:28:17.664 INFO [stdout] Dec 06 21:28:17.664 INFO [stdout] thread 'src/i2c/mod.rs - i2c (line 8)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:320:13 Dec 06 21:28:17.664 INFO [stdout] stack backtrace: Dec 06 21:28:17.664 INFO [stdout] 0: 0x7fbfb290ac83 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h82c998a0e635a5c4 Dec 06 21:28:17.664 INFO [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 Dec 06 21:28:17.664 INFO [stdout] 1: 0x7fbfb2902398 - std::sys_common::backtrace::_print::h5fbc0bc3cf12d9bf Dec 06 21:28:17.664 INFO [stdout] at src/libstd/sys_common/backtrace.rs:71 Dec 06 21:28:17.664 INFO [stdout] 2: 0x7fbfb29076f2 - std::panicking::default_hook::{{closure}}::h42b81c3dd1a50e32 Dec 06 21:28:17.664 INFO [stdout] at src/libstd/sys_common/backtrace.rs:59 Dec 06 21:28:17.664 INFO [stdout] at src/libstd/panicking.rs:211 Dec 06 21:28:17.664 INFO [stdout] 3: 0x7fbfb29073dc - std::panicking::default_hook::h6c8d8e1c12a669e5 Dec 06 21:28:17.664 INFO [stdout] at src/libstd/panicking.rs:221 Dec 06 21:28:17.664 INFO [stdout] 4: 0x7fbfb4afdbe3 - rustc::util::common::panic_hook::hee3fbe716b3fcfcb Dec 06 21:28:17.664 INFO [stdout] 5: 0x7fbfb2907ed9 - std::panicking::rust_panic_with_hook::hce93a56e38c2b0aa Dec 06 21:28:17.664 INFO [stdout] at src/libstd/panicking.rs:495 Dec 06 21:28:17.664 INFO [stdout] 6: 0x564f5f7dc7e4 - std::panicking::begin_panic::ha25a627474d4e5da Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:425 Dec 06 21:28:17.664 INFO [stdout] 7: 0x564f5f90c9ee - >::set::h6fba450d915d3ae0 Dec 06 21:28:17.664 INFO [stdout] at src/librustdoc/test.rs:320 Dec 06 21:28:17.664 INFO [stdout] at src/librustdoc/test.rs:637 Dec 06 21:28:17.664 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:123 Dec 06 21:28:17.664 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.664 INFO [stdout] 8: 0x564f5f817731 - syntax::with_globals::hd814ac314ed297c4 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:122 Dec 06 21:28:17.664 INFO [stdout] 9: 0x564f5f7dca5b - std::panicking::try::do_call::hbaf56ae6a6710f93 Dec 06 21:28:17.664 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.664 INFO [stdout] 10: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.664 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.664 INFO [stdout] 11: 0x564f5f84be79 - rustc_driver::in_named_rustc_thread::h0ce4726d588f1a25 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/librustc_driver/lib.rs:1556 Dec 06 21:28:17.664 INFO [stdout] 12: 0x564f5f9285b0 - >::call_box::h42fb28874969a211 Dec 06 21:28:17.664 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.664 INFO [stdout] 13: 0x7fbfb3f69c22 - >::call_box::hcafec6f9d69b4bca Dec 06 21:28:17.664 INFO [stdout] at src/libtest/lib.rs:1464 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.664 INFO [stdout] 14: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.664 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.664 INFO [stdout] 15: 0x7fbfb3f614f3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h018d03d6681412f5 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.664 INFO [stdout] at src/libtest/lib.rs:1426 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/sys_common/backtrace.rs:136 Dec 06 21:28:17.664 INFO [stdout] 16: 0x7fbfb3f62484 - std::panicking::try::do_call::hf8ab3f21dcfaa7a6 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:477 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.664 INFO [stdout] 17: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.664 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.664 INFO [stdout] 18: 0x7fbfb3f699ec - >::call_box::h6465cc998309e287 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:476 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.664 INFO [stdout] 19: 0x7fbfb291782d - std::sys::unix::thread::Thread::new::thread_start::h0fe9c527147fd5f5 Dec 06 21:28:17.664 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:683 Dec 06 21:28:17.664 INFO [stdout] at src/libstd/sys_common/thread.rs:24 Dec 06 21:28:17.664 INFO [stdout] at src/libstd/sys/unix/thread.rs:90 Dec 06 21:28:17.664 INFO [stdout] 20: 0x7fbfb268b6b9 - start_thread Dec 06 21:28:17.664 INFO [stdout] 21: 0x7fbfb1fa341c - clone Dec 06 21:28:17.664 INFO [stdout] 22: 0x0 - Dec 06 21:28:17.664 INFO [stdout] query stack during panic: Dec 06 21:28:17.664 INFO [stdout] end of query stack Dec 06 21:28:17.664 INFO [stdout] Dec 06 21:28:17.664 INFO [stdout] ---- src/adc.rs - adc (line 9) stdout ---- Dec 06 21:28:17.664 INFO [stdout] error: cannot find macro `block!` in this scope Dec 06 21:28:17.664 INFO [stdout] --> src/adc.rs:35:11 Dec 06 21:28:17.664 INFO [stdout] | Dec 06 21:28:17.664 INFO [stdout] 29 | let lvl = block!(adc.read_channel(&mut light_sense)).unwrap(); Dec 06 21:28:17.664 INFO [stdout] | ^^^^^ Dec 06 21:28:17.664 INFO [stdout] Dec 06 21:28:17.664 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc` Dec 06 21:28:17.664 INFO [stdout] --> src/adc.rs:19:14 Dec 06 21:28:17.664 INFO [stdout] | Dec 06 21:28:17.664 INFO [stdout] 13 | let mut adc: adc::Adc = adc::Adc::new( Dec 06 21:28:17.664 INFO [stdout] | ^^^ use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:19:23 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 13 | let mut adc: adc::Adc = adc::Adc::new( Dec 06 21:28:17.665 INFO [stdout] | ^^^ use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:19:38 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 13 | let mut adc: adc::Adc = adc::Adc::new( Dec 06 21:28:17.665 INFO [stdout] | ^^^ use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:19:53 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 13 | let mut adc: adc::Adc = adc::Adc::new( Dec 06 21:28:17.665 INFO [stdout] | ^^^ use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Duration` Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:21:5 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 15 | Duration::new(0, 0), Dec 06 21:28:17.665 INFO [stdout] | ^^^^^^^^ use of undeclared type or module `Duration` Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:22:5 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 16 | adc::AdcClkSrc::Hsi16, Dec 06 21:28:17.665 INFO [stdout] | ^^^ use of undeclared type or module `adc` Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio` Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:29:13 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 23 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop); Dec 06 21:28:17.665 INFO [stdout] | ^^^^ use of undeclared type or module `gpio` Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0424]: expected value, found module `self` Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:29:40 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 23 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop); Dec 06 21:28:17.665 INFO [stdout] | ^^^^ `self` value is a keyword only available in methods with `self` parameter Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] error[E0412]: cannot find type `Floating` in this scope Dec 06 21:28:17.665 INFO [stdout] --> src/adc.rs:32:19 Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 26 | .into_input::(&mut gpioa.moder, &mut gpioa.pupdr) Dec 06 21:28:17.665 INFO [stdout] | ^^^^^^^^ not found in this scope Dec 06 21:28:17.665 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] 3 | use stm32l0x1_hal::gpio::Floating; Dec 06 21:28:17.665 INFO [stdout] | Dec 06 21:28:17.665 INFO [stdout] Dec 06 21:28:17.665 INFO [stdout] thread 'src/adc.rs - adc (line 9)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:320:13 Dec 06 21:28:17.665 INFO [stdout] stack backtrace: Dec 06 21:28:17.665 INFO [stdout] 0: 0x7fbfb290ac83 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h82c998a0e635a5c4 Dec 06 21:28:17.665 INFO [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 Dec 06 21:28:17.665 INFO [stdout] 1: 0x7fbfb2902398 - std::sys_common::backtrace::_print::h5fbc0bc3cf12d9bf Dec 06 21:28:17.665 INFO [stdout] at src/libstd/sys_common/backtrace.rs:71 Dec 06 21:28:17.665 INFO [stdout] 2: 0x7fbfb29076f2 - std::panicking::default_hook::{{closure}}::h42b81c3dd1a50e32 Dec 06 21:28:17.665 INFO [stdout] at src/libstd/sys_common/backtrace.rs:59 Dec 06 21:28:17.665 INFO [stdout] at src/libstd/panicking.rs:211 Dec 06 21:28:17.665 INFO [stdout] 3: 0x7fbfb29073dc - std::panicking::default_hook::h6c8d8e1c12a669e5 Dec 06 21:28:17.665 INFO [stdout] at src/libstd/panicking.rs:221 Dec 06 21:28:17.665 INFO [stdout] 4: 0x7fbfb4afdbe3 - rustc::util::common::panic_hook::hee3fbe716b3fcfcb Dec 06 21:28:17.665 INFO [stdout] 5: 0x7fbfb2907ed9 - std::panicking::rust_panic_with_hook::hce93a56e38c2b0aa Dec 06 21:28:17.665 INFO [stdout] at src/libstd/panicking.rs:495 Dec 06 21:28:17.665 INFO [stdout] 6: 0x564f5f7dc7e4 - std::panicking::begin_panic::ha25a627474d4e5da Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:425 Dec 06 21:28:17.665 INFO [stdout] 7: 0x564f5f90c9ee - >::set::h6fba450d915d3ae0 Dec 06 21:28:17.665 INFO [stdout] at src/librustdoc/test.rs:320 Dec 06 21:28:17.665 INFO [stdout] at src/librustdoc/test.rs:637 Dec 06 21:28:17.665 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:123 Dec 06 21:28:17.665 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.665 INFO [stdout] 8: 0x564f5f817731 - syntax::with_globals::hd814ac314ed297c4 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:122 Dec 06 21:28:17.665 INFO [stdout] 9: 0x564f5f7dca5b - std::panicking::try::do_call::hbaf56ae6a6710f93 Dec 06 21:28:17.665 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.665 INFO [stdout] 10: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.665 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.665 INFO [stdout] 11: 0x564f5f84be79 - rustc_driver::in_named_rustc_thread::h0ce4726d588f1a25 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/librustc_driver/lib.rs:1556 Dec 06 21:28:17.665 INFO [stdout] 12: 0x564f5f9285b0 - >::call_box::h42fb28874969a211 Dec 06 21:28:17.665 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.665 INFO [stdout] 13: 0x7fbfb3f69c22 - >::call_box::hcafec6f9d69b4bca Dec 06 21:28:17.665 INFO [stdout] at src/libtest/lib.rs:1464 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.665 INFO [stdout] 14: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.665 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.665 INFO [stdout] 15: 0x7fbfb3f614f3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h018d03d6681412f5 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.665 INFO [stdout] at src/libtest/lib.rs:1426 Dec 06 21:28:17.665 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/sys_common/backtrace.rs:136 Dec 06 21:28:17.666 INFO [stdout] 16: 0x7fbfb3f62484 - std::panicking::try::do_call::hf8ab3f21dcfaa7a6 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:477 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.666 INFO [stdout] 17: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.666 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.666 INFO [stdout] 18: 0x7fbfb3f699ec - >::call_box::h6465cc998309e287 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:476 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.666 INFO [stdout] 19: 0x7fbfb291782d - std::sys::unix::thread::Thread::new::thread_start::h0fe9c527147fd5f5 Dec 06 21:28:17.666 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:683 Dec 06 21:28:17.666 INFO [stdout] at src/libstd/sys_common/thread.rs:24 Dec 06 21:28:17.666 INFO [stdout] at src/libstd/sys/unix/thread.rs:90 Dec 06 21:28:17.666 INFO [stdout] 20: 0x7fbfb268b6b9 - start_thread Dec 06 21:28:17.666 INFO [stdout] 21: 0x7fbfb1fa341c - clone Dec 06 21:28:17.666 INFO [stdout] 22: 0x0 - Dec 06 21:28:17.666 INFO [stdout] query stack during panic: Dec 06 21:28:17.666 INFO [stdout] end of query stack Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] ---- src/serial/mod.rs - serial (line 7) stdout ---- Dec 06 21:28:17.666 INFO [stdout] error: cannot find macro `block!` in this scope Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:41:5 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 36 | block!(tx.write(block!(rx.read()).unwrap())).unwrap(); Dec 06 21:28:17.666 INFO [stdout] | ^^^^^ Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio` Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:20:17 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 15 | let mut gpiob = gpio::B::new(d.GPIOB, &mut rcc.iop); Dec 06 21:28:17.666 INFO [stdout] | ^^^^ use of undeclared type or module `gpio` Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed` Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:24:22 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 19 | vcp_rx.set_pin_speed(PinSpeed::VeryHigh); Dec 06 21:28:17.666 INFO [stdout] | ^^^^^^^^ use of undeclared type or module `PinSpeed` Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PinSpeed` Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:27:22 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 22 | vcp_tx.set_pin_speed(PinSpeed::VeryHigh); Dec 06 21:28:17.666 INFO [stdout] | ^^^^^^^^ use of undeclared type or module `PinSpeed` Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Serial` Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:29:18 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 24 | let vcp_serial = Serial::usart2( Dec 06 21:28:17.666 INFO [stdout] | ^^^^^^ use of undeclared type or module `Serial` Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `clocking` Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:33:5 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 28 | clocking::USARTClkSource::HSI16, Dec 06 21:28:17.666 INFO [stdout] | ^^^^^^^^ use of undeclared type or module `clocking` Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0425]: cannot find value `pwr` in this scope Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:17:29 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 12 | rcc.freeze(&mut flash, &mut pwr); Dec 06 21:28:17.666 INFO [stdout] | ^^^ not found in this scope Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0425]: cannot find value `gpioa` in this scope Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:23:14 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::().into_alt_fun::(); Dec 06 21:28:17.666 INFO [stdout] | ^^^^^ did you mean `gpiob`? Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0412]: cannot find type `PushPull` in this scope Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:23:39 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::().into_alt_fun::(); Dec 06 21:28:17.666 INFO [stdout] | ^^^^^^^^ not found in this scope Dec 06 21:28:17.666 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 4 | use stm32l0x1_hal::gpio::PushPull; Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0412]: cannot find type `Floating` in this scope Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:23:49 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::().into_alt_fun::(); Dec 06 21:28:17.666 INFO [stdout] | ^^^^^^^^ not found in this scope Dec 06 21:28:17.666 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 4 | use stm32l0x1_hal::gpio::Floating; Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] Dec 06 21:28:17.666 INFO [stdout] error[E0412]: cannot find type `AF4` in this scope Dec 06 21:28:17.666 INFO [stdout] --> src/serial/mod.rs:23:76 Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.666 INFO [stdout] 18 | let vcp_rx = gpioa.PA15.into_output::().into_alt_fun::(); Dec 06 21:28:17.666 INFO [stdout] | ^^^ not found in this scope Dec 06 21:28:17.666 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.666 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 4 | use stm32l0x1_hal::gpio::AF::AF4; Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] Dec 06 21:28:17.667 INFO [stdout] error[E0425]: cannot find value `gpioa` in this scope Dec 06 21:28:17.667 INFO [stdout] --> src/serial/mod.rs:26:14 Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::().into_alt_fun::(); Dec 06 21:28:17.667 INFO [stdout] | ^^^^^ did you mean `gpiob`? Dec 06 21:28:17.667 INFO [stdout] Dec 06 21:28:17.667 INFO [stdout] error[E0412]: cannot find type `PushPull` in this scope Dec 06 21:28:17.667 INFO [stdout] --> src/serial/mod.rs:26:38 Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::().into_alt_fun::(); Dec 06 21:28:17.667 INFO [stdout] | ^^^^^^^^ not found in this scope Dec 06 21:28:17.667 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 4 | use stm32l0x1_hal::gpio::PushPull; Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] Dec 06 21:28:17.667 INFO [stdout] error[E0412]: cannot find type `Floating` in this scope Dec 06 21:28:17.667 INFO [stdout] --> src/serial/mod.rs:26:48 Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::().into_alt_fun::(); Dec 06 21:28:17.667 INFO [stdout] | ^^^^^^^^ not found in this scope Dec 06 21:28:17.667 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 4 | use stm32l0x1_hal::gpio::Floating; Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] Dec 06 21:28:17.667 INFO [stdout] error[E0412]: cannot find type `AF4` in this scope Dec 06 21:28:17.667 INFO [stdout] --> src/serial/mod.rs:26:75 Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 21 | let vcp_tx = gpioa.PA2.into_output::().into_alt_fun::(); Dec 06 21:28:17.667 INFO [stdout] | ^^^ not found in this scope Dec 06 21:28:17.667 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 4 | use stm32l0x1_hal::gpio::AF::AF4; Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] Dec 06 21:28:17.667 INFO [stdout] error[E0425]: cannot find function `Bps` in this scope Dec 06 21:28:17.667 INFO [stdout] --> src/serial/mod.rs:32:5 Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 27 | Bps(115200), Dec 06 21:28:17.667 INFO [stdout] | ^^^ not found in this scope Dec 06 21:28:17.667 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] 4 | use stm32l0x1_hal::time::Bps; Dec 06 21:28:17.667 INFO [stdout] | Dec 06 21:28:17.667 INFO [stdout] Dec 06 21:28:17.667 INFO [stdout] thread 'src/serial/mod.rs - serial (line 7)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:320:13 Dec 06 21:28:17.667 INFO [stdout] stack backtrace: Dec 06 21:28:17.667 INFO [stdout] 0: 0x7fbfb290ac83 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h82c998a0e635a5c4 Dec 06 21:28:17.667 INFO [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 Dec 06 21:28:17.667 INFO [stdout] 1: 0x7fbfb2902398 - std::sys_common::backtrace::_print::h5fbc0bc3cf12d9bf Dec 06 21:28:17.667 INFO [stdout] at src/libstd/sys_common/backtrace.rs:71 Dec 06 21:28:17.667 INFO [stdout] 2: 0x7fbfb29076f2 - std::panicking::default_hook::{{closure}}::h42b81c3dd1a50e32 Dec 06 21:28:17.667 INFO [stdout] at src/libstd/sys_common/backtrace.rs:59 Dec 06 21:28:17.667 INFO [stdout] at src/libstd/panicking.rs:211 Dec 06 21:28:17.667 INFO [stdout] 3: 0x7fbfb29073dc - std::panicking::default_hook::h6c8d8e1c12a669e5 Dec 06 21:28:17.667 INFO [stdout] at src/libstd/panicking.rs:221 Dec 06 21:28:17.667 INFO [stdout] 4: 0x7fbfb4afdbe3 - rustc::util::common::panic_hook::hee3fbe716b3fcfcb Dec 06 21:28:17.667 INFO [stdout] 5: 0x7fbfb2907ed9 - std::panicking::rust_panic_with_hook::hce93a56e38c2b0aa Dec 06 21:28:17.667 INFO [stdout] at src/libstd/panicking.rs:495 Dec 06 21:28:17.667 INFO [stdout] 6: 0x564f5f7dc7e4 - std::panicking::begin_panic::ha25a627474d4e5da Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:425 Dec 06 21:28:17.667 INFO [stdout] 7: 0x564f5f90c9ee - >::set::h6fba450d915d3ae0 Dec 06 21:28:17.667 INFO [stdout] at src/librustdoc/test.rs:320 Dec 06 21:28:17.667 INFO [stdout] at src/librustdoc/test.rs:637 Dec 06 21:28:17.667 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:123 Dec 06 21:28:17.667 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.667 INFO [stdout] 8: 0x564f5f817731 - syntax::with_globals::hd814ac314ed297c4 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:122 Dec 06 21:28:17.667 INFO [stdout] 9: 0x564f5f7dca5b - std::panicking::try::do_call::hbaf56ae6a6710f93 Dec 06 21:28:17.667 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.667 INFO [stdout] 10: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.667 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.667 INFO [stdout] 11: 0x564f5f84be79 - rustc_driver::in_named_rustc_thread::h0ce4726d588f1a25 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/librustc_driver/lib.rs:1556 Dec 06 21:28:17.667 INFO [stdout] 12: 0x564f5f9285b0 - >::call_box::h42fb28874969a211 Dec 06 21:28:17.667 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.667 INFO [stdout] 13: 0x7fbfb3f69c22 - >::call_box::hcafec6f9d69b4bca Dec 06 21:28:17.667 INFO [stdout] at src/libtest/lib.rs:1464 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.667 INFO [stdout] 14: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.667 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.667 INFO [stdout] 15: 0x7fbfb3f614f3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h018d03d6681412f5 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.667 INFO [stdout] at src/libtest/lib.rs:1426 Dec 06 21:28:17.667 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/sys_common/backtrace.rs:136 Dec 06 21:28:17.668 INFO [stdout] 16: 0x7fbfb3f62484 - std::panicking::try::do_call::hf8ab3f21dcfaa7a6 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:477 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.668 INFO [stdout] 17: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.668 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.668 INFO [stdout] 18: 0x7fbfb3f699ec - >::call_box::h6465cc998309e287 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:476 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.668 INFO [stdout] 19: 0x7fbfb291782d - std::sys::unix::thread::Thread::new::thread_start::h0fe9c527147fd5f5 Dec 06 21:28:17.668 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:683 Dec 06 21:28:17.668 INFO [stdout] at src/libstd/sys_common/thread.rs:24 Dec 06 21:28:17.668 INFO [stdout] at src/libstd/sys/unix/thread.rs:90 Dec 06 21:28:17.668 INFO [stdout] 20: 0x7fbfb268b6b9 - start_thread Dec 06 21:28:17.668 INFO [stdout] 21: 0x7fbfb1fa341c - clone Dec 06 21:28:17.668 INFO [stdout] 22: 0x0 - Dec 06 21:28:17.668 INFO [stdout] query stack during panic: Dec 06 21:28:17.668 INFO [stdout] end of query stack Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] ---- src/gpio.rs - gpio (line 7) stdout ---- Dec 06 21:28:17.668 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpio` Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:15:13 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 11 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop); Dec 06 21:28:17.668 INFO [stdout] | ^^^^ use of undeclared type or module `gpio` Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] error[E0425]: cannot find value `pwr` in this scope Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:13:57 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 9 | let mut rcc = d.RCC.constrain().freeze(&mut flash, &mut pwr); Dec 06 21:28:17.668 INFO [stdout] | ^^^ not found in this scope Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] error[E0424]: expected value, found module `self` Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:15:40 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 11 | let gpioa = gpio::A::new(d.GPIOA, &mut self.rcc.iop); Dec 06 21:28:17.668 INFO [stdout] | ^^^^ `self` value is a keyword only available in methods with `self` parameter Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] error[E0412]: cannot find type `PushPull` in this scope Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:18:35 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 14 | let pin = gpioa.PA0.into_output::(); Dec 06 21:28:17.668 INFO [stdout] | ^^^^^^^^ not found in this scope Dec 06 21:28:17.668 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 3 | use stm32l0x1_hal::gpio::PushPull; Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] error[E0412]: cannot find type `Floating` in this scope Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:18:45 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 14 | let pin = gpioa.PA0.into_output::(); Dec 06 21:28:17.668 INFO [stdout] | ^^^^^^^^ not found in this scope Dec 06 21:28:17.668 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 3 | use stm32l0x1_hal::gpio::Floating; Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::PWR` in the current scope Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:11:23 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 7 | let mut power = d.PWR.constrain(); Dec 06 21:28:17.668 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.668 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::FLASH` in the current scope Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:12:25 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 8 | let mut flash = d.FLASH.constrain(); Dec 06 21:28:17.668 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.668 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::RCC` in the current scope Dec 06 21:28:17.668 INFO [stdout] --> src/gpio.rs:13:21 Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 9 | let mut rcc = d.RCC.constrain().freeze(&mut flash, &mut pwr); Dec 06 21:28:17.668 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.668 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.668 INFO [stdout] | Dec 06 21:28:17.668 INFO [stdout] Dec 06 21:28:17.668 INFO [stdout] thread 'src/gpio.rs - gpio (line 7)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:320:13 Dec 06 21:28:17.668 INFO [stdout] stack backtrace: Dec 06 21:28:17.669 INFO [stdout] 0: 0x7fbfb290ac83 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h82c998a0e635a5c4 Dec 06 21:28:17.669 INFO [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 Dec 06 21:28:17.669 INFO [stdout] 1: 0x7fbfb2902398 - std::sys_common::backtrace::_print::h5fbc0bc3cf12d9bf Dec 06 21:28:17.669 INFO [stdout] at src/libstd/sys_common/backtrace.rs:71 Dec 06 21:28:17.669 INFO [stdout] 2: 0x7fbfb29076f2 - std::panicking::default_hook::{{closure}}::h42b81c3dd1a50e32 Dec 06 21:28:17.669 INFO [stdout] at src/libstd/sys_common/backtrace.rs:59 Dec 06 21:28:17.669 INFO [stdout] at src/libstd/panicking.rs:211 Dec 06 21:28:17.669 INFO [stdout] 3: 0x7fbfb29073dc - std::panicking::default_hook::h6c8d8e1c12a669e5 Dec 06 21:28:17.669 INFO [stdout] at src/libstd/panicking.rs:221 Dec 06 21:28:17.669 INFO [stdout] 4: 0x7fbfb4afdbe3 - rustc::util::common::panic_hook::hee3fbe716b3fcfcb Dec 06 21:28:17.669 INFO [stdout] 5: 0x7fbfb2907ed9 - std::panicking::rust_panic_with_hook::hce93a56e38c2b0aa Dec 06 21:28:17.669 INFO [stdout] at src/libstd/panicking.rs:495 Dec 06 21:28:17.669 INFO [stdout] 6: 0x564f5f7dc7e4 - std::panicking::begin_panic::ha25a627474d4e5da Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:425 Dec 06 21:28:17.669 INFO [stdout] 7: 0x564f5f90c9ee - >::set::h6fba450d915d3ae0 Dec 06 21:28:17.669 INFO [stdout] at src/librustdoc/test.rs:320 Dec 06 21:28:17.669 INFO [stdout] at src/librustdoc/test.rs:637 Dec 06 21:28:17.669 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:123 Dec 06 21:28:17.669 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.669 INFO [stdout] 8: 0x564f5f817731 - syntax::with_globals::hd814ac314ed297c4 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:122 Dec 06 21:28:17.669 INFO [stdout] 9: 0x564f5f7dca5b - std::panicking::try::do_call::hbaf56ae6a6710f93 Dec 06 21:28:17.669 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.669 INFO [stdout] 10: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.669 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.669 INFO [stdout] 11: 0x564f5f84be79 - rustc_driver::in_named_rustc_thread::h0ce4726d588f1a25 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/librustc_driver/lib.rs:1556 Dec 06 21:28:17.669 INFO [stdout] 12: 0x564f5f9285b0 - >::call_box::h42fb28874969a211 Dec 06 21:28:17.669 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.669 INFO [stdout] 13: 0x7fbfb3f69c22 - >::call_box::hcafec6f9d69b4bca Dec 06 21:28:17.669 INFO [stdout] at src/libtest/lib.rs:1464 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.669 INFO [stdout] 14: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.669 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.669 INFO [stdout] 15: 0x7fbfb3f614f3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h018d03d6681412f5 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.669 INFO [stdout] at src/libtest/lib.rs:1426 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/sys_common/backtrace.rs:136 Dec 06 21:28:17.669 INFO [stdout] 16: 0x7fbfb3f62484 - std::panicking::try::do_call::hf8ab3f21dcfaa7a6 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:477 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.669 INFO [stdout] 17: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.669 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.669 INFO [stdout] 18: 0x7fbfb3f699ec - >::call_box::h6465cc998309e287 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:476 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.669 INFO [stdout] 19: 0x7fbfb291782d - std::sys::unix::thread::Thread::new::thread_start::h0fe9c527147fd5f5 Dec 06 21:28:17.669 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:683 Dec 06 21:28:17.669 INFO [stdout] at src/libstd/sys_common/thread.rs:24 Dec 06 21:28:17.669 INFO [stdout] at src/libstd/sys/unix/thread.rs:90 Dec 06 21:28:17.670 INFO [stdout] 20: 0x7fbfb268b6b9 - start_thread Dec 06 21:28:17.670 INFO [stdout] 21: 0x7fbfb1fa341c - clone Dec 06 21:28:17.670 INFO [stdout] 22: 0x0 - Dec 06 21:28:17.670 INFO [stdout] query stack during panic: Dec 06 21:28:17.670 INFO [stdout] end of query stack Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] ---- src/rcc/mod.rs - rcc (line 8) stdout ---- Dec 06 21:28:17.670 INFO [stdout] error[E0433]: failed to resolve: use of undeclared type or module `clocking` Dec 06 21:28:17.670 INFO [stdout] --> src/rcc/mod.rs:20:23 Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 15 | cfgr.msi.set_freq(clocking::MsiFreq::Hz_131_072); // set it to 131 kHz Dec 06 21:28:17.670 INFO [stdout] | ^^^^^^^^ use of undeclared type or module `clocking` Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] error[E0425]: cannot find function `Hertz` in this scope Dec 06 21:28:17.670 INFO [stdout] --> src/rcc/mod.rs:22:22 Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 17 | cfgr.hclk_fclk = Hertz(131_072); // the HCLK bus should not be prescaled Dec 06 21:28:17.670 INFO [stdout] | ^^^^^ not found in this scope Dec 06 21:28:17.670 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 3 | use stm32l0x1_hal::time::Hertz; Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] error[E0425]: cannot find function `Hertz` in this scope Dec 06 21:28:17.670 INFO [stdout] --> src/rcc/mod.rs:23:18 Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 18 | cfgr.pclk1 = Hertz(131_072); // same for the APB1 clock Dec 06 21:28:17.670 INFO [stdout] | ^^^^^ not found in this scope Dec 06 21:28:17.670 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 3 | use stm32l0x1_hal::time::Hertz; Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] error[E0425]: cannot find function `Hertz` in this scope Dec 06 21:28:17.670 INFO [stdout] --> src/rcc/mod.rs:24:18 Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 19 | cfgr.pclk2 = Hertz(131_072); // and the same for the APB2 clock Dec 06 21:28:17.670 INFO [stdout] | ^^^^^ not found in this scope Dec 06 21:28:17.670 INFO [stdout] help: possible candidate is found in another module, you can import it into scope Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 3 | use stm32l0x1_hal::time::Hertz; Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::FLASH` in the current scope Dec 06 21:28:17.670 INFO [stdout] --> src/rcc/mod.rs:12:25 Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 7 | let mut flash = d.FLASH.constrain(); Dec 06 21:28:17.670 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.670 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] error[E0609]: no field `POWER` on type `stm32l0x1_hal::stm32l0x1::Peripherals` Dec 06 21:28:17.670 INFO [stdout] --> src/rcc/mod.rs:13:17 Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 8 | let mut pwr = d.POWER.constrain(); Dec 06 21:28:17.670 INFO [stdout] | ^^^^^ unknown field Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] = note: available fields are: `AES`, `DMA1`, `CRC`, `GPIOA`, `GPIOB` ... and 33 others Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] error[E0599]: no method named `constrain` found for type `stm32l0x1_hal::stm32l0x1::RCC` in the current scope Dec 06 21:28:17.670 INFO [stdout] --> src/rcc/mod.rs:14:21 Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 9 | let mut rcc = d.RCC.constrain(); Dec 06 21:28:17.670 INFO [stdout] | ^^^^^^^^^ Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] = help: items from traits can only be used if the trait is in scope Dec 06 21:28:17.670 INFO [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] 3 | use stm32l0x1_hal::common::Constrain; Dec 06 21:28:17.670 INFO [stdout] | Dec 06 21:28:17.670 INFO [stdout] Dec 06 21:28:17.670 INFO [stdout] thread 'src/rcc/mod.rs - rcc (line 8)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:320:13 Dec 06 21:28:17.670 INFO [stdout] stack backtrace: Dec 06 21:28:17.670 INFO [stdout] 0: 0x7fbfb290ac83 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h82c998a0e635a5c4 Dec 06 21:28:17.670 INFO [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 Dec 06 21:28:17.671 INFO [stdout] 1: 0x7fbfb2902398 - std::sys_common::backtrace::_print::h5fbc0bc3cf12d9bf Dec 06 21:28:17.671 INFO [stdout] at src/libstd/sys_common/backtrace.rs:71 Dec 06 21:28:17.671 INFO [stdout] 2: 0x7fbfb29076f2 - std::panicking::default_hook::{{closure}}::h42b81c3dd1a50e32 Dec 06 21:28:17.671 INFO [stdout] at src/libstd/sys_common/backtrace.rs:59 Dec 06 21:28:17.671 INFO [stdout] at src/libstd/panicking.rs:211 Dec 06 21:28:17.671 INFO [stdout] 3: 0x7fbfb29073dc - std::panicking::default_hook::h6c8d8e1c12a669e5 Dec 06 21:28:17.671 INFO [stdout] at src/libstd/panicking.rs:221 Dec 06 21:28:17.671 INFO [stdout] 4: 0x7fbfb4afdbe3 - rustc::util::common::panic_hook::hee3fbe716b3fcfcb Dec 06 21:28:17.671 INFO [stdout] 5: 0x7fbfb2907ed9 - std::panicking::rust_panic_with_hook::hce93a56e38c2b0aa Dec 06 21:28:17.671 INFO [stdout] at src/libstd/panicking.rs:495 Dec 06 21:28:17.671 INFO [stdout] 6: 0x564f5f7dc7e4 - std::panicking::begin_panic::ha25a627474d4e5da Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:425 Dec 06 21:28:17.671 INFO [stdout] 7: 0x564f5f90c9ee - >::set::h6fba450d915d3ae0 Dec 06 21:28:17.671 INFO [stdout] at src/librustdoc/test.rs:320 Dec 06 21:28:17.671 INFO [stdout] at src/librustdoc/test.rs:637 Dec 06 21:28:17.671 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:123 Dec 06 21:28:17.671 INFO [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 Dec 06 21:28:17.671 INFO [stdout] 8: 0x564f5f817731 - syntax::with_globals::hd814ac314ed297c4 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libsyntax/lib.rs:122 Dec 06 21:28:17.671 INFO [stdout] 9: 0x564f5f7dca5b - std::panicking::try::do_call::hbaf56ae6a6710f93 Dec 06 21:28:17.671 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.671 INFO [stdout] 10: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.671 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.671 INFO [stdout] 11: 0x564f5f84be79 - rustc_driver::in_named_rustc_thread::h0ce4726d588f1a25 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/librustc_driver/lib.rs:1556 Dec 06 21:28:17.671 INFO [stdout] 12: 0x564f5f9285b0 - >::call_box::h42fb28874969a211 Dec 06 21:28:17.671 INFO [stdout] at src/librustdoc/test.rs:634 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.671 INFO [stdout] 13: 0x7fbfb3f69c22 - >::call_box::hcafec6f9d69b4bca Dec 06 21:28:17.671 INFO [stdout] at src/libtest/lib.rs:1464 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.671 INFO [stdout] 14: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.671 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.671 INFO [stdout] 15: 0x7fbfb3f614f3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h018d03d6681412f5 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.671 INFO [stdout] at src/libtest/lib.rs:1426 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/sys_common/backtrace.rs:136 Dec 06 21:28:17.671 INFO [stdout] 16: 0x7fbfb3f62484 - std::panicking::try::do_call::hf8ab3f21dcfaa7a6 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:477 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:319 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:310 Dec 06 21:28:17.671 INFO [stdout] 17: 0x7fbfb2924309 - __rust_maybe_catch_panic Dec 06 21:28:17.671 INFO [stdout] at src/libpanic_unwind/lib.rs:102 Dec 06 21:28:17.671 INFO [stdout] 18: 0x7fbfb3f699ec - >::call_box::h6465cc998309e287 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panicking.rs:289 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/panic.rs:398 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/libstd/thread/mod.rs:476 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:673 Dec 06 21:28:17.671 INFO [stdout] 19: 0x7fbfb291782d - std::sys::unix::thread::Thread::new::thread_start::h0fe9c527147fd5f5 Dec 06 21:28:17.671 INFO [stdout] at /rustc/6eb0fd3ac58f9b16bddb9924a17c3b6c156aa468/src/liballoc/boxed.rs:683 Dec 06 21:28:17.671 INFO [stdout] at src/libstd/sys_common/thread.rs:24 Dec 06 21:28:17.671 INFO [stdout] at src/libstd/sys/unix/thread.rs:90 Dec 06 21:28:17.671 INFO [stdout] 20: 0x7fbfb268b6b9 - start_thread Dec 06 21:28:17.671 INFO [stdout] 21: 0x7fbfb1fa341c - clone Dec 06 21:28:17.671 INFO [stdout] 22: 0x0 - Dec 06 21:28:17.671 INFO [stdout] query stack during panic: Dec 06 21:28:17.671 INFO [stdout] end of query stack Dec 06 21:28:17.671 INFO [stdout] Dec 06 21:28:17.671 INFO [stdout] Dec 06 21:28:17.671 INFO [stdout] failures: Dec 06 21:28:17.671 INFO [stdout] src/adc.rs - adc (line 9) Dec 06 21:28:17.671 INFO [stdout] src/gpio.rs - gpio (line 7) Dec 06 21:28:17.671 INFO [stdout] src/i2c/mod.rs - i2c (line 8) Dec 06 21:28:17.671 INFO [stdout] src/rcc/mod.rs - rcc (line 8) Dec 06 21:28:17.671 INFO [stdout] src/serial/mod.rs - serial (line 7) Dec 06 21:28:17.671 INFO [stdout] Dec 06 21:28:17.671 INFO [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out Dec 06 21:28:17.671 INFO [stdout] Dec 06 21:28:17.682 INFO [stderr] error: test failed, to rerun pass '--doc' Dec 06 21:28:17.683 INFO [stderr] su: No module specific data is present Dec 06 21:28:18.123 INFO running `"docker" "inspect" "785f01388175b8906873d3bef6427952a5f01c982aca808feb8a7f55301330ba"` Dec 06 21:28:18.376 INFO running `"docker" "rm" "-f" "785f01388175b8906873d3bef6427952a5f01c982aca808feb8a7f55301330ba"` Dec 06 21:28:18.672 INFO [stdout] 785f01388175b8906873d3bef6427952a5f01c982aca808feb8a7f55301330ba