[INFO] cloning repository https://github.com/sigpwny/max78000-hal
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sigpwny/max78000-hal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigpwny%2Fmax78000-hal", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigpwny%2Fmax78000-hal'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4152f9b23eef4a1e3e5d67d4c554c6f882a3a65
[INFO] testing sigpwny/max78000-hal against nightly-2025-01-18 for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigpwny%2Fmax78000-hal" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sigpwny/max78000-hal on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sigpwny/max78000-hal
[INFO] finished tweaking git repo https://github.com/sigpwny/max78000-hal
[INFO] tweaked toml for git repo https://github.com/sigpwny/max78000-hal written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/sigpwny/max78000-hal already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded max78000-pac v0.3.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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1435c76dbab3ac58d59938bd7a527a10d861acdc00ded42e419d84fb2e911052
[INFO] running `Command { std: "docker" "start" "-a" "1435c76dbab3ac58d59938bd7a527a10d861acdc00ded42e419d84fb2e911052", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1435c76dbab3ac58d59938bd7a527a10d861acdc00ded42e419d84fb2e911052", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1435c76dbab3ac58d59938bd7a527a10d861acdc00ded42e419d84fb2e911052", kill_on_drop: false }`
[INFO] [stdout] 1435c76dbab3ac58d59938bd7a527a10d861acdc00ded42e419d84fb2e911052
[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=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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d9eb781bdb232c235d5695fe9c16058c327193702ddcf49c57ee3c7a65d3749
[INFO] running `Command { std: "docker" "start" "-a" "4d9eb781bdb232c235d5695fe9c16058c327193702ddcf49c57ee3c7a65d3749", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[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 void v1.0.2
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling max78000-pac v0.3.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 nb v0.1.3
[INFO] [stderr]    Compiling volatile-register v0.2.2
[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 quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.5
[INFO] [stderr]    Compiling max78000-hal v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.14s
[INFO] running `Command { std: "docker" "inspect" "4d9eb781bdb232c235d5695fe9c16058c327193702ddcf49c57ee3c7a65d3749", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d9eb781bdb232c235d5695fe9c16058c327193702ddcf49c57ee3c7a65d3749", kill_on_drop: false }`
[INFO] [stdout] 4d9eb781bdb232c235d5695fe9c16058c327193702ddcf49c57ee3c7a65d3749
[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=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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a6ec55494522d46e13464831864228759ab42c906b40b1ae3f6235102ac1730
[INFO] running `Command { std: "docker" "start" "-a" "8a6ec55494522d46e13464831864228759ab42c906b40b1ae3f6235102ac1730", kill_on_drop: false }`
[INFO] [stderr]    Compiling max78000-hal v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "8a6ec55494522d46e13464831864228759ab42c906b40b1ae3f6235102ac1730", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a6ec55494522d46e13464831864228759ab42c906b40b1ae3f6235102ac1730", kill_on_drop: false }`
[INFO] [stdout] 8a6ec55494522d46e13464831864228759ab42c906b40b1ae3f6235102ac1730
[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=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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5246fc94df8f287ef90bb9acc1d247f228a010e9fe532fbfc868d7b5e267da77
[INFO] running `Command { std: "docker" "start" "-a" "5246fc94df8f287ef90bb9acc1d247f228a010e9fe532fbfc868d7b5e267da77", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/max78000_hal-140375601c27b1e8)
[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 max78000_hal
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/gpio.rs - gpio::gpio0::GpioPeripheral (line 426) ... FAILED
[INFO] [stdout] test src/trng.rs - trng::Trng (line 9) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::gpio1::GpioPeripheral (line 427) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::gpio2::GpioPeripheral (line 428) ... FAILED
[INFO] [stdout] test src/uart.rs - uart::UartPeripheral (line 107) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/gpio.rs - gpio::gpio0::GpioPeripheral (line 426) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]  --> src/gpio.rs:428:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout]   |             ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_hal::gpio::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::gcr::pclkdis0::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Gpio0`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout] 4 + 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:428:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &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/gpio.rs:428:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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 undeclared crate or module `hal`
[INFO] [stdout]   --> src/gpio.rs:436:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_hal::gpio::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_pac::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_pac::lpgcr::pclkdis::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Gpio2`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout] 12 + 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:436:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &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/gpio.rs:436:49
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 6 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 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trng`
[INFO] [stdout]  --> src/trng.rs:11: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] 3 + use max78000_hal::trng::Trng;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::Trng;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::gcr::pclkdis1::Trng;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::sir::sfstat::Trng;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p` in this scope
[INFO] [stdout]  --> src/trng.rs:11: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:11: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/gpio.rs - gpio::gpio1::GpioPeripheral (line 427) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]  --> src/gpio.rs:429:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout]   |             ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_hal::gpio::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::gcr::pclkdis0::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Gpio0`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout] 4 + 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:429:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &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/gpio.rs:429:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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 undeclared crate or module `hal`
[INFO] [stdout]   --> src/gpio.rs:437:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_hal::gpio::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_pac::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_pac::lpgcr::pclkdis::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Gpio2`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout] 12 + 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:437:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &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/gpio.rs:437:49
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 6 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 428) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]  --> src/gpio.rs:430:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout]   |             ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_hal::gpio::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use max78000_pac::gcr::pclkdis0::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Gpio0`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg);
[INFO] [stdout] 4 + 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:430:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | let gpio0 = hal::gpio::Gpio0::new(p.gpio0, &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/gpio.rs:430:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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 undeclared crate or module `hal`
[INFO] [stdout]   --> src/gpio.rs:438:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_hal::gpio::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_pac::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use max78000_pac::lpgcr::pclkdis::Gpio2;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Gpio2`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 - let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &mut gcr.reg);
[INFO] [stdout] 12 + 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:438:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | let gpio2 = hal::gpio::Gpio2::new(p.gpio2, &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/gpio.rs:438:49
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 6 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 107) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]   --> src/uart.rs:119:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     .parity(hal::uart::Parity::None)
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]    |
[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(embedded_hal_nb::serial::ErrorKind::None)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]  --> src/uart.rs:108:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let pins = hal::gpio::Gpio0::new(p.gpio0, &mut gcr.reg).split();
[INFO] [stdout]   |            ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use max78000_hal::gpio::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use max78000_pac::Gpio0;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use max78000_pac::gcr::pclkdis0::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:108: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:108: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 undeclared crate or module `hal`
[INFO] [stdout]  --> src/uart.rs:109:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let uart = hal::uart::UartPeripheral::uart0(
[INFO] [stdout]   |            ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use max78000_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:110: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:111: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:115: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 undeclared crate or module `hal`
[INFO] [stdout]   --> src/uart.rs:117:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     .data_bits(hal::uart::DataBits::Eight)
[INFO] [stdout]    |                ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use max78000_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 undeclared crate or module `hal`
[INFO] [stdout]   --> src/uart.rs:118:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     .stop_bits(hal::uart::StopBits::One)
[INFO] [stdout]    |                ^^^ use of undeclared crate or module `hal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use max78000_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/gpio.rs - gpio::gpio0::GpioPeripheral (line 426)
[INFO] [stdout]     src/gpio.rs - gpio::gpio1::GpioPeripheral (line 427)
[INFO] [stdout]     src/gpio.rs - gpio::gpio2::GpioPeripheral (line 428)
[INFO] [stdout]     src/trng.rs - trng::Trng (line 9)
[INFO] [stdout]     src/uart.rs - uart::UartPeripheral (line 107)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5246fc94df8f287ef90bb9acc1d247f228a010e9fe532fbfc868d7b5e267da77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5246fc94df8f287ef90bb9acc1d247f228a010e9fe532fbfc868d7b5e267da77", kill_on_drop: false }`
[INFO] [stdout] 5246fc94df8f287ef90bb9acc1d247f228a010e9fe532fbfc868d7b5e267da77
