[INFO] fetching crate max7800x-hal 0.7.1... [INFO] testing max7800x-hal-0.7.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate max7800x-hal 0.7.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate max7800x-hal 0.7.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.5 [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9918e888197873b1ab970de4c87b1e693aed15ebe396a8ffe145b7505d104ff [INFO] running `Command { std: "docker" "start" "-a" "c9918e888197873b1ab970de4c87b1e693aed15ebe396a8ffe145b7505d104ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9918e888197873b1ab970de4c87b1e693aed15ebe396a8ffe145b7505d104ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9918e888197873b1ab970de4c87b1e693aed15ebe396a8ffe145b7505d104ff", kill_on_drop: false }` [INFO] [stdout] c9918e888197873b1ab970de4c87b1e693aed15ebe396a8ffe145b7505d104ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dc573dd4d117c3e96883bc0accabbbc8555a4f688ee1babb550a638f4d568ed [INFO] running `Command { std: "docker" "start" "-a" "9dc573dd4d117c3e96883bc0accabbbc8555a4f688ee1babb550a638f4d568ed", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [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 bitfield v0.13.2 [INFO] [stderr] Compiling max78000-pac v0.5.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling syn v2.0.110 [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 11.28s [INFO] running `Command { std: "docker" "inspect" "9dc573dd4d117c3e96883bc0accabbbc8555a4f688ee1babb550a638f4d568ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc573dd4d117c3e96883bc0accabbbc8555a4f688ee1babb550a638f4d568ed", kill_on_drop: false }` [INFO] [stdout] 9dc573dd4d117c3e96883bc0accabbbc8555a4f688ee1babb550a638f4d568ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f724b2a9817a81f108ac51968f93dde1d6de74bbabd538e8d933199693c7fd2e [INFO] running `Command { std: "docker" "start" "-a" "f724b2a9817a81f108ac51968f93dde1d6de74bbabd538e8d933199693c7fd2e", 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.68s [INFO] running `Command { std: "docker" "inspect" "f724b2a9817a81f108ac51968f93dde1d6de74bbabd538e8d933199693c7fd2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f724b2a9817a81f108ac51968f93dde1d6de74bbabd538e8d933199693c7fd2e", kill_on_drop: false }` [INFO] [stdout] f724b2a9817a81f108ac51968f93dde1d6de74bbabd538e8d933199693c7fd2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab9c621a3ab955060eccf1c3bcc7947cf91611a1f4b0dad197393c2becbb19e5 [INFO] running `Command { std: "docker" "start" "-a" "ab9c621a3ab955060eccf1c3bcc7947cf91611a1f4b0dad197393c2becbb19e5", 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-d489d184b0939dde) [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/trng.rs - trng::Trng (line 15) ... 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] test src/gpio.rs - gpio::gpio2::GpioPeripheral (line 441) ... 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::gpio0::GpioPeripheral (line 430) ... FAILED [INFO] [stdout] test src/flc.rs - flc::Flc (line 39) ... 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] [INFO] [stdout] failures: [INFO] [stdout] [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/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] ---- 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/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::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 (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/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/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] [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.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ab9c621a3ab955060eccf1c3bcc7947cf91611a1f4b0dad197393c2becbb19e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab9c621a3ab955060eccf1c3bcc7947cf91611a1f4b0dad197393c2becbb19e5", kill_on_drop: false }` [INFO] [stdout] ab9c621a3ab955060eccf1c3bcc7947cf91611a1f4b0dad197393c2becbb19e5