[INFO] fetching crate sdio_sdhc 0.2.3... [INFO] testing sdio_sdhc-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sdio_sdhc 0.2.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sdio_sdhc 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdio_sdhc 0.2.3 [INFO] finished tweaking crates.io crate sdio_sdhc 0.2.3 [INFO] tweaked toml for crates.io crate sdio_sdhc 0.2.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] c337596175f5f3e65ec417f4c93b653f276b18d4040536ffb44b456860ea08bf [INFO] running `Command { std: "docker" "start" "-a" "c337596175f5f3e65ec417f4c93b653f276b18d4040536ffb44b456860ea08bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c337596175f5f3e65ec417f4c93b653f276b18d4040536ffb44b456860ea08bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c337596175f5f3e65ec417f4c93b653f276b18d4040536ffb44b456860ea08bf", kill_on_drop: false }` [INFO] [stdout] c337596175f5f3e65ec417f4c93b653f276b18d4040536ffb44b456860ea08bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] a739cb8ea63eaf17e96d6b48ad2d020f89e8a834ff20ef0236b8a7b86bda159f [INFO] running `Command { std: "docker" "start" "-a" "a739cb8ea63eaf17e96d6b48ad2d020f89e8a834ff20ef0236b8a7b86bda159f", kill_on_drop: false }` [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling stm32f4xx-hal v0.8.3 [INFO] [stderr] Compiling sdio_sdhc v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.66s [INFO] running `Command { std: "docker" "inspect" "a739cb8ea63eaf17e96d6b48ad2d020f89e8a834ff20ef0236b8a7b86bda159f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a739cb8ea63eaf17e96d6b48ad2d020f89e8a834ff20ef0236b8a7b86bda159f", kill_on_drop: false }` [INFO] [stdout] a739cb8ea63eaf17e96d6b48ad2d020f89e8a834ff20ef0236b8a7b86bda159f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e54e880db047cfa8d8c0ec52ac989c12d99ed493e7cfcde759d1a48da3c5a559 [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" "e54e880db047cfa8d8c0ec52ac989c12d99ed493e7cfcde759d1a48da3c5a559", kill_on_drop: false }` [INFO] [stderr] Compiling sdio_sdhc v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sdio_sdhc-63951d0201cf3627) [INFO] running `Command { std: "docker" "inspect" "e54e880db047cfa8d8c0ec52ac989c12d99ed493e7cfcde759d1a48da3c5a559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e54e880db047cfa8d8c0ec52ac989c12d99ed493e7cfcde759d1a48da3c5a559", kill_on_drop: false }` [INFO] [stdout] e54e880db047cfa8d8c0ec52ac989c12d99ed493e7cfcde759d1a48da3c5a559 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d509fe5b182cf6d5456015167625c2a0eb223aa4d4a2211dabf8ed1a7f160d54 [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" "d509fe5b182cf6d5456015167625c2a0eb223aa4d4a2211dabf8ed1a7f160d54", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sdio_sdhc-63951d0201cf3627) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests sdio_sdhc [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 83) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - (line 96) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 83) stdout ---- [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 9 | [1, 1, 1, .......] [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32` [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 4 | rcc: &mut stm32::RCC, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32` [INFO] [stdout] --> src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 5 | gpioc: &mut stm32::GPIOC, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32` [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 6 | gpiod: &mut stm32::GPIOD, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/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] 3 | 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] 3 | 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] 3 | 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] 3 | 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 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] 3 | let card = Card::init().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use sdio_sdhc::sdcard::Card; [INFO] [stdout] | [INFO] [stdout] 2 | 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] 4 | 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] 2 | 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] 12 | 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] 2 | 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] 19 | 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] 2 | 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] ---- src/lib.rs - (line 96) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 4 | 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:97:1 [INFO] [stdout] | [INFO] [stdout] 4 | sdio_sdhc = { version = "0.2", features = ["filesystem"] } [INFO] [stdout] | ^^^^^^^^^ not a value [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] [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.63s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d509fe5b182cf6d5456015167625c2a0eb223aa4d4a2211dabf8ed1a7f160d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d509fe5b182cf6d5456015167625c2a0eb223aa4d4a2211dabf8ed1a7f160d54", kill_on_drop: false }` [INFO] [stdout] d509fe5b182cf6d5456015167625c2a0eb223aa4d4a2211dabf8ed1a7f160d54