[INFO] crate stm32ral 0.2.0 is already in cache [INFO] extracting crate stm32ral 0.2.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/stm32ral/0.2.0 [INFO] extracting crate stm32ral 0.2.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/stm32ral/0.2.0 [INFO] validating manifest of stm32ral-0.2.0 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of stm32ral-0.2.0 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing stm32ral-0.2.0 [INFO] finished frobbing stm32ral-0.2.0 [INFO] frobbed toml for stm32ral-0.2.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/stm32ral/0.2.0/Cargo.toml [INFO] started frobbing stm32ral-0.2.0 [INFO] finished frobbing stm32ral-0.2.0 [INFO] frobbed toml for stm32ral-0.2.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/stm32ral/0.2.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing stm32ral-0.2.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/stm32ral/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"` [INFO] [stdout] 7811ca5653b37d11e1e89e190dc1e3f80f7e5d1fe21eae9e0969042c326745f0 [INFO] running `"docker" "start" "-a" "7811ca5653b37d11e1e89e190dc1e3f80f7e5d1fe21eae9e0969042c326745f0"` [INFO] [stderr] Compiling stm32ral v0.2.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `"docker" "inspect" "7811ca5653b37d11e1e89e190dc1e3f80f7e5d1fe21eae9e0969042c326745f0"` [INFO] running `"docker" "rm" "-f" "7811ca5653b37d11e1e89e190dc1e3f80f7e5d1fe21eae9e0969042c326745f0"` [INFO] [stdout] 7811ca5653b37d11e1e89e190dc1e3f80f7e5d1fe21eae9e0969042c326745f0 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/stm32ral/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 27b3a2bc0171b69939d73c231e0e9b2e4e46a8f55f965c35eaefbc23813386d5 [INFO] running `"docker" "start" "-a" "27b3a2bc0171b69939d73c231e0e9b2e4e46a8f55f965c35eaefbc23813386d5"` [INFO] [stderr] Compiling stm32ral v0.2.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `"docker" "inspect" "27b3a2bc0171b69939d73c231e0e9b2e4e46a8f55f965c35eaefbc23813386d5"` [INFO] running `"docker" "rm" "-f" "27b3a2bc0171b69939d73c231e0e9b2e4e46a8f55f965c35eaefbc23813386d5"` [INFO] [stdout] 27b3a2bc0171b69939d73c231e0e9b2e4e46a8f55f965c35eaefbc23813386d5 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/stm32ral/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen"` [INFO] [stdout] ac50e2922b20db9189cf4c18d2bb0478653c5b6082417f6a6aa9505de4ea69df [INFO] running `"docker" "start" "-a" "ac50e2922b20db9189cf4c18d2bb0478653c5b6082417f6a6aa9505de4ea69df"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/stm32ral-581d57b2559db146 [INFO] [stdout] [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] [stderr] Doc-tests stm32ral [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/register.rs - modify_reg (line 296) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 340) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 430) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 330) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 305) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 314) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 369) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 439) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 483) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 546) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 461) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 396) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 180) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 577) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 519) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 220) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 555) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 267) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 189) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 210) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 197) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 240) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 152) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - modify_reg (line 296) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:300:23 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, ODR, |reg| reg | (1<<3)); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] thread 'src/register.rs - modify_reg (line 296)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - modify_reg (line 340) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 12 | !( stm32ral::gpio::MODER::MODER3::mask | stm32ral::gpio::MODER::MODER4::mask ) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:350:60 [INFO] [stdout] | [INFO] [stdout] 12 | !( stm32ral::gpio::MODER::MODER3::mask | stm32ral::gpio::MODER::MODER4::mask ) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:354:21 [INFO] [stdout] | [INFO] [stdout] 16 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:354:66 [INFO] [stdout] | [INFO] [stdout] 16 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:355:22 [INFO] [stdout] | [INFO] [stdout] 17 | & stm32ral::gpio::MODER::MODER3::mask) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 19 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:357:66 [INFO] [stdout] | [INFO] [stdout] 19 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 20 | & stm32ral::gpio::MODER::MODER3::mask) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] thread 'src/register.rs - modify_reg (line 340)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - read_reg (line 430) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 6 | let val = read_reg!(stm32ral::gpio, gpioa, IDR); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:432:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] thread 'src/register.rs - read_reg (line 430)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - modify_reg (line 330) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:334:61 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 7 | MODER4: stm32ral::gpio::MODER::MODER4::RW::Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 6 | / modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] 7 | | MODER4: stm32ral::gpio::MODER::MODER4::RW::Analog); [INFO] [stdout] | |_____________________________________________________________________________________________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 6 | / modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] 7 | | MODER4: stm32ral::gpio::MODER::MODER4::RW::Analog); [INFO] [stdout] | |_____________________________________________________________________________________________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 6 | / modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] 7 | | MODER4: stm32ral::gpio::MODER::MODER4::RW::Analog); [INFO] [stdout] | |_____________________________________________________________________________________________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - modify_reg (line 330)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - modify_reg (line 305) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - modify_reg (line 305)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - modify_reg (line 314) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:318:51 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:318:67 [INFO] [stdout] | [INFO] [stdout] 6 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - modify_reg (line 314)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - modify_reg (line 369) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:371:32 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:371:32 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GPIOA` in this scope [INFO] [stdout] --> src/register.rs:371:38 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:371:60 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:371:76 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - modify_reg (line 369)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - read_reg (line 439) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:443:31 [INFO] [stdout] | [INFO] [stdout] 6 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:443:31 [INFO] [stdout] | [INFO] [stdout] 6 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:450:40 [INFO] [stdout] | [INFO] [stdout] 13 | let (val1, val2) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2, IDR3); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:450:40 [INFO] [stdout] | [INFO] [stdout] 13 | let (val1, val2) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2, IDR3); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:446:44 [INFO] [stdout] | [INFO] [stdout] 9 | let val = ((*gpioa).IDR.read() & stm32ral::gpio::IDR::IDR2::mask) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:447:24 [INFO] [stdout] | [INFO] [stdout] 10 | >> stm32ral::gpio::IDR::IDR2::offset; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:454:23 [INFO] [stdout] | [INFO] [stdout] 17 | ((val & stm32ral::gpio::IDR::IDR2::mask) >> stm32ral::gpio::IDR::IDR2::offset, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:454:59 [INFO] [stdout] | [INFO] [stdout] 17 | ((val & stm32ral::gpio::IDR::IDR2::mask) >> stm32ral::gpio::IDR::IDR2::offset, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:455:23 [INFO] [stdout] | [INFO] [stdout] 18 | (val & stm32ral::gpio::IDR::IDR3::mask) >> stm32ral::gpio::IDR::IDR3::offset, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:455:59 [INFO] [stdout] | [INFO] [stdout] 18 | (val & stm32ral::gpio::IDR::IDR3::mask) >> stm32ral::gpio::IDR::IDR3::offset, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 6 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 6 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:450:20 [INFO] [stdout] | [INFO] [stdout] 13 | let (val1, val2) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2, IDR3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:450:20 [INFO] [stdout] | [INFO] [stdout] 13 | let (val1, val2) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2, IDR3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - read_reg (line 439)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - read_reg (line 483) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:485:40 [INFO] [stdout] | [INFO] [stdout] 4 | let val = unsafe { read_reg!(stm32ral::gpio, GPIOA, MODER) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GPIOA` in this scope [INFO] [stdout] --> src/register.rs:485:46 [INFO] [stdout] | [INFO] [stdout] 4 | let val = unsafe { read_reg!(stm32ral::gpio, GPIOA, MODER) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - read_reg (line 483)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - reset_reg (line 546) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:550:22 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:550:22 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:548:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reset` in this scope [INFO] [stdout] --> src/register.rs:550:1 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - reset_reg (line 546)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - read_reg (line 461) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:466:27 [INFO] [stdout] | [INFO] [stdout] 7 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:466:27 [INFO] [stdout] | [INFO] [stdout] 7 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcc` in `stm32ral` [INFO] [stdout] --> src/register.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 10 | if read_reg!(stm32ral::rcc, rcc, CFGR, SWS != HSI) { } [INFO] [stdout] | ^^^ could not find `rcc` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::rcc` [INFO] [stdout] --> src/register.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 10 | if read_reg!(stm32ral::rcc, rcc, CFGR, SWS != HSI) { } [INFO] [stdout] | ^^^ could not find `rcc` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcc` in `stm32ral` [INFO] [stdout] --> src/register.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 5 | let rcc = stm32ral::rcc::RCC::take().unwrap(); [INFO] [stdout] | ^^^ could not find `rcc` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcc` in `stm32ral` [INFO] [stdout] --> src/register.rs:472:37 [INFO] [stdout] | [INFO] [stdout] 13 | if (((*rcc).CFGR.read() & stm32ral::rcc::CFGR::SWS::mask) [INFO] [stdout] | ^^^ could not find `rcc` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcc` in `stm32ral` [INFO] [stdout] --> src/register.rs:473:18 [INFO] [stdout] | [INFO] [stdout] 14 | >> stm32ral::rcc::CFGR::SWS::offset) != stm32ral::rcc::CFGR::SWS::R::HSI { } [INFO] [stdout] | ^^^ could not find `rcc` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcc` in `stm32ral` [INFO] [stdout] --> src/register.rs:473:55 [INFO] [stdout] | [INFO] [stdout] 14 | >> stm32ral::rcc::CFGR::SWS::offset) != stm32ral::rcc::CFGR::SWS::R::HSI { } [INFO] [stdout] | ^^^ could not find `rcc` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:466:7 [INFO] [stdout] | [INFO] [stdout] 7 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:466:7 [INFO] [stdout] | [INFO] [stdout] 7 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `High` in this scope [INFO] [stdout] --> src/register.rs:466:53 [INFO] [stdout] | [INFO] [stdout] 7 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:469:4 [INFO] [stdout] | [INFO] [stdout] 10 | if read_reg!(stm32ral::rcc, rcc, CFGR, SWS != HSI) { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:469:4 [INFO] [stdout] | [INFO] [stdout] 10 | if read_reg!(stm32ral::rcc, rcc, CFGR, SWS != HSI) { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HSI` in this scope [INFO] [stdout] --> src/register.rs:469:47 [INFO] [stdout] | [INFO] [stdout] 10 | if read_reg!(stm32ral::rcc, rcc, CFGR, SWS != HSI) { } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - read_reg (line 461)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - read_reg (line 396) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 8 | let val = read_reg!(stm32ral::gpio, gpioa, IDR); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:405:31 [INFO] [stdout] | [INFO] [stdout] 11 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:405:31 [INFO] [stdout] | [INFO] [stdout] 11 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:408:46 [INFO] [stdout] | [INFO] [stdout] 14 | let (val1, val2, val3) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR0, IDR1, IDR2); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:408:46 [INFO] [stdout] | [INFO] [stdout] 14 | let (val1, val2, val3) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR0, IDR1, IDR2); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:411:27 [INFO] [stdout] | [INFO] [stdout] 17 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:411:27 [INFO] [stdout] | [INFO] [stdout] 17 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:414:40 [INFO] [stdout] | [INFO] [stdout] 20 | let val = unsafe { read_reg!(stm32ral::gpio, GPIOA, IDR) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:405:11 [INFO] [stdout] | [INFO] [stdout] 11 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:405:11 [INFO] [stdout] | [INFO] [stdout] 11 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 14 | let (val1, val2, val3) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR0, IDR1, IDR2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 14 | let (val1, val2, val3) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR0, IDR1, IDR2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 17 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 17 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `High` in this scope [INFO] [stdout] --> src/register.rs:411:53 [INFO] [stdout] | [INFO] [stdout] 17 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GPIOA` in this scope [INFO] [stdout] --> src/register.rs:414:46 [INFO] [stdout] | [INFO] [stdout] 20 | let val = unsafe { read_reg!(stm32ral::gpio, GPIOA, IDR) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - read_reg (line 396)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - write_reg (line 180) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, ODR, 1<<3); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] thread 'src/register.rs - write_reg (line 180)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - reset_reg (line 577) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:579:31 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { reset_reg!(stm32ral::gpio, GPIOA, GPIOA, MODER) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:579:31 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { reset_reg!(stm32ral::gpio, GPIOA, GPIOA, MODER) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GPIOA` in this scope [INFO] [stdout] --> src/register.rs:579:37 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { reset_reg!(stm32ral::gpio, GPIOA, GPIOA, MODER) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reset` in this scope [INFO] [stdout] --> src/register.rs:579:10 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { reset_reg!(stm32ral::gpio, GPIOA, GPIOA, MODER) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - reset_reg (line 577)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - reset_reg (line 519) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 8 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER14, MODER15); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 8 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER14, MODER15); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:528:22 [INFO] [stdout] | [INFO] [stdout] 11 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:528:22 [INFO] [stdout] | [INFO] [stdout] 11 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:522:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:525:1 [INFO] [stdout] | [INFO] [stdout] 8 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER14, MODER15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reset` in this scope [INFO] [stdout] --> src/register.rs:525:1 [INFO] [stdout] | [INFO] [stdout] 8 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER14, MODER15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reset` in this scope [INFO] [stdout] --> src/register.rs:528:1 [INFO] [stdout] | [INFO] [stdout] 11 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - reset_reg (line 519)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - write_reg (line 220) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 7 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:225:62 [INFO] [stdout] | [INFO] [stdout] 7 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 8 | & stm32ral::gpio::MODER::MODER3::mask) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 10 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER4::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:228:62 [INFO] [stdout] | [INFO] [stdout] 10 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER4::offset) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 11 | & stm32ral::gpio::MODER::MODER4::mask) [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] thread 'src/register.rs - write_reg (line 220)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - reset_reg (line 555) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:559:22 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER13, MODER14, MODER15); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:559:22 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER13, MODER14, MODER15); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:560:22 [INFO] [stdout] | [INFO] [stdout] 7 | reset_reg!(stm32ral::gpio, gpioa, GPIOB, MODER, MODER3, MODER4); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:560:22 [INFO] [stdout] | [INFO] [stdout] 7 | reset_reg!(stm32ral::gpio, gpioa, GPIOB, MODER, MODER3, MODER4); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:559:1 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER13, MODER14, MODER15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reset` in this scope [INFO] [stdout] --> src/register.rs:559:1 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER13, MODER14, MODER15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 7 | reset_reg!(stm32ral::gpio, gpioa, GPIOB, MODER, MODER3, MODER4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reset` in this scope [INFO] [stdout] --> src/register.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 7 | reset_reg!(stm32ral::gpio, gpioa, GPIOB, MODER, MODER3, MODER4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - reset_reg (line 555)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - modify_reg (line 267) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 8 | modify_reg!(stm32ral::gpio, gpioa, ODR, |reg| reg | (1<<3)); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 11 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 11 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:279:32 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:279:32 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 11 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:276:51 [INFO] [stdout] | [INFO] [stdout] 11 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 11 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 11 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:276:67 [INFO] [stdout] | [INFO] [stdout] 11 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GPIOA` in this scope [INFO] [stdout] --> src/register.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:279:60 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:279:76 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - modify_reg (line 267)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - write_reg (line 189) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - write_reg (line 189)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - write_reg (line 210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:214:60 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:215:60 [INFO] [stdout] | [INFO] [stdout] 7 | MODER4: stm32ral::gpio::MODER::MODER4::RW::Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 6 | / write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] 7 | | MODER4: stm32ral::gpio::MODER::MODER4::RW::Analog); [INFO] [stdout] | |____________________________________________________________________________________________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 6 | / write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] 7 | | MODER4: stm32ral::gpio::MODER::MODER4::RW::Analog); [INFO] [stdout] | |____________________________________________________________________________________________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - write_reg (line 210)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - write_reg (line 197) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:201:50 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:201:66 [INFO] [stdout] | [INFO] [stdout] 6 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - write_reg (line 197)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - write_reg (line 240) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GPIOA` in this scope [INFO] [stdout] --> src/register.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:242:59 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:242:75 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - write_reg (line 240)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - write_reg (line 152) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 8 | write_reg!(stm32ral::gpio, gpioa, ODR, 1<<3); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 11 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 11 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32ral::gpio` [INFO] [stdout] --> src/register.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in `stm32ral` [INFO] [stdout] --> src/register.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 5 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^ could not find `gpio` in `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:161:50 [INFO] [stdout] | [INFO] [stdout] 11 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 11 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 11 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:161:66 [INFO] [stdout] | [INFO] [stdout] 11 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GPIOA` in this scope [INFO] [stdout] --> src/register.rs:164:37 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Output` in this scope [INFO] [stdout] --> src/register.rs:164:59 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset` in this scope [INFO] [stdout] --> src/register.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] 3 | use std::intrinsics::offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mask` in this scope [INFO] [stdout] --> src/register.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Analog` in this scope [INFO] [stdout] --> src/register.rs:164:75 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] thread 'src/register.rs - write_reg (line 152)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f6fec715823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f6fec70d4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f6fec711a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f6fec71177e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f6fec71215f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x564824b74784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x564824b6a68f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x564824b5e7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f6fedc98b7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f6fedcb3f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f6fedc8d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f6fedc91a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f6fec723169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f6fedc92551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f6fec6f436e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f6fec721ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f6fec28b4a3 - start_thread [INFO] [stdout] 19: 0x7f6febdb6d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/register.rs - modify_reg (line 267) [INFO] [stdout] src/register.rs - modify_reg (line 296) [INFO] [stdout] src/register.rs - modify_reg (line 305) [INFO] [stdout] src/register.rs - modify_reg (line 314) [INFO] [stdout] src/register.rs - modify_reg (line 330) [INFO] [stdout] src/register.rs - modify_reg (line 340) [INFO] [stdout] src/register.rs - modify_reg (line 369) [INFO] [stdout] src/register.rs - read_reg (line 396) [INFO] [stdout] src/register.rs - read_reg (line 430) [INFO] [stdout] src/register.rs - read_reg (line 439) [INFO] [stdout] src/register.rs - read_reg (line 461) [INFO] [stdout] src/register.rs - read_reg (line 483) [INFO] [stdout] src/register.rs - reset_reg (line 519) [INFO] [stdout] src/register.rs - reset_reg (line 546) [INFO] [stdout] src/register.rs - reset_reg (line 555) [INFO] [stdout] src/register.rs - reset_reg (line 577) [INFO] [stdout] src/register.rs - write_reg (line 152) [INFO] [stdout] src/register.rs - write_reg (line 180) [INFO] [stdout] src/register.rs - write_reg (line 189) [INFO] [stdout] src/register.rs - write_reg (line 197) [INFO] [stdout] src/register.rs - write_reg (line 210) [INFO] [stdout] src/register.rs - write_reg (line 220) [INFO] [stdout] src/register.rs - write_reg (line 240) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "ac50e2922b20db9189cf4c18d2bb0478653c5b6082417f6a6aa9505de4ea69df"` [INFO] running `"docker" "rm" "-f" "ac50e2922b20db9189cf4c18d2bb0478653c5b6082417f6a6aa9505de4ea69df"` [INFO] [stdout] ac50e2922b20db9189cf4c18d2bb0478653c5b6082417f6a6aa9505de4ea69df