[INFO] crate imxrt-ral 0.2.1 is already in cache [INFO] testing imxrt-ral-0.2.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate imxrt-ral 0.2.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate imxrt-ral 0.2.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate imxrt-ral 0.2.1 [INFO] finished tweaking crates.io crate imxrt-ral 0.2.1 [INFO] tweaked toml for crates.io crate imxrt-ral 0.2.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f78441082fe94049cdef8c39898ced4086375b85429f7e0c91d40d0634017c44 [INFO] running `"docker" "start" "-a" "f78441082fe94049cdef8c39898ced4086375b85429f7e0c91d40d0634017c44"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling imxrt-ral v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `"docker" "inspect" "f78441082fe94049cdef8c39898ced4086375b85429f7e0c91d40d0634017c44"` [INFO] running `"docker" "rm" "-f" "f78441082fe94049cdef8c39898ced4086375b85429f7e0c91d40d0634017c44"` [INFO] [stdout] f78441082fe94049cdef8c39898ced4086375b85429f7e0c91d40d0634017c44 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74b62aae3e196fe3e6b4d44ade61938c0b0a7874daf9564a12043da952c4176d [INFO] running `"docker" "start" "-a" "74b62aae3e196fe3e6b4d44ade61938c0b0a7874daf9564a12043da952c4176d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] running `"docker" "inspect" "74b62aae3e196fe3e6b4d44ade61938c0b0a7874daf9564a12043da952c4176d"` [INFO] running `"docker" "rm" "-f" "74b62aae3e196fe3e6b4d44ade61938c0b0a7874daf9564a12043da952c4176d"` [INFO] [stdout] 74b62aae3e196fe3e6b4d44ade61938c0b0a7874daf9564a12043da952c4176d [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stdout] 26c34b392881697d1731feb9971c43a5d733eba5ea16f8f15699f4683ce8be4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "26c34b392881697d1731feb9971c43a5d733eba5ea16f8f15699f4683ce8be4a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Doc-tests imxrt-ral [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/register.rs - read_reg (line 430) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 340) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 267) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 314) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 396) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 555) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 546) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 305) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 577) ... 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 - modify_reg (line 296) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 240) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 180) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 483) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 152) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 210) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 519) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 197) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 220) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 330) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 461) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 189) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/register.rs - read_reg (line 430) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:434:11 [INFO] [stdout] | [INFO] [stdout] 5 | let val = read_reg!(stm32ral::gpio, gpioa, IDR); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - modify_reg (line 340) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 11 | !( stm32ral::gpio::MODER::MODER3::mask | stm32ral::gpio::MODER::MODER4::mask ) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:350:50 [INFO] [stdout] | [INFO] [stdout] 11 | !( stm32ral::gpio::MODER::MODER3::mask | stm32ral::gpio::MODER::MODER4::mask ) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:354:11 [INFO] [stdout] | [INFO] [stdout] 15 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:354:56 [INFO] [stdout] | [INFO] [stdout] 15 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 16 | & stm32ral::gpio::MODER::MODER3::mask) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:357:11 [INFO] [stdout] | [INFO] [stdout] 18 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:357:56 [INFO] [stdout] | [INFO] [stdout] 18 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 19 | & stm32ral::gpio::MODER::MODER3::mask) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - modify_reg (line 267) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 10 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 7 | modify_reg!(stm32ral::gpio, gpioa, ODR, |reg| reg | (1<<3)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - modify_reg (line 314) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 5 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - read_reg (line 396) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:414:20 [INFO] [stdout] | [INFO] [stdout] 19 | let val = unsafe { read_reg!(stm32ral::gpio, GPIOA, IDR) }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 16 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 13 | let (val1, val2, val3) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR0, IDR1, IDR2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:405:11 [INFO] [stdout] | [INFO] [stdout] 10 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 7 | let val = read_reg!(stm32ral::gpio, gpioa, IDR); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - reset_reg (line 555) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `reset_reg` [INFO] [stdout] --> src/register.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 6 | reset_reg!(stm32ral::gpio, gpioa, GPIOB, MODER, MODER3, MODER4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `reset_reg` [INFO] [stdout] --> src/register.rs:559:1 [INFO] [stdout] | [INFO] [stdout] 5 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER13, MODER14, MODER15); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:557:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - reset_reg (line 546) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `reset_reg` [INFO] [stdout] --> src/register.rs:550:1 [INFO] [stdout] | [INFO] [stdout] 5 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - modify_reg (line 305) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 5 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - reset_reg (line 577) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `reset_reg` [INFO] [stdout] --> src/register.rs:579:10 [INFO] [stdout] | [INFO] [stdout] 3 | unsafe { reset_reg!(stm32ral::gpio, GPIOA, GPIOA, MODER) }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - modify_reg (line 369) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 3 | unsafe { modify_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - read_reg (line 439) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:450:20 [INFO] [stdout] | [INFO] [stdout] 12 | let (val1, val2) = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2, IDR3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 5 | let val = read_reg!(stm32ral::gpio, gpioa, IDR, IDR2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:446:34 [INFO] [stdout] | [INFO] [stdout] 8 | let val = ((*gpioa).IDR.read() & stm32ral::gpio::IDR::IDR2::mask) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:447:14 [INFO] [stdout] | [INFO] [stdout] 9 | >> stm32ral::gpio::IDR::IDR2::offset; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 16 | ((val & stm32ral::gpio::IDR::IDR2::mask) >> stm32ral::gpio::IDR::IDR2::offset, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:454:49 [INFO] [stdout] | [INFO] [stdout] 16 | ((val & stm32ral::gpio::IDR::IDR2::mask) >> stm32ral::gpio::IDR::IDR2::offset, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 17 | (val & stm32ral::gpio::IDR::IDR3::mask) >> stm32ral::gpio::IDR::IDR3::offset, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:455:49 [INFO] [stdout] | [INFO] [stdout] 17 | (val & stm32ral::gpio::IDR::IDR3::mask) >> stm32ral::gpio::IDR::IDR3::offset, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - modify_reg (line 296) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 5 | modify_reg!(stm32ral::gpio, gpioa, ODR, |reg| reg | (1<<3)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - write_reg (line 240) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 3 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - write_reg (line 180) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 5 | write_reg!(stm32ral::gpio, gpioa, ODR, 1<<3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - read_reg (line 483) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:485:20 [INFO] [stdout] | [INFO] [stdout] 3 | let val = unsafe { read_reg!(stm32ral::gpio, GPIOA, MODER) }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - write_reg (line 152) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { write_reg!(stm32ral::gpio, GPIOA, MODER, MODER3: Output, MODER4: Analog) }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 10 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 7 | write_reg!(stm32ral::gpio, gpioa, ODR, 1<<3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - write_reg (line 210) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 5 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - reset_reg (line 519) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `reset_reg` [INFO] [stdout] --> src/register.rs:528:1 [INFO] [stdout] | [INFO] [stdout] 10 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `reset_reg` [INFO] [stdout] --> src/register.rs:525:1 [INFO] [stdout] | [INFO] [stdout] 7 | reset_reg!(stm32ral::gpio, gpioa, GPIOA, MODER, MODER14, MODER15); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - write_reg (line 197) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 5 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: Output, MODER4: Analog); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - write_reg (line 220) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:225:7 [INFO] [stdout] | [INFO] [stdout] 6 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:225:52 [INFO] [stdout] | [INFO] [stdout] 6 | ((stm32ral::gpio::MODER::MODER3::RW::Output << stm32ral::gpio::MODER::MODER3::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 7 | & stm32ral::gpio::MODER::MODER3::mask) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:228:7 [INFO] [stdout] | [INFO] [stdout] 9 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER4::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:228:52 [INFO] [stdout] | [INFO] [stdout] 9 | ((stm32ral::gpio::MODER::MODER4::RW::Analog << stm32ral::gpio::MODER::MODER4::offset) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 10 | & stm32ral::gpio::MODER::MODER4::mask) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - modify_reg (line 330) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `modify_reg` [INFO] [stdout] --> src/register.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 5 | modify_reg!(stm32ral::gpio, gpioa, MODER, MODER3: stm32ral::gpio::MODER::MODER3::RW::Output, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - read_reg (line 461) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:469:4 [INFO] [stdout] | [INFO] [stdout] 9 | if read_reg!(stm32ral::rcc, rcc, CFGR, SWS != HSI) { } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `read_reg` [INFO] [stdout] --> src/register.rs:466:7 [INFO] [stdout] | [INFO] [stdout] 6 | while read_reg!(stm32ral::gpio, gpioa, IDR, IDR2 == High) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 3 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:464:11 [INFO] [stdout] | [INFO] [stdout] 4 | let rcc = stm32ral::rcc::RCC::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:472:27 [INFO] [stdout] | [INFO] [stdout] 12 | if (((*rcc).CFGR.read() & stm32ral::rcc::CFGR::SWS::mask) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 13 | >> stm32ral::rcc::CFGR::SWS::offset) != stm32ral::rcc::CFGR::SWS::R::HSI { } [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:473:45 [INFO] [stdout] | [INFO] [stdout] 13 | >> stm32ral::rcc::CFGR::SWS::offset) != stm32ral::rcc::CFGR::SWS::R::HSI { } [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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] Couldn't compile the test. [INFO] [stdout] ---- src/register.rs - write_reg (line 189) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/register.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32ral::{read_reg, write_reg, modify_reg, reset_reg}; fn main() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `write_reg` [INFO] [stdout] --> src/register.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 5 | write_reg!(stm32ral::gpio, gpioa, MODER, MODER3: 0b01, MODER4: 0b11); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32ral` [INFO] [stdout] --> src/register.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 4 | let gpioa = stm32ral::gpio::GPIOA::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `stm32ral` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] Couldn't compile the test. [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" "26c34b392881697d1731feb9971c43a5d733eba5ea16f8f15699f4683ce8be4a"` [INFO] running `"docker" "rm" "-f" "26c34b392881697d1731feb9971c43a5d733eba5ea16f8f15699f4683ce8be4a"` [INFO] [stdout] 26c34b392881697d1731feb9971c43a5d733eba5ea16f8f15699f4683ce8be4a