[INFO] fetching crate max7800x-hal 0.7.1...
[INFO] testing max7800x-hal-0.7.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate max7800x-hal 0.7.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate max7800x-hal 0.7.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a41dd64d75ba414928022029b433f119d2b120a55bf2b2e654845db796c005b
[INFO] running `Command { std: "docker" "start" "-a" "1a41dd64d75ba414928022029b433f119d2b120a55bf2b2e654845db796c005b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a41dd64d75ba414928022029b433f119d2b120a55bf2b2e654845db796c005b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a41dd64d75ba414928022029b433f119d2b120a55bf2b2e654845db796c005b", kill_on_drop: false }`
[INFO] [stdout] 1a41dd64d75ba414928022029b433f119d2b120a55bf2b2e654845db796c005b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc745843ea0996aff145b3c5eb5d05c415d1689e3f9c72ea4735b008f3effe5c
[INFO] running `Command { std: "docker" "start" "-a" "cc745843ea0996aff145b3c5eb5d05c415d1689e3f9c72ea4735b008f3effe5c", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling cortex-m-rt v0.7.5
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling max78000-pac v0.5.0
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling embedded-io v0.6.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling embedded-hal-nb v1.0.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[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 9.62s
[INFO] running `Command { std: "docker" "inspect" "cc745843ea0996aff145b3c5eb5d05c415d1689e3f9c72ea4735b008f3effe5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc745843ea0996aff145b3c5eb5d05c415d1689e3f9c72ea4735b008f3effe5c", kill_on_drop: false }`
[INFO] [stdout] cc745843ea0996aff145b3c5eb5d05c415d1689e3f9c72ea4735b008f3effe5c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7836ef8cc3aae8a27639ce0f408a437c2c868f724b3555151ac7d57d6719e5e0
[INFO] running `Command { std: "docker" "start" "-a" "7836ef8cc3aae8a27639ce0f408a437c2c868f724b3555151ac7d57d6719e5e0", 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.82s
[INFO] running `Command { std: "docker" "inspect" "7836ef8cc3aae8a27639ce0f408a437c2c868f724b3555151ac7d57d6719e5e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7836ef8cc3aae8a27639ce0f408a437c2c868f724b3555151ac7d57d6719e5e0", kill_on_drop: false }`
[INFO] [stdout] 7836ef8cc3aae8a27639ce0f408a437c2c868f724b3555151ac7d57d6719e5e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 414f5fadb6c392936124ea50599acc108e3ee5be82e574e3d75736562cfcfe80
[INFO] running `Command { std: "docker" "start" "-a" "414f5fadb6c392936124ea50599acc108e3ee5be82e574e3d75736562cfcfe80", 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-25545982acf01afe)
[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/flc.rs - flc::Flc (line 39) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::gpio1::GpioPeripheral (line 440) ... FAILED
[INFO] [stdout] test src/flc.rs - flc::Flc::write_128 (line 246) ... FAILED
[INFO] [stdout] test src/trng.rs - trng::Trng (line 15) ... FAILED
[INFO] [stdout] test src/icc.rs - icc::Icc (line 6) ... FAILED
[INFO] [stdout] test src/trng.rs - trng::Trng (line 55) ... FAILED
[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/uart.rs - uart::UartPeripheral (line 103) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 40 | 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] 39 + use max78000_pac::Flc;
[INFO] [stdout]    |
[INFO] [stdout] 39 + 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] 40 | 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] 40 | 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/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] 442 | 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] 440 + use max78000_pac::Gcr;
[INFO] [stdout]     |
[INFO] [stdout] 440 + 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] 442 | 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] 442 | 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] 444 | 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] 440 + use max78000_pac::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 440 + use max78000_pac::gcr::pclkdis0::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 440 + use max7800x_hal::gpio::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Gpio0`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 444 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout] 444 + 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] 444 | 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] 452 | 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] 440 + use max78000_pac::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] 440 + use max78000_pac::lpgcr::pclkdis::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] 440 + use max7800x_hal::gpio::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Gpio2`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 452 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout] 452 + 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] 452 | 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_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] 248 | 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/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] 17 | 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] 15 + use max78000_pac::Trng;
[INFO] [stdout]    |
[INFO] [stdout] 15 + use max78000_pac::gcr::pclkdis1::Trng;
[INFO] [stdout]    |
[INFO] [stdout] 15 + use max78000_pac::sir::sfstat::Trng;
[INFO] [stdout]    |
[INFO] [stdout] 15 + 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] 17 | 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] 17 | 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/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] 7 | 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] 6 + 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] 7 | 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/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] 57 | 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] 55 + use max78000_pac::Trng;
[INFO] [stdout]    |
[INFO] [stdout] 55 + use max78000_pac::gcr::pclkdis1::Trng;
[INFO] [stdout]    |
[INFO] [stdout] 55 + use max78000_pac::sir::sfstat::Trng;
[INFO] [stdout]    |
[INFO] [stdout] 55 + 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] 57 | 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] 57 | 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/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] 443 | 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] 441 + use max78000_pac::Gcr;
[INFO] [stdout]     |
[INFO] [stdout] 441 + 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] 443 | 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] 443 | 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] 445 | 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] 441 + use max78000_pac::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 441 + use max78000_pac::gcr::pclkdis0::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 441 + use max7800x_hal::gpio::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Gpio0`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 445 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout] 445 + 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] 445 | 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] 453 | 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] 441 + use max78000_pac::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] 441 + use max78000_pac::lpgcr::pclkdis::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] 441 + use max7800x_hal::gpio::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Gpio2`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 453 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout] 453 + 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] 453 | 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] 432 | 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] 430 + use max78000_pac::Gcr;
[INFO] [stdout]     |
[INFO] [stdout] 430 + 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] 432 | 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] 432 | 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] 434 | 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] 430 + use max78000_pac::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 430 + use max78000_pac::gcr::pclkdis0::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 430 + use max7800x_hal::gpio::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Gpio0`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 434 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout] 434 + 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] 434 | 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] 442 | 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] 430 + use max78000_pac::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] 430 + use max78000_pac::lpgcr::pclkdis::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] 430 + use max7800x_hal::gpio::Gpio2;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Gpio2`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 442 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout] 442 + 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] 442 | 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] 267 | 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/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] 115 |     .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] 115 -     .parity(hal::uart::Parity::None)
[INFO] [stdout] 115 +     .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] 104 | 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] 103 + use max78000_pac::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 103 + use max78000_pac::gcr::pclkdis0::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] 103 + use max7800x_hal::gpio::Gpio0;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Gpio0`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 104 - let pins = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg).split();
[INFO] [stdout] 104 + 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] 104 | 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] 104 | 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] 105 | 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] 103 + use max7800x_hal::uart::UartPeripheral;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `UartPeripheral`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 105 - let uart = hal::uart::UartPeripheral::uart0(
[INFO] [stdout] 105 + 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] 106 |     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] 107 |     &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] 111 |     .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] 113 |     .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] 103 + use max7800x_hal::uart::DataBits;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `DataBits`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 113 -     .data_bits(hal::uart::DataBits::Eight)
[INFO] [stdout] 113 +     .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] 114 |     .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] 103 + use max7800x_hal::uart::StopBits;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `StopBits`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 114 -     .stop_bits(hal::uart::StopBits::One)
[INFO] [stdout] 114 +     .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.36s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "414f5fadb6c392936124ea50599acc108e3ee5be82e574e3d75736562cfcfe80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "414f5fadb6c392936124ea50599acc108e3ee5be82e574e3d75736562cfcfe80", kill_on_drop: false }`
[INFO] [stdout] 414f5fadb6c392936124ea50599acc108e3ee5be82e574e3d75736562cfcfe80
