[INFO] crate gd32vf103-hal 0.0.5 is already in cache [INFO] testing gd32vf103-hal-0.0.5 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate gd32vf103-hal 0.0.5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate gd32vf103-hal 0.0.5 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 gd32vf103-hal 0.0.5 [INFO] finished tweaking crates.io crate gd32vf103-hal 0.0.5 [INFO] tweaked toml for crates.io crate gd32vf103-hal 0.0.5 written to /workspace/builds/worker-7/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] ada26e38789b0c25c73e0bff0121885380594cf55c08d15f64e0f258f7c72357 [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" "ada26e38789b0c25c73e0bff0121885380594cf55c08d15f64e0f258f7c72357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ada26e38789b0c25c73e0bff0121885380594cf55c08d15f64e0f258f7c72357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada26e38789b0c25c73e0bff0121885380594cf55c08d15f64e0f258f7c72357", kill_on_drop: false }` [INFO] [stdout] ada26e38789b0c25c73e0bff0121885380594cf55c08d15f64e0f258f7c72357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 74f7a3a80adbc0e599c9584ebb2dade313a383ba160795e5146b28d9bb781c85 [INFO] running `Command { std: "docker" "start" "-a" "74f7a3a80adbc0e599c9584ebb2dade313a383ba160795e5146b28d9bb781c85", kill_on_drop: false }` [INFO] [stderr] Compiling riscv v0.5.4 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling gd32vf103-hal v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.1 [INFO] [stderr] Compiling gd32vf103-pac v0.2.0 [INFO] [stdout] warning: unused import: `bkp` [INFO] [stdout] --> src/backup.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pac::{bkp, BKP, PMU}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cfg1` [INFO] [stdout] --> src/rcu.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn cfg1(&mut self) -> &rcu::CFG1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bdctl` [INFO] [stdout] --> src/rcu.rs:510:19 [INFO] [stdout] | [INFO] [stdout] 510 | pub(crate) fn bdctl(&mut self) -> &rcu::BDCTL { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wwdgt` [INFO] [stdout] --> src/wdog.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | wwdgt: WWDGT, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.77s [INFO] running `Command { std: "docker" "inspect" "74f7a3a80adbc0e599c9584ebb2dade313a383ba160795e5146b28d9bb781c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f7a3a80adbc0e599c9584ebb2dade313a383ba160795e5146b28d9bb781c85", kill_on_drop: false }` [INFO] [stdout] 74f7a3a80adbc0e599c9584ebb2dade313a383ba160795e5146b28d9bb781c85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 23206a93f62faf3d68bcc49b2b945c94e920c57acdb64da4a619ffe8db127b31 [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" "23206a93f62faf3d68bcc49b2b945c94e920c57acdb64da4a619ffe8db127b31", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `bkp` [INFO] [stdout] --> src/backup.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pac::{bkp, BKP, PMU}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cfg1` [INFO] [stdout] --> src/rcu.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn cfg1(&mut self) -> &rcu::CFG1 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bdctl` [INFO] [stdout] --> src/rcu.rs:510:19 [INFO] [stdout] | [INFO] [stdout] 510 | pub(crate) fn bdctl(&mut self) -> &rcu::BDCTL { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wwdgt` [INFO] [stdout] --> src/wdog.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | wwdgt: WWDGT, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "23206a93f62faf3d68bcc49b2b945c94e920c57acdb64da4a619ffe8db127b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23206a93f62faf3d68bcc49b2b945c94e920c57acdb64da4a619ffe8db127b31", kill_on_drop: false }` [INFO] [stdout] 23206a93f62faf3d68bcc49b2b945c94e920c57acdb64da4a619ffe8db127b31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 288cb45954884789750f15eef9aaed70bb0b7ca421c6f0ed02bd455e4bb43a2f [INFO] running `Command { std: "docker" "start" "-a" "288cb45954884789750f15eef9aaed70bb0b7ca421c6f0ed02bd455e4bb43a2f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `bkp` [INFO] [stderr] --> src/backup.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::pac::{bkp, BKP, PMU}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cfg1` [INFO] [stderr] --> src/rcu.rs:127:19 [INFO] [stderr] | [INFO] [stderr] 127 | pub(crate) fn cfg1(&mut self) -> &rcu::CFG1 { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bdctl` [INFO] [stderr] --> src/rcu.rs:510:19 [INFO] [stderr] | [INFO] [stderr] 510 | pub(crate) fn bdctl(&mut self) -> &rcu::BDCTL { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `wwdgt` [INFO] [stderr] --> src/wdog.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | wwdgt: WWDGT, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Doc-tests gd32vf103_hal [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/crc.rs - crc (line 54) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::new_digest (line 145) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest (line 207) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest (line 198) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::release (line 169) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 256) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 232) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 265) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::free (line 284) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 239) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::crc (line 122) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `gd32vf103` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 3 | [dependencies] [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 4 | gd32vf103-hal = "0.0" [INFO] [stdout] | ^^^^^^^^^ unexpected token [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 15) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `panic_halt` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate panic_halt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc (line 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> src/crc.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 8 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `panic_halt` external crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `riscv_rt` [INFO] [stdout] --> src/crc.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[riscv_rt::entry] [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `riscv_rt` [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_high` found for struct `gd32vf103_hal::gpio::gpioa::PA7>` in the current scope [INFO] [stdout] --> src/crc.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 23 | pa7.set_high().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `gd32vf103_hal::gpio::gpioa::PA7>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Crc::new_digest (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Crc` [INFO] [stdout] --> src/crc.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use gd32vf103_hal::crc::Crc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dp` in this scope [INFO] [stdout] --> src/crc.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcu` in this scope [INFO] [stdout] --> src/crc.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/crc.rs - crc::Digest (line 207) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `array` in this scope [INFO] [stdout] --> src/crc.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 4 | for value in array { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 5 | digest.write_u32(value); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 8 | let ans = digest.finish(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Digest (line 198) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 4 | digest.write_u32(0x12345678); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 6 | let ans = digest.finish(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Crc::release (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Crc` [INFO] [stdout] --> src/crc.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use gd32vf103_hal::crc::Crc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dp` in this scope [INFO] [stdout] --> src/crc.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcu` in this scope [INFO] [stdout] --> src/crc.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcu` in this scope [INFO] [stdout] --> src/crc.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 7 | let crc = crc.release(&mut rcu.ahb); [INFO] [stdout] | ^^^ not found in this scope [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/crc.rs - crc::Digest::finish (line 256) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 4 | digest.write_u32(0x12345678); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 6 | let ans = digest.finish(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Digest::write_u32 (line 232) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 4 | digest.write_u32(0x12345678); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Digest::finish (line 265) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `array` in this scope [INFO] [stdout] --> src/crc.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 4 | for value in array { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 5 | digest.write_u32(value); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:271:11 [INFO] [stdout] | [INFO] [stdout] 8 | let ans = digest.finish(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Digest::free (line 284) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 4 | digest.write_u32(0x12345678); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:287:11 [INFO] [stdout] | [INFO] [stdout] 5 | let ans = digest.finish(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 7 | let crc = digest.free(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Digest::write_u32 (line 239) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `array` in this scope [INFO] [stdout] --> src/crc.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 4 | for value in array { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `digest` in this scope [INFO] [stdout] --> src/crc.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 5 | digest.write_u32(value); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crc.rs - crc::Crc::crc (line 122) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Crc` [INFO] [stdout] --> src/crc.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use gd32vf103_hal::crc::Crc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dp` in this scope [INFO] [stdout] --> src/crc.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcu` in this scope [INFO] [stdout] --> src/crc.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 4 | let crc = Crc::crc(dp.CRC, &mut rcu.ahb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/crc.rs - crc (line 54) [INFO] [stdout] src/crc.rs - crc::Crc::crc (line 122) [INFO] [stdout] src/crc.rs - crc::Crc::new_digest (line 145) [INFO] [stdout] src/crc.rs - crc::Crc::release (line 169) [INFO] [stdout] src/crc.rs - crc::Digest (line 198) [INFO] [stdout] src/crc.rs - crc::Digest (line 207) [INFO] [stdout] src/crc.rs - crc::Digest::finish (line 256) [INFO] [stdout] src/crc.rs - crc::Digest::finish (line 265) [INFO] [stdout] src/crc.rs - crc::Digest::free (line 284) [INFO] [stdout] src/crc.rs - crc::Digest::write_u32 (line 232) [INFO] [stdout] src/crc.rs - crc::Digest::write_u32 (line 239) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 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" "288cb45954884789750f15eef9aaed70bb0b7ca421c6f0ed02bd455e4bb43a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288cb45954884789750f15eef9aaed70bb0b7ca421c6f0ed02bd455e4bb43a2f", kill_on_drop: false }` [INFO] [stdout] 288cb45954884789750f15eef9aaed70bb0b7ca421c6f0ed02bd455e4bb43a2f