[INFO] fetching crate nrf24-rs 0.1.1...
[INFO] testing nrf24-rs-0.1.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate nrf24-rs 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate nrf24-rs 0.1.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding embedded-hal v0.2.7 (latest: v1.0.0)
[INFO] [stderr]       Adding nb v0.1.3 (latest: v1.1.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding ufmt v0.1.2 (latest: v0.2.0)
[INFO] [stderr]       Adding ufmt-macros v0.2.0 (latest: v0.3.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ufmt-macros v0.2.0
[INFO] [stderr]   Downloaded ufmt v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bdb04b6cca608af1d5d454b34ac84c328b1c123c9936d8a30b31f5d6ab945c5e
[INFO] running `Command { std: "docker" "start" "-a" "bdb04b6cca608af1d5d454b34ac84c328b1c123c9936d8a30b31f5d6ab945c5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bdb04b6cca608af1d5d454b34ac84c328b1c123c9936d8a30b31f5d6ab945c5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdb04b6cca608af1d5d454b34ac84c328b1c123c9936d8a30b31f5d6ab945c5e", kill_on_drop: false }`
[INFO] [stdout] bdb04b6cca608af1d5d454b34ac84c328b1c123c9936d8a30b31f5d6ab945c5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4c7973070d24b71f973d935623259197b8fdb290e65d612683d53749198f627
[INFO] running `Command { std: "docker" "start" "-a" "b4c7973070d24b71f973d935623259197b8fdb290e65d612683d53749198f627", 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` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "b4c7973070d24b71f973d935623259197b8fdb290e65d612683d53749198f627", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4c7973070d24b71f973d935623259197b8fdb290e65d612683d53749198f627", kill_on_drop: false }`
[INFO] [stdout] b4c7973070d24b71f973d935623259197b8fdb290e65d612683d53749198f627
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99896985f8f717292946e90631725a45bba45b025ea9f1950b2127f7ec3d8f7f
[INFO] running `Command { std: "docker" "start" "-a" "99896985f8f717292946e90631725a45bba45b025ea9f1950b2127f7ec3d8f7f", kill_on_drop: false }`
[INFO] [stderr]    Compiling nrf24-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "99896985f8f717292946e90631725a45bba45b025ea9f1950b2127f7ec3d8f7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99896985f8f717292946e90631725a45bba45b025ea9f1950b2127f7ec3d8f7f", kill_on_drop: false }`
[INFO] [stdout] 99896985f8f717292946e90631725a45bba45b025ea9f1950b2127f7ec3d8f7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0133e0366b8f01c6b50ccc481bc2b9cdfc94590a5db82198867765370fbf1e7b
[INFO] running `Command { std: "docker" "start" "-a" "0133e0366b8f01c6b50ccc481bc2b9cdfc94590a5db82198867765370fbf1e7b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nrf24_rs-0855be236843a6a2)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests nrf24_rs
[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] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available_on_pipe (line 302) ... 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/config.rs - config::NrfConfig (line 40) ... FAILED
[INFO] [stdout] test src/config.rs - config::NrfConfig (line 30) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01 (line 25) ... 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>::data_rate (line 554) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::new (line 63) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 19) ... 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>::open_writing_pipe (line 207) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 84) ... 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>::read (line 331) ... 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>::power_amp_level (line 567) ... 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>::retries (line 491) ... FAILED
[INFO] [stdout] test src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::open_reading_pipe (line 172) ... 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>::power_up (line 681) ... 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>::set_payload_size (line 622) ... 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>::stop_listening (line 259) ... 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] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_available_on_pipe (line 302) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::DataPipe;
[INFO] [stdout]   |
[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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::DataPipe;
[INFO] [stdout]   |
[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/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[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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::DataPipe;
[INFO] [stdout]   |
[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/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/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 (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>::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 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/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 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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::data_rate (line 554) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::DataRate;
[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:66:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | let dp = Peripherals::take()::unwrap();
[INFO] [stdout]   |                             ^^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[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:24:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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:21:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use panic_halt as _;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `panic_halt`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `atmega168_hal`
[INFO] [stdout]  --> src/lib.rs:23:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use atmega168_hal as hal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no external crate `atmega168_hal`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `atmega168_hal`
[INFO] [stdout]   --> src/lib.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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:61:43
[INFO] [stdout]    |
[INFO] [stdout] 44 |     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:69:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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:72:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |     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:58:23
[INFO] [stdout]    |
[INFO] [stdout] 41 |         .payload_size(message.len());
[INFO] [stdout]    |          ------------ ^^^^^^^^^^^^^ the trait `From<usize>` is not implemented for `PayloadSize`, which is required by `usize: Into<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]    = help: for that trait implementation, expected `u8`, found `usize`
[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:61:34
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut nrf_chip = Nrf24l01::New(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                  ^^^ associated item not found in `Nrf24l01<_, _, _>`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Nrf24l01<_, _, _>`, consider using `Nrf24l01::<SPI, CE, NCS>::new` which returns `Result<Nrf24l01<_, _, _>, TransferError<_, _>>`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/nrf24.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | /     pub fn new<D>(
[INFO] [stdout] 92 | |         spi: SPI,
[INFO] [stdout] 93 | |         ce: CE,
[INFO] [stdout] 94 | |         ncs: NCS,
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |     where
[INFO] [stdout] 99 | |         D: DelayMs<u8>,
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] help: there is an associated function `new` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut nrf_chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                  ~~~
[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<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>::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 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/lib.rs - (line 84) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]  --> src/lib.rs:89:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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:86:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use panic_halt as _;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `panic_halt`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `atmega168_hal`
[INFO] [stdout]  --> src/lib.rs:88:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use atmega168_hal as hal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no external crate `atmega168_hal`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `atmega168_hal`
[INFO] [stdout]   --> src/lib.rs:94:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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:124:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     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:121:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |         .payload_size(b"Hello world!".len());
[INFO] [stdout]    |          ------------ ^^^^^^^^^^^^^^^^^^^^^ the trait `From<usize>` is not implemented for `PayloadSize`, which is required by `usize: Into<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]    = help: for that trait implementation, expected `u8`, found `usize`
[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:124:34
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut nrf_chip = Nrf24l01::New(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                  ^^^ associated item not found in `Nrf24l01<_, _, _>`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Nrf24l01<_, _, _>`, consider using `Nrf24l01::<SPI, CE, NCS>::new` which returns `Result<Nrf24l01<_, _, _>, TransferError<_, _>>`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/nrf24.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | /     pub fn new<D>(
[INFO] [stdout] 92 | |         spi: SPI,
[INFO] [stdout] 93 | |         ce: CE,
[INFO] [stdout] 94 | |         ncs: NCS,
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |     where
[INFO] [stdout] 99 | |         D: DelayMs<u8>,
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] help: there is an associated function `new` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut nrf_chip = Nrf24l01::new(spi, ce, ncs, &mut delay, config).unwrap();
[INFO] [stdout]    |                                  ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `[{integer}; 12]` with `&[u8; 12]`
[INFO] [stdout]   --> src/lib.rs:147:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     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]    = 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>::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 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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::read (line 331) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 4 + use nrf24_rs::config::DataPipe;
[INFO] [stdout]   |
[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>::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>::power_amp_level (line 567) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::PALevel;
[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>::enable_crc (line 602) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use nrf24_rs::config::EncodingScheme;
[INFO] [stdout]   |
[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>::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>::open_reading_pipe (line 172) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use nrf24_rs::config::DataPipe;
[INFO] [stdout]   |
[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>::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 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/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>::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 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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::set_payload_size (line 622) 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[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] 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: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>::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 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/nrf24.rs - nrf24::Nrf24l01<SPI,CE,NCS>::stop_listening (line 259) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::DataPipe;
[INFO] [stdout]   |
[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] ---- 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[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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use nrf24_rs::config::DataPipe;
[INFO] [stdout]   |
[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] 
[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.93s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0133e0366b8f01c6b50ccc481bc2b9cdfc94590a5db82198867765370fbf1e7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0133e0366b8f01c6b50ccc481bc2b9cdfc94590a5db82198867765370fbf1e7b", kill_on_drop: false }`
[INFO] [stdout] 0133e0366b8f01c6b50ccc481bc2b9cdfc94590a5db82198867765370fbf1e7b
