[INFO] fetching crate gd32vf103-hal 0.0.6... [INFO] testing gd32vf103-hal-0.0.6 against 1.55.0 for beta-1.56-1 [INFO] extracting crate gd32vf103-hal 0.0.6 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate gd32vf103-hal 0.0.6 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gd32vf103-hal 0.0.6 [INFO] finished tweaking crates.io crate gd32vf103-hal 0.0.6 [INFO] tweaked toml for crates.io crate gd32vf103-hal 0.0.6 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfa85900e485cdbaf65b2ad6144a1a68407e6ed28889eba2b84096c415f8dcf9 [INFO] running `Command { std: "docker" "start" "-a" "bfa85900e485cdbaf65b2ad6144a1a68407e6ed28889eba2b84096c415f8dcf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfa85900e485cdbaf65b2ad6144a1a68407e6ed28889eba2b84096c415f8dcf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa85900e485cdbaf65b2ad6144a1a68407e6ed28889eba2b84096c415f8dcf9", kill_on_drop: false }` [INFO] [stdout] bfa85900e485cdbaf65b2ad6144a1a68407e6ed28889eba2b84096c415f8dcf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 517b21ab0e4cb79c906a1c34d70082db646400eb45de1efd156d49638f41dd5c [INFO] running `Command { std: "docker" "start" "-a" "517b21ab0e4cb79c906a1c34d70082db646400eb45de1efd156d49638f41dd5c", kill_on_drop: false }` [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling gd32vf103-hal v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.4 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Compiling gd32vf103-pac v0.4.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: `state` [INFO] [stdout] --> src/wdog.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | state: STATE, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wwdgt` [INFO] [stdout] --> src/wdog.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | wwdgt: WWDGT, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.30s [INFO] running `Command { std: "docker" "inspect" "517b21ab0e4cb79c906a1c34d70082db646400eb45de1efd156d49638f41dd5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517b21ab0e4cb79c906a1c34d70082db646400eb45de1efd156d49638f41dd5c", kill_on_drop: false }` [INFO] [stdout] 517b21ab0e4cb79c906a1c34d70082db646400eb45de1efd156d49638f41dd5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b604a169c9c5b01b638f7835348244418704340b6d07075c56eab735729ae92d [INFO] running `Command { std: "docker" "start" "-a" "b604a169c9c5b01b638f7835348244418704340b6d07075c56eab735729ae92d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [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: `state` [INFO] [stdout] --> src/wdog.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | state: STATE, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wwdgt` [INFO] [stdout] --> src/wdog.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | wwdgt: WWDGT, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b604a169c9c5b01b638f7835348244418704340b6d07075c56eab735729ae92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b604a169c9c5b01b638f7835348244418704340b6d07075c56eab735729ae92d", kill_on_drop: false }` [INFO] [stdout] b604a169c9c5b01b638f7835348244418704340b6d07075c56eab735729ae92d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5edaca258ccf752e4d05c3159897fb451440e009a2d8e311cf18742e9d49058 [INFO] running `Command { std: "docker" "start" "-a" "d5edaca258ccf752e4d05c3159897fb451440e009a2d8e311cf18742e9d49058", 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: `state` [INFO] [stderr] --> src/wdog.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | state: STATE, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `wwdgt` [INFO] [stderr] --> src/wdog.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | wwdgt: WWDGT, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gd32vf103-hal` (lib) generated 5 warnings [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::Crc::release (line 169) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest (line 198) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 256) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 232) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::crc (line 122) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::free (line 284) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 239) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::new_digest (line 145) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 265) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest (line 207) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc (line 54) ... 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::Crc::release (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 (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::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::Crc::crc (line 122) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] ---- 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::new_digest (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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::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 (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 (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 external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `riscv_rt` [INFO] [stdout] --> src/crc.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[riscv_rt::entry] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `riscv_rt` [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_high` found for struct `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 `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] [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; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d5edaca258ccf752e4d05c3159897fb451440e009a2d8e311cf18742e9d49058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5edaca258ccf752e4d05c3159897fb451440e009a2d8e311cf18742e9d49058", kill_on_drop: false }` [INFO] [stdout] d5edaca258ccf752e4d05c3159897fb451440e009a2d8e311cf18742e9d49058