[INFO] cloning repository https://github.com/play-stm32/sdio_sdhc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/play-stm32/sdio_sdhc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplay-stm32%2Fsdio_sdhc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplay-stm32%2Fsdio_sdhc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e242f2eaa3ce9aa3b159dec5417547930e31e17f
[INFO] testing play-stm32/sdio_sdhc against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplay-stm32%2Fsdio_sdhc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/play-stm32/sdio_sdhc
[INFO] finished tweaking git repo https://github.com/play-stm32/sdio_sdhc
[INFO] tweaked toml for git repo https://github.com/play-stm32/sdio_sdhc written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/play-stm32/sdio_sdhc on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 35 packages to latest compatible versions
[INFO] [stderr]       Adding cortex-m v0.6.7 (available: v0.7.7)
[INFO] [stderr]       Adding stm32f4xx-hal v0.8.3 (available: v0.23.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cast v0.2.7
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.6.15
[INFO] [stderr]   Downloaded block_device v0.1.3
[INFO] [stderr]   Downloaded r0 v0.2.2
[INFO] [stderr]   Downloaded stm32f4xx-hal v0.8.3
[INFO] [stderr]   Downloaded cortex-m-rt v0.6.15
[INFO] [stderr]   Downloaded stm32f4 v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc2478aedf6614616c5e0f80c96166ce8e20c5a4c8826cb317b63b9f01bc39e8
[INFO] running `Command { std: "docker" "start" "-a" "fc2478aedf6614616c5e0f80c96166ce8e20c5a4c8826cb317b63b9f01bc39e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc2478aedf6614616c5e0f80c96166ce8e20c5a4c8826cb317b63b9f01bc39e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc2478aedf6614616c5e0f80c96166ce8e20c5a4c8826cb317b63b9f01bc39e8", kill_on_drop: false }`
[INFO] [stdout] fc2478aedf6614616c5e0f80c96166ce8e20c5a4c8826cb317b63b9f01bc39e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04136ec2df438968cbc7977196224b8267f85adea51f286b38997fdfef5bf382
[INFO] running `Command { std: "docker" "start" "-a" "04136ec2df438968cbc7977196224b8267f85adea51f286b38997fdfef5bf382", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling generic-array v0.13.3
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m v0.6.7
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling cortex-m-rt v0.6.15
[INFO] [stderr]    Compiling stm32f4 v0.11.0
[INFO] [stderr]    Compiling r0 v0.2.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling as-slice v0.1.5
[INFO] [stderr]    Compiling aligned v0.3.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.6.15
[INFO] [stderr]    Compiling stm32f4xx-hal v0.8.3
[INFO] [stderr]    Compiling sdio_sdhc v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.26s
[INFO] running `Command { std: "docker" "inspect" "04136ec2df438968cbc7977196224b8267f85adea51f286b38997fdfef5bf382", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04136ec2df438968cbc7977196224b8267f85adea51f286b38997fdfef5bf382", kill_on_drop: false }`
[INFO] [stdout] 04136ec2df438968cbc7977196224b8267f85adea51f286b38997fdfef5bf382
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85d8c9ce6cd0eaef26f59cfd62c67ea8e846dee9b587ef57a58c1d27caa18eb5
[INFO] running `Command { std: "docker" "start" "-a" "85d8c9ce6cd0eaef26f59cfd62c67ea8e846dee9b587ef57a58c1d27caa18eb5", kill_on_drop: false }`
[INFO] [stderr]    Compiling sdio_sdhc v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] running `Command { std: "docker" "inspect" "85d8c9ce6cd0eaef26f59cfd62c67ea8e846dee9b587ef57a58c1d27caa18eb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85d8c9ce6cd0eaef26f59cfd62c67ea8e846dee9b587ef57a58c1d27caa18eb5", kill_on_drop: false }`
[INFO] [stdout] 85d8c9ce6cd0eaef26f59cfd62c67ea8e846dee9b587ef57a58c1d27caa18eb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 44190730d6279d3c76bdb7ac5ecb9ff33692b141c8eed1e458c4e3b05e46b3ec
[INFO] running `Command { std: "docker" "start" "-a" "44190730d6279d3c76bdb7ac5ecb9ff33692b141c8eed1e458c4e3b05e46b3ec", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sdio_sdhc-02051fa2608b1b69)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sdio_sdhc
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 83) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 5) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 96) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 10) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 62) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 83) stdout ----
[INFO] [stdout] error: missing `struct` for struct definition
[INFO] [stdout]   --> src/lib.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | Card {
[INFO] [stdout]    | ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: add `struct` here to parse `Card` as a struct
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Card {
[INFO] [stdout]    | ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 5) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
[INFO] [stdout]  --> src/lib.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | stm32fxxx-hal = { version = "xxx", features = ["xxx"] }
[INFO] [stdout]   |                                  ^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stm32fxxx` in this scope
[INFO] [stdout]  --> src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | stm32fxxx-hal = { version = "xxx", features = ["xxx"] }
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hal` in this scope
[INFO] [stdout]  --> src/lib.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | stm32fxxx-hal = { version = "xxx", features = ["xxx"] }
[INFO] [stdout]   |           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]  --> src/lib.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | stm32fxxx-hal = { version = "xxx", features = ["xxx"] }
[INFO] [stdout]   | ------------- ^
[INFO] [stdout]   | |
[INFO] [stdout]   | cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0070, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 96) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
[INFO] [stdout]   --> src/lib.rs:98:30
[INFO] [stdout]    |
[INFO] [stdout] 98 | sdio_sdhc = { version = "0.2", features = ["filesystem"] }
[INFO] [stdout]    |                              ^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `sdio_sdhc`
[INFO] [stdout]   --> src/lib.rs:98:1
[INFO] [stdout]    |
[INFO] [stdout] 98 | sdio_sdhc = { version = "0.2", features = ["filesystem"] }
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 98 | let sdio_sdhc = { version = "0.2", features = ["filesystem"] }
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 10) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stm32`
[INFO] [stdout]   --> src/lib.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |    rcc: &mut stm32::RCC,
[INFO] [stdout]    |              ^^^^^ use of unresolved module or unlinked crate `stm32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `stm32`, use `cargo add stm32` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 10 + use stm32f4xx_hal::stm32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stm32`
[INFO] [stdout]   --> src/lib.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |    gpioc: &mut stm32::GPIOC,
[INFO] [stdout]    |                ^^^^^ use of unresolved module or unlinked crate `stm32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `stm32`, use `cargo add stm32` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 10 + use stm32f4xx_hal::stm32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stm32`
[INFO] [stdout]   --> src/lib.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |    gpiod: &mut stm32::GPIOD,
[INFO] [stdout]    |                ^^^^^ use of unresolved module or unlinked crate `stm32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `stm32`, use `cargo add stm32` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 10 + use stm32f4xx_hal::stm32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |    rcc.ahb1enr.modify(|_r, w| w.gpiocen().set_bit().gpioden().set_bit());
[INFO] [stdout]    |                            ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 17 |    rcc.ahb1enr.modify(|_r, w: /* Type */| w.gpiocen().set_bit().gpioden().set_bit());
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |   gpioc.afrh.modify(|_r, w|
[INFO] [stdout]    |                          ^
[INFO] [stdout] 20 |       w.afrh8().af12()
[INFO] [stdout]    |       - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 19 |   gpioc.afrh.modify(|_r, w: /* Type */|
[INFO] [stdout]    |                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |    gpiod.afrl.modify(|_r, w| w.afrl2().af12());
[INFO] [stdout]    |                           ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 25 |    gpiod.afrl.modify(|_r, w: /* Type */| w.afrl2().af12());
[INFO] [stdout]    |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |    gpioc.moder.modify(|_r, w|
[INFO] [stdout]    |                            ^
[INFO] [stdout] 28 |        w.moder8().alternate()
[INFO] [stdout]    |        - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 27 |    gpioc.moder.modify(|_r, w: /* Type */|
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |    gpiod.moder.modify(|_r, w| w.moder2().alternate());
[INFO] [stdout]    |                            ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 33 |    gpiod.moder.modify(|_r, w: /* Type */| w.moder2().alternate());
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |    gpioc.ospeedr.modify(|_r, w|
[INFO] [stdout]    |                              ^
[INFO] [stdout] 36 |        w.ospeedr8().high_speed()
[INFO] [stdout]    |        - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 35 |    gpioc.ospeedr.modify(|_r, w: /* Type */|
[INFO] [stdout]    |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 41 |    gpiod.ospeedr.modify(|_r, w| w.ospeedr2().high_speed());
[INFO] [stdout]    |                              ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 41 |    gpiod.ospeedr.modify(|_r, w: /* Type */| w.ospeedr2().high_speed());
[INFO] [stdout]    |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |    gpioc.otyper.modify(|_r, w|
[INFO] [stdout]    |                             ^
[INFO] [stdout] 44 |        w.ot8().push_pull()
[INFO] [stdout]    |        - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 43 |    gpioc.otyper.modify(|_r, w: /* Type */|
[INFO] [stdout]    |                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 |    gpiod.otyper.modify(|_r, w| w.ot2().push_pull());
[INFO] [stdout]    |                             ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 49 |    gpiod.otyper.modify(|_r, w: /* Type */| w.ot2().push_pull());
[INFO] [stdout]    |                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:51:28
[INFO] [stdout]    |
[INFO] [stdout] 51 |    gpioc.pupdr.modify(|_r, w|
[INFO] [stdout]    |                            ^
[INFO] [stdout] 52 |        w.pupdr8().pull_up()
[INFO] [stdout]    |        - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 51 |    gpioc.pupdr.modify(|_r, w: /* Type */|
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |    gpiod.pupdr.modify(|_r, w| w.pupdr2().pull_up());
[INFO] [stdout]    |                            ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 57 |    gpiod.pupdr.modify(|_r, w: /* Type */| w.pupdr2().pull_up());
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 62) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Card`
[INFO] [stdout]   --> src/lib.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | let card = Card::init().unwrap();
[INFO] [stdout]    |            ^^^^ use of undeclared type `Card`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 62 + use sdio_sdhc::sdcard::Card;
[INFO] [stdout]    |
[INFO] [stdout] 62 + use stm32f4xx_hal::sdio::Card;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `USART1` in this scope
[INFO] [stdout]   --> src/lib.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |    writeln!(USART1, "{:#?}", card).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 62 + use stm32f4xx_hal::stm32::Interrupt::USART1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `USART1` in this scope
[INFO] [stdout]   --> src/lib.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |    writeln!(USART1, "{:?}", &buf[0..buf.len()]).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 62 + use stm32f4xx_hal::stm32::Interrupt::USART1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `USART1` in this scope
[INFO] [stdout]   --> src/lib.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |    writeln!(USART1, "{:?}", &buf[0..buf.len()]).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 62 + use stm32f4xx_hal::stm32::Interrupt::USART1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, 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/lib.rs - (line 10)
[INFO] [stdout]     src/lib.rs - (line 5)
[INFO] [stdout]     src/lib.rs - (line 62)
[INFO] [stdout]     src/lib.rs - (line 83)
[INFO] [stdout]     src/lib.rs - (line 96)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "44190730d6279d3c76bdb7ac5ecb9ff33692b141c8eed1e458c4e3b05e46b3ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44190730d6279d3c76bdb7ac5ecb9ff33692b141c8eed1e458c4e3b05e46b3ec", kill_on_drop: false }`
[INFO] [stdout] 44190730d6279d3c76bdb7ac5ecb9ff33692b141c8eed1e458c4e3b05e46b3ec
