[INFO] crate stm32ral 0.4.1 is already in cache [INFO] testing stm32ral-0.4.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate stm32ral 0.4.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate stm32ral 0.4.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate stm32ral 0.4.1 [INFO] finished tweaking crates.io crate stm32ral 0.4.1 [INFO] tweaked toml for crates.io crate stm32ral 0.4.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.44.0" "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] ea3ca9120fd30f73cf17fcb0086d4fdc646f790176ab8abc562b9fe0319c2436 [INFO] running `"docker" "start" "-a" "ea3ca9120fd30f73cf17fcb0086d4fdc646f790176ab8abc562b9fe0319c2436"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling stm32ral v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.85s [INFO] running `"docker" "inspect" "ea3ca9120fd30f73cf17fcb0086d4fdc646f790176ab8abc562b9fe0319c2436"` [INFO] running `"docker" "rm" "-f" "ea3ca9120fd30f73cf17fcb0086d4fdc646f790176ab8abc562b9fe0319c2436"` [INFO] [stdout] ea3ca9120fd30f73cf17fcb0086d4fdc646f790176ab8abc562b9fe0319c2436 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.44.0" "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] ca15fde3400d1f4a541e9037512fc6f977e27354d7a456d6879608b36c3f9be4 [INFO] running `"docker" "start" "-a" "ca15fde3400d1f4a541e9037512fc6f977e27354d7a456d6879608b36c3f9be4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling stm32ral v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `"docker" "inspect" "ca15fde3400d1f4a541e9037512fc6f977e27354d7a456d6879608b36c3f9be4"` [INFO] running `"docker" "rm" "-f" "ca15fde3400d1f4a541e9037512fc6f977e27354d7a456d6879608b36c3f9be4"` [INFO] [stdout] ca15fde3400d1f4a541e9037512fc6f977e27354d7a456d6879608b36c3f9be4 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a17ba9f755dc8b4b5545744e9fe12e3dd2aa6cfd0cec9314cc3e4f496775f39 [INFO] running `"docker" "start" "-a" "0a17ba9f755dc8b4b5545744e9fe12e3dd2aa6cfd0cec9314cc3e4f496775f39"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/stm32ral-1459c3dc967c996f [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 - read_reg (line 430) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 483) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 305) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 546) ... 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 340) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 296) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 519) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 461) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 314) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 555) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 330) ... FAILED [INFO] [stdout] test src/register.rs - modify_reg (line 267) ... FAILED [INFO] [stdout] test src/register.rs - read_reg (line 396) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 220) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 189) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 180) ... FAILED [INFO] [stdout] test src/register.rs - write_reg (line 210) ... FAILED [INFO] [stdout] test src/register.rs - reset_reg (line 577) ... 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 - 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] Couldn't compile the test. [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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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] Couldn't compile the test. [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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] Couldn't compile the test. [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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] 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" "0a17ba9f755dc8b4b5545744e9fe12e3dd2aa6cfd0cec9314cc3e4f496775f39"` [INFO] running `"docker" "rm" "-f" "0a17ba9f755dc8b4b5545744e9fe12e3dd2aa6cfd0cec9314cc3e4f496775f39"` [INFO] [stdout] 0a17ba9f755dc8b4b5545744e9fe12e3dd2aa6cfd0cec9314cc3e4f496775f39