[INFO] fetching crate rumqttc-dev-patched 0.24.6-ack-notify... [INFO] building rumqttc-dev-patched-0.24.6-ack-notify against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rumqttc-dev-patched 0.24.6-ack-notify into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rumqttc-dev-patched 0.24.6-ack-notify [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rumqttc-dev-patched 0.24.6-ack-notify [INFO] tweaked toml for crates.io crate rumqttc-dev-patched 0.24.6-ack-notify written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rumqttc-dev-patched 0.24.6-ack-notify on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rumqttc-dev-patched 0.24.6-ack-notify 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.21 [INFO] [stderr] Downloaded windows-targets v0.52.3 [INFO] [stderr] Downloaded ws_stream_tungstenite v0.14.0 [INFO] [stderr] Downloaded color-backtrace v0.6.1 [INFO] [stderr] Downloaded async-http-proxy v1.2.5 [INFO] [stderr] Downloaded pretty_env_logger v0.5.0 [INFO] [stderr] Downloaded cmake v0.1.51 [INFO] [stderr] Downloaded async-tungstenite v0.28.0 [INFO] [stderr] Downloaded hermit-abi v0.3.8 [INFO] [stderr] Downloaded proc-macro2 v1.0.91 [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] [stderr] Downloaded http v1.0.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.3 [INFO] [stderr] Downloaded security-framework v3.0.1 [INFO] [stderr] Downloaded aws-lc-rs v1.9.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.3 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.3 [INFO] [stderr] Downloaded aws-lc-sys v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03c28da4bc8830b3c1f2a8014ce13b4fa47d46e44ef48f59c7c82106e651f4b8 [INFO] running `Command { std: "docker" "start" "-a" "03c28da4bc8830b3c1f2a8014ce13b4fa47d46e44ef48f59c7c82106e651f4b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03c28da4bc8830b3c1f2a8014ce13b4fa47d46e44ef48f59c7c82106e651f4b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03c28da4bc8830b3c1f2a8014ce13b4fa47d46e44ef48f59c7c82106e651f4b8", kill_on_drop: false }` [INFO] [stdout] 03c28da4bc8830b3c1f2a8014ce13b4fa47d46e44ef48f59c7c82106e651f4b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71a747c45382e1accb2bfc0dcfa084b43d28371564dbb596828d6f658952ac94 [INFO] running `Command { std: "docker" "start" "-a" "71a747c45382e1accb2bfc0dcfa084b43d28371564dbb596828d6f658952ac94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling aws-lc-rs v1.9.0 [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rustls v0.23.17 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v2.0.8 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling aws-lc-sys v0.21.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.8 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling rumqttc-dev-patched v0.24.6-ack-notify (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.09s [INFO] running `Command { std: "docker" "inspect" "71a747c45382e1accb2bfc0dcfa084b43d28371564dbb596828d6f658952ac94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a747c45382e1accb2bfc0dcfa084b43d28371564dbb596828d6f658952ac94", kill_on_drop: false }` [INFO] [stdout] 71a747c45382e1accb2bfc0dcfa084b43d28371564dbb596828d6f658952ac94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da6173c84fb50d15f9da85622d438b30e38927b9d191ad2b1cf5a1ca61c3a3e3 [INFO] running `Command { std: "docker" "start" "-a" "da6173c84fb50d15f9da85622d438b30e38927b9d191ad2b1cf5a1ca61c3a3e3", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling rustls v0.23.17 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling rumqttc-dev-patched v0.24.6-ack-notify (/opt/rustwide/workdir) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling color-backtrace v0.6.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/subscription_ids.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::v5::mqttbytes::v5::SubscribeProperties; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/subscription_ids.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rumqttc::v5::mqttbytes::QoS; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/subscription_ids.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rumqttc::v5::{AsyncClient, MqttOptions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/subscription_ids.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/subscription_ids.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/subscription_ids.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/asyncpubsub_v5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::v5::mqttbytes::QoS; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/asyncpubsub_v5.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rumqttc::v5::{AsyncClient, MqttOptions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/subscription_ids.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | client.unsubscribe("hello/#").await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/subscription_ids.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | client.subscribe("hello/#", QoS::AtMostOnce).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/subscription_ids.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/subscription_ids.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | while let Ok(event) = eventloop.poll().await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/async_manual_acks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{AsyncClient, Event, EventLoop, Incoming, MqttOptions, QoS}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/syncrecv_v5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::v5::mqttbytes::{v5::LastWill, QoS}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "subscription_ids") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/syncrecv_v5.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rumqttc::v5::{Client, MqttOptions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub_v5.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/ack_promise_sync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rumqttc::{Client, MqttOptions, QoS, TokenError}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise_sync.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | for event in conn.iter() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/syncrecv_v5.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | if let Ok(notification) = connection.recv() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub_v5.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise_sync.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .subscribe("hello/world", QoS::AtMostOnce) [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub_v5.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let event = eventloop.poll().await; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/asyncpubsub.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{AsyncClient, MqttOptions, QoS}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let event = eventloop.poll().await; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/async_manual_acks_v5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::v5::mqttbytes::v5::Packet; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "asyncpubsub_v5") due to 5 previous errors [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "syncrecv_v5") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/async_manual_acks_v5.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rumqttc::v5::mqttbytes::QoS; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/async_manual_acks_v5.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rumqttc::v5::{AsyncClient, Event, EventLoop, MqttOptions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> tests/broker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::mqttbytes::v4::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> tests/broker.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rumqttc::mqttbytes::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/tls2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rumqttc::{AsyncClient, MqttOptions, TlsConfiguration, Transport}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/topic_alias.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::v5::mqttbytes::{v5::PublishProperties, QoS}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/topic_alias.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rumqttc::v5::{AsyncClient, MqttOptions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "asyncpubsub") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tls2.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | match eventloop.poll().await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | client.disconnect().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/syncpubsub_v5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::v5::mqttbytes::{v5::LastWill, QoS}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> examples/syncpubsub_v5.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rumqttc::v5::{Client, ConnectionError, MqttOptions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | c.ack(&publish).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> tests/broker.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rumqttc::{Incoming, Packet}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/topic_alias.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/topic_alias.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/syncpubsub_v5.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | for (i, notification) in connection.iter().enumerate() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "tls2") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/topic_alias.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "async_manual_acks") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/topic_alias.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "topic_alias") due to 8 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/topic_alias.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "syncpubsub_v5") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/topic_alias.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | while let Ok(event) = eventloop.poll().await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "syncrecv") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/tls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rumqttc::{AsyncClient, Event, Incoming, MqttOptions, Transport}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/syncrecv.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::{Client, LastWill, MqttOptions, QoS}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/syncrecv.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | if let Ok(notification) = connection.recv() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tls.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | match eventloop.poll().await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnAck` [INFO] [stdout] --> tests/broker.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | 0 => ConnAck::new( [INFO] [stdout] | ^^^^^^^ use of undeclared type `ConnAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::ConnAck; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::ConnAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectReturnCode` [INFO] [stdout] --> tests/broker.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | ConnectReturnCode::Success, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ConnectReturnCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::ConnectReturnCode; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::ConnectReturnCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnAck` [INFO] [stdout] --> tests/broker.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | 1 => ConnAck::new(ConnectReturnCode::BadUserNamePassword, false), [INFO] [stdout] | ^^^^^^^ use of undeclared type `ConnAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::ConnAck; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::ConnAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectReturnCode` [INFO] [stdout] --> tests/broker.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | 1 => ConnAck::new(ConnectReturnCode::BadUserNamePassword, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ConnectReturnCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::ConnectReturnCode; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::ConnectReturnCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Publish` in this scope [INFO] [stdout] --> tests/broker.rs:98:52 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn read_publish(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Publish; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "tls") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PubAck` [INFO] [stdout] --> tests/broker.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | let packet = Packet::PubAck(PubAck::new(pkid)); [INFO] [stdout] | ^^^^^^ use of undeclared type `PubAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::PubAck; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::PubAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PubRec` [INFO] [stdout] --> tests/broker.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | let packet = Packet::PubRec(PubRec::new(pkid)); [INFO] [stdout] | ^^^^^^ use of undeclared type `PubRec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::PubRec; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::PubRec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PubComp` [INFO] [stdout] --> tests/broker.rs:163:38 [INFO] [stdout] | [INFO] [stdout] 163 | let packet = Packet::PubComp(PubComp::new(pkid)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PubComp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::PubComp; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::PubComp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QoS` in this scope [INFO] [stdout] --> tests/broker.rs:168:52 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn suback(&mut self, pkid: u16, qos: QoS) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::QoS; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubAck` [INFO] [stdout] --> tests/broker.rs:169:37 [INFO] [stdout] | [INFO] [stdout] 169 | let packet = Packet::SubAck(SubAck::new(pkid, vec![SubscribeReasonCode::Success(qos)])); [INFO] [stdout] | ^^^^^^ use of undeclared type `SubAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::SubAck; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::SubAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubscribeReasonCode` [INFO] [stdout] --> tests/broker.rs:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | let packet = Packet::SubAck(SubAck::new(pkid, vec![SubscribeReasonCode::Success(qos)])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SubscribeReasonCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::SubscribeReasonCode; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::SubscribeReasonCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnsubAck` [INFO] [stdout] --> tests/broker.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | let packet = Packet::UnsubAck(UnsubAck::new(pkid)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UnsubAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::UnsubAck; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::UnsubAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QoS` in this scope [INFO] [stdout] --> tests/broker.rs:185:61 [INFO] [stdout] | [INFO] [stdout] 185 | pub async fn spawn_publishes(&mut self, count: u8, qos: QoS, delay: u64) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::QoS; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish` [INFO] [stdout] --> tests/broker.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | let mut publish = Publish::new(topic, qos, payload); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Publish` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Publish; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnAck` in this scope [INFO] [stdout] --> tests/broker.rs:276:46 [INFO] [stdout] | [INFO] [stdout] 276 | pub async fn connack(&mut self, connack: ConnAck) -> io::Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::ConnAck; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::v5::mqttbytes::v5::ConnAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/broker.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | Err(Error::InsufficientBytes(_)) if count > 0 => return Ok(()), [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::time::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/broker.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | Err(Error::InsufficientBytes(required)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::time::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> tests/broker.rs:312:67 [INFO] [stdout] | [INFO] [stdout] 312 | async fn write(&mut self, packet: Packet) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::time::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PingReq` in this scope [INFO] [stdout] --> tests/broker.rs:318:30 [INFO] [stdout] | [INFO] [stdout] 318 | let packet = PingReq; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Outgoing::PingReq; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Outgoing::PingReq; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Packet::PingReq; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::PacketType::PingReq; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PingResp` in this scope [INFO] [stdout] --> tests/broker.rs:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | let packet = PingResp; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Outgoing::PingResp; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Outgoing::PingResp; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Packet::PingResp; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::PacketType::PingResp; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Disconnect` in this scope [INFO] [stdout] --> tests/broker.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | let packet = Disconnect; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Outgoing::Disconnect; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Disconnect; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Outgoing::Disconnect; [INFO] [stdout] | [INFO] [stdout] 1 + use rumqttc_dev_patched::Packet::Disconnect; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/ack_promise.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{AsyncClient, MqttOptions, QoS}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | let event = eventloop.poll().await; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | .subscribe("hello/world", QoS::AtMostOnce) [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "ack_promise_sync") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:118:63 [INFO] [stdout] | [INFO] [stdout] 118 | self.framed.write(Packet::PingResp).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:164:41 [INFO] [stdout] | [INFO] [stdout] 164 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ack_promise.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | match client.unsubscribe("hello/world").await.unwrap().await { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:199:45 [INFO] [stdout] | [INFO] [stdout] 199 | tx.send_async(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks_v5.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:209:39 [INFO] [stdout] | [INFO] [stdout] 209 | let request = request.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:210:65 [INFO] [stdout] | [INFO] [stdout] 210 | let outgoing = self.framed.write(request).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | packet.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "ack_promise") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks_v5.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks_v5.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | client.disconnect().await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks_v5.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | c.ack(&publish).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:280:79 [INFO] [stdout] | [INFO] [stdout] 280 | Err(e) => return Err(io::Error::new(io::ErrorKind::InvalidData, e.to_string())), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:306:83 [INFO] [stdout] | [INFO] [stdout] 306 | Err(e) => return Err(io::Error::new(io::ErrorKind::InvalidData, e.to_string())), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (example "async_manual_acks_v5") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> tests/broker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::mqttbytes::v4::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] --> tests/broker.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rumqttc::mqttbytes::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> tests/reliability.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rumqttc::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> tests/broker.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rumqttc::{Incoming, Packet}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rumqttc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rumqttc`, use `cargo add rumqttc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (test "broker") due to 37 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:118:63 [INFO] [stdout] | [INFO] [stdout] 118 | self.framed.write(Packet::PingResp).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:164:41 [INFO] [stdout] | [INFO] [stdout] 164 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:199:45 [INFO] [stdout] | [INFO] [stdout] 199 | tx.send_async(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:209:39 [INFO] [stdout] | [INFO] [stdout] 209 | let request = request.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:210:65 [INFO] [stdout] | [INFO] [stdout] 210 | let outgoing = self.framed.write(request).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | packet.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:280:79 [INFO] [stdout] | [INFO] [stdout] 280 | Err(e) => return Err(io::Error::new(io::ErrorKind::InvalidData, e.to_string())), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:306:83 [INFO] [stdout] | [INFO] [stdout] 306 | Err(e) => return Err(io::Error::new(io::ErrorKind::InvalidData, e.to_string())), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | run(&mut eventloop, false).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:136:49 [INFO] [stdout] | [INFO] [stdout] 136 | let packet = broker.read_packet().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:172:42 [INFO] [stdout] | [INFO] [stdout] 172 | run(&mut eventloop, false).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 207 | run(&mut eventloop, false).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:282:42 [INFO] [stdout] | [INFO] [stdout] 282 | run(&mut eventloop, false).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let packet = broker.read_publish().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | assert!(packet.is_none()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `packet` an explicit type [INFO] [stdout] | [INFO] [stdout] 287 | let packet: /* Type */ = broker.read_publish().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:309:41 [INFO] [stdout] | [INFO] [stdout] 309 | run(&mut eventloop, true).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:315:41 [INFO] [stdout] | [INFO] [stdout] 315 | assert!(broker.read_publish().await.is_some()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:316:41 [INFO] [stdout] | [INFO] [stdout] 316 | assert!(broker.read_publish().await.is_some()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:317:41 [INFO] [stdout] | [INFO] [stdout] 317 | assert!(broker.read_publish().await.is_some()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:320:41 [INFO] [stdout] | [INFO] [stdout] 320 | assert!(broker.read_publish().await.is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:324:41 [INFO] [stdout] | [INFO] [stdout] 324 | assert!(broker.read_publish().await.is_some()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:325:41 [INFO] [stdout] | [INFO] [stdout] 325 | assert!(broker.read_publish().await.is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | assert!(broker.read_publish().await.is_some()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | assert!(broker.read_publish().await.is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | let packet = broker.read_publish().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 352 | assert_eq!(packet.unwrap().payload[0], i); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `packet` an explicit type [INFO] [stdout] | [INFO] [stdout] 351 | let packet: /* Type */ = broker.read_publish().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | let packet = broker.read_publish().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 365 | let packet = packet.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `packet` an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let packet: /* Type */ = broker.read_publish().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | match eventloop.poll().await.unwrap() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:378:38 [INFO] [stdout] | [INFO] [stdout] 378 | match eventloop.poll().await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:389:44 [INFO] [stdout] | [INFO] [stdout] 389 | let event = eventloop.poll().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:493:41 [INFO] [stdout] | [INFO] [stdout] 493 | run(&mut eventloop, true).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:499:50 [INFO] [stdout] | [INFO] [stdout] 499 | let packet = broker.read_publish().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:513:50 [INFO] [stdout] | [INFO] [stdout] 513 | let packet = broker.read_publish().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:536:41 [INFO] [stdout] | [INFO] [stdout] 536 | run(&mut eventloop, true).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:542:50 [INFO] [stdout] | [INFO] [stdout] 542 | let packet = broker.read_publish().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:549:50 [INFO] [stdout] | [INFO] [stdout] 549 | let packet = broker.read_publish().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | eventloop.set_network_options(network_options); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:570:44 [INFO] [stdout] | [INFO] [stdout] 570 | while (broker.read_packet().await).is_some() { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:615:10 [INFO] [stdout] | [INFO] [stdout] 615 | .publish("hello/world", QoS::AtMostOnce, false, [1; 1]) [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:617:10 [INFO] [stdout] | [INFO] [stdout] 617 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:636:37 [INFO] [stdout] | [INFO] [stdout] 636 | }) = broker.read_packet().await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:669:10 [INFO] [stdout] | [INFO] [stdout] 669 | .publish("hello/world", QoS::AtLeastOnce, false, [1; 1]) [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:671:10 [INFO] [stdout] | [INFO] [stdout] 671 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:676:10 [INFO] [stdout] | [INFO] [stdout] 676 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:684:37 [INFO] [stdout] | [INFO] [stdout] 684 | }) = broker.read_packet().await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:696:10 [INFO] [stdout] | [INFO] [stdout] 696 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:705:14 [INFO] [stdout] | [INFO] [stdout] 705 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:734:10 [INFO] [stdout] | [INFO] [stdout] 734 | .publish("hello/world", QoS::ExactlyOnce, false, [1; 1]) [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:736:10 [INFO] [stdout] | [INFO] [stdout] 736 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:741:10 [INFO] [stdout] | [INFO] [stdout] 741 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:749:37 [INFO] [stdout] | [INFO] [stdout] 749 | }) = broker.read_packet().await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:761:10 [INFO] [stdout] | [INFO] [stdout] 761 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:769:10 [INFO] [stdout] | [INFO] [stdout] 769 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:778:14 [INFO] [stdout] | [INFO] [stdout] 778 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:807:10 [INFO] [stdout] | [INFO] [stdout] 807 | .subscribe("hello/world", QoS::AtLeastOnce) [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:809:10 [INFO] [stdout] | [INFO] [stdout] 809 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:814:10 [INFO] [stdout] | [INFO] [stdout] 814 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:816:89 [INFO] [stdout] | [INFO] [stdout] 816 | let Packet::Subscribe(Subscribe { pkid, filters, .. }) = broker.read_packet().await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:832:10 [INFO] [stdout] | [INFO] [stdout] 832 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:841:14 [INFO] [stdout] | [INFO] [stdout] 841 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:870:28 [INFO] [stdout] | [INFO] [stdout] 870 | let mut token = client.unsubscribe("hello/world").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:870:61 [INFO] [stdout] | [INFO] [stdout] 870 | let mut token = client.unsubscribe("hello/world").await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:875:10 [INFO] [stdout] | [INFO] [stdout] 875 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:877:92 [INFO] [stdout] | [INFO] [stdout] 877 | let Packet::Unsubscribe(Unsubscribe { topics, pkid, .. }) = broker.read_packet().await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:887:10 [INFO] [stdout] | [INFO] [stdout] 887 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/reliability.rs:896:14 [INFO] [stdout] | [INFO] [stdout] 896 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rumqttc-dev-patched` (test "reliability") due to 74 previous errors [INFO] running `Command { std: "docker" "inspect" "da6173c84fb50d15f9da85622d438b30e38927b9d191ad2b1cf5a1ca61c3a3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da6173c84fb50d15f9da85622d438b30e38927b9d191ad2b1cf5a1ca61c3a3e3", kill_on_drop: false }` [INFO] [stdout] da6173c84fb50d15f9da85622d438b30e38927b9d191ad2b1cf5a1ca61c3a3e3