[INFO] fetching crate spotflow-rumqttc-fork 0.12.0... [INFO] testing spotflow-rumqttc-fork-0.12.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate spotflow-rumqttc-fork 0.12.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate spotflow-rumqttc-fork 0.12.0 [INFO] finished tweaking crates.io crate spotflow-rumqttc-fork 0.12.0 [INFO] tweaked toml for crates.io crate spotflow-rumqttc-fork 0.12.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spotflow-rumqttc-fork 0.12.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spotflow-rumqttc-fork 0.12.0 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a3110dd07c72e8e125368d3f54375192353d18d0bf4b652e54f75fe9b824a49 [INFO] running `Command { std: "docker" "start" "-a" "9a3110dd07c72e8e125368d3f54375192353d18d0bf4b652e54f75fe9b824a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a3110dd07c72e8e125368d3f54375192353d18d0bf4b652e54f75fe9b824a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3110dd07c72e8e125368d3f54375192353d18d0bf4b652e54f75fe9b824a49", kill_on_drop: false }` [INFO] [stdout] 9a3110dd07c72e8e125368d3f54375192353d18d0bf4b652e54f75fe9b824a49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31c9a0b61940911674a3315d14f6e4b6ea3338d7c1fd4dbfd660822b018968e5 [INFO] running `Command { std: "docker" "start" "-a" "31c9a0b61940911674a3315d14f6e4b6ea3338d7c1fd4dbfd660822b018968e5", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling spotflow-rumqttc-fork v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 363 | pub fn iter(&mut self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.76s [INFO] running `Command { std: "docker" "inspect" "31c9a0b61940911674a3315d14f6e4b6ea3338d7c1fd4dbfd660822b018968e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c9a0b61940911674a3315d14f6e4b6ea3338d7c1fd4dbfd660822b018968e5", kill_on_drop: false }` [INFO] [stdout] 31c9a0b61940911674a3315d14f6e4b6ea3338d7c1fd4dbfd660822b018968e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3216c16ecf29fea1e475777879676f62e1d1ad2a5777d8c7b84ec1515480e272 [INFO] running `Command { std: "docker" "start" "-a" "3216c16ecf29fea1e475777879676f62e1d1ad2a5777d8c7b84ec1515480e272", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 363 | pub fn iter(&mut self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling color-backtrace v0.4.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling spotflow-rumqttc-fork v0.12.0 (/opt/rustwide/workdir) [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/broker.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rumqttc::{Event, Incoming, Outgoing, 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[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/asyncpubsub.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ no external crate `rumqttc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/syncpubsub.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::{self, Client, LastWill, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ no external crate `rumqttc` [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[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / client [INFO] [stdout] 29 | | .subscribe("hello/world", QoS::AtMostOnce) [INFO] [stdout] 30 | | .await [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] --> 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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::{Event, Incoming, Outgoing, 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/asyncpubsub.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / client [INFO] [stdout] 35 | | .publish("hello/world", QoS::ExactlyOnce, false, vec![1; i]) [INFO] [stdout] 36 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnAck` [INFO] [stdout] --> tests/broker.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | 0 => ConnAck::new(ConnectReturnCode::Success, false), [INFO] [stdout] | ^^^^^^^ use of undeclared type `ConnAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::ConnAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectReturnCode` [INFO] [stdout] --> tests/broker.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | 0 => ConnAck::new(ConnectReturnCode::Success, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ConnectReturnCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::ConnectReturnCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnAck` [INFO] [stdout] --> tests/broker.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | 1 => ConnAck::new(ConnectReturnCode::BadUserNamePassword, false), [INFO] [stdout] | ^^^^^^^ use of undeclared type `ConnAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::ConnAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectReturnCode` [INFO] [stdout] --> tests/broker.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | 1 => ConnAck::new(ConnectReturnCode::BadUserNamePassword, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ConnectReturnCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::ConnectReturnCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Publish` in this scope [INFO] [stdout] --> tests/broker.rs:65:52 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn read_publish(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PubAck` [INFO] [stdout] --> tests/broker.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | let packet = Packet::PubAck(PubAck::new(pkid)); [INFO] [stdout] | ^^^^^^ use of undeclared type `PubAck` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::PubAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QoS` in this scope [INFO] [stdout] --> tests/broker.rs:125:61 [INFO] [stdout] | [INFO] [stdout] 125 | 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 this enum [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish` [INFO] [stdout] --> tests/broker.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | let mut publish = Publish::new(topic, qos, payload); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Publish` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnAck` in this scope [INFO] [stdout] --> tests/broker.rs:216:46 [INFO] [stdout] | [INFO] [stdout] 216 | pub async fn connack(&mut self, connack: ConnAck) -> io::Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::ConnAck; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in this scope [INFO] [stdout] --> tests/broker.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | match read(&mut self.read, self.max_incoming_size) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 232 | match self.read(&mut self.read, self.max_incoming_size) { [INFO] [stdout] | +++++ [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] 1 + use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::read; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/broker.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | 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 12 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/broker.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | 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 12 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let event = eventloop.poll().await; [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/asyncpubsub.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let event = eventloop.poll().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | println!("{:?}", event.unwrap()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `event` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let event: /* Type */ = eventloop.poll().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> tests/broker.rs:252:67 [INFO] [stdout] | [INFO] [stdout] 252 | 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 12 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PingReq` in this scope [INFO] [stdout] --> tests/broker.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | 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 spotflow_rumqttc_fork::Outgoing::PingReq; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::Packet::PingReq; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::PacketType::PingReq; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::PingReq; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PingResp` in this scope [INFO] [stdout] --> tests/broker.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | 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 spotflow_rumqttc_fork::Outgoing::PingResp; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::Packet::PingResp; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::PacketType::PingResp; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::PingResp; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Disconnect` in this scope [INFO] [stdout] --> tests/broker.rs:270:30 [INFO] [stdout] | [INFO] [stdout] 270 | 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 spotflow_rumqttc_fork::Disconnect; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::Outgoing::Disconnect; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::Packet::Disconnect; [INFO] [stdout] | [INFO] [stdout] 1 + use spotflow_rumqttc_fork::PacketType::Disconnect; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/syncpubsub.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | for (i, notification) in connection.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/tls.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use rumqttc::{self, AsyncClient, Event, Incoming, MqttOptions, Transport}; [INFO] [stdout] | ^^^^ no external crate `rumqttc` [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/tls.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | match eventloop.poll().await { [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/tls2.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use rumqttc::{self, AsyncClient, Key, MqttOptions, TlsConfiguration, Transport}; [INFO] [stdout] | ^^^^ no external crate `rumqttc` [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] 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 `spotflow-rumqttc-fork` (example "tls") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `spotflow-rumqttc-fork` (example "asyncpubsub") due to 5 previous errors [INFO] [stderr] error: could not compile `spotflow-rumqttc-fork` (example "syncpubsub") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tls2.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | 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[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | self.framed.write(Packet::PingResp).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spotflow-rumqttc-fork` (example "tls2") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | 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:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumqttc` [INFO] [stdout] --> examples/async_manual_acks.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, Event, EventLoop, Incoming, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ no external crate `rumqttc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | tx.send(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / client [INFO] [stdout] 68 | | .publish("hello/world", QoS::AtLeastOnce, false, vec![1; i]) [INFO] [stdout] 69 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_manual_acks.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / client [INFO] [stdout] 26 | | .subscribe("hello/world", QoS::AtLeastOnce) [INFO] [stdout] 27 | | .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:9 [INFO] [stdout] | [INFO] [stdout] 33 | 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.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | 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[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | 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:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | 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:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | packet.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spotflow-rumqttc-fork` (example "async_manual_acks") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:220:77 [INFO] [stdout] | [INFO] [stdout] 220 | 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:246:81 [INFO] [stdout] | [INFO] [stdout] 246 | 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:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | self.framed.write(Packet::PingResp).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | self.framed.write(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spotflow-rumqttc-fork` (test "broker") due to 28 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | 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:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | tx.send(packet).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | 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:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | 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:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | packet.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/broker.rs:220:77 [INFO] [stdout] | [INFO] [stdout] 220 | 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:246:81 [INFO] [stdout] | [INFO] [stdout] 246 | 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:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | 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:9 [INFO] [stdout] | [INFO] [stdout] 136 | 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:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | 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:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | 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:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let packet = broker.read_publish().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | 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] 252 | 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:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | 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:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | 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:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | 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:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | 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:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | 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:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | 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:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | 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:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | 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:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | 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:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let packet = broker.read_publish().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 318 | 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] 317 | 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:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let packet = broker.read_publish().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 331 | 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] 330 | 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:344:15 [INFO] [stdout] | [INFO] [stdout] 344 | 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:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | 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:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | 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:464:22 [INFO] [stdout] | [INFO] [stdout] 464 | 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:478:22 [INFO] [stdout] | [INFO] [stdout] 478 | 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:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | 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:506:22 [INFO] [stdout] | [INFO] [stdout] 506 | 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:22 [INFO] [stdout] | [INFO] [stdout] 513 | let packet = broker.read_publish().await.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 `spotflow-rumqttc-fork` (test "reliability") due to 37 previous errors [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn iter(&mut self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 363 | pub fn iter(&mut self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3216c16ecf29fea1e475777879676f62e1d1ad2a5777d8c7b84ec1515480e272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3216c16ecf29fea1e475777879676f62e1d1ad2a5777d8c7b84ec1515480e272", kill_on_drop: false }` [INFO] [stdout] 3216c16ecf29fea1e475777879676f62e1d1ad2a5777d8c7b84ec1515480e272