[INFO] fetching crate meshtastic 0.1.4...
[INFO] testing meshtastic-0.1.4 against 1.75.0 for beta-1.76-1
[INFO] extracting crate meshtastic 0.1.4 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate meshtastic 0.1.4 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate meshtastic 0.1.4
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate meshtastic 0.1.4
[INFO] tweaked toml for crates.io crate meshtastic 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate meshtastic 0.1.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded protoc-bin-vendored v3.0.0
[INFO] [stderr]   Downloaded specta-macros v1.0.5
[INFO] [stderr]   Downloaded mio-serial v5.0.5
[INFO] [stderr]   Downloaded tokio-serial v5.4.4
[INFO] [stderr]   Downloaded specta v1.0.5
[INFO] [stderr]   Downloaded serialport v4.2.2
[INFO] [stderr]   Downloaded protoc-bin-vendored-win32 v3.0.0
[INFO] [stderr]   Downloaded protoc-bin-vendored-linux-aarch_64 v3.0.0
[INFO] [stderr]   Downloaded protoc-bin-vendored-macos-x86_64 v3.0.0
[INFO] [stderr]   Downloaded protoc-bin-vendored-linux-ppcle_64 v3.0.0
[INFO] [stderr]   Downloaded protoc-bin-vendored-linux-x86_32 v3.0.0
[INFO] [stderr]   Downloaded protoc-bin-vendored-linux-x86_64 v3.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 66137edfe9c3d25a452d9a48431f6477e39ee0da0c98255aec22864d287a831d
[INFO] running `Command { std: "docker" "start" "-a" "66137edfe9c3d25a452d9a48431f6477e39ee0da0c98255aec22864d287a831d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66137edfe9c3d25a452d9a48431f6477e39ee0da0c98255aec22864d287a831d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66137edfe9c3d25a452d9a48431f6477e39ee0da0c98255aec22864d287a831d", kill_on_drop: false }`
[INFO] [stdout] 66137edfe9c3d25a452d9a48431f6477e39ee0da0c98255aec22864d287a831d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 712a202d25460df741d2114797a2ef67ad9cbabb9a598b6b4aef0497b3b6342b
[INFO] running `Command { std: "docker" "start" "-a" "712a202d25460df741d2114797a2ef67ad9cbabb9a598b6b4aef0497b3b6342b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling rustix v0.37.23
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-x86_32 v3.0.0
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-ppcle_64 v3.0.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling bitflags v2.0.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-x86_64 v3.0.0
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-aarch_64 v3.0.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling protoc-bin-vendored-macos-x86_64 v3.0.0
[INFO] [stderr]    Compiling protoc-bin-vendored-win32 v3.0.0
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling protoc-bin-vendored v3.0.0
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling nix v0.26.2
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling regex-automata v0.3.7
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.9.4
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling serialport v4.2.2
[INFO] [stderr]    Compiling mio-serial v5.0.5
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling meshtastic v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio-serial v5.4.4
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.75s
[INFO] running `Command { std: "docker" "inspect" "712a202d25460df741d2114797a2ef67ad9cbabb9a598b6b4aef0497b3b6342b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "712a202d25460df741d2114797a2ef67ad9cbabb9a598b6b4aef0497b3b6342b", kill_on_drop: false }`
[INFO] [stdout] 712a202d25460df741d2114797a2ef67ad9cbabb9a598b6b4aef0497b3b6342b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da8cfc13fabc32d21e0cb8427c5c3577fe0df91ef09600885499fdb81eab0e3b
[INFO] running `Command { std: "docker" "start" "-a" "da8cfc13fabc32d21e0cb8427c5c3577fe0df91ef09600885499fdb81eab0e3b", kill_on_drop: false }`
[INFO] [stderr]    Compiling meshtastic v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 8.28s
[INFO] running `Command { std: "docker" "inspect" "da8cfc13fabc32d21e0cb8427c5c3577fe0df91ef09600885499fdb81eab0e3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da8cfc13fabc32d21e0cb8427c5c3577fe0df91ef09600885499fdb81eab0e3b", kill_on_drop: false }`
[INFO] [stdout] da8cfc13fabc32d21e0cb8427c5c3577fe0df91ef09600885499fdb81eab0e3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a9804c81952a25b3f0853b91199a61fe44b800e17a7b5002c79234ae77eef840
[INFO] running `Command { std: "docker" "start" "-a" "a9804c81952a25b3f0853b91199a61fe44b800e17a7b5002c79234ae77eef840", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/meshtastic-cb0c2bd4a4eee8e9)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test errors_internal::test::test_send_sync ... ok
[INFO] [stdout] test connections::stream_buffer::tests::decodes_valid_buffer_two_packets ... ok
[INFO] [stdout] test utils_internal::tests::valid_large_packet ... ok
[INFO] [stdout] test utils_internal::tests::valid_non_empty_packet ... ok
[INFO] [stdout] test utils_internal::tests::valid_empty_packet ... ok
[INFO] [stdout] test connections::stream_buffer::tests::decodes_valid_buffer_single_packet ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests meshtastic
[INFO] [stdout] 
[INFO] [stdout] running 31 tests
[INFO] [stdout] test src/connections/mod.rs - connections::PacketRouter::source_node_id (line 145) ... FAILED
[INFO] [stdout] test src/connections/mod.rs - connections::PacketRouter::handle_packet_from_radio (line 61) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_waypoint (line 685) ... FAILED
[INFO] [stdout] test src/connections/mod.rs - connections::PacketRouter::handle_mesh_packet (line 103) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::disconnect (line 546) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_mesh_packet (line 111) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_local_module_config (line 1374) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::start_config_transaction (line 1137) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::write_input_sender (line 311) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_text (line 613) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_channel_config (line 987) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_position (line 766) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_raw (line 261) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_local_config (line 1259) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_config (line 839) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Connected>::configure (line 483) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_user (line 1058) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::StreamApi::connect (line 379) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::commit_config_transaction (line 1211) ... FAILED
[INFO] [stdout] test src/utils_internal.rs - utils_internal::current_epoch_secs_u32 (line 350) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_module_config (line 913) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_to_radio_packet (line 219) ... FAILED
[INFO] [stdout] test src/utils_internal.rs - utils_internal::strip_data_packet_header (line 304) ... FAILED
[INFO] [stdout] test src/utils_internal.rs - utils_internal::available_serial_ports (line 39) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_message_channel_config (line 1517) ... FAILED
[INFO] [stdout] test src/utils_internal.rs - utils_internal::build_serial_stream (line 85) ... FAILED
[INFO] [stdout] test src/connections/stream_api.rs - connections::stream_api::StreamApi::new (line 343) ... FAILED
[INFO] [stdout] test src/utils_internal.rs - utils_internal::generate_rand_id (line 209) ... FAILED
[INFO] [stdout] test src/utils_internal.rs - utils_internal::format_data_packet (line 254) ... FAILED
[INFO] [stdout] test src/connections/stream_buffer.rs - connections::stream_buffer::StreamBuffer::process_incoming_bytes (line 64) ... FAILED
[INFO] [stdout] test src/utils_internal.rs - utils_internal::build_tcp_stream (line 155) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/connections/mod.rs - connections::PacketRouter::source_node_id (line 145) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `router` in this scope
[INFO] [stdout]  --> src/connections/mod.rs:146:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | let source_node_id = router.source_node_id();
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/mod.rs - connections::PacketRouter::handle_packet_from_radio (line 61) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/connections/mod.rs:68:37
[INFO] [stdout]   |
[INFO] [stdout] 9 | let packet = protobufs::FromRadio { ... };
[INFO] [stdout]   |              --------------------   ^^^ expected identifier
[INFO] [stdout]   |              |
[INFO] [stdout]   |              while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `PacketRouter`
[INFO] [stdout]  --> src/connections/mod.rs:62:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use PacketRouter;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no external crate `PacketRouter`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | use meshtastic::packet::PacketRouter;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/connections/mod.rs:68:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let packet = protobufs::FromRadio { ... };
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::protobufs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `router` in this scope
[INFO] [stdout]   --> src/connections/mod.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | let metadata = router.handle_packet_from_radio::<HandlerMetadata, String>(packet).unwrap();
[INFO] [stdout]    |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_waypoint (line 685) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/connections/stream_api.rs:693:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | let waypoint = crate::protobufs::Waypoint { ... };
[INFO] [stdout]    |                --------------------------   ^^^ expected identifier
[INFO] [stdout]    |                |
[INFO] [stdout]    |                while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:686:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:687:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_rand_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:690:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = generate_rand_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::generate_rand_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/connections/stream_api.rs:693:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | let waypoint = crate::protobufs::Waypoint { ... };
[INFO] [stdout]    |                       ^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 10 | let waypoint = crate::meshtastic::protobufs::Waypoint { ... };
[INFO] [stdout]    |                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::protobufs;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `protobufs`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 - let waypoint = crate::protobufs::Waypoint { ... };
[INFO] [stdout] 10 + let waypoint = protobufs::Waypoint { ... };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:694:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.send_waypoint(packet_router, waypoint, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PacketDestination`
[INFO] [stdout]   --> src/connections/stream_api.rs:694:51
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.send_waypoint(packet_router, waypoint, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^ use of undeclared type `PacketDestination`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::packet::PacketDestination;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:688:70
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_685_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (_decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:691:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_685_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:694:90
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_685_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.send_waypoint(packet_router, waypoint, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:691:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_685_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:694:95
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_685_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.send_waypoint(packet_router, waypoint, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/mod.rs - connections::PacketRouter::handle_mesh_packet (line 103) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/connections/mod.rs:110:38
[INFO] [stdout]   |
[INFO] [stdout] 9 | let packet = protobufs::MeshPacket { ... };
[INFO] [stdout]   |              ---------------------   ^^^ expected identifier
[INFO] [stdout]   |              |
[INFO] [stdout]   |              while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `PacketRouter`
[INFO] [stdout]  --> src/connections/mod.rs:104:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use PacketRouter;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no external crate `PacketRouter`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | use meshtastic::packet::PacketRouter;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/connections/mod.rs:110:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let packet = protobufs::MeshPacket { ... };
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::protobufs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `router` in this scope
[INFO] [stdout]   --> src/connections/mod.rs:111:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | let metadata = router.handle_mesh_packet::<HandlerMetadata, String>(packet).unwrap();
[INFO] [stdout]    |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::disconnect (line 546) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:547:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:548:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:549:69
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_546_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:553:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_546_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | stream_api.disconnect().await?;
[INFO] [stdout]   |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:553:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_546_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | stream_api.disconnect().await?;
[INFO] [stdout]   |                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_mesh_packet (line 111) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/connections/stream_api.rs:115:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_111_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 6 | self.send_mesh_packet(
[INFO] [stdout]   | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:116:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     packet_router,
[INFO] [stdout]   |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/connections/stream_api.rs:118:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     protobufs::PortNum::TextMessageApp,
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::protobufs::PortNum;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `PortNum`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 9 -     protobufs::PortNum::TextMessageApp,
[INFO] [stdout] 9 +     PortNum::TextMessageApp,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `destination` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:119:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     destination,
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `channel` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:120:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     channel,
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::sync::mpsc::channel;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use tokio::sync::broadcast::channel;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use tokio::sync::mpsc::channel;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use tokio::sync::oneshot::channel;
[INFO] [stdout]    |
[INFO] [stdout]      and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `want_ack` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:121:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     want_ack,
[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/connections/stream_api.rs:127:2
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_111_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | .await?;
[INFO] [stdout]    |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:127:7
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_111_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 18 | .await?;
[INFO] [stdout]    |       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0424, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_local_module_config (line 1374) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1375:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1376:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_local_module_config(packet_router, local_module_config).await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1376:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_local_module_config(packet_router, local_module_config).await?;
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `local_module_config` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1376:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_local_module_config(packet_router, local_module_config).await?;
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1377:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[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/connections/stream_api.rs:1375:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1374_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1376:72
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1374_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.set_local_module_config(packet_router, local_module_config).await?;
[INFO] [stdout]   |                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1377:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1374_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1375:44
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1374_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1376:77
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1374_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.set_local_module_config(packet_router, local_module_config).await?;
[INFO] [stdout]   |                                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1377:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1374_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::start_config_transaction (line 1137) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1139:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1140:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1140:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config_update_1` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1140:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1141:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1141:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config_update_2` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1141:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1142:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1145:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1146:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1146:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `local_config` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1146:44
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1147:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1150:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1151:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | stream_api.update_module_config(packet_router, module_config).await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1151:33
[INFO] [stdout]    |
[INFO] [stdout] 16 | stream_api.update_module_config(packet_router, module_config).await?;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `module_config` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1151:48
[INFO] [stdout]    |
[INFO] [stdout] 16 | stream_api.update_module_config(packet_router, module_config).await?;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1152:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1154:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1155:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | stream_api.update_channel_config(packet_router, channel_config).await?;
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1155:34
[INFO] [stdout]    |
[INFO] [stdout] 20 | stream_api.update_channel_config(packet_router, channel_config).await?;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `channel_config` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1155:49
[INFO] [stdout]    |
[INFO] [stdout] 20 | stream_api.update_channel_config(packet_router, channel_config).await?;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1156:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | stream_api.commit_config_transaction().await?;
[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/connections/stream_api.rs:1139:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 4 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1140:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 4 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1141:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1142:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1145:39
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1146:58
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]    |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1147:40
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1150:39
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1151:63
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | stream_api.update_module_config(packet_router, module_config).await?;
[INFO] [stdout]    |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1152:40
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1154:39
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1155:65
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 20 | stream_api.update_channel_config(packet_router, channel_config).await?;
[INFO] [stdout]    |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1156:40
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 21 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1139:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 4 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1140:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 4 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1141:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 6 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1142:45
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1145:44
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1146:63
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]    |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1147:45
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1150:44
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 15 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1151:68
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 16 | stream_api.update_module_config(packet_router, module_config).await?;
[INFO] [stdout]    |                                                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1152:45
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 17 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1154:44
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 19 | stream_api.start_config_transaction().await?;
[INFO] [stdout]    |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1155:70
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 20 | stream_api.update_channel_config(packet_router, channel_config).await?;
[INFO] [stdout]    |                                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1156:45
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1137_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 21 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]    |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 49 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::write_input_sender (line 311) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:312:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | let write_input_sender = stream_api.write_input_sender();
[INFO] [stdout]   |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_text (line 613) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:614:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:615:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_rand_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:618:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = generate_rand_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::generate_rand_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:621:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | stream_api.send_text(packet_router, "Hello world!".to_string(), PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PacketDestination`
[INFO] [stdout]   --> src/connections/stream_api.rs:621:65
[INFO] [stdout]    |
[INFO] [stdout] 10 | stream_api.send_text(packet_router, "Hello world!".to_string(), PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^ use of undeclared type `PacketDestination`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::packet::PacketDestination;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:616:70
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_613_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (_decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:619:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_613_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:621:104
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_613_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | stream_api.send_text(packet_router, "Hello world!".to_string(), PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:619:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_613_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:621:109
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_613_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | stream_api.send_text(packet_router, "Hello world!".to_string(), PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_channel_config (line 987) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/connections/stream_api.rs:995:64
[INFO] [stdout]    |
[INFO] [stdout] 10 | let channel_config_update = crate::protobufs::Channel { id: 1, ... }
[INFO] [stdout]    |                             -------------------------          ^^^ expected identifier
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `stream_api`
[INFO] [stdout]   --> src/connections/stream_api.rs:995:69
[INFO] [stdout]    |
[INFO] [stdout] 10 | let channel_config_update = crate::protobufs::Channel { id: 1, ... }
[INFO] [stdout]    |                                                                     ^ help: add `;` here
[INFO] [stdout] 11 | stream_api.update_channel_config(packet_router, channel_config_update).await?;
[INFO] [stdout]    | ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:988:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:989:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_rand_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:992:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = generate_rand_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::generate_rand_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/connections/stream_api.rs:995:36
[INFO] [stdout]    |
[INFO] [stdout] 10 | let channel_config_update = crate::protobufs::Channel { id: 1, ... }
[INFO] [stdout]    |                                    ^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 10 | let channel_config_update = crate::meshtastic::protobufs::Channel { id: 1, ... }
[INFO] [stdout]    |                                    ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::protobufs;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `protobufs`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 - let channel_config_update = crate::protobufs::Channel { id: 1, ... }
[INFO] [stdout] 10 + let channel_config_update = protobufs::Channel { id: 1, ... }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:996:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.update_channel_config(packet_router, channel_config_update).await?;
[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/connections/stream_api.rs:990:70
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_987_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (_decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:993:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_987_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:996:72
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_987_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_channel_config(packet_router, channel_config_update).await?;
[INFO] [stdout]    |                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:993:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_987_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:996:77
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_987_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_channel_config(packet_router, channel_config_update).await?;
[INFO] [stdout]    |                                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_position (line 766) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/connections/stream_api.rs:774:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | let position = crate::protobufs::Position { ... };
[INFO] [stdout]    |                --------------------------   ^^^ expected identifier
[INFO] [stdout]    |                |
[INFO] [stdout]    |                while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:767:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:768:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_rand_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:771:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = generate_rand_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::generate_rand_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/connections/stream_api.rs:774:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | let position = crate::protobufs::Position { ... };
[INFO] [stdout]    |                       ^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 10 | let position = crate::meshtastic::protobufs::Position { ... };
[INFO] [stdout]    |                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::protobufs;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `protobufs`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 - let position = crate::protobufs::Position { ... };
[INFO] [stdout] 10 + let position = protobufs::Position { ... };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:775:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.send_position(packet_router, position, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PacketDestination`
[INFO] [stdout]   --> src/connections/stream_api.rs:775:51
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.send_position(packet_router, position, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^ use of undeclared type `PacketDestination`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::packet::PacketDestination;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:769:70
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_766_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (_decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:772:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_766_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:775:90
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_766_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.send_position(packet_router, position, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:772:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_766_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:775:95
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_766_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.send_position(packet_router, position, PacketDestination::Broadcast, true, 0).await?;
[INFO] [stdout]    |                                                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_raw (line 261) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/connections/stream_api.rs:263:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let packet = protobufs::ToRadio { payload_variant };
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::protobufs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payload_variant` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:263:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | let packet = protobufs::ToRadio { payload_variant };
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/connections/stream_api.rs:267:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_261_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 8 | self.send_raw(packet_buf).await?;
[INFO] [stdout]   | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:267:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_261_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | self.send_raw(packet_buf).await?;
[INFO] [stdout]   |                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:267:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_261_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | self.send_raw(packet_buf).await?;
[INFO] [stdout]   |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0424, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_local_config (line 1259) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1260:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1261:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1261:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]   |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `local_config` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1261:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]   |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1262:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[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/connections/stream_api.rs:1260:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1259_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1261:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1259_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1262:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1259_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1260:44
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1259_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1261:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1259_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.set_local_config(packet_router, local_config).await?;
[INFO] [stdout]   |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1262:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1259_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_config (line 839) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/connections/stream_api.rs:847:64
[INFO] [stdout]    |
[INFO] [stdout] 10 | let config_update = crate::protobufs::config::PositionConfig { ... };
[INFO] [stdout]    |                     ----------------------------------------   ^^^ expected identifier
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:840:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:841:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_rand_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:844:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = generate_rand_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::generate_rand_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/connections/stream_api.rs:847:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | let config_update = crate::protobufs::config::PositionConfig { ... };
[INFO] [stdout]    |                            ^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 10 | let config_update = crate::meshtastic::protobufs::config::PositionConfig { ... };
[INFO] [stdout]    |                            ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::protobufs::config;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `config`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 - let config_update = crate::protobufs::config::PositionConfig { ... };
[INFO] [stdout] 10 + let config_update = config::PositionConfig { ... };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:848:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.update_config(packet_router, config_update).await?;
[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/connections/stream_api.rs:842:70
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_839_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (_decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:845:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_839_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:848:56
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_839_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_config(packet_router, config_update).await?;
[INFO] [stdout]    |                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:845:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_839_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:848:61
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_839_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_config(packet_router, config_update).await?;
[INFO] [stdout]    |                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Connected>::configure (line 483) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:484:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:485:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:486:69
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_483_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:489:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_483_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:491:50
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_483_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | while let Some(packet) = decoded_listener.recv().await {
[INFO] [stdout]    |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:495:25
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_483_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | stream_api.disconnect().await?;
[INFO] [stdout]    |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_random_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:488:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = gen_random_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:489:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_483_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:495:30
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_483_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | stream_api.disconnect().await?;
[INFO] [stdout]    |                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_user (line 1058) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/connections/stream_api.rs:1066:41
[INFO] [stdout]    |
[INFO] [stdout] 10 | let new_user = crate::protobufs::User { ... };
[INFO] [stdout]    |                ----------------------   ^^^ expected identifier
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:1059:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1060:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_rand_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1063:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = generate_rand_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::generate_rand_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/connections/stream_api.rs:1066:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | let new_user = crate::protobufs::User { ... };
[INFO] [stdout]    |                       ^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 10 | let new_user = crate::meshtastic::protobufs::User { ... };
[INFO] [stdout]    |                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::protobufs;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `protobufs`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 - let new_user = crate::protobufs::User { ... };
[INFO] [stdout] 10 + let new_user = protobufs::User { ... };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:1067:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.update_user(packet_router, new_user).await?;
[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/connections/stream_api.rs:1061:70
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1058_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (_decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1064:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1058_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:1067:49
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1058_0() {
[INFO] [stdout]    |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_user(packet_router, new_user).await?;
[INFO] [stdout]    |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1064:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1058_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:1067:54
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1058_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_user(packet_router, new_user).await?;
[INFO] [stdout]    |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::StreamApi::connect (line 379) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:381:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_serial_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:382:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | let serial_stream = build_serial_stream("/dev/ttyUSB0".to_string(), None, None, None)?;
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::utils::stream::build_serial_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:386:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:383:72
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_379_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | let (decoded_listener, stream_api) = stream_api.connect(serial_stream).await;
[INFO] [stdout]   |                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:387:69
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_379_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let (decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]    |                                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::commit_config_transaction (line 1211) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1212:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1213:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1213:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config_update_1` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1213:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1214:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1214:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config_update_2` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1214:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1215:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | stream_api.commit_config_transaction().await?;
[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/connections/stream_api.rs:1212:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1213:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1214:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1215:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1212:44
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1213:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.update_config(packet_router, config_update_1).await?;
[INFO] [stdout]   |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1214:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.update_config(packet_router, config_update_2).await?;
[INFO] [stdout]   |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1215:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1211_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 6 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils_internal.rs - utils_internal::current_epoch_secs_u32 (line 350) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:351:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let epoch_secs = utils::current_epoch_secs_u32();
[INFO] [stdout]   |                  ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_module_config (line 913) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/connections/stream_api.rs:921:74
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module_config_update = crate::protobufs::module_config::MqttConfig { ... };
[INFO] [stdout]    |                            -------------------------------------------   ^^^ expected identifier
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:914:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_tcp_stream` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:915:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = build_tcp_stream("localhost:4403".to_string())?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::stream::build_tcp_stream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_rand_id` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:918:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let config_id = generate_rand_id();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils::generate_rand_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/connections/stream_api.rs:921:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module_config_update = crate::protobufs::module_config::MqttConfig { ... };
[INFO] [stdout]    |                                   ^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module_config_update = crate::meshtastic::protobufs::module_config::MqttConfig { ... };
[INFO] [stdout]    |                                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use meshtastic::protobufs::module_config;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `module_config`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 - let module_config_update = crate::protobufs::module_config::MqttConfig { ... };
[INFO] [stdout] 10 + let module_config_update = module_config::MqttConfig { ... };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]   --> src/connections/stream_api.rs:922:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | stream_api.update_module_config(packet_router, module_config_update).await?;
[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/connections/stream_api.rs:916:70
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_913_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let (_decoded_listener, stream_api) = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:919:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_913_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/connections/stream_api.rs:922:70
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_913_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_module_config(packet_router, module_config_update).await?;
[INFO] [stdout]    |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:919:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_913_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut stream_api = stream_api.configure(config_id).await?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/connections/stream_api.rs:922:75
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_913_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | stream_api.update_module_config(packet_router, module_config_update).await?;
[INFO] [stdout]    |                                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_to_radio_packet (line 219) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/connections/stream_api.rs:221:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mesh_packet = protobufs::MeshPacket { ... };
[INFO] [stdout]   |                   ---------------------   ^^^ expected identifier
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/connections/stream_api.rs:221:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mesh_packet = protobufs::MeshPacket { ... };
[INFO] [stdout]   |                   ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::protobufs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/connections/stream_api.rs:222:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | let payload_variant = Some(protobufs::to_radio::PayloadVariant::Packet(mesh_packet));
[INFO] [stdout]   |                            ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::protobufs::admin_message::PayloadVariant;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::protobufs::config::PayloadVariant;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::protobufs::from_radio::PayloadVariant;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use meshtastic::protobufs::mesh_packet::PayloadVariant;
[INFO] [stdout]   |
[INFO] [stdout]     and 3 other candidates
[INFO] [stdout] help: if you import `PayloadVariant`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let payload_variant = Some(protobufs::to_radio::PayloadVariant::Packet(mesh_packet));
[INFO] [stdout] 5 + let payload_variant = Some(PayloadVariant::Packet(mesh_packet));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/connections/stream_api.rs:223:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_219_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 6 | self.send_to_radio_packet(payload_variant).await?;
[INFO] [stdout]   | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:223:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_219_0() {
[INFO] [stdout]   |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | self.send_to_radio_packet(payload_variant).await?;
[INFO] [stdout]   |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:223:49
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_219_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 6 | self.send_to_radio_packet(payload_variant).await?;
[INFO] [stdout]   |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0424, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils_internal.rs - utils_internal::strip_data_packet_header (line 304) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/utils_internal.rs:305:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let packet = protobufs::ToRadio { payload_variant };
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::protobufs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payload_variant` in this scope
[INFO] [stdout]  --> src/utils_internal.rs:305:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let packet = protobufs::ToRadio { payload_variant };
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:310:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | let packet_buf_with_header = utils::format_data_packet(packet_buf);
[INFO] [stdout]   |                              ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:311:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | let stripped_packet_buf = utils::strip_data_packet_header(packet_buf_with_header)?;
[INFO] [stdout]   |                           ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils_internal.rs - utils_internal::available_serial_ports (line 39) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:40:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial_ports = utils::available_serial_ports().unwrap();
[INFO] [stdout]   |                    ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_message_channel_config (line 1517) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/connections/stream_api.rs:1519:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ ... ]).await?;
[INFO] [stdout]   |                                                            ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ .. ]).await?;
[INFO] [stdout]   |                                                            ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ ..= ]).await?;
[INFO] [stdout]   |                                                            ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/connections/stream_api.rs:1519:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ ... ]).await?;
[INFO] [stdout]   |                                                            ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1518:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1519:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ ... ]).await?;
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `packet_router` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1519:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ ... ]).await?;
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/connections/stream_api.rs:1520:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[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/connections/stream_api.rs:1518:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1517_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1519:67
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1517_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ ... ]).await?;
[INFO] [stdout]   |                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/connections/stream_api.rs:1520:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1517_0() {
[INFO] [stdout]   |                                         -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1518:44
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1517_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout]   |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1519:72
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1517_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | stream_api.start_config_transaction().await?;
[INFO] [stdout] 4 | stream_api.set_message_channel_config(packet_router, vec![ ... ]).await?;
[INFO] [stdout]   |                                                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_api.rs:1520:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_api_rs_1517_0() {
[INFO] [stdout]   |                                      ------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 5 | stream_api.commit_config_transaction().await?;
[INFO] [stdout]   |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils_internal.rs - utils_internal::build_serial_stream (line 85) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/utils_internal.rs:88:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | let decoded_listener = stream_api.connect(serial_stream).await;
[INFO] [stdout]   |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/utils_internal.rs:92:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | let decoded_listener = stream_api.connect(serial_stream).await;
[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/utils_internal.rs:88:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_utils_internal_rs_85_0() {
[INFO] [stdout]   |                                         ---------------------------------------- this is not `async`
[INFO] [stdout] 4 | let serial_stream = utils::build_serial_stream("/dev/ttyUSB0".to_string(), None, None, None)?;
[INFO] [stdout] 5 | let decoded_listener = stream_api.connect(serial_stream).await;
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/utils_internal.rs:92:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_utils_internal_rs_85_0() {
[INFO] [stdout]   |                                         ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let decoded_listener = stream_api.connect(serial_stream).await;
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:87:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | let serial_stream = utils::build_serial_stream("/dev/ttyUSB0".to_string(), None, None, None)?;
[INFO] [stdout]   |                     ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:91:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | let serial_stream = utils::build_serial_stream("/dev/ttyUSB0".to_string(), Some(115_200), Some(true), Some(false))?;
[INFO] [stdout]   |                     ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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/connections/stream_api.rs - connections::stream_api::StreamApi::new (line 343) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamApi`
[INFO] [stdout]  --> src/connections/stream_api.rs:344:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_api = StreamApi::new();
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `StreamApi`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::api::StreamApi;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils_internal.rs - utils_internal::generate_rand_id (line 209) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:210:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let packet_id = utils::generate_rand_id::<u32>();
[INFO] [stdout]   |                 ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils_internal.rs - utils_internal::format_data_packet (line 254) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/utils_internal.rs:255:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let packet = protobufs::ToRadio { payload_variant };
[INFO] [stdout]   |              ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::protobufs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payload_variant` in this scope
[INFO] [stdout]  --> src/utils_internal.rs:255:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let packet = protobufs::ToRadio { payload_variant };
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:260:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | let packet_buf_with_header = utils::format_data_packet(packet_buf);
[INFO] [stdout]   |                              ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::utils;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/connections/stream_buffer.rs - connections::stream_buffer::StreamBuffer::process_incoming_bytes (line 64) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast`
[INFO] [stdout]  --> src/connections/stream_buffer.rs:65:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (rx, mut tx) = broadcast::channel::<protobufs::FromRadio>(32);
[INFO] [stdout]   |                    ^^^^^^^^^ use of undeclared crate or module `broadcast`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::sync::broadcast;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `protobufs`
[INFO] [stdout]  --> src/connections/stream_buffer.rs:65:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (rx, mut tx) = broadcast::channel::<protobufs::FromRadio>(32);
[INFO] [stdout]   |                                         ^^^^^^^^^ use of undeclared crate or module `protobufs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use meshtastic::protobufs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]  --> src/connections/stream_buffer.rs:68:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | while let Some(message) = stream.try_next().await? {
[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/connections/stream_buffer.rs:68:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_buffer_rs_64_0() {
[INFO] [stdout]   |                                         --------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | while let Some(message) = stream.try_next().await? {
[INFO] [stdout]   |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamBuffer`
[INFO] [stdout]  --> src/connections/stream_buffer.rs:66:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let buffer = StreamBuffer::new(tx);
[INFO] [stdout]   |              ^^^^^^^^^^^^ use of undeclared type `StreamBuffer`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/connections/stream_buffer.rs:68:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connections_stream_buffer_rs_64_0() {
[INFO] [stdout]   |                                      -------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 6 | while let Some(message) = stream.try_next().await? {
[INFO] [stdout]   |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils_internal.rs - utils_internal::build_tcp_stream (line 155) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/utils_internal.rs:158:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | let decoded_listener = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream_api` in this scope
[INFO] [stdout]  --> src/utils_internal.rs:162:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | let decoded_listener = stream_api.connect(tcp_stream).await;
[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/utils_internal.rs:158:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_utils_internal_rs_155_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] 4 | let tcp_stream = utils::build_serial_stream("192.168.0.1:4403")?;
[INFO] [stdout] 5 | let decoded_listener = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/utils_internal.rs:162:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_utils_internal_rs_155_0() {
[INFO] [stdout]   |                                         ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let decoded_listener = stream_api.connect(tcp_stream).await;
[INFO] [stdout]   |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:157:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tcp_stream = utils::build_serial_stream("192.168.0.1:4403")?;
[INFO] [stdout]   |                  ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils_internal.rs:161:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | let tcp_stream = utils::build_serial_stream("localhost:4403")?;
[INFO] [stdout]   |                  ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/connections/mod.rs - connections::PacketRouter::handle_mesh_packet (line 103)
[INFO] [stdout]     src/connections/mod.rs - connections::PacketRouter::handle_packet_from_radio (line 61)
[INFO] [stdout]     src/connections/mod.rs - connections::PacketRouter::source_node_id (line 145)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_mesh_packet (line 111)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_raw (line 261)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::send_to_radio_packet (line 219)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<State>::write_input_sender (line 311)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::commit_config_transaction (line 1211)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::disconnect (line 546)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_position (line 766)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_text (line 613)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::send_waypoint (line 685)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_local_config (line 1259)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_local_module_config (line 1374)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::set_message_channel_config (line 1517)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::start_config_transaction (line 1137)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_channel_config (line 987)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_config (line 839)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_module_config (line 913)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Configured>::update_user (line 1058)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::ConnectedStreamApi<state::Connected>::configure (line 483)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::StreamApi::connect (line 379)
[INFO] [stdout]     src/connections/stream_api.rs - connections::stream_api::StreamApi::new (line 343)
[INFO] [stdout]     src/connections/stream_buffer.rs - connections::stream_buffer::StreamBuffer::process_incoming_bytes (line 64)
[INFO] [stdout]     src/utils_internal.rs - utils_internal::available_serial_ports (line 39)
[INFO] [stdout]     src/utils_internal.rs - utils_internal::build_serial_stream (line 85)
[INFO] [stdout]     src/utils_internal.rs - utils_internal::build_tcp_stream (line 155)
[INFO] [stdout]     src/utils_internal.rs - utils_internal::current_epoch_secs_u32 (line 350)
[INFO] [stdout]     src/utils_internal.rs - utils_internal::format_data_packet (line 254)
[INFO] [stdout]     src/utils_internal.rs - utils_internal::generate_rand_id (line 209)
[INFO] [stdout]     src/utils_internal.rs - utils_internal::strip_data_packet_header (line 304)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 31 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a9804c81952a25b3f0853b91199a61fe44b800e17a7b5002c79234ae77eef840", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9804c81952a25b3f0853b91199a61fe44b800e17a7b5002c79234ae77eef840", kill_on_drop: false }`
[INFO] [stdout] a9804c81952a25b3f0853b91199a61fe44b800e17a7b5002c79234ae77eef840
