[INFO] fetching crate max7800x-hal 0.7.1... [INFO] testing max7800x-hal-0.7.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate max7800x-hal 0.7.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate max7800x-hal 0.7.1 [INFO] finished tweaking crates.io crate max7800x-hal 0.7.1 [INFO] tweaked toml for crates.io crate max7800x-hal 0.7.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate max7800x-hal 0.7.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding embedded-io v0.6.1 (available: v0.7.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.5 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0 [INFO] [stderr] Downloaded cortex-m-rt v0.7.5 [INFO] [stderr] Downloaded max78000-pac v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47706c748bb6ec3e101be7b183068bf4cd9ecdb6605fbc2c3dda1090bffdc0a3 [INFO] running `Command { std: "docker" "start" "-a" "47706c748bb6ec3e101be7b183068bf4cd9ecdb6605fbc2c3dda1090bffdc0a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47706c748bb6ec3e101be7b183068bf4cd9ecdb6605fbc2c3dda1090bffdc0a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47706c748bb6ec3e101be7b183068bf4cd9ecdb6605fbc2c3dda1090bffdc0a3", kill_on_drop: false }` [INFO] [stdout] 47706c748bb6ec3e101be7b183068bf4cd9ecdb6605fbc2c3dda1090bffdc0a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecb6e6943d8f3a03529c39dd26e51c88a538501648a4277726fcd8c6b7cbb717 [INFO] running `Command { std: "docker" "start" "-a" "ecb6e6943d8f3a03529c39dd26e51c88a538501648a4277726fcd8c6b7cbb717", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling max78000-pac v0.5.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling max7800x-hal v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.88s [INFO] running `Command { std: "docker" "inspect" "ecb6e6943d8f3a03529c39dd26e51c88a538501648a4277726fcd8c6b7cbb717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb6e6943d8f3a03529c39dd26e51c88a538501648a4277726fcd8c6b7cbb717", kill_on_drop: false }` [INFO] [stdout] ecb6e6943d8f3a03529c39dd26e51c88a538501648a4277726fcd8c6b7cbb717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8baf0d4e9399871b5f0b86c1b7a373e80d77a697dcc1544e314e69d9a3e229e [INFO] running `Command { std: "docker" "start" "-a" "c8baf0d4e9399871b5f0b86c1b7a373e80d77a697dcc1544e314e69d9a3e229e", kill_on_drop: false }` [INFO] [stderr] Compiling max7800x-hal v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "c8baf0d4e9399871b5f0b86c1b7a373e80d77a697dcc1544e314e69d9a3e229e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8baf0d4e9399871b5f0b86c1b7a373e80d77a697dcc1544e314e69d9a3e229e", kill_on_drop: false }` [INFO] [stdout] c8baf0d4e9399871b5f0b86c1b7a373e80d77a697dcc1544e314e69d9a3e229e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf364448ca31dc088b6ada26b31b216f67d7c8f30d86a531b95111e4e73e9051 [INFO] running `Command { std: "docker" "start" "-a" "cf364448ca31dc088b6ada26b31b216f67d7c8f30d86a531b95111e4e73e9051", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/max7800x_hal-ee5d70784ea74e7b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests max7800x_hal [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/gpio.rs - gpio::gpio2::GpioPeripheral (line 441) ... FAILED [INFO] [stdout] test src/gpio.rs - gpio::gpio0::GpioPeripheral (line 430) ... FAILED [INFO] [stdout] test src/flc.rs - flc::Flc::write_32 (line 265) ... FAILED [INFO] [stdout] test src/flc.rs - flc::Flc (line 39) ... FAILED [INFO] [stdout] test src/icc.rs - icc::Icc (line 6) ... FAILED [INFO] [stdout] test src/flc.rs - flc::Flc::write_128 (line 246) ... FAILED [INFO] [stdout] test src/gpio.rs - gpio::gpio1::GpioPeripheral (line 440) ... FAILED [INFO] [stdout] test src/trng.rs - trng::Trng (line 15) ... FAILED [INFO] [stdout] test src/trng.rs - trng::Trng (line 55) ... FAILED [INFO] [stdout] test src/uart.rs - uart::UartPeripheral (line 103) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/gpio.rs - gpio::gpio2::GpioPeripheral (line 441) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gcr` [INFO] [stdout] --> src/gpio.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^ use of undeclared type `Gcr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gcr; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gcr::Gcr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/gpio.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/gpio.rs:443:41 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/gpio.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 6 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::gcr::pclkdis0::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gpio::Gpio0; [INFO] [stdout] | [INFO] [stdout] help: if you import `Gpio0`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] 6 + let gpio0 = Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/gpio.rs:445:35 [INFO] [stdout] | [INFO] [stdout] 6 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/gpio.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 14 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gpio2; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::lpgcr::pclkdis::Gpio2; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gpio::Gpio2; [INFO] [stdout] | [INFO] [stdout] help: if you import `Gpio2`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] 14 + let gpio2 = Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/gpio.rs:453:35 [INFO] [stdout] | [INFO] [stdout] 14 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/gpio.rs - gpio::gpio0::GpioPeripheral (line 430) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gcr` [INFO] [stdout] --> src/gpio.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^ use of undeclared type `Gcr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gcr; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gcr::Gcr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/gpio.rs:432:24 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/gpio.rs:432:41 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/gpio.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 6 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::gcr::pclkdis0::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gpio::Gpio0; [INFO] [stdout] | [INFO] [stdout] help: if you import `Gpio0`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] 6 + let gpio0 = Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/gpio.rs:434:35 [INFO] [stdout] | [INFO] [stdout] 6 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/gpio.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 14 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gpio2; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::lpgcr::pclkdis::Gpio2; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gpio::Gpio2; [INFO] [stdout] | [INFO] [stdout] help: if you import `Gpio2`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] 14 + let gpio2 = Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/gpio.rs:442:35 [INFO] [stdout] | [INFO] [stdout] 14 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/flc.rs - flc::Flc::write_32 (line 265) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `flash` in this scope [INFO] [stdout] --> src/flc.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 4 | flash.write_32(0x1006_0004, data).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/flc.rs - flc::Flc (line 39) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flc` [INFO] [stdout] --> src/flc.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 3 | let flc = Flc::new(p.flc, sys_clk); [INFO] [stdout] | ^^^ use of undeclared type `Flc` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Flc; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::flc::Flc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/flc.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 3 | let flc = Flc::new(p.flc, sys_clk); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sys_clk` in this scope [INFO] [stdout] --> src/flc.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 3 | let flc = Flc::new(p.flc, sys_clk); [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/icc.rs - icc::Icc (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Icc` [INFO] [stdout] --> src/icc.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 3 | let icc = Icc::new(p.icc0); [INFO] [stdout] | ^^^ use of undeclared type `Icc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::icc::Icc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/icc.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 3 | let icc = Icc::new(p.icc0); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/flc.rs - flc::Flc::write_128 (line 246) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `flash` in this scope [INFO] [stdout] --> src/flc.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 4 | flash.write_128(0x1006_0000, &data).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/gpio.rs - gpio::gpio1::GpioPeripheral (line 440) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gcr` [INFO] [stdout] --> src/gpio.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^ use of undeclared type `Gcr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gcr; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gcr::Gcr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/gpio.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/gpio.rs:442:41 [INFO] [stdout] | [INFO] [stdout] 4 | let mut gcr = Gcr::new(peripherals.gcr, peripherals.lpgcr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/gpio.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 6 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::gcr::pclkdis0::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gpio::Gpio0; [INFO] [stdout] | [INFO] [stdout] help: if you import `Gpio0`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] 6 + let gpio0 = Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/gpio.rs:444:35 [INFO] [stdout] | [INFO] [stdout] 6 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/gpio.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 14 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gpio2; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::lpgcr::pclkdis::Gpio2; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gpio::Gpio2; [INFO] [stdout] | [INFO] [stdout] help: if you import `Gpio2`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] 14 + let gpio2 = Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/gpio.rs:452:35 [INFO] [stdout] | [INFO] [stdout] 14 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/trng.rs - trng::Trng (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trng` [INFO] [stdout] --> src/trng.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 4 | let trng = Trng::new(p.trng, &mut gcr.reg); [INFO] [stdout] | ^^^^ use of undeclared type `Trng` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Trng; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::gcr::pclkdis1::Trng; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::sir::sfstat::Trng; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::trng::Trng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/trng.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 4 | let trng = Trng::new(p.trng, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gcr` in this scope [INFO] [stdout] --> src/trng.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 4 | let trng = Trng::new(p.trng, &mut gcr.reg); [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/trng.rs - trng::Trng (line 55) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trng` [INFO] [stdout] --> src/trng.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 4 | let trng = Trng::new(p.trng, &mut gcr.reg); [INFO] [stdout] | ^^^^ use of undeclared type `Trng` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Trng; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::gcr::pclkdis1::Trng; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::sir::sfstat::Trng; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::trng::Trng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/trng.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 4 | let trng = Trng::new(p.trng, &mut gcr.reg); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gcr` in this scope [INFO] [stdout] --> src/trng.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 4 | let trng = Trng::new(p.trng, &mut gcr.reg); [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/uart.rs - uart::UartPeripheral (line 103) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/uart.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 14 | .parity(hal::uart::Parity::None) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `embedded_hal_nb::serial::ErrorKind::Parity`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 14 - .parity(hal::uart::Parity::None) [INFO] [stdout] 14 + .parity(embedded_hal_nb::serial::ErrorKind::None) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/uart.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 3 | let pins = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg).split(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max78000_pac::gcr::pclkdis0::Gpio0; [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::gpio::Gpio0; [INFO] [stdout] | [INFO] [stdout] help: if you import `Gpio0`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let pins = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg).split(); [INFO] [stdout] 3 + let pins = Gpio0::new(p.gpio0, &mut gcr.reg).split(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/uart.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 3 | let pins = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg).split(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gcr` in this scope [INFO] [stdout] --> src/uart.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 3 | let pins = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg).split(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/uart.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 4 | let uart = hal::uart::UartPeripheral::uart0( [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::uart::UartPeripheral; [INFO] [stdout] | [INFO] [stdout] help: if you import `UartPeripheral`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let uart = hal::uart::UartPeripheral::uart0( [INFO] [stdout] 4 + let uart = UartPeripheral::uart0( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/uart.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 5 | p.uart0, // UART peripheral from the PAC [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gcr` in this scope [INFO] [stdout] --> src/uart.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 6 | &mut gcr.reg, // GCR instance [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `clks` in this scope [INFO] [stdout] --> src/uart.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 10 | .clock_pclk(&clks.pclk) // or clocks_ibro(&ibro) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/uart.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 12 | .data_bits(hal::uart::DataBits::Eight) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::uart::DataBits; [INFO] [stdout] | [INFO] [stdout] help: if you import `DataBits`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - .data_bits(hal::uart::DataBits::Eight) [INFO] [stdout] 12 + .data_bits(DataBits::Eight) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/uart.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 13 | .stop_bits(hal::uart::StopBits::One) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use max7800x_hal::uart::StopBits; [INFO] [stdout] | [INFO] [stdout] help: if you import `StopBits`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - .stop_bits(hal::uart::StopBits::One) [INFO] [stdout] 13 + .stop_bits(StopBits::One) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/flc.rs - flc::Flc (line 39) [INFO] [stdout] src/flc.rs - flc::Flc::write_128 (line 246) [INFO] [stdout] src/flc.rs - flc::Flc::write_32 (line 265) [INFO] [stdout] src/gpio.rs - gpio::gpio0::GpioPeripheral (line 430) [INFO] [stdout] src/gpio.rs - gpio::gpio1::GpioPeripheral (line 440) [INFO] [stdout] src/gpio.rs - gpio::gpio2::GpioPeripheral (line 441) [INFO] [stdout] src/icc.rs - icc::Icc (line 6) [INFO] [stdout] src/trng.rs - trng::Trng (line 15) [INFO] [stdout] src/trng.rs - trng::Trng (line 55) [INFO] [stdout] src/uart.rs - uart::UartPeripheral (line 103) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cf364448ca31dc088b6ada26b31b216f67d7c8f30d86a531b95111e4e73e9051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf364448ca31dc088b6ada26b31b216f67d7c8f30d86a531b95111e4e73e9051", kill_on_drop: false }` [INFO] [stdout] cf364448ca31dc088b6ada26b31b216f67d7c8f30d86a531b95111e4e73e9051