[INFO] fetching crate stm32-fmc 0.1.0... [INFO] testing stm32-fmc-0.1.0 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate stm32-fmc 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate stm32-fmc 0.1.0 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate stm32-fmc 0.1.0 [INFO] finished tweaking crates.io crate stm32-fmc 0.1.0 [INFO] tweaked toml for crates.io crate stm32-fmc 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 822333aa249b2a1cb55e946afef130446fda57e5e2960d57cf15913d9f5fa103 [INFO] running `Command { std: "docker" "start" "-a" "822333aa249b2a1cb55e946afef130446fda57e5e2960d57cf15913d9f5fa103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "822333aa249b2a1cb55e946afef130446fda57e5e2960d57cf15913d9f5fa103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822333aa249b2a1cb55e946afef130446fda57e5e2960d57cf15913d9f5fa103", kill_on_drop: false }` [INFO] [stdout] 822333aa249b2a1cb55e946afef130446fda57e5e2960d57cf15913d9f5fa103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2072f4f126481f7052f9e5d503395d506e9983f055cea74e99f34edbc5692e1e [INFO] running `Command { std: "docker" "start" "-a" "2072f4f126481f7052f9e5d503395d506e9983f055cea74e99f34edbc5692e1e", kill_on_drop: false }` [INFO] [stderr] Compiling stm32-fmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "2072f4f126481f7052f9e5d503395d506e9983f055cea74e99f34edbc5692e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2072f4f126481f7052f9e5d503395d506e9983f055cea74e99f34edbc5692e1e", kill_on_drop: false }` [INFO] [stdout] 2072f4f126481f7052f9e5d503395d506e9983f055cea74e99f34edbc5692e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7039515aecfadf2053a3bee8ec284df186c00e893df3d22b1b16f85fbcb97780 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7039515aecfadf2053a3bee8ec284df186c00e893df3d22b1b16f85fbcb97780", kill_on_drop: false }` [INFO] [stderr] Compiling stm32-fmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "7039515aecfadf2053a3bee8ec284df186c00e893df3d22b1b16f85fbcb97780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7039515aecfadf2053a3bee8ec284df186c00e893df3d22b1b16f85fbcb97780", kill_on_drop: false }` [INFO] [stdout] 7039515aecfadf2053a3bee8ec284df186c00e893df3d22b1b16f85fbcb97780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1bc2247d5a2928ee3e33e7a18d666d7f411bfe2b5932694fed9d93467c16684d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1bc2247d5a2928ee3e33e7a18d666d7f411bfe2b5932694fed9d93467c16684d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/stm32_fmc-46a48c15a06b0136 [INFO] [stdout] [INFO] [stderr] Doc-tests stm32-fmc [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/ral/register.rs - modify_reg (line 297) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] test src/ral/register.rs - modify_reg (line 268) ... FAILED [INFO] [stdout] test src/ral/register.rs - read_reg (line 440) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... FAILED [INFO] [stdout] test src/ral/register.rs - modify_reg (line 341) ... FAILED [INFO] [stdout] test src/ral/register.rs - modify_reg (line 306) ... FAILED [INFO] [stdout] test src/ral/register.rs - reset_reg (line 520) ... FAILED [INFO] [stdout] test src/ral/register.rs - read_reg (line 484) ... FAILED [INFO] [stdout] test src/ral/register.rs - modify_reg (line 315) ... FAILED [INFO] [stdout] test src/ral/register.rs - modify_reg (line 331) ... FAILED [INFO] [stdout] test src/ral/register.rs - read_reg (line 397) ... FAILED [INFO] [stdout] test src/ral/register.rs - modify_reg (line 370) ... FAILED [INFO] [stdout] test src/ral/register.rs - read_reg (line 462) ... FAILED [INFO] [stdout] test src/ral/register.rs - read_reg (line 431) ... FAILED [INFO] [stdout] test src/ral/register.rs - reset_reg (line 556) ... FAILED [INFO] [stdout] test src/ral/register.rs - reset_reg (line 578) ... FAILED [INFO] [stdout] test src/ral/register.rs - reset_reg (line 547) ... FAILED [INFO] [stdout] test src/ral/register.rs - write_reg (line 190) ... FAILED [INFO] [stdout] test src/ral/register.rs - write_reg (line 211) ... FAILED [INFO] [stdout] test src/ral/register.rs - write_reg (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... ok [INFO] [stdout] test src/ral/register.rs - write_reg (line 221) ... FAILED [INFO] [stdout] test src/ral/register.rs - write_reg (line 181) ... FAILED [INFO] [stdout] test src/ral/register.rs - write_reg (line 198) ... FAILED [INFO] [stdout] test src/ral/register.rs - write_reg (line 241) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gpiof` [INFO] [stdout] --> src/lib.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 4 | impl stm32_fmc::A0 for gpiof::PF0> {} [INFO] [stdout] | ^^^^^ use of undeclared type or module `gpiof` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Alternate` in this scope [INFO] [stdout] --> src/lib.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 4 | impl stm32_fmc::A0 for gpiof::PF0> {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AF12` in this scope [INFO] [stdout] --> src/lib.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 4 | impl stm32_fmc::A0 for gpiof::PF0> {} [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ral/register.rs - modify_reg (line 297) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:298: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/ral/register.rs:301: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/ral/register.rs:299: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/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32` [INFO] [stdout] --> src/lib.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 8 | const REGISTERS: *const () = stm32::FMC::ptr() as *const (); [INFO] [stdout] | ^^^^^ use of undeclared type or module `stm32` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FMC` in this scope [INFO] [stdout] --> src/lib.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe impl Sync for FMC {} [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FMC` in this scope [INFO] [stdout] --> src/lib.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe impl FmcPeripheral for FMC { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0321]: cross-crate traits with a default impl, like `std::marker::Sync`, can only be implemented for a struct/enum type, not `[type error]` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe impl Sync for FMC {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0321, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0321`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ral/register.rs - modify_reg (line 268) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:269: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/ral/register.rs:280: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/ral/register.rs:277: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/ral/register.rs:274: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/ral/register.rs:271: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/ral/register.rs - read_reg (line 440) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:441: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/ral/register.rs:451: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/ral/register.rs:444: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/ral/register.rs:442: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/ral/register.rs:447: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/ral/register.rs:448: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/ral/register.rs:455: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/ral/register.rs:455: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/ral/register.rs:456: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/ral/register.rs:456: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/lib.rs - (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32` [INFO] [stdout] --> src/lib.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 9 | fmc: stm32::FMC, [INFO] [stdout] | ^^^^^ use of undeclared type or module `stm32` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `stm32` [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 20 | fmc: stm32::FMC, [INFO] [stdout] | ^^^^^ use of undeclared type or module `stm32` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FMC` in this scope [INFO] [stdout] --> src/lib.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl FMC { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CoreClocks` in this scope [INFO] [stdout] --> src/lib.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 12 | clocks: &CoreClocks, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FMC` in this scope [INFO] [stdout] --> src/lib.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 6 | impl FMC { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 13 | ) -> Sdram { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CoreClocks` in this scope [INFO] [stdout] --> src/lib.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 23 | clocks: &CoreClocks, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FMC` in this scope [INFO] [stdout] --> src/lib.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 6 | impl FMC { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 24 | ) -> Sdram { [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: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ral/register.rs - modify_reg (line 341) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:342: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/ral/register.rs:343: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/ral/register.rs:351: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/ral/register.rs:351: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/ral/register.rs:355: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/ral/register.rs:355: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/ral/register.rs:356: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/ral/register.rs:358: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/ral/register.rs:358: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/ral/register.rs:359: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/ral/register.rs - modify_reg (line 306) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:307: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/ral/register.rs:310: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/ral/register.rs:308: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/ral/register.rs - reset_reg (line 520) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:521: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/ral/register.rs:529: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/ral/register.rs:526: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/ral/register.rs:523: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/ral/register.rs - read_reg (line 484) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:485: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/ral/register.rs:486: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/ral/register.rs - modify_reg (line 315) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:316: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/ral/register.rs:319: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/ral/register.rs:317: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/ral/register.rs - modify_reg (line 331) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:332: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/ral/register.rs:335: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/ral/register.rs:333: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/ral/register.rs - read_reg (line 397) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:398: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/ral/register.rs:415: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/ral/register.rs:412: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/ral/register.rs:409: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/ral/register.rs:406: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/ral/register.rs:403: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/ral/register.rs:400: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/ral/register.rs - modify_reg (line 370) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:371: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/ral/register.rs:372: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/ral/register.rs - read_reg (line 462) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:463: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/ral/register.rs:470: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/ral/register.rs:467: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/ral/register.rs:464: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/ral/register.rs:465: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/ral/register.rs:473: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/ral/register.rs:474: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/ral/register.rs:474: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/ral/register.rs - read_reg (line 431) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:432: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/ral/register.rs:435: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/ral/register.rs:433: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/ral/register.rs - reset_reg (line 556) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:557: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/ral/register.rs:561: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/ral/register.rs:560: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/ral/register.rs:558: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/ral/register.rs - reset_reg (line 578) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:579: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/ral/register.rs:580: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/ral/register.rs - reset_reg (line 547) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:548: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/ral/register.rs:551: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/ral/register.rs:549: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/ral/register.rs - write_reg (line 190) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:191: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/ral/register.rs:194: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/ral/register.rs:193: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/ral/register.rs - write_reg (line 211) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:212: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/ral/register.rs:215: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/ral/register.rs:214: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/ral/register.rs - write_reg (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:154: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/ral/register.rs:165: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/ral/register.rs:162: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/ral/register.rs:159: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/ral/register.rs:156: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/ral/register.rs - write_reg (line 221) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:222: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/ral/register.rs:224: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/ral/register.rs:226: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/ral/register.rs:226: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/ral/register.rs:227: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/ral/register.rs:229: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/ral/register.rs:229: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/ral/register.rs:230: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/ral/register.rs - write_reg (line 181) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:182: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/ral/register.rs:185: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/ral/register.rs:183: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/ral/register.rs - write_reg (line 198) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:199: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/ral/register.rs:202: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/ral/register.rs:201: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/ral/register.rs - write_reg (line 241) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stm32ral` [INFO] [stdout] --> src/ral/register.rs:242: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/ral/register.rs:243: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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] src/ral/register.rs - modify_reg (line 268) [INFO] [stdout] src/ral/register.rs - modify_reg (line 297) [INFO] [stdout] src/ral/register.rs - modify_reg (line 306) [INFO] [stdout] src/ral/register.rs - modify_reg (line 315) [INFO] [stdout] src/ral/register.rs - modify_reg (line 331) [INFO] [stdout] src/ral/register.rs - modify_reg (line 341) [INFO] [stdout] src/ral/register.rs - modify_reg (line 370) [INFO] [stdout] src/ral/register.rs - read_reg (line 397) [INFO] [stdout] src/ral/register.rs - read_reg (line 431) [INFO] [stdout] src/ral/register.rs - read_reg (line 440) [INFO] [stdout] src/ral/register.rs - read_reg (line 462) [INFO] [stdout] src/ral/register.rs - read_reg (line 484) [INFO] [stdout] src/ral/register.rs - reset_reg (line 520) [INFO] [stdout] src/ral/register.rs - reset_reg (line 547) [INFO] [stdout] src/ral/register.rs - reset_reg (line 556) [INFO] [stdout] src/ral/register.rs - reset_reg (line 578) [INFO] [stdout] src/ral/register.rs - write_reg (line 153) [INFO] [stdout] src/ral/register.rs - write_reg (line 181) [INFO] [stdout] src/ral/register.rs - write_reg (line 190) [INFO] [stdout] src/ral/register.rs - write_reg (line 198) [INFO] [stdout] src/ral/register.rs - write_reg (line 211) [INFO] [stdout] src/ral/register.rs - write_reg (line 221) [INFO] [stdout] src/ral/register.rs - write_reg (line 241) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 26 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1bc2247d5a2928ee3e33e7a18d666d7f411bfe2b5932694fed9d93467c16684d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc2247d5a2928ee3e33e7a18d666d7f411bfe2b5932694fed9d93467c16684d", kill_on_drop: false }` [INFO] [stdout] 1bc2247d5a2928ee3e33e7a18d666d7f411bfe2b5932694fed9d93467c16684d