[INFO] fetching crate ac4490 0.3.0...
[INFO] testing ac4490-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate ac4490 0.3.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate ac4490 0.3.0
[INFO] finished tweaking crates.io crate ac4490 0.3.0
[INFO] tweaked toml for crates.io crate ac4490 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ac4490 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 19 packages to latest compatible versions
[INFO] [stderr]       Adding defmt v0.3.100 (available: v1.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f900a363f64f43aebeb31b11650c063891295534242bccccfb3ac9c43df011c
[INFO] running `Command { std: "docker" "start" "-a" "7f900a363f64f43aebeb31b11650c063891295534242bccccfb3ac9c43df011c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f900a363f64f43aebeb31b11650c063891295534242bccccfb3ac9c43df011c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f900a363f64f43aebeb31b11650c063891295534242bccccfb3ac9c43df011c", kill_on_drop: false }`
[INFO] [stdout] 7f900a363f64f43aebeb31b11650c063891295534242bccccfb3ac9c43df011c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a70f25ed0bde5ab10d4e7d1670b398b9fc27f3c8e1e11f036c8588ff2b5fb9f3
[INFO] running `Command { std: "docker" "start" "-a" "a70f25ed0bde5ab10d4e7d1670b398b9fc27f3c8e1e11f036c8588ff2b5fb9f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling defmt-macros v1.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling defmt v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling thiserror-impl-no-std v2.0.2
[INFO] [stderr]    Compiling thiserror-no-std v2.0.2
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling num_enum v0.7.5
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]    Compiling defmt v0.3.100
[INFO] [stderr]    Compiling ac4490 v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/lib/mod.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use defmt::{debug, info};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.37s
[INFO] running `Command { std: "docker" "inspect" "a70f25ed0bde5ab10d4e7d1670b398b9fc27f3c8e1e11f036c8588ff2b5fb9f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a70f25ed0bde5ab10d4e7d1670b398b9fc27f3c8e1e11f036c8588ff2b5fb9f3", kill_on_drop: false }`
[INFO] [stdout] a70f25ed0bde5ab10d4e7d1670b398b9fc27f3c8e1e11f036c8588ff2b5fb9f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1fc7736877052a690939873773588f182ec5fe6cd856ef94660d4c212a1dfe2b
[INFO] running `Command { std: "docker" "start" "-a" "1fc7736877052a690939873773588f182ec5fe6cd856ef94660d4c212a1dfe2b", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/lib/mod.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use defmt::{debug, info};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ac4490 v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/lib/mod.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use defmt::{debug, info};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] running `Command { std: "docker" "inspect" "1fc7736877052a690939873773588f182ec5fe6cd856ef94660d4c212a1dfe2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1fc7736877052a690939873773588f182ec5fe6cd856ef94660d4c212a1dfe2b", kill_on_drop: false }`
[INFO] [stdout] 1fc7736877052a690939873773588f182ec5fe6cd856ef94660d4c212a1dfe2b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c5cb0603d45b8d42ab7d0a510afeb4cd169eacb8c529735eff6eb859a1dfb2df
[INFO] running `Command { std: "docker" "start" "-a" "c5cb0603d45b8d42ab7d0a510afeb4cd169eacb8c529735eff6eb859a1dfb2df", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]  --> src/lib/mod.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 | use defmt::{debug, info};
[INFO] [stderr]   |                    ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ac4490` (lib) generated 1 warning (run `cargo fix --lib -p ac4490` to apply 1 suggestion)
[INFO] [stderr] warning: `ac4490` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib/mod.rs (/opt/rustwide/target/debug/deps/ac4490-4c96d46877454c9d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ac4490
[INFO] [stdout] 
[INFO] [stdout] running 86 tests
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_auto_calibrate_enable (line 2454) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_control0 (line 1368) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_channel_number (line 1264) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_original_max_power (line 2217) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_des_key (line 2497) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::debug (line 208) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_modem_mode_enable (line 2020) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_parity_enable (line 2074) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_interface_timeout (line 1701) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_frequency_offset (line 1415) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_destination (line 2121) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_cts_on (line 1885) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_max_power (line 1976) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_api_control (line 1641) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_mac_id (line 2195) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_product_id_string (line 1109) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_server_client_mode (line 1316) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_enhanced_api_control (line 2398) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_rf_packet_size (line 1833) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_cmd_data_rx_enable (line 1461) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_stop_bit_delay (line 1225) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_receive_api_enable (line 2335) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_product_id (line 2238) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_broadcast_attempts (line 1580) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_auto_calibrate_enable (line 2425) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_broadcast_attempts (line 1554) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_cts_on (line 1858) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_transmit_retries (line 1523) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_range_refresh (line 1167) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_cmd_data_rx_enable (line 1436) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_des_key (line 2479) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_system_id (line 2177) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_api_control (line 1598) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_protocol_status_receive_ack_enable (line 2285) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_api_control (line 1611) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_get_sync_channel (line 1772) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_control0 (line 1340) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_destination (line 2101) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_channel_number (line 1244) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_enhanced_api_control (line 2359) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_modem_mode_enable (line 1997) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_protocol_status_receive_ack_enable (line 2260) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_range_refresh (line 1138) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_parity_enable (line 2049) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_server_client_mode (line 1289) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_transmit_retries (line 1496) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::enter_command_mode (line 283) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::enter_deep_sleep_mode (line 904) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_system_id (line 2154) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_receive_api_enable (line 2312) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_interface_timeout (line 1673) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::get_digital_input_state (line 623) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::get_last_valid_rssi (line 696) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_cts_on_hysterisis (line 1908) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_max_power (line 1942) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_stop_bit_delay (line 1196) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::new (line 164) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_sync_channel (line 1737) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::get_temperature (line 962) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_rf_packet_size (line 1806) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_enhanced_api_control (line 2370) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::force_calibration (line 596) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::eeprom_set_frequency_offset (line 1392) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::get_adc_value (line 663) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_digital_output_state (line 725) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::read (line 224) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::read_destination_address (line 563) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::exit_command_mode (line 307) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_channel (line 330) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_broadcast_enable (line 503) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_destination_address (line 531) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::get_temperature_at_last_calibration (line 992) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::soft_reset (line 1025) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_long_range_mode (line 845) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_dac_output_state (line 765) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::sleep_walk_power_down (line 446) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_sync_channel (line 399) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::wait_for_transmit_buffer_empty (line 873) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_max_power (line 799) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_sync_channel (line 406) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_probe_enabled (line 934) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::set_server_client_mode (line 357) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - DeviceInterface (line 95) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::write (line 178) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - AC4490<D>::sleep_walk_wake_up (line 473) ... FAILED
[INFO] [stdout] test src/lib/mod.rs - DeviceInterface (line 116) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib/mod.rs - AC4490<D>::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] 2457 | 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] 2455 | 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] 2458 | 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<D>::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] 1371 | 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] 1369 | 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] 1372 | 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<D>::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] 1267 | 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] 1265 | 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] 1268 | 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<D>::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] 2220 | 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] 2218 | 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] 2221 | 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<D>::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] 2500 | 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] 2498 | 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] 2501 | 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<D>::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] 211 | 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<D>::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] 2023 | 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] 2021 | 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] 2024 | 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<D>::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] 2077 | 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] 2075 | 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] 2078 | 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<D>::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] 1704 | 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] 1702 | 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] 1705 | 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<D>::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] 1417 | use ac4490::AC4490
[INFO] [stdout]      |                   ^ help: add `;` here
[INFO] [stdout] 1418 | 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] 1418 | 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] 1416 | 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] 1419 | 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<D>::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] 2124 | 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] 2122 | 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] 2125 | 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<D>::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] 1888 | 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] 1886 | 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] 1889 | 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<D>::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] 1979 | 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] 1977 | 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] 1980 | 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<D>::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] 1644 | 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] 1642 | 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] 1645 | 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<D>::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] 2198 | 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] 2196 | 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] 2199 | 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<D>::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] 1112 | 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] 1110 | 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] 1113 | 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<D>::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] 1318 | use ac4490::{AC4490, ServerClientMode}
[INFO] [stdout]      |                                       ^ help: add `;` here
[INFO] [stdout] 1319 | 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] 1319 | 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] 1317 | 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] 1320 | 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<D>::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] 2401 | 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] 2399 | 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] 2402 | 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<D>::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] 1836 | 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] 1834 | 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] 1837 | 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<D>::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] 1464 | 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] 1462 | 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] 1465 | 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<D>::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] 1228 | 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] 1226 | 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] 1229 | 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<D>::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] 2338 | 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] 2336 | 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] 2339 | 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<D>::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] 2241 | 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] 2239 | 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] 2242 | 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<D>::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] 1583 | 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] 1581 | 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] 1584 | 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<D>::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] 2428 | 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] 2426 | 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] 2429 | 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<D>::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] 1557 | 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] 1555 | 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] 1558 | 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<D>::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] 1861 | 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] 1859 | 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] 1862 | 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<D>::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] 1526 | 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] 1524 | 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] 1527 | 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<D>::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] 1170 | 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] 1168 | 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] 1171 | 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<D>::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] 1439 | 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] 1437 | 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] 1440 | 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<D>::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] 2482 | 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] 2480 | 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] 2483 | 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<D>::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] 2180 | 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] 2178 | 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] 2181 | 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<D>::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] 1599 | ApiControl {
[INFO] [stdout]      | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 1598 + 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<D>::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] 2288 | 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] 2286 | 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] 2289 | 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<D>::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] 1614 | 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] 1612 | 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] 1622 | }).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<D>::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] 1775 | 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] 1773 | 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] 1776 | 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<D>::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] 1343 | 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] 1341 | 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] 1349 | }).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<D>::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] 2104 | 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] 2102 | 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] 2105 | 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<D>::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] 1247 | 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] 1245 | 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] 1248 | 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<D>::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] 2360 | EnhancedApiControl {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 2359 + 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<D>::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] 2000 | 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] 1998 | 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] 2001 | 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<D>::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] 2263 | 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] 2261 | 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] 2264 | 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<D>::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] 1141 | 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] 1139 | 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] 1142 | 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<D>::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] 2052 | 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] 2050 | 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] 2053 | 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<D>::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] 1291 | use ac4490::{AC4490, ServerClientMode}
[INFO] [stdout]      |                                       ^ help: add `;` here
[INFO] [stdout] 1292 | 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] 1292 | 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] 1290 | 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] 1293 | 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<D>::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] 1499 | 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] 1497 | 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] 1500 | 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<D>::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] 286 | 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] 284 | 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] 287 | 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<D>::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] 907 | 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] 905 | 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] 908 | 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<D>::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] 2157 | 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] 2155 | 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] 2158 | 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<D>::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] 2315 | 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] 2313 | 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] 2316 | 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<D>::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] 1676 | 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] 1674 | 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] 1677 | 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<D>::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] 626 | 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] 624 | 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] 627 | 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<D>::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] 699 | 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] 697 | 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] 700 | 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<D>::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] 1911 | 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] 1909 | 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] 1912 | 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<D>::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] 1945 | 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] 1943 | 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] 1946 | 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<D>::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] 1199 | 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] 1197 | 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] 1200 | 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<D>::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] 167 | 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<D>::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] 1740 | 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] 1741 | 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] 1736 + 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] 1738 | 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] 1741 | 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<D>::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] 965 | 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] 963 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_962_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 966 | 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<D>::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] 1809 | 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] 1807 | 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] 1810 | 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<D>::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] 2374 | transceiver.eeprom_set_enhanced_api_control(EnhancedApiControl {
[INFO] [stdout]      |                                             ------------------ while parsing this struct
[INFO] [stdout] 2375 |     enhanced_api_control_enable: false,
[INFO] [stdout] 2376 |     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] 2377 |     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] 2373 | 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] 2371 | 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] 2379 | }).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] 2375 |     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] 2375 -     enhanced_api_control_enable: false,
[INFO] [stdout] 2375 +     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<D>::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] 599 | 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] 597 | 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] 600 | 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<D>::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] 1394 | use ac4490::AC4490
[INFO] [stdout]      |                   ^ help: add `;` here
[INFO] [stdout] 1395 | 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] 1395 | 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] 1393 | 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] 1396 | 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<D>::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] 666 | 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] 664 | 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] 667 | 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<D>::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] 728 | 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] 726 | 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] 729 | 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<D>::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] 227 | 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] 225 | 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] 229 | 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<D>::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] 566 | 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] 564 | 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] 567 | 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<D>::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] 310 | 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] 308 | 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] 311 | 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<D>::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] 333 | 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] 331 | 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] 334 | 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<D>::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] 506 | 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] 504 | 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] 507 | 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<D>::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] 534 | 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] 532 | 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] 535 | 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<D>::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] 995 | 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] 993 | 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] 996 | 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<D>::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] 1028 | 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] 1026 | 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] 1029 | 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<D>::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] 848 | 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] 846 | 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] 849 | 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<D>::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] 768 | 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] 766 | 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] 769 | 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<D>::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] 449 | 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] 447 | 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] 450 | 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<D>::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] 403 | 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] 400 | 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] 404 | 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<D>::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] 876 | 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] 874 | 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] 877 | 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<D>::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] 802 | 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] 800 | 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] 803 | 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<D>::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] 408 | 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] 406 + 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] 408 | 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] 406 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_mod_rs_406_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 409 | 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<D>::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] 937 | 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] 935 | 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] 938 | 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<D>::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] 360 | 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] 361 | 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] 356 + 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] 358 | 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] 361 | 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 - DeviceInterface (line 95) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32`
[INFO] [stdout]   --> src/lib/mod.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | use embassy_stm32::usart::Uart;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_stm32`
[INFO] [stdout]    --> src/lib/mod.rs:100:40
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct MyDeviceInterface(Uart<'static, embassy_stm32::mode::Async>);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml`
[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] 112 | 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]  94 + 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] 112 | let mut transceiver = AC4490::new(MyDeviceInterface(uart));
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib/mod.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         self.0.write(data).await.map_err(|_| ac4490::Error::WriteError)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib/mod.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         self.0.read(data).await.map_err(|_| ac4490::Error::ReadError)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib/mod.rs - AC4490<D>::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] 181 | 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] 179 | 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] 182 | 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 - AC4490<D>::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] 476 | 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] 474 | 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] 477 | 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 - DeviceInterface (line 116) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `serialport`
[INFO] [stdout]    --> src/lib/mod.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | use serialport::SerialPort;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml`
[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] 137 |     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] 118 + 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] 135 | 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] 135 | async fn main() -> Result<(), E> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport`
[INFO] [stdout]    --> src/lib/mod.rs:121:42
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct SerialPortDeviceInterface(Box<dyn serialport::SerialPort>);
[INFO] [stdout]     |                                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport`
[INFO] [stdout]    --> src/lib/mod.rs:136:16
[INFO] [stdout]     |
[INFO] [stdout] 136 |     let port = serialport::new("/dev/ttyUSB0", 9600).open()?;
[INFO] [stdout]     |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml`
[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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::debug (line 208)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_api_control (line 1641)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_auto_calibrate_enable (line 2454)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_broadcast_attempts (line 1580)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_channel_number (line 1264)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_cmd_data_rx_enable (line 1461)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_control0 (line 1368)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_cts_on (line 1885)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_des_key (line 2497)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_destination (line 2121)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_enhanced_api_control (line 2398)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_frequency_offset (line 1415)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_interface_timeout (line 1701)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_mac_id (line 2195)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_max_power (line 1976)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_modem_mode_enable (line 2020)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_original_max_power (line 2217)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_parity_enable (line 2074)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_product_id (line 2238)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_product_id_string (line 1109)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_protocol_status_receive_ack_enable (line 2285)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_range_refresh (line 1167)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_receive_api_enable (line 2335)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_rf_packet_size (line 1833)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_server_client_mode (line 1316)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_stop_bit_delay (line 1225)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_sync_channel (line 1772)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_system_id (line 2177)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_get_transmit_retries (line 1523)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_api_control (line 1598)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_api_control (line 1611)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_auto_calibrate_enable (line 2425)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_broadcast_attempts (line 1554)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_channel_number (line 1244)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_cmd_data_rx_enable (line 1436)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_control0 (line 1340)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_cts_on (line 1858)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_cts_on_hysterisis (line 1908)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_des_key (line 2479)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_destination (line 2101)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_enhanced_api_control (line 2359)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_enhanced_api_control (line 2370)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_frequency_offset (line 1392)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_interface_timeout (line 1673)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_max_power (line 1942)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_modem_mode_enable (line 1997)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_parity_enable (line 2049)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_protocol_status_receive_ack_enable (line 2260)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_range_refresh (line 1138)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_receive_api_enable (line 2312)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_rf_packet_size (line 1806)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_server_client_mode (line 1289)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_stop_bit_delay (line 1196)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_sync_channel (line 1737)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_system_id (line 2154)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::eeprom_set_transmit_retries (line 1496)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::enter_command_mode (line 283)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::enter_deep_sleep_mode (line 904)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::exit_command_mode (line 307)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::force_calibration (line 596)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::get_adc_value (line 663)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::get_digital_input_state (line 623)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::get_last_valid_rssi (line 696)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::get_temperature (line 962)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::get_temperature_at_last_calibration (line 992)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::new (line 164)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::read (line 224)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::read_destination_address (line 563)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_broadcast_enable (line 503)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_channel (line 330)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_dac_output_state (line 765)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_destination_address (line 531)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_digital_output_state (line 725)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_long_range_mode (line 845)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_max_power (line 799)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_probe_enabled (line 934)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_server_client_mode (line 357)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_sync_channel (line 399)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::set_sync_channel (line 406)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::sleep_walk_power_down (line 446)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::sleep_walk_wake_up (line 473)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::soft_reset (line 1025)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::wait_for_transmit_buffer_empty (line 873)
[INFO] [stdout]     src/lib/mod.rs - AC4490<D>::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 1.61s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c5cb0603d45b8d42ab7d0a510afeb4cd169eacb8c529735eff6eb859a1dfb2df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5cb0603d45b8d42ab7d0a510afeb4cd169eacb8c529735eff6eb859a1dfb2df", kill_on_drop: false }`
[INFO] [stdout] c5cb0603d45b8d42ab7d0a510afeb4cd169eacb8c529735eff6eb859a1dfb2df
