[INFO] cloning repository https://github.com/gdyr/ac4490-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gdyr/ac4490-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdyr%2Fac4490-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdyr%2Fac4490-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6809f8c59332f02df5c2077d21b59286fba873dd [INFO] testing gdyr/ac4490-rs against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdyr%2Fac4490-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gdyr/ac4490-rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gdyr/ac4490-rs [INFO] finished tweaking git repo https://github.com/gdyr/ac4490-rs [INFO] tweaked toml for git repo https://github.com/gdyr/ac4490-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gdyr/ac4490-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b64bd25718f9127bada693aecf3dbeaeb47bce1d65bc177d0addfdd1cbda5487 [INFO] running `Command { std: "docker" "start" "-a" "b64bd25718f9127bada693aecf3dbeaeb47bce1d65bc177d0addfdd1cbda5487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b64bd25718f9127bada693aecf3dbeaeb47bce1d65bc177d0addfdd1cbda5487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64bd25718f9127bada693aecf3dbeaeb47bce1d65bc177d0addfdd1cbda5487", kill_on_drop: false }` [INFO] [stdout] b64bd25718f9127bada693aecf3dbeaeb47bce1d65bc177d0addfdd1cbda5487 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0fb544db45c476a41975290e02f9261f80068b8096f61da6858b7af43ac3e85 [INFO] running `Command { std: "docker" "start" "-a" "d0fb544db45c476a41975290e02f9261f80068b8096f61da6858b7af43ac3e85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling defmt-macros v0.3.9 [INFO] [stderr] Compiling defmt v0.3.8 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Compiling thiserror-no-std v2.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling ac4490 v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.87s [INFO] running `Command { std: "docker" "inspect" "d0fb544db45c476a41975290e02f9261f80068b8096f61da6858b7af43ac3e85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fb544db45c476a41975290e02f9261f80068b8096f61da6858b7af43ac3e85", kill_on_drop: false }` [INFO] [stdout] d0fb544db45c476a41975290e02f9261f80068b8096f61da6858b7af43ac3e85 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1e5538c54323b0ad3f4248ced6f13dc2d1d62cbf4054b7a27bd676d4c5b89ef [INFO] running `Command { std: "docker" "start" "-a" "d1e5538c54323b0ad3f4248ced6f13dc2d1d62cbf4054b7a27bd676d4c5b89ef", kill_on_drop: false }` [INFO] [stderr] Compiling ac4490 v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "d1e5538c54323b0ad3f4248ced6f13dc2d1d62cbf4054b7a27bd676d4c5b89ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e5538c54323b0ad3f4248ced6f13dc2d1d62cbf4054b7a27bd676d4c5b89ef", kill_on_drop: false }` [INFO] [stdout] d1e5538c54323b0ad3f4248ced6f13dc2d1d62cbf4054b7a27bd676d4c5b89ef [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c720cc91f95856afb5d8be03b2ce7b31b607c46805b213c6b6776a542cca92bf [INFO] running `Command { std: "docker" "start" "-a" "c720cc91f95856afb5d8be03b2ce7b31b607c46805b213c6b6776a542cca92bf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib/mod.rs (/opt/rustwide/target/debug/deps/ac4490-348e4129d2a3a846) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests ac4490 [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 86 tests [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_mac_id (line 2195) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_broadcast_attempts (line 1580) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_destination (line 2121) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::debug (line 208) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_cmd_data_rx_enable (line 1461) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_max_power (line 1976) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_cts_on (line 1885) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_des_key (line 2497) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_auto_calibrate_enable (line 2454) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_api_control (line 1641) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_enhanced_api_control (line 2398) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_modem_mode_enable (line 2020) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_channel_number (line 1264) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_interface_timeout (line 1701) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_parity_enable (line 2074) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_control0 (line 1368) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_original_max_power (line 2217) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_frequency_offset (line 1415) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_product_id_string (line 1109) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_system_id (line 2177) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_stop_bit_delay (line 1225) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_product_id (line 2238) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_receive_api_enable (line 2335) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_protocol_status_receive_ack_enable (line 2285) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_sync_channel (line 1772) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_rf_packet_size (line 1833) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_server_client_mode (line 1316) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_range_refresh (line 1167) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_api_control (line 1598) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_get_transmit_retries (line 1523) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_cts_on_hysterisis (line 1908) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_auto_calibrate_enable (line 2425) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_api_control (line 1611) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_control0 (line 1340) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_broadcast_attempts (line 1554) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_cmd_data_rx_enable (line 1436) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_enhanced_api_control (line 2359) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_frequency_offset (line 1392) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_des_key (line 2479) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_cts_on (line 1858) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_destination (line 2101) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_interface_timeout (line 1673) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_max_power (line 1942) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_enhanced_api_control (line 2370) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_channel_number (line 1244) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_protocol_status_receive_ack_enable (line 2260) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::enter_command_mode (line 283) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_range_refresh (line 1138) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_modem_mode_enable (line 1997) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_receive_api_enable (line 2312) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::enter_deep_sleep_mode (line 904) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_transmit_retries (line 1496) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_parity_enable (line 2049) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_sync_channel (line 1737) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_server_client_mode (line 1289) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_stop_bit_delay (line 1196) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_rf_packet_size (line 1806) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::eeprom_set_system_id (line 2154) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::get_adc_value (line 663) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_destination_address (line 531) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::get_temperature_at_last_calibration (line 992) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::get_digital_input_state (line 623) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::get_last_valid_rssi (line 696) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_broadcast_enable (line 503) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::exit_command_mode (line 307) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::force_calibration (line 596) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::new (line 164) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::get_temperature (line 962) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_dac_output_state (line 765) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::read_destination_address (line 563) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::read (line 224) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_probe_enabled (line 934) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_long_range_mode (line 845) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_max_power (line 799) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_channel (line 330) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_server_client_mode (line 357) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::sleep_walk_power_down (line 446) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::soft_reset (line 1025) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_sync_channel (line 399) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_digital_output_state (line 725) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::sleep_walk_wake_up (line 473) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::wait_for_transmit_buffer_empty (line 873) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::set_sync_channel (line 406) ... FAILED [INFO] [stdout] test src/lib/mod.rs - AC4490::write (line 178) ... FAILED [INFO] [stdout] test src/lib/mod.rs - DeviceInterface (line 116) ... FAILED [INFO] [stdout] test src/lib/mod.rs - DeviceInterface (line 95) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_mac_id (line 2195) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2198:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2199:51 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2195_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let mac_address = transceiver.eeprom_get_mac_id().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_broadcast_attempts (line 1580) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1583:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1584:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1580_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let broadcast_attempts = transceiver.eeprom_get_broadcast_attempts().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_destination (line 2121) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2124:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2125:56 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2121_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let destination = transceiver.eeprom_get_destination().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::debug (line 208) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:211:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [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/mod.rs - AC4490::eeprom_get_cmd_data_rx_enable (line 1461) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1464:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1465:59 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1461_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let enabled = transceiver.eeprom_get_cmd_data_rx_enable().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_max_power (line 1976) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1979:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1980:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1976_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let max_power = transceiver.eeprom_get_max_power().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_cts_on (line 1885) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1888:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1889:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1885_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let cts_on = transceiver.eeprom_get_cts_on().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_des_key (line 2497) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2500:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2501:48 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2497_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let des_key = transceiver.eeprom_get_des_key().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_auto_calibrate_enable (line 2454) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2457:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2458:62 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2454_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let enabled = transceiver.eeprom_get_auto_calibrate_enable().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_api_control (line 1641) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1644:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1645:56 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1641_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let api_control = transceiver.eeprom_get_api_control().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_enhanced_api_control (line 2398) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2401:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2402:74 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2398_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let enhanced_api_control = transceiver.eeprom_get_enhanced_api_control().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_modem_mode_enable (line 2020) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2023:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2024:58 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2020_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let enabled = transceiver.eeprom_get_modem_mode_enable().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_channel_number (line 1264) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1267:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1268:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1264_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let channel = transceiver.eeprom_get_channel_number().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_interface_timeout (line 1701) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1704:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1705:68 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1701_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let interface_timeout = transceiver.eeprom_get_interface_timeout().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_parity_enable (line 2074) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2077:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2078:54 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2074_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let enabled = transceiver.eeprom_get_parity_enable().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_control0 (line 1368) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1371:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1372:50 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1368_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let control0 = transceiver.eeprom_get_control0().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_original_max_power (line 2217) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2220:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2221:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2217_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let original_max_power = transceiver.eeprom_get_original_max_power().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_frequency_offset (line 1415) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib/mod.rs:1417:19 [INFO] [stdout] | [INFO] [stdout] 5 | use ac4490::AC4490 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1418:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1419:66 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1415_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let frequency_offset = transceiver.eeprom_get_frequency_offset().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_product_id_string (line 1109) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1112:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1113:61 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1109_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let product_id = transceiver.eeprom_get_product_id_string().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_system_id (line 2177) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2180:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2181:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2177_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let system_id = transceiver.eeprom_get_system_id().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_stop_bit_delay (line 1225) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1228:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1229:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1225_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_stop_bit_delay(0xFF).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_product_id (line 2238) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2241:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2242:54 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2238_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let product_id = transceiver.eeprom_get_product_id().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_receive_api_enable (line 2335) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2338:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2339:59 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2335_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let enabled = transceiver.eeprom_get_receive_api_enable().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_protocol_status_receive_ack_enable (line 2285) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2288:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2289:75 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2285_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let enabled = transceiver.eeprom_get_protocol_status_receive_ack_enable().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_sync_channel (line 1772) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1775:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1776:58 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1772_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let sync_channel = transceiver.eeprom_get_sync_channel().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_rf_packet_size (line 1833) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1836:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1837:62 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1833_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let rf_packet_size = transceiver.eeprom_get_rf_packet_size().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_server_client_mode (line 1316) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib/mod.rs:1318:39 [INFO] [stdout] | [INFO] [stdout] 5 | use ac4490::{AC4490, ServerClientMode} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1319:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1320:56 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1316_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let mode = transceiver.eeprom_get_server_client_mode().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_range_refresh (line 1167) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1170:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1171:63 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1167_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let page_refresh = transceiver.eeprom_get_range_refresh(0x18).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_api_control (line 1598) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ApiControl` in this scope [INFO] [stdout] --> src/lib/mod.rs:1599:1 [INFO] [stdout] | [INFO] [stdout] 3 | ApiControl { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ac4490::ApiControl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_get_transmit_retries (line 1523) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1526:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1527:66 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1523_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let transmit_retries = transceiver.eeprom_get_transmit_retries().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_cts_on_hysterisis (line 1908) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1911:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1912:48 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1908_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_cts_on_hysterisis(0xAC).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_auto_calibrate_enable (line 2425) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2428:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2429:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2425_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_auto_calibrate_enable(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_api_control (line 1611) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1614:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1622:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1611_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | }).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_control0 (line 1340) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1343:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1349:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1340_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | }).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_broadcast_attempts (line 1554) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1557:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1558:49 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1554_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_broadcast_attempts(0x04).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_cmd_data_rx_enable (line 1436) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1439:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1440:49 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1436_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_cmd_data_rx_enable(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_enhanced_api_control (line 2359) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EnhancedApiControl` in this scope [INFO] [stdout] --> src/lib/mod.rs:2360:1 [INFO] [stdout] | [INFO] [stdout] 3 | EnhancedApiControl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ac4490::EnhancedApiControl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_frequency_offset (line 1392) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib/mod.rs:1394:19 [INFO] [stdout] | [INFO] [stdout] 5 | use ac4490::AC4490 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1395:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1396:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1392_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_frequency_offset(0x01).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_des_key (line 2479) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2482:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2483:76 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2479_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_des_key([0xDE, 0xAD, 0xBE, 0xEF, 0xCA, 0xFE, 0x01]).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_cts_on (line 1858) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1861:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1862:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1858_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_cts_on(0xD2).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_destination (line 2101) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2104:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2105:74 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2101_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_destination([0xDE, 0xAD, 0xBE, 0xEF, 0xCA, 0xFE]).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_interface_timeout (line 1673) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1676:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1677:48 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1673_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_interface_timeout(0x04).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_max_power (line 1942) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1945:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1946:60 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1942_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_max_power(OutputPower::Plus16_5dBm).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_enhanced_api_control (line 2370) stdout ---- [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `api_transmit_packet_enable` [INFO] [stdout] --> src/lib/mod.rs:2377:5 [INFO] [stdout] | [INFO] [stdout] 7 | transceiver.eeprom_set_enhanced_api_control(EnhancedApiControl { [INFO] [stdout] | ------------------ while parsing this struct [INFO] [stdout] 8 | enhanced_api_control_enable: false, [INFO] [stdout] 9 | send_data_complete_enable: false [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] 10 | api_transmit_packet_enable: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2373:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2379:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2370_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | }).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `EnhancedApiControl` has no field named `enhanced_api_control_enable` [INFO] [stdout] --> src/lib/mod.rs:2375:5 [INFO] [stdout] | [INFO] [stdout] 8 | enhanced_api_control_enable: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 | enable_enhanced_api_control: false, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0560, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_channel_number (line 1244) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1247:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1248:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1244_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_channel_number(0x00).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_protocol_status_receive_ack_enable (line 2260) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2263:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2264:65 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2260_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_protocol_status_receive_ack_enable(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::enter_command_mode (line 283) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:287:34 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_283_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.enter_command_mode().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_range_refresh (line 1138) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1141:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1142:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1138_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_range_refresh(0x18).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_modem_mode_enable (line 1997) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2000:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2001:48 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1997_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_modem_mode_enable(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_receive_api_enable (line 2312) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2315:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2316:49 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2312_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_receive_api_enable(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::enter_deep_sleep_mode (line 904) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:907:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:908:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_904_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.enter_deep_sleep_mode().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_transmit_retries (line 1496) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1499:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1500:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1496_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_transmit_retries(0x10).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_parity_enable (line 2049) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2052:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2053:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2049_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_parity_enable(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_sync_channel (line 1737) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1740:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Channel` [INFO] [stdout] --> src/lib/mod.rs:1741:37 [INFO] [stdout] | [INFO] [stdout] 7 | transceiver.eeprom_set_sync_channel(Channel::Ch01).await; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Channel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ac4490::Channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1741:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1737_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_sync_channel(Channel::Ch01).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_server_client_mode (line 1289) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib/mod.rs:1291:39 [INFO] [stdout] | [INFO] [stdout] 5 | use ac4490::{AC4490, ServerClientMode} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1292:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1293:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1289_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_server_client_mode(ServerClientMode::Server).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_stop_bit_delay (line 1196) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1199:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1200:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1196_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_stop_bit_delay(0xFF).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_rf_packet_size (line 1806) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1809:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1810:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1806_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_rf_packet_size(0x80).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::eeprom_set_system_id (line 2154) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:2157:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:2158:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_2154_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.eeprom_set_system_id(0x01).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::get_adc_value (line 663) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:666:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:667:58 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_663_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let adc_value = transceiver.get_adc_value(AdcPort::AdIn).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_destination_address (line 531) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:534:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:535:57 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_531_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_destination_address([0xAB, 0xCA, 0xFE]).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::get_temperature_at_last_calibration (line 992) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:995:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:996:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_992_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let temperature = transceiver.get_temperature_at_last_calibration().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::get_digital_input_state (line 623) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:627:62 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_623_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let (input0, input1) = transceiver.get_digital_input_state().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::get_last_valid_rssi (line 696) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:699:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:700:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_696_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let rssi = transceiver.get_last_valid_rssi().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_broadcast_enable (line 503) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:506:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:507:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_503_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_broadcast_enable(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::exit_command_mode (line 307) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:310:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:311:33 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_307_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.exit_command_mode().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::force_calibration (line 596) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:599:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:600:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_596_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let status = transceiver.force_calibration().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::new (line 164) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `device_interface` in this scope [INFO] [stdout] --> src/lib/mod.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(device_interface); [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/mod.rs - AC4490::get_temperature (line 962) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:965:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:966:49 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_962_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] ... [INFO] [stdout] 7 | let temperature = transceiver.get_temperature().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_dac_output_state (line 765) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:768:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:769:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_765_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_dac_output_state(0x80, 0x80).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::read_destination_address (line 563) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:566:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:567:54 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_563_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let address = transceiver.read_destination_address().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::read (line 224) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:227:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_224_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | transceiver.read(&mut data).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_probe_enabled (line 934) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:937:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:938:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_934_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_probe_enabled(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_long_range_mode (line 845) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:848:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:849:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_845_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_long_range_mode(true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_max_power (line 799) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:802:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:803:53 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_799_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_max_power(OutputPower::Plus16_5dBm).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_channel (line 330) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:333:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:334:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_330_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.change_channel(Channel::Ch2A).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_server_client_mode (line 357) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:360:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerClientMode` [INFO] [stdout] --> src/lib/mod.rs:361:36 [INFO] [stdout] | [INFO] [stdout] 7 | transceiver.set_server_client_mode(ServerClientMode::Server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ServerClientMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ac4490::ServerClientMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:361:62 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_357_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_server_client_mode(ServerClientMode::Server).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::sleep_walk_power_down (line 446) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:449:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:450:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_446_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.sleep_walk_power_down().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::soft_reset (line 1025) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:1028:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:1029:26 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_1025_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.soft_reset().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_sync_channel (line 399) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:403:35 [INFO] [stdout] | [INFO] [stdout] 7 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:404:51 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_399_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | transceiver.set_sync_channel(Some(Channel::Ch2A)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_digital_output_state (line 725) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:728:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:729:51 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_725_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.set_digital_output_state(true, false).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::sleep_walk_wake_up (line 473) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:476:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:477:34 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_473_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.sleep_walk_wake_up().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::wait_for_transmit_buffer_empty (line 873) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:876:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:877:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_873_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.wait_for_transmit_buffer_empty().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::set_sync_channel (line 406) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AC4490` [INFO] [stdout] --> src/lib/mod.rs:408:23 [INFO] [stdout] | [INFO] [stdout] 4 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^^^ use of undeclared type `AC4490` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use ac4490::AC4490; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 4 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:409:36 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_406_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] 4 | let mut transceiver = AC4490::new(port); [INFO] [stdout] 5 | transceiver.set_sync_channel(None).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - AC4490::write (line 178) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/lib/mod.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 6 | let mut transceiver = AC4490::new(port); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib/mod.rs:182:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_178_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | transceiver.write(&[0x01, 0x02, 0x03, 0x04]).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - DeviceInterface (line 116) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> src/lib/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serialport::SerialPort; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AC4490` [INFO] [stdout] --> src/lib/mod.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 23 | let mut transceiver = AC4490::new(SerialPortDeviceInterface(port)); [INFO] [stdout] | ^^^^^^ use of undeclared type `AC4490` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use ac4490::AC4490; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib/mod.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 21 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 21 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> src/lib/mod.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 7 | struct SerialPortDeviceInterface(Box); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> src/lib/mod.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 22 | let port = serialport::new("/dev/ttyUSB0", 9600).open()?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/mod.rs - DeviceInterface (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embassy_stm32` [INFO] [stdout] --> src/lib/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 6 | use embassy_stm32::usart::Uart; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `embassy_stm32` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embassy_stm32` [INFO] [stdout] --> src/lib/mod.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 8 | struct MyDeviceInterface(Uart<'static, embassy_stm32::mode::Async>); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `embassy_stm32` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AC4490` [INFO] [stdout] --> src/lib/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 20 | let mut transceiver = AC4490::new(MyDeviceInterface(uart)); [INFO] [stdout] | ^^^^^^ use of undeclared type `AC4490` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ac4490::AC4490; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `uart` in this scope [INFO] [stdout] --> src/lib/mod.rs:112:53 [INFO] [stdout] | [INFO] [stdout] 20 | let mut transceiver = AC4490::new(MyDeviceInterface(uart)); [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/lib/mod.rs - AC4490::debug (line 208) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_api_control (line 1641) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_auto_calibrate_enable (line 2454) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_broadcast_attempts (line 1580) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_channel_number (line 1264) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_cmd_data_rx_enable (line 1461) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_control0 (line 1368) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_cts_on (line 1885) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_des_key (line 2497) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_destination (line 2121) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_enhanced_api_control (line 2398) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_frequency_offset (line 1415) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_interface_timeout (line 1701) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_mac_id (line 2195) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_max_power (line 1976) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_modem_mode_enable (line 2020) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_original_max_power (line 2217) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_parity_enable (line 2074) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_product_id (line 2238) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_product_id_string (line 1109) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_protocol_status_receive_ack_enable (line 2285) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_range_refresh (line 1167) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_receive_api_enable (line 2335) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_rf_packet_size (line 1833) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_server_client_mode (line 1316) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_stop_bit_delay (line 1225) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_sync_channel (line 1772) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_system_id (line 2177) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_get_transmit_retries (line 1523) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_api_control (line 1598) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_api_control (line 1611) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_auto_calibrate_enable (line 2425) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_broadcast_attempts (line 1554) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_channel_number (line 1244) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_cmd_data_rx_enable (line 1436) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_control0 (line 1340) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_cts_on (line 1858) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_cts_on_hysterisis (line 1908) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_des_key (line 2479) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_destination (line 2101) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_enhanced_api_control (line 2359) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_enhanced_api_control (line 2370) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_frequency_offset (line 1392) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_interface_timeout (line 1673) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_max_power (line 1942) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_modem_mode_enable (line 1997) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_parity_enable (line 2049) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_protocol_status_receive_ack_enable (line 2260) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_range_refresh (line 1138) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_receive_api_enable (line 2312) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_rf_packet_size (line 1806) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_server_client_mode (line 1289) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_stop_bit_delay (line 1196) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_sync_channel (line 1737) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_system_id (line 2154) [INFO] [stdout] src/lib/mod.rs - AC4490::eeprom_set_transmit_retries (line 1496) [INFO] [stdout] src/lib/mod.rs - AC4490::enter_command_mode (line 283) [INFO] [stdout] src/lib/mod.rs - AC4490::enter_deep_sleep_mode (line 904) [INFO] [stdout] src/lib/mod.rs - AC4490::exit_command_mode (line 307) [INFO] [stdout] src/lib/mod.rs - AC4490::force_calibration (line 596) [INFO] [stdout] src/lib/mod.rs - AC4490::get_adc_value (line 663) [INFO] [stdout] src/lib/mod.rs - AC4490::get_digital_input_state (line 623) [INFO] [stdout] src/lib/mod.rs - AC4490::get_last_valid_rssi (line 696) [INFO] [stdout] src/lib/mod.rs - AC4490::get_temperature (line 962) [INFO] [stdout] src/lib/mod.rs - AC4490::get_temperature_at_last_calibration (line 992) [INFO] [stdout] src/lib/mod.rs - AC4490::new (line 164) [INFO] [stdout] src/lib/mod.rs - AC4490::read (line 224) [INFO] [stdout] src/lib/mod.rs - AC4490::read_destination_address (line 563) [INFO] [stdout] src/lib/mod.rs - AC4490::set_broadcast_enable (line 503) [INFO] [stdout] src/lib/mod.rs - AC4490::set_channel (line 330) [INFO] [stdout] src/lib/mod.rs - AC4490::set_dac_output_state (line 765) [INFO] [stdout] src/lib/mod.rs - AC4490::set_destination_address (line 531) [INFO] [stdout] src/lib/mod.rs - AC4490::set_digital_output_state (line 725) [INFO] [stdout] src/lib/mod.rs - AC4490::set_long_range_mode (line 845) [INFO] [stdout] src/lib/mod.rs - AC4490::set_max_power (line 799) [INFO] [stdout] src/lib/mod.rs - AC4490::set_probe_enabled (line 934) [INFO] [stdout] src/lib/mod.rs - AC4490::set_server_client_mode (line 357) [INFO] [stdout] src/lib/mod.rs - AC4490::set_sync_channel (line 399) [INFO] [stdout] src/lib/mod.rs - AC4490::set_sync_channel (line 406) [INFO] [stdout] src/lib/mod.rs - AC4490::sleep_walk_power_down (line 446) [INFO] [stdout] src/lib/mod.rs - AC4490::sleep_walk_wake_up (line 473) [INFO] [stdout] src/lib/mod.rs - AC4490::soft_reset (line 1025) [INFO] [stdout] src/lib/mod.rs - AC4490::wait_for_transmit_buffer_empty (line 873) [INFO] [stdout] src/lib/mod.rs - AC4490::write (line 178) [INFO] [stdout] src/lib/mod.rs - DeviceInterface (line 116) [INFO] [stdout] src/lib/mod.rs - DeviceInterface (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 86 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c720cc91f95856afb5d8be03b2ce7b31b607c46805b213c6b6776a542cca92bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c720cc91f95856afb5d8be03b2ce7b31b607c46805b213c6b6776a542cca92bf", kill_on_drop: false }` [INFO] [stdout] c720cc91f95856afb5d8be03b2ce7b31b607c46805b213c6b6776a542cca92bf