[INFO] fetching crate nrf24-rs 0.1.1...
[INFO] testing nrf24-rs-0.1.1 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate nrf24-rs 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate nrf24-rs 0.1.1 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nrf24-rs 0.1.1
[INFO] finished tweaking crates.io crate nrf24-rs 0.1.1
[INFO] tweaked toml for crates.io crate nrf24-rs 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e13804d4da9ae3bcabbd0c27395ba6418fd134ea5315cd7ed62cdf055f9df268
[INFO] running `Command { std: "docker" "start" "-a" "e13804d4da9ae3bcabbd0c27395ba6418fd134ea5315cd7ed62cdf055f9df268", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e13804d4da9ae3bcabbd0c27395ba6418fd134ea5315cd7ed62cdf055f9df268", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e13804d4da9ae3bcabbd0c27395ba6418fd134ea5315cd7ed62cdf055f9df268", kill_on_drop: false }`
[INFO] [stdout] e13804d4da9ae3bcabbd0c27395ba6418fd134ea5315cd7ed62cdf055f9df268
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7c801228dfcd5539ee02c4c02fd5a72cc474c84ab4a348f013219b249254540
[INFO] running `Command { std: "docker" "start" "-a" "e7c801228dfcd5539ee02c4c02fd5a72cc474c84ab4a348f013219b249254540", kill_on_drop: false }`
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling nrf24-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.97s
[INFO] running `Command { std: "docker" "inspect" "e7c801228dfcd5539ee02c4c02fd5a72cc474c84ab4a348f013219b249254540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7c801228dfcd5539ee02c4c02fd5a72cc474c84ab4a348f013219b249254540", kill_on_drop: false }`
[INFO] [stdout] e7c801228dfcd5539ee02c4c02fd5a72cc474c84ab4a348f013219b249254540
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d2f35a527f781b0949a37718e2b0ed10264c4b5f9b75126392ca692077938ac
[INFO] running `Command { std: "docker" "start" "-a" "1d2f35a527f781b0949a37718e2b0ed10264c4b5f9b75126392ca692077938ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling nrf24-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.53s
[INFO] running `Command { std: "docker" "inspect" "1d2f35a527f781b0949a37718e2b0ed10264c4b5f9b75126392ca692077938ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d2f35a527f781b0949a37718e2b0ed10264c4b5f9b75126392ca692077938ac", kill_on_drop: false }`
[INFO] [stdout] 1d2f35a527f781b0949a37718e2b0ed10264c4b5f9b75126392ca692077938ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 19cc4d7bf55ed3c31a7813ab8786f4c3b285ec0dceeb3a401beb3c329b504fbb
[INFO] running `Command { std: "docker" "start" "-a" "19cc4d7bf55ed3c31a7813ab8786f4c3b285ec0dceeb3a401beb3c329b504fbb", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nrf24_rs-664c3d2d213681cf)
[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 nrf24-rs
[INFO] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stdout] test src/config.rs - config::NrfConfig (line 40) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available_on_pipe (line 302) ... FAILED
[INFO] [stdout] test src/config.rs - config::NrfConfig (line 30) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::enable_crc (line 602) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::channel (line 523) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available (line 281) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 19) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01 (line 25) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::is_connected (line 155) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::open_reading_pipe (line 172) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 84) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_rate (line 554) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::new (line 63) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::payload_size (line 665) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::flush_tx (line 580) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::flush_rx (line 590) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::open_writing_pipe (line 207) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_up (line 681) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_amp_level (line 567) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::retries (line 491) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_channel (line 512) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_down (line 709) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_address_width (line 540) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::read (line 331) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_retries (line 472) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_payload_size (line 622) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::write (line 385) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::start_listening (line 233) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::stop_listening (line 259) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/config.rs - config::NrfConfig (line 40) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `else`, or an operator, found `,`
[INFO] [stdout]  --> src/config.rs:47:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     .addr_width(3),
[INFO] [stdout]   |                   ^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nrf24`
[INFO] [stdout]  --> src/config.rs:42:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nrf24::config::{PALevel, DataRate, NrfConfig, PayloadSize};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `nrf24`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nrf24`
[INFO] [stdout]  --> src/config.rs:41:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nrf24::Nrf24l01;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `nrf24`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available_on_pipe (line 302) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataPipe`
[INFO] [stdout]  --> src/nrf24.rs:304:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   |                        ^^^^^^^^ use of undeclared type `DataPipe`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataPipe`
[INFO] [stdout]  --> src/nrf24.rs:308:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     if pipe == DataPipe::DP1 {
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `DataPipe`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:304:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:305:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | chip.start_listening()?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:307:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | while let Some(pipe) = chip.data_available_on_pipe()? {
[INFO] [stdout]   |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]   --> src/nrf24.rs:310:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         delay.delay_ms(50); // small delay between calls of data_available
[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/config.rs - config::NrfConfig (line 30) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nrf24`
[INFO] [stdout]  --> src/config.rs:32:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nrf24::config::NrfConfig;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `nrf24`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nrf24`
[INFO] [stdout]  --> src/config.rs:31:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nrf24::Nrf24l01;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `nrf24`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi` in this scope
[INFO] [stdout]  --> src/config.rs:36:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut chip = Nrf24l01::new(spi, ce, ncs, delay, config)?;
[INFO] [stdout]   |                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce` in this scope
[INFO] [stdout]  --> src/config.rs:36:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut chip = Nrf24l01::new(spi, ce, ncs, delay, config)?;
[INFO] [stdout]   |                                   ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs` in this scope
[INFO] [stdout]  --> src/config.rs:36:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut chip = Nrf24l01::new(spi, ce, ncs, delay, config)?;
[INFO] [stdout]   |                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/config.rs:36:44
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut chip = Nrf24l01::new(spi, ce, ncs, delay, config)?;
[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, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::enable_crc (line 602) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodingScheme`
[INFO] [stdout]  --> src/nrf24.rs:603:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | chip.enable_crc(EncodingScheme::R2Bytes)?;
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^ use of undeclared type `EncodingScheme`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:603:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | chip.enable_crc(EncodingScheme::R2Bytes)?;
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::channel (line 523) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nrf24l01`
[INFO] [stdout]  --> src/nrf24.rs:525:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Nrf24l01`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::Nrf24l01;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi_struct` in this scope
[INFO] [stdout]  --> src/nrf24.rs:525:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:525:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:525:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:525:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NrfConfig`
[INFO] [stdout]  --> src/nrf24.rs:525:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `NrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::NrfConfig;
[INFO] [stdout]   |
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available (line 281) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataPipe`
[INFO] [stdout]  --> src/nrf24.rs:283:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   |                        ^^^^^^^^ use of undeclared type `DataPipe`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:283:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:284:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | chip.start_listening()?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:286:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | while chip.data_available()? {
[INFO] [stdout]   |       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:288:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     delay.delay_ms(50); // small delay between calls of data_available
[INFO] [stdout]   |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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/lib.rs - (line 19) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]  --> src/lib.rs:23:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hal::prelude::*;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `hal`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `panic_halt`
[INFO] [stdout]  --> src/lib.rs:20:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use panic_halt as _;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `panic_halt`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `atmega168_hal`, `hal::spi`
[INFO] [stdout]  --> src/lib.rs:22:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use atmega168_hal as hal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no external crate `atmega168_hal`
[INFO] [stdout] 6 | use hal::prelude::*;
[INFO] [stdout] 7 | use hal::spi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `atmega168_hal`
[INFO] [stdout]   --> src/lib.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[atmega168_hal::entry]
[INFO] [stdout]    |   ^^^^^^^^^^^^^ use of undeclared crate or module `atmega168_hal`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce` in this scope
[INFO] [stdout]   --> src/lib.rs:60:43
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut nrf_chip = Nrf24l01::New(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                           ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `nrf` in this scope
[INFO] [stdout]   --> src/lib.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     nrf.open_writing_pipe(b"Node1").unwrap();
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `nrf` in this scope
[INFO] [stdout]   --> src/lib.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |     while let Err(e) = nrf.write(&mut delay, &message) {
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PayloadSize: From<usize>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:57:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .payload_size(message.len());
[INFO] [stdout]    |          ------------ ^^^^^^^^^^^^^ the trait `From<usize>` is not implemented for `PayloadSize`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `From<u8>` is implemented for `PayloadSize`
[INFO] [stdout]    = note: required for `usize` to implement `Into<PayloadSize>`
[INFO] [stdout] note: required by a bound in `NrfConfig::payload_size`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/config.rs:72:28
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn payload_size<T: Into<PayloadSize>>(mut self, payload_size: T) -> Self {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ required by this bound in `NrfConfig::payload_size`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `New` found for struct `Nrf24l01` in the current scope
[INFO] [stdout]   --> src/lib.rs:60:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut nrf_chip = Nrf24l01::New(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                  ^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  associated item not found in `Nrf24l01<_, _, _>`
[INFO] [stdout]    |                                  help: there is an associated function with a similar name: `new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01 (line 25) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nrf24`
[INFO] [stdout]  --> src/nrf24.rs:27:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nrf24::config::NrfConfig;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `nrf24`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nrf24`
[INFO] [stdout]  --> src/nrf24.rs:26:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nrf24::Nrf24l01;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `nrf24`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi` in this scope
[INFO] [stdout]  --> src/nrf24.rs:30:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | let nrf24 = Nrf24l01::new(spi, ce, ncs, &mut delay, NrfConfig::default()).unwrap();
[INFO] [stdout]   |                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce` in this scope
[INFO] [stdout]  --> src/nrf24.rs:30:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | let nrf24 = Nrf24l01::new(spi, ce, ncs, &mut delay, NrfConfig::default()).unwrap();
[INFO] [stdout]   |                                ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs` in this scope
[INFO] [stdout]  --> src/nrf24.rs:30:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | let nrf24 = Nrf24l01::new(spi, ce, ncs, &mut delay, NrfConfig::default()).unwrap();
[INFO] [stdout]   |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:30:46
[INFO] [stdout]   |
[INFO] [stdout] 7 | let nrf24 = Nrf24l01::new(spi, ce, ncs, &mut delay, NrfConfig::default()).unwrap();
[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, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::is_connected (line 155) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:156:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !chip.is_connected()? {
[INFO] [stdout]   |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::open_reading_pipe (line 172) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataPipe`
[INFO] [stdout]  --> src/nrf24.rs:173:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   |                        ^^^^^^^^ use of undeclared type `DataPipe`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:173:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[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/lib.rs - (line 84) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]  --> src/lib.rs:88:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hal::prelude::*;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `hal`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `panic_halt`
[INFO] [stdout]  --> src/lib.rs:85:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use panic_halt as _;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `panic_halt`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `atmega168_hal`, `hal::spi`
[INFO] [stdout]  --> src/lib.rs:87:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use atmega168_hal as hal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no external crate `atmega168_hal`
[INFO] [stdout] 6 | use hal::prelude::*;
[INFO] [stdout] 7 | use hal::spi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `atmega168_hal`
[INFO] [stdout]   --> src/lib.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[atmega168_hal::entry]
[INFO] [stdout]    |   ^^^^^^^^^^^^^ use of undeclared crate or module `atmega168_hal`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce` in this scope
[INFO] [stdout]   --> src/lib.rs:123:43
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut nrf_chip = Nrf24l01::New(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                           ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PayloadSize: From<usize>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:120:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .payload_size(b"Hello world!".len());
[INFO] [stdout]    |          ------------ ^^^^^^^^^^^^^^^^^^^^^ the trait `From<usize>` is not implemented for `PayloadSize`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `From<u8>` is implemented for `PayloadSize`
[INFO] [stdout]    = note: required for `usize` to implement `Into<PayloadSize>`
[INFO] [stdout] note: required by a bound in `NrfConfig::payload_size`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/config.rs:72:28
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn payload_size<T: Into<PayloadSize>>(mut self, payload_size: T) -> Self {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ required by this bound in `NrfConfig::payload_size`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `New` found for struct `Nrf24l01` in the current scope
[INFO] [stdout]   --> src/lib.rs:123:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut nrf_chip = Nrf24l01::New(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                  ^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  associated item not found in `Nrf24l01<_, _, _>`
[INFO] [stdout]    |                                  help: there is an associated function with a similar name: `new`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `[{integer}; 12]` with `&[u8; 12]`
[INFO] [stdout]   --> src/lib.rs:146:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     assert_eq!(buffer, b"Hello world!");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[{integer}; 12] == &[u8; 12]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<&[u8; 12]>` is not implemented for `[{integer}; 12]`
[INFO] [stdout]    = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]              <&[B] as PartialEq<[A; N]>>
[INFO] [stdout]              <&[T] as PartialEq<Vec<U, A>>>
[INFO] [stdout]              <&mut [B] as PartialEq<[A; N]>>
[INFO] [stdout]              <&mut [T] as PartialEq<Vec<U, A>>>
[INFO] [stdout]              <[A; N] as PartialEq<&[B]>>
[INFO] [stdout]              <[A; N] as PartialEq<&mut [B]>>
[INFO] [stdout]              <[A; N] as PartialEq<[B; N]>>
[INFO] [stdout]              <[A; N] as PartialEq<[B]>>
[INFO] [stdout]            and 3 others
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_rate (line 554) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataRate`
[INFO] [stdout]  --> src/nrf24.rs:558:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert_eq!(chip.data_rate()?, DataRate::R2Mbps);
[INFO] [stdout]   |                               ^^^^^^^^ use of undeclared type `DataRate`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nrf24l01`
[INFO] [stdout]  --> src/nrf24.rs:556:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Nrf24l01`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::Nrf24l01;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi_struct` in this scope
[INFO] [stdout]  --> src/nrf24.rs:556:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:556:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:556:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:556:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NrfConfig`
[INFO] [stdout]  --> src/nrf24.rs:556:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `NrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::NrfConfig;
[INFO] [stdout]   |
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::new (line 63) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `else`, or an operator, found `::`
[INFO] [stdout]  --> src/nrf24.rs:65:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | let dp = Peripherals::take()::unwrap();
[INFO] [stdout]   |                             ^^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::payload_size (line 665) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nrf24l01`
[INFO] [stdout]  --> src/nrf24.rs:667:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Nrf24l01`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::Nrf24l01;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi_struct` in this scope
[INFO] [stdout]  --> src/nrf24.rs:667:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:667:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:667:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:667:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NrfConfig`
[INFO] [stdout]  --> src/nrf24.rs:667:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `NrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::NrfConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PayloadSize`
[INFO] [stdout]  --> src/nrf24.rs:669:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert_eq!(chip.payload_size()?, PayloadSize::Static(MAX_PAYLOAD_SIZE));
[INFO] [stdout]   |                                  ^^^^^^^^^^^ use of undeclared type `PayloadSize`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::PayloadSize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PAYLOAD_SIZE` in this scope
[INFO] [stdout]  --> src/nrf24.rs:669:54
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert_eq!(chip.payload_size()?, PayloadSize::Static(MAX_PAYLOAD_SIZE));
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::MAX_PAYLOAD_SIZE;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::flush_tx (line 580) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:581:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | chip.flush_tx()?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::flush_rx (line 590) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `nrf24l01` in this scope
[INFO] [stdout]  --> src/nrf24.rs:591:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | nrf24l01.flush_rx()?;
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::open_writing_pipe (line 207) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:209:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_writing_pipe(b"Node1")?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_up (line 681) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:683:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.power_down(&mut delay)?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:683:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.power_down(&mut delay)?;
[INFO] [stdout]   |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:686:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | chip.power_up(&mut delay)?; // power back up
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:686:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | chip.power_up(&mut delay)?; // power back up
[INFO] [stdout]   |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_amp_level (line 567) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PALevel`
[INFO] [stdout]  --> src/nrf24.rs:571:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert_eq!(chip.power_amp_level()?, PALevel::Min);
[INFO] [stdout]   |                                     ^^^^^^^ use of undeclared type `PALevel`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nrf24l01`
[INFO] [stdout]  --> src/nrf24.rs:569:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Nrf24l01`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::Nrf24l01;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi_struct` in this scope
[INFO] [stdout]  --> src/nrf24.rs:569:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:569:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:569:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:569:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NrfConfig`
[INFO] [stdout]  --> src/nrf24.rs:569:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `NrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::NrfConfig;
[INFO] [stdout]   |
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::retries (line 491) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nrf24l01`
[INFO] [stdout]  --> src/nrf24.rs:493:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Nrf24l01`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::Nrf24l01;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi_struct` in this scope
[INFO] [stdout]  --> src/nrf24.rs:493:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:493:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs_pin` in this scope
[INFO] [stdout]  --> src/nrf24.rs:493:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:493:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NrfConfig`
[INFO] [stdout]  --> src/nrf24.rs:493:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut chip = Nrf24l01::new(spi_struct, ce_pin, ncs_pin, delay, NrfConfig::default())?;
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `NrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::NrfConfig;
[INFO] [stdout]   |
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_channel (line 512) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `nrf24l01` in this scope
[INFO] [stdout]  --> src/nrf24.rs:513:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | nrf24l01.set_channel(74)?;
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_down (line 709) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:711:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.power_down(&mut delay)?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:711:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.power_down(&mut delay)?;
[INFO] [stdout]   |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:714:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | chip.power_up(&mut delay)?; // power back up
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:714:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | chip.power_up(&mut delay)?; // power back up
[INFO] [stdout]   |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_address_width (line 540) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `nrf24l01` in this scope
[INFO] [stdout]  --> src/nrf24.rs:541:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | nrf24l01.set_address_width(5)?;
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::read (line 331) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataPipe`
[INFO] [stdout]  --> src/nrf24.rs:337:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | chip.open_reading_pipe(DataPipe::DP0, b"Node1");
[INFO] [stdout]   |                        ^^^^^^^^ use of undeclared type `DataPipe`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NrfConfig`
[INFO] [stdout]  --> src/nrf24.rs:334:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let config = NrfConfig::default().payload_size(PayloadSize::Static(4));
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `NrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use nrf24_rs::config::NrfConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PayloadSize`
[INFO] [stdout]  --> src/nrf24.rs:334:48
[INFO] [stdout]   |
[INFO] [stdout] 5 | let config = NrfConfig::default().payload_size(PayloadSize::Static(4));
[INFO] [stdout]   |                                                ^^^^^^^^^^^ use of undeclared type `PayloadSize`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 4 + use nrf24_rs::config::PayloadSize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nrf24l01`
[INFO] [stdout]  --> src/nrf24.rs:335:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared type `Nrf24l01`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use nrf24_rs::Nrf24l01;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi` in this scope
[INFO] [stdout]  --> src/nrf24.rs:335:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce` in this scope
[INFO] [stdout]  --> src/nrf24.rs:335:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                               ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs` in this scope
[INFO] [stdout]  --> src/nrf24.rs:335:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:335:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]   --> src/nrf24.rs:357:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     delay.delay_us(50u16);
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_retries (line 472) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `nrf24l01` in this scope
[INFO] [stdout]  --> src/nrf24.rs:475:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | nrf24l01.set_retries((5, 15))?;
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_payload_size (line 622) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PayloadSize`
[INFO] [stdout]  --> src/nrf24.rs:624:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.set_payload_size(PayloadSize::Dynamic)?;
[INFO] [stdout]   |                       ^^^^^^^^^^^ use of undeclared type `PayloadSize`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:624:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.set_payload_size(PayloadSize::Dynamic)?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:625:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | chip.set_payload_size(0)?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:627:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | chip.set_payload_size(12)?; // Messages will be 12 bytes
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:628:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | chip.set_payload_size(PayloadSize::Static(12))?; // Same as previous
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PayloadSize`
[INFO] [stdout]  --> src/nrf24.rs:628:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | chip.set_payload_size(PayloadSize::Static(12))?; // Same as previous
[INFO] [stdout]   |                       ^^^^^^^^^^^ use of undeclared type `PayloadSize`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::PayloadSize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:629:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | chip.set_payload_size(49)?; // Messages will be `MAX_PAYLOAD_SIZE`
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::write (line 385) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NrfConfig`
[INFO] [stdout]  --> src/nrf24.rs:388:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let config = NrfConfig::default().payload_size(PayloadSize::Static(4));
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared type `NrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use nrf24_rs::config::NrfConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PayloadSize`
[INFO] [stdout]  --> src/nrf24.rs:388:48
[INFO] [stdout]   |
[INFO] [stdout] 5 | let config = NrfConfig::default().payload_size(PayloadSize::Static(4));
[INFO] [stdout]   |                                                ^^^^^^^^^^^ use of undeclared type `PayloadSize`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 4 + use nrf24_rs::config::PayloadSize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nrf24l01`
[INFO] [stdout]  --> src/nrf24.rs:389:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared type `Nrf24l01`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use nrf24_rs::Nrf24l01;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi` in this scope
[INFO] [stdout]  --> src/nrf24.rs:389:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ce` in this scope
[INFO] [stdout]  --> src/nrf24.rs:389:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                               ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ncs` in this scope
[INFO] [stdout]  --> src/nrf24.rs:389:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]  --> src/nrf24.rs:389:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | let chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]   |                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]   --> src/nrf24.rs:401:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     match chip.write(&mut delay, &buffer) {
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delay` in this scope
[INFO] [stdout]   --> src/nrf24.rs:408:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     delay.delay_us(50u16);
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_reading` in this scope
[INFO] [stdout]   --> src/nrf24.rs:397:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let f = get_reading(); // data from some sensor
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::start_listening (line 233) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataPipe`
[INFO] [stdout]  --> src/nrf24.rs:235:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   |                        ^^^^^^^^ use of undeclared type `DataPipe`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:235:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:237:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | chip.start_listening()
[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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::stop_listening (line 259) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataPipe`
[INFO] [stdout]  --> src/nrf24.rs:261:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   |                        ^^^^^^^^ use of undeclared type `DataPipe`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:261:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:262:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | chip.start_listening()?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `chip` in this scope
[INFO] [stdout]  --> src/nrf24.rs:265:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | chip.stop_listening()?;
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/config.rs - config::NrfConfig (line 30)
[INFO] [stdout]     src/config.rs - config::NrfConfig (line 40)
[INFO] [stdout]     src/lib.rs - (line 19)
[INFO] [stdout]     src/lib.rs - (line 84)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01 (line 25)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::channel (line 523)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available (line 281)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available_on_pipe (line 302)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_rate (line 554)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::enable_crc (line 602)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::flush_rx (line 590)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::flush_tx (line 580)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::is_connected (line 155)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::new (line 63)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::open_reading_pipe (line 172)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::open_writing_pipe (line 207)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::payload_size (line 665)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_amp_level (line 567)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_down (line 709)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::power_up (line 681)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::read (line 331)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::retries (line 491)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_address_width (line 540)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_channel (line 512)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_payload_size (line 622)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_retries (line 472)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::start_listening (line 233)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::stop_listening (line 259)
[INFO] [stdout]     src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::write (line 385)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 29 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "19cc4d7bf55ed3c31a7813ab8786f4c3b285ec0dceeb3a401beb3c329b504fbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19cc4d7bf55ed3c31a7813ab8786f4c3b285ec0dceeb3a401beb3c329b504fbb", kill_on_drop: false }`
[INFO] [stdout] 19cc4d7bf55ed3c31a7813ab8786f4c3b285ec0dceeb3a401beb3c329b504fbb
