[INFO] fetching crate gd32vf103-hal 0.0.6... [INFO] testing gd32vf103-hal-0.0.6 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate gd32vf103-hal 0.0.6 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate gd32vf103-hal 0.0.6 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 116298d34f1e9f6be21a4be7431e8af3a5927b4bcb0e6d311176660db425d612 [INFO] running `Command { std: "docker" "start" "-a" "116298d34f1e9f6be21a4be7431e8af3a5927b4bcb0e6d311176660db425d612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "116298d34f1e9f6be21a4be7431e8af3a5927b4bcb0e6d311176660db425d612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "116298d34f1e9f6be21a4be7431e8af3a5927b4bcb0e6d311176660db425d612", kill_on_drop: false }` [INFO] [stdout] 116298d34f1e9f6be21a4be7431e8af3a5927b4bcb0e6d311176660db425d612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9443573e50566e028028aaa4b95112fae3e945ba7017ca8b8296ffd923d6d2f4 [INFO] running `Command { std: "docker" "start" "-a" "9443573e50566e028028aaa4b95112fae3e945ba7017ca8b8296ffd923d6d2f4", kill_on_drop: false }` [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling gd32vf103-hal v0.0.6 (/opt/rustwide/workdir) [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 22.46s [INFO] running `Command { std: "docker" "inspect" "9443573e50566e028028aaa4b95112fae3e945ba7017ca8b8296ffd923d6d2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9443573e50566e028028aaa4b95112fae3e945ba7017ca8b8296ffd923d6d2f4", kill_on_drop: false }` [INFO] [stdout] 9443573e50566e028028aaa4b95112fae3e945ba7017ca8b8296ffd923d6d2f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbe1161c873bedb4e8eefa920a5a209655e766dfffd6d95b47e555f75ee5bcb7 [INFO] running `Command { std: "docker" "start" "-a" "fbe1161c873bedb4e8eefa920a5a209655e766dfffd6d95b47e555f75ee5bcb7", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [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" "fbe1161c873bedb4e8eefa920a5a209655e766dfffd6d95b47e555f75ee5bcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe1161c873bedb4e8eefa920a5a209655e766dfffd6d95b47e555f75ee5bcb7", kill_on_drop: false }` [INFO] [stdout] fbe1161c873bedb4e8eefa920a5a209655e766dfffd6d95b47e555f75ee5bcb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ccf5014a3ecefd9a42153c0c0118f90daaf065494e324f511cdf20eb626ab230 [INFO] running `Command { std: "docker" "start" "-a" "ccf5014a3ecefd9a42153c0c0118f90daaf065494e324f511cdf20eb626ab230", 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.02s [INFO] [stderr] Doc-tests gd32vf103_hal [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 232) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest (line 198) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::new_digest (line 145) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::crc (line 122) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 239) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc (line 54) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::free (line 284) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest (line 207) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 265) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 256) - compile ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::release (line 169) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 (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::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/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::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::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 (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] ---- 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 (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::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::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::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/lib.rs - (line 9) stdout ---- [INFO] [stdout] error: expected `;`, found `gd32vf103` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 3 | [dependencies] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | gd32vf103-hal = "0.0" [INFO] [stdout] | --------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 3 | [dependencies] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gd32vf103` in this scope [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 4 | gd32vf103-hal = "0.0" [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:11:11 [INFO] [stdout] | [INFO] [stdout] 4 | gd32vf103-hal = "0.0" [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/lib.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 4 | gd32vf103-hal = "0.0" [INFO] [stdout] | ------------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] [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.39s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ccf5014a3ecefd9a42153c0c0118f90daaf065494e324f511cdf20eb626ab230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf5014a3ecefd9a42153c0c0118f90daaf065494e324f511cdf20eb626ab230", kill_on_drop: false }` [INFO] [stdout] ccf5014a3ecefd9a42153c0c0118f90daaf065494e324f511cdf20eb626ab230