[INFO] crate rumq-broker 0.1.0-alpha.4 is already in cache [INFO] checking rumq-broker-0.1.0-alpha.4 against master#212aa3ea28d91a97d1e1261709c0b6e6790788e6 for pr-69340 [INFO] extracting crate rumq-broker 0.1.0-alpha.4 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rumq-broker 0.1.0-alpha.4 on toolchain 212aa3ea28d91a97d1e1261709c0b6e6790788e6 [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rumq-broker 0.1.0-alpha.4 [INFO] finished tweaking crates.io crate rumq-broker 0.1.0-alpha.4 [INFO] tweaked toml for crates.io crate rumq-broker 0.1.0-alpha.4 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 08b66a361683e1c5eaef56e3cd916d5c996d1b73896d93cafcfad1fef0f529dd [INFO] running `"docker" "start" "-a" "08b66a361683e1c5eaef56e3cd916d5c996d1b73896d93cafcfad1fef0f529dd"` [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-rustls v0.12.2 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking rumq-core v0.1.0-alpha.5 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking rumq-broker v0.1.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::connack`, `rumq_core::Packet`, `rumq_core::Connect`, `rumq_core::ConnectReturnCode` [INFO] [stderr] --> src/connection.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use rumq_core::{connack, Packet, Connect, ConnectReturnCode}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ no `ConnectReturnCode` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `Connect` in the root [INFO] [stderr] | | no `Packet` in the root [INFO] [stderr] | no `connack` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::Packet`, `rumq_core::QoS` [INFO] [stderr] --> src/httppush.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use rumq_core::{Packet, QoS}; [INFO] [stderr] | ^^^^^^ ^^^ no `QoS` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Packet` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rumq_core::Packet` [INFO] [stderr] --> src/httpserver.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rumq_core::Packet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Packet` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::connack`, `rumq_core::Packet`, `rumq_core::Connect`, `rumq_core::ConnectReturnCode` [INFO] [stderr] --> src/connection.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use rumq_core::{connack, Packet, Connect, ConnectReturnCode}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ no `ConnectReturnCode` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `Connect` in the root [INFO] [stderr] | | no `Packet` in the root [INFO] [stderr] | no `connack` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::Packet`, `rumq_core::QoS` [INFO] [stderr] --> src/httppush.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use rumq_core::{Packet, QoS}; [INFO] [stderr] | ^^^^^^ ^^^ no `QoS` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Packet` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rumq_core::Packet` [INFO] [stderr] --> src/httpserver.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rumq_core::Packet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Packet` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::has_wildcards`, `rumq_core::matches`, `rumq_core::QoS`, `rumq_core::Packet`, `rumq_core::Connect`, `rumq_core::Publish`, `rumq_core::Subscribe`, `rumq_core::Unsubscribe` [INFO] [stderr] --> src/router.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use rumq_core::{has_wildcards, matches, QoS, Packet, Connect, Publish, Subscribe, Unsubscribe}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ no `Unsubscribe` in the root [INFO] [stderr] | | | | | | | | [INFO] [stderr] | | | | | | | no `Subscribe` in the root [INFO] [stderr] | | | | | | no `Publish` in the root [INFO] [stderr] | | | | | no `Connect` in the root [INFO] [stderr] | | | | no `Packet` in the root [INFO] [stderr] | | | no `QoS` in the root [INFO] [stderr] | | no `matches` in the root [INFO] [stderr] | no `has_wildcards` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::MqttRead`, `rumq_core::MqttWrite`, `rumq_core::Packet` [INFO] [stderr] --> src/codec.rs:3:30 [INFO] [stderr] | [INFO] [stderr] 3 | use rumq_core::{self, Error, MqttRead, MqttWrite, Packet}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^ no `Packet` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `MqttWrite` in the root [INFO] [stderr] | no `MqttRead` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::has_wildcards`, `rumq_core::matches`, `rumq_core::QoS`, `rumq_core::Packet`, `rumq_core::Connect`, `rumq_core::Publish`, `rumq_core::Subscribe`, `rumq_core::Unsubscribe` [INFO] [stderr] --> src/router.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use rumq_core::{has_wildcards, matches, QoS, Packet, Connect, Publish, Subscribe, Unsubscribe}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ no `Unsubscribe` in the root [INFO] [stderr] | | | | | | | | [INFO] [stderr] | | | | | | | no `Subscribe` in the root [INFO] [stderr] | | | | | | no `Publish` in the root [INFO] [stderr] | | | | | no `Connect` in the root [INFO] [stderr] | | | | no `Packet` in the root [INFO] [stderr] | | | no `QoS` in the root [INFO] [stderr] | | no `matches` in the root [INFO] [stderr] | no `has_wildcards` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rumq_core::MqttRead`, `rumq_core::MqttWrite`, `rumq_core::Packet` [INFO] [stderr] --> src/codec.rs:3:30 [INFO] [stderr] | [INFO] [stderr] 3 | use rumq_core::{self, Error, MqttRead, MqttWrite, Packet}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^ no `Packet` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `MqttWrite` in the root [INFO] [stderr] | no `MqttRead` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `QoS` in `rumq_core` [INFO] [stderr] --> src/httpserver.rs:29:71 [INFO] [stderr] | [INFO] [stderr] 29 | let publish = rumq_core::publish(path, rumq_core::QoS::AtMostOnce, body_bytes.to_vec()); [INFO] [stderr] | ^^^ could not find `QoS` in `rumq_core` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `QoS` in `rumq_core` [INFO] [stderr] --> src/httpserver.rs:29:71 [INFO] [stderr] | [INFO] [stderr] 29 | let publish = rumq_core::publish(path, rumq_core::QoS::AtMostOnce, body_bytes.to_vec()); [INFO] [stderr] | ^^^ could not find `QoS` in `rumq_core` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | Packet::Publish(publish) => self.handle_incoming_publish(publish.clone()), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | Packet::Puback(pkid) => self.handle_incoming_puback(pkid), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | Packet::Subscribe(subscribe) => self.handle_incoming_subscribe(subscribe), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | Packet::Unsubscribe(unsubscribe) => self.handle_incoming_unsubscribe(unsubscribe), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | Packet::Disconnect => Ok(None), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | QoS::AtMostOnce => publish, [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | QoS::AtLeastOnce | QoS::ExactlyOnce => self.add_packet_id_and_save(publish), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:91:32 [INFO] [stderr] | [INFO] [stderr] 91 | QoS::AtLeastOnce | QoS::ExactlyOnce => self.add_packet_id_and_save(publish), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | Packet::Publish(publish) => self.handle_incoming_publish(publish.clone()), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | Packet::Publish(publish) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | Packet::Puback(pkid) => self.handle_incoming_puback(pkid), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | Packet::Subscribe(subscribe) => self.handle_incoming_subscribe(subscribe), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | QoS::AtMostOnce => Ok(None), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | Packet::Unsubscribe(unsubscribe) => self.handle_incoming_unsubscribe(unsubscribe), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | QoS::AtLeastOnce => { [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | Packet::Disconnect => Ok(None), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:124:30 [INFO] [stderr] | [INFO] [stderr] 124 | let packet = Packet::Puback(pkid); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | QoS::ExactlyOnce => Err(Error::UnsupportedQoS), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | QoS::AtMostOnce => publish, [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:143:44 [INFO] [stderr] | [INFO] [stderr] 143 | None => Err(Error::Unsolicited(Packet::Puback(pkid))), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | QoS::AtLeastOnce | QoS::ExactlyOnce => self.add_packet_id_and_save(publish), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:91:32 [INFO] [stderr] | [INFO] [stderr] 91 | QoS::AtLeastOnce | QoS::ExactlyOnce => self.add_packet_id_and_save(publish), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | Packet::Publish(publish) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | QoS::AtMostOnce => Ok(None), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | QoS::AtMostOnce | QoS::AtLeastOnce => qos, [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:157:35 [INFO] [stderr] | [INFO] [stderr] 157 | QoS::AtMostOnce | QoS::AtLeastOnce => qos, [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | QoS::ExactlyOnce => { [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:159:33 [INFO] [stderr] | [INFO] [stderr] 159 | topic.qos = QoS::AtLeastOnce; [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | QoS::AtLeastOnce => { [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:161:21 [INFO] [stderr] | [INFO] [stderr] 161 | QoS::AtLeastOnce [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:124:30 [INFO] [stderr] | [INFO] [stderr] 124 | let packet = Packet::Puback(pkid); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | QoS::ExactlyOnce => Err(Error::UnsupportedQoS), [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] --> src/state.rs:166:49 [INFO] [stderr] | [INFO] [stderr] 166 | let code = if valid_filter(topic) { SubscribeReturnCodes::Success(qos) } else { SubscribeReturnCodes::Failure }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] --> src/state.rs:166:93 [INFO] [stderr] | [INFO] [stderr] 166 | let code = if valid_filter(topic) { SubscribeReturnCodes::Success(qos) } else { SubscribeReturnCodes::Failure }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] --> src/state.rs:169:20 [INFO] [stderr] | [INFO] [stderr] 169 | if let SubscribeReturnCodes::Success(qos) = code { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:176:22 [INFO] [stderr] | [INFO] [stderr] 176 | let packet = Packet::Suback(suback(pkid, subscription_return_codes)); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:143:44 [INFO] [stderr] | [INFO] [stderr] 143 | None => Err(Error::Unsolicited(Packet::Puback(pkid))), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:182:22 [INFO] [stderr] | [INFO] [stderr] 182 | let packet = Packet::Unsuback(unsubscribe.pkid); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | QoS::AtMostOnce | QoS::AtLeastOnce => qos, [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:157:35 [INFO] [stderr] | [INFO] [stderr] 157 | QoS::AtMostOnce | QoS::AtLeastOnce => qos, [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | QoS::ExactlyOnce => { [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:159:33 [INFO] [stderr] | [INFO] [stderr] 159 | topic.qos = QoS::AtLeastOnce; [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `connect` in crate `rumq_core` [INFO] [stderr] --> src/httppush.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | let connect = rumq_core::connect("pushclient"); [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::connect; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `QoS` [INFO] [stderr] --> src/state.rs:161:21 [INFO] [stderr] | [INFO] [stderr] 161 | QoS::AtLeastOnce [INFO] [stderr] | ^^^ use of undeclared type or module `QoS` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `empty_subscribe` in crate `rumq_core` [INFO] [stderr] --> src/httppush.rs:25:39 [INFO] [stderr] | [INFO] [stderr] 25 | let mut subscription = rumq_core::empty_subscribe(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::empty_subscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `publish` in crate `rumq_core` [INFO] [stderr] --> src/httpserver.rs:29:46 [INFO] [stderr] | [INFO] [stderr] 29 | let publish = rumq_core::publish(path, rumq_core::QoS::AtMostOnce, body_bytes.to_vec()); [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | Packet(rumq_core::Packet), [INFO] [stderr] | ^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] --> src/state.rs:166:49 [INFO] [stderr] | [INFO] [stderr] 166 | let code = if valid_filter(topic) { SubscribeReturnCodes::Success(qos) } else { SubscribeReturnCodes::Failure }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] --> src/state.rs:166:93 [INFO] [stderr] | [INFO] [stderr] 166 | let code = if valid_filter(topic) { SubscribeReturnCodes::Success(qos) } else { SubscribeReturnCodes::Failure }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] --> src/state.rs:169:20 [INFO] [stderr] | [INFO] [stderr] 169 | if let SubscribeReturnCodes::Success(qos) = code { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SubscribeReturnCodes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:176:22 [INFO] [stderr] | [INFO] [stderr] 176 | let packet = Packet::Suback(suback(pkid, subscription_return_codes)); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Packet` [INFO] [stderr] --> src/state.rs:182:22 [INFO] [stderr] | [INFO] [stderr] 182 | let packet = Packet::Unsuback(unsubscribe.pkid); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Packet` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connect` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | pub connect: rumq_core::Connect, [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::connect::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::service::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_rustls::Connect; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connect` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:40:36 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn new(connect: rumq_core::Connect, handle: Sender) -> Connection { [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::connect::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::service::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_rustls::Connect; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `publish` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:434:42 [INFO] [stderr] | [INFO] [stderr] 434 | let publish = rumq_core::publish(topic, qos, message); [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ConnectReturnCode` in this scope [INFO] [stderr] --> src/state.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | Connect(ConnectReturnCode), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::ConnectReturnCode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | Unsolicited(Packet), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | UnsupportedPacket(Packet), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:44:16 [INFO] [stderr] | [INFO] [stderr] 44 | last_pkid: PacketIdentifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:46:38 [INFO] [stderr] | [INFO] [stderr] 46 | pub outgoing_publishes: VecDeque, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 38 | pub struct MqttState { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LastWill` in this scope [INFO] [stderr] --> src/state.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | pub will: Option, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::LastWill; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 38 | pub struct MqttState { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LastWill` in this scope [INFO] [stderr] --> src/state.rs:57:50 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn new(clean_session: bool, will: Option) -> Self { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::LastWill; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 53 | impl MqttState { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | last_pkid: PacketIdentifier(0), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:72:59 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn handle_incoming_mqtt_packet(&mut self, packet: Packet) -> Result, Error> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:88:56 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn handle_outgoing_publish(&mut self, publish: Publish) -> Packet { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:88:68 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn handle_outgoing_publish(&mut self, publish: Publish) -> Packet { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `connect` in crate `rumq_core` [INFO] [stderr] --> src/httppush.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | let connect = rumq_core::connect("pushclient"); [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::connect; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:105:52 [INFO] [stderr] | [INFO] [stderr] 105 | fn handle_incoming_publish(&mut self, publish: Publish) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `empty_subscribe` in crate `rumq_core` [INFO] [stderr] --> src/httppush.rs:25:39 [INFO] [stderr] | [INFO] [stderr] 25 | let mut subscription = rumq_core::empty_subscribe(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::empty_subscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `valid_topic` in this scope [INFO] [stderr] --> src/state.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | if !valid_topic(&publish.topic_name) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::valid_topic; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `publish` in crate `rumq_core` [INFO] [stderr] --> src/httpserver.rs:29:46 [INFO] [stderr] | [INFO] [stderr] 29 | let publish = rumq_core::publish(path, rumq_core::QoS::AtMostOnce, body_bytes.to_vec()); [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | Packet(rumq_core::Packet), [INFO] [stderr] | ^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connect` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | pub connect: rumq_core::Connect, [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::connect::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::service::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_rustls::Connect; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connect` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:40:36 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn new(connect: rumq_core::Connect, handle: Sender) -> Connection { [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::connect::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::client::service::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Connect; [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_rustls::Connect; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `publish` in crate `rumq_core` [INFO] [stderr] --> src/router.rs:434:42 [INFO] [stderr] | [INFO] [stderr] 434 | let publish = rumq_core::publish(topic, qos, message); [INFO] [stderr] | ^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ConnectReturnCode` in this scope [INFO] [stderr] --> src/state.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | Connect(ConnectReturnCode), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::ConnectReturnCode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | Unsolicited(Packet), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:135:48 [INFO] [stderr] | [INFO] [stderr] 135 | fn handle_incoming_puback(&mut self, pkid: PacketIdentifier) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | UnsupportedPacket(Packet), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:44:16 [INFO] [stderr] | [INFO] [stderr] 44 | last_pkid: PacketIdentifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:46:38 [INFO] [stderr] | [INFO] [stderr] 46 | pub outgoing_publishes: VecDeque, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 38 | pub struct MqttState { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LastWill` in this scope [INFO] [stderr] --> src/state.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | pub will: Option, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::LastWill; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 38 | pub struct MqttState { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LastWill` in this scope [INFO] [stderr] --> src/state.rs:57:50 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn new(clean_session: bool, will: Option) -> Self { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::LastWill; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 53 | impl MqttState { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | last_pkid: PacketIdentifier(0), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:72:59 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn handle_incoming_mqtt_packet(&mut self, packet: Packet) -> Result, Error> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:88:56 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn handle_outgoing_publish(&mut self, publish: Publish) -> Packet { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Packet` in this scope [INFO] [stderr] --> src/state.rs:88:68 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn handle_outgoing_publish(&mut self, publish: Publish) -> Packet { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Packet; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:105:52 [INFO] [stderr] | [INFO] [stderr] 105 | fn handle_incoming_publish(&mut self, publish: Publish) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `valid_topic` in this scope [INFO] [stderr] --> src/state.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | if !valid_topic(&publish.topic_name) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::valid_topic; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in crate `rumq_core` [INFO] [stderr] --> src/state.rs:136:42 [INFO] [stderr] | [INFO] [stderr] 136 | let pkids: Vec> = self.outgoing_publishes.iter().map(|p| p.pkid).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Subscribe` in this scope [INFO] [stderr] --> src/state.rs:147:63 [INFO] [stderr] | [INFO] [stderr] 147 | fn handle_incoming_subscribe(&mut self, mut subscription: Subscribe) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Subscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `empty_subscribe` in this scope [INFO] [stderr] --> src/state.rs:152:39 [INFO] [stderr] | [INFO] [stderr] 152 | let mut router_subscription = empty_subscribe(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::empty_subscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `valid_filter` in this scope [INFO] [stderr] --> src/state.rs:166:27 [INFO] [stderr] | [INFO] [stderr] 166 | let code = if valid_filter(topic) { SubscribeReturnCodes::Success(qos) } else { SubscribeReturnCodes::Failure }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::valid_filter; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `suback` in this scope [INFO] [stderr] --> src/state.rs:176:37 [INFO] [stderr] | [INFO] [stderr] 176 | let packet = Packet::Suback(suback(pkid, subscription_return_codes)); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::suback; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:135:48 [INFO] [stderr] | [INFO] [stderr] 135 | fn handle_incoming_puback(&mut self, pkid: PacketIdentifier) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Unsubscribe` in this scope [INFO] [stderr] --> src/state.rs:181:60 [INFO] [stderr] | [INFO] [stderr] 181 | fn handle_incoming_unsubscribe(&mut self, unsubscribe: Unsubscribe) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Unsubscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:191:55 [INFO] [stderr] | [INFO] [stderr] 191 | fn add_packet_id_and_save(&mut self, mut publish: Publish) -> Publish { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in crate `rumq_core` [INFO] [stderr] --> src/state.rs:136:42 [INFO] [stderr] | [INFO] [stderr] 136 | let pkids: Vec> = self.outgoing_publishes.iter().map(|p| p.pkid).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `rumq_core` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:191:67 [INFO] [stderr] | [INFO] [stderr] 191 | fn add_packet_id_and_save(&mut self, mut publish: Publish) -> Publish { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Subscribe` in this scope [INFO] [stderr] --> src/state.rs:147:63 [INFO] [stderr] | [INFO] [stderr] 147 | fn handle_incoming_subscribe(&mut self, mut subscription: Subscribe) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Subscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:200:32 [INFO] [stderr] | [INFO] [stderr] 200 | fn next_pkid(&mut self) -> PacketIdentifier { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `empty_subscribe` in this scope [INFO] [stderr] --> src/state.rs:152:39 [INFO] [stderr] | [INFO] [stderr] 152 | let mut router_subscription = empty_subscribe(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::empty_subscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `valid_filter` in this scope [INFO] [stderr] --> src/state.rs:166:27 [INFO] [stderr] | [INFO] [stderr] 166 | let code = if valid_filter(topic) { SubscribeReturnCodes::Success(qos) } else { SubscribeReturnCodes::Failure }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::valid_filter; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | let PacketIdentifier(mut pkid) = self.last_pkid; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:205:26 [INFO] [stderr] | [INFO] [stderr] 205 | self.last_pkid = PacketIdentifier(pkid + 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `suback` in this scope [INFO] [stderr] --> src/state.rs:176:37 [INFO] [stderr] | [INFO] [stderr] 176 | let packet = Packet::Suback(suback(pkid, subscription_return_codes)); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::suback; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Unsubscribe` in this scope [INFO] [stderr] --> src/state.rs:181:60 [INFO] [stderr] | [INFO] [stderr] 181 | fn handle_incoming_unsubscribe(&mut self, unsubscribe: Unsubscribe) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Unsubscribe; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:191:55 [INFO] [stderr] | [INFO] [stderr] 191 | fn add_packet_id_and_save(&mut self, mut publish: Publish) -> Publish { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Publish` in this scope [INFO] [stderr] --> src/state.rs:191:67 [INFO] [stderr] | [INFO] [stderr] 191 | fn add_packet_id_and_save(&mut self, mut publish: Publish) -> Publish { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::Publish; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:200:32 [INFO] [stderr] | [INFO] [stderr] 200 | fn next_pkid(&mut self) -> PacketIdentifier { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | let PacketIdentifier(mut pkid) = self.last_pkid; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `rumq_core::*` [INFO] [stderr] --> src/state.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rumq_core::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PacketIdentifier` in this scope [INFO] [stderr] --> src/state.rs:205:26 [INFO] [stderr] | [INFO] [stderr] 205 | self.last_pkid = PacketIdentifier(pkid + 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rumq_core::mqtt4::PacketIdentifier; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `rumq_core::*` [INFO] [stderr] --> src/state.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rumq_core::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type (std::string::String, router::RouterMessage): the size of (std::string::String, router::RouterMessage) cannot be statically determined [INFO] [stderr] --> src/connection.rs:40:24 [INFO] [stderr] | [INFO] [stderr] 40 | router_tx.send((id.clone(), RouterMessage::Death(id.clone()))).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type router::RouterMessage: the size of router::RouterMessage cannot be statically determined [INFO] [stderr] --> src/connection.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | router_tx.send((id.clone(), RouterMessage::Death(id.clone()))).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type (std::string::String, router::RouterMessage): the size of (std::string::String, router::RouterMessage) cannot be statically determined [INFO] [stderr] --> src/connection.rs:40:24 [INFO] [stderr] | [INFO] [stderr] 40 | router_tx.send((id.clone(), RouterMessage::Death(id.clone()))).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type router::RouterMessage: the size of router::RouterMessage cannot be statically determined [INFO] [stderr] --> src/connection.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | router_tx.send((id.clone(), RouterMessage::Death(id.clone()))).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:97:77 [INFO] [stderr] | [INFO] [stderr] 97 | root_cert_store.add_pem_file(&mut BufReader::new(File::open(ca_path)?)).map_err(|_| Error::NoCAFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:97:109 [INFO] [stderr] | [INFO] [stderr] 97 | root_cert_store.add_pem_file(&mut BufReader::new(File::open(ca_path)?)).map_err(|_| Error::NoCAFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:103:64 [INFO] [stderr] | [INFO] [stderr] 103 | let certs = certs(&mut BufReader::new(File::open(cert_path)?)).map_err(|_| Error::NoServerCertFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:103:104 [INFO] [stderr] | [INFO] [stderr] 103 | let certs = certs(&mut BufReader::new(File::open(cert_path)?)).map_err(|_| Error::NoServerCertFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:104:77 [INFO] [stderr] | [INFO] [stderr] 104 | let mut keys = rsa_private_keys(&mut BufReader::new(File::open(key_path)?)).map_err(|_| Error::NoServerKeyFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:97:77 [INFO] [stderr] | [INFO] [stderr] 97 | root_cert_store.add_pem_file(&mut BufReader::new(File::open(ca_path)?)).map_err(|_| Error::NoCAFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:104:116 [INFO] [stderr] | [INFO] [stderr] 104 | let mut keys = rsa_private_keys(&mut BufReader::new(File::open(key_path)?)).map_err(|_| Error::NoServerKeyFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:97:109 [INFO] [stderr] | [INFO] [stderr] 97 | root_cert_store.add_pem_file(&mut BufReader::new(File::open(ca_path)?)).map_err(|_| Error::NoCAFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:103:64 [INFO] [stderr] | [INFO] [stderr] 103 | let certs = certs(&mut BufReader::new(File::open(cert_path)?)).map_err(|_| Error::NoServerCertFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:106:57 [INFO] [stderr] | [INFO] [stderr] 106 | server_config.set_single_cert(certs, keys.remove(0))?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:103:104 [INFO] [stderr] | [INFO] [stderr] 103 | let certs = certs(&mut BufReader::new(File::open(cert_path)?)).map_err(|_| Error::NoServerCertFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:104:77 [INFO] [stderr] | [INFO] [stderr] 104 | let mut keys = rsa_private_keys(&mut BufReader::new(File::open(key_path)?)).map_err(|_| Error::NoServerKeyFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:104:116 [INFO] [stderr] | [INFO] [stderr] 104 | let mut keys = rsa_private_keys(&mut BufReader::new(File::open(key_path)?)).map_err(|_| Error::NoServerKeyFile)?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0161]: cannot move a value of type Error: the size of Error cannot be statically determined [INFO] [stderr] --> src/lib.rs:106:57 [INFO] [stderr] | [INFO] [stderr] 106 | server_config.set_single_cert(certs, keys.remove(0))?; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 71 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0161, E0412, E0425, E0432, E0433, E0531. [INFO] [stderr] For more information about an error, try `rustc --explain E0161`. [INFO] [stderr] error: aborting due to 71 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0161, E0412, E0425, E0432, E0433, E0531. [INFO] [stderr] For more information about an error, try `rustc --explain E0161`. [INFO] [stderr] error: could not compile `rumq-broker`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rumq-broker`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "08b66a361683e1c5eaef56e3cd916d5c996d1b73896d93cafcfad1fef0f529dd"` [INFO] running `"docker" "rm" "-f" "08b66a361683e1c5eaef56e3cd916d5c996d1b73896d93cafcfad1fef0f529dd"` [INFO] [stdout] 08b66a361683e1c5eaef56e3cd916d5c996d1b73896d93cafcfad1fef0f529dd