[INFO] fetching crate gd32vf103-hal 0.0.6... [INFO] testing gd32vf103-hal-0.0.6 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate gd32vf103-hal 0.0.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate gd32vf103-hal 0.0.6 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3560c42ccfd7b5b5180b85ad4355bc7b43b54d2e7f62b24373d35a9fa555c91e [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" "3560c42ccfd7b5b5180b85ad4355bc7b43b54d2e7f62b24373d35a9fa555c91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3560c42ccfd7b5b5180b85ad4355bc7b43b54d2e7f62b24373d35a9fa555c91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3560c42ccfd7b5b5180b85ad4355bc7b43b54d2e7f62b24373d35a9fa555c91e", kill_on_drop: false }` [INFO] [stdout] 3560c42ccfd7b5b5180b85ad4355bc7b43b54d2e7f62b24373d35a9fa555c91e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90aac4726f98f723c7a654de41177924933f30c7f20e108c161536a7961c7d2b [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" "90aac4726f98f723c7a654de41177924933f30c7f20e108c161536a7961c7d2b", kill_on_drop: false }` [INFO] [stderr] Compiling gd32vf103-hal v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.4 [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: field is never read: `target_ck_i2s` [INFO] [stdout] --> src/rcu.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | target_ck_i2s: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "90aac4726f98f723c7a654de41177924933f30c7f20e108c161536a7961c7d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90aac4726f98f723c7a654de41177924933f30c7f20e108c161536a7961c7d2b", kill_on_drop: false }` [INFO] [stdout] 90aac4726f98f723c7a654de41177924933f30c7f20e108c161536a7961c7d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42bee0a782ca3d742f9ccb6d57f71f7d5b1e9fa0de91e1a4ff7f6263748fecbc [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" "42bee0a782ca3d742f9ccb6d57f71f7d5b1e9fa0de91e1a4ff7f6263748fecbc", 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: field is never read: `target_ck_i2s` [INFO] [stdout] --> src/rcu.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | target_ck_i2s: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42bee0a782ca3d742f9ccb6d57f71f7d5b1e9fa0de91e1a4ff7f6263748fecbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42bee0a782ca3d742f9ccb6d57f71f7d5b1e9fa0de91e1a4ff7f6263748fecbc", kill_on_drop: false }` [INFO] [stdout] 42bee0a782ca3d742f9ccb6d57f71f7d5b1e9fa0de91e1a4ff7f6263748fecbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 966b8c83ac99d0f4642c45d79695db81881490037e486508d4700de0995a3175 [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" "966b8c83ac99d0f4642c45d79695db81881490037e486508d4700de0995a3175", 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: field is never read: `target_ck_i2s` [INFO] [stderr] --> src/rcu.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | target_ck_i2s: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Doc-tests gd32vf103_hal [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest (line 198) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::free (line 284) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::release (line 169) ... 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] 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::finish (line 265) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Crc::new_digest (line 145) ... FAILED [INFO] [stdout] test src/crc.rs - crc::Digest::write_u32 (line 232) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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/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::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::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::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 (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::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::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::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] [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.46s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "966b8c83ac99d0f4642c45d79695db81881490037e486508d4700de0995a3175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "966b8c83ac99d0f4642c45d79695db81881490037e486508d4700de0995a3175", kill_on_drop: false }` [INFO] [stdout] 966b8c83ac99d0f4642c45d79695db81881490037e486508d4700de0995a3175