[INFO] fetching crate gd32vf103-hal 0.0.5...
[INFO] testing gd32vf103-hal-0.0.5 against beta-2020-10-09 for beta-1.48-1
[INFO] extracting crate gd32vf103-hal 0.0.5 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate gd32vf103-hal 0.0.5 on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "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-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gd32vf103-pac v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a41a77d8fca795153c02a3a0f495050786932357f705bcaa28c4c851abd010cb
[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" "a41a77d8fca795153c02a3a0f495050786932357f705bcaa28c4c851abd010cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a41a77d8fca795153c02a3a0f495050786932357f705bcaa28c4c851abd010cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a41a77d8fca795153c02a3a0f495050786932357f705bcaa28c4c851abd010cb", kill_on_drop: false }`
[INFO] [stdout] a41a77d8fca795153c02a3a0f495050786932357f705bcaa28c4c851abd010cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf0dcb1039a5595bd46347e819a296259d07d12d402dcad25832a9facef8be61
[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" "bf0dcb1039a5595bd46347e819a296259d07d12d402dcad25832a9facef8be61", kill_on_drop: false }`
[INFO] [stderr]    Compiling riscv v0.5.4
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling bit_field v0.9.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 25.15s
[INFO] running `Command { std: "docker" "inspect" "bf0dcb1039a5595bd46347e819a296259d07d12d402dcad25832a9facef8be61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf0dcb1039a5595bd46347e819a296259d07d12d402dcad25832a9facef8be61", kill_on_drop: false }`
[INFO] [stdout] bf0dcb1039a5595bd46347e819a296259d07d12d402dcad25832a9facef8be61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 22dd9ac3b2d72d38f1923a9e225602a8aaf14a33d1258192bd3d77b83c1054ab
[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" "22dd9ac3b2d72d38f1923a9e225602a8aaf14a33d1258192bd3d77b83c1054ab", kill_on_drop: false }`
[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.13s
[INFO] running `Command { std: "docker" "inspect" "22dd9ac3b2d72d38f1923a9e225602a8aaf14a33d1258192bd3d77b83c1054ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22dd9ac3b2d72d38f1923a9e225602a8aaf14a33d1258192bd3d77b83c1054ab", kill_on_drop: false }`
[INFO] [stdout] 22dd9ac3b2d72d38f1923a9e225602a8aaf14a33d1258192bd3d77b83c1054ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 003ce9be13c6b8cdf280686c2f30faaf40f627b51a38456a0207e6fa8e578674
[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" "003ce9be13c6b8cdf280686c2f30faaf40f627b51a38456a0207e6fa8e578674", 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.08s
[INFO] [stderr]    Doc-tests gd32vf103_hal
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/crc.rs - crc::Crc::new_digest (line 145) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 15) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/crc.rs - crc::Crc::release (line 169) ... FAILED
[INFO] [stdout] test src/crc.rs - crc::Digest (line 198) ... FAILED
[INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 265) ... FAILED
[INFO] [stdout] test src/crc.rs - crc::Digest (line 207) ... FAILED
[INFO] [stdout] test src/crc.rs - crc::Digest::finish (line 256) ... FAILED
[INFO] [stdout] test src/crc.rs - crc::Crc::crc (line 122) ... FAILED
[INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 232) ... 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 (line 54) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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/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 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::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::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 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::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 (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<Output<PushPull>>` 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<Output<PushPull>>`
[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
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "003ce9be13c6b8cdf280686c2f30faaf40f627b51a38456a0207e6fa8e578674", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "003ce9be13c6b8cdf280686c2f30faaf40f627b51a38456a0207e6fa8e578674", kill_on_drop: false }`
[INFO] [stdout] 003ce9be13c6b8cdf280686c2f30faaf40f627b51a38456a0207e6fa8e578674
