[INFO] fetching crate svc-rumq-client 0.1.0-alpha.11... [INFO] checking svc-rumq-client-0.1.0-alpha.11 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate svc-rumq-client 0.1.0-alpha.11 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate svc-rumq-client 0.1.0-alpha.11 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate svc-rumq-client 0.1.0-alpha.11 [INFO] finished tweaking crates.io crate svc-rumq-client 0.1.0-alpha.11 [INFO] tweaked toml for crates.io crate svc-rumq-client 0.1.0-alpha.11 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate svc-rumq-client 0.1.0-alpha.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki v0.21.3 [INFO] [stderr] Downloaded color-backtrace v0.3.0 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded arc-swap v0.4.7 [INFO] [stderr] Downloaded serde_json v1.0.56 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded async-trait v0.1.36 [INFO] [stderr] Downloaded rustls v0.17.0 [INFO] [stderr] Downloaded tokio-rustls v0.13.1 [INFO] [stderr] Downloaded syn v1.0.35 [INFO] [stderr] Downloaded serde_derive v1.0.114 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded miow v0.3.5 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded rumq-core v0.1.0-alpha.10 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 895c9fc5f4422b5f51a3f5aa502b509deaa7ced455d4d75fc97736019f38e1cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "895c9fc5f4422b5f51a3f5aa502b509deaa7ced455d4d75fc97736019f38e1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "895c9fc5f4422b5f51a3f5aa502b509deaa7ced455d4d75fc97736019f38e1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895c9fc5f4422b5f51a3f5aa502b509deaa7ced455d4d75fc97736019f38e1cf", kill_on_drop: false }` [INFO] [stdout] 895c9fc5f4422b5f51a3f5aa502b509deaa7ced455d4d75fc97736019f38e1cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef3bc5bae85f57d27e801e05b0323f0beb2245aaca02cdb47528cca72de2d360 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ef3bc5bae85f57d27e801e05b0323f0beb2245aaca02cdb47528cca72de2d360", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking color-backtrace v0.3.0 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking rumq-core v0.1.0-alpha.10 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking svc-rumq-client v0.1.0-alpha.11 (/opt/rustwide/workdir) [INFO] [stderr] Checking envy v0.4.1 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stdout] error[E0432]: unresolved import `rumq_client` [INFO] [stdout] --> examples/reconnection.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use rumq_client::{self, MqttOptions, QoS, Publish, Request, MqttEventLoop, eventloop}; [INFO] [stdout] | ^^^^ no external crate `rumq_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumq_client` [INFO] [stdout] --> examples/pubsub.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use rumq_client::{self, MqttOptions, QoS, Publish, Subscribe, Request, MqttEventLoop, eventloop}; [INFO] [stdout] | ^^^^ no external crate `rumq_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumq_client` [INFO] [stdout] --> examples/smoke.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use rumq_client::{self, QoS, MqttOptions, Publish, Request, MqttEventLoop, eventloop}; [INFO] [stdout] | ^^^^ no external crate `rumq_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rumq_client` [INFO] [stdout] --> examples/tls.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use rumq_client::{self, MqttOptions, QoS, Publish, Subscribe, Request, MqttEventLoop, eventloop}; [INFO] [stdout] | ^^^^ no external crate `rumq_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> examples/reconnection.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions` [INFO] [stdout] --> examples/reconnection.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | let mut mqttoptions = MqttOptions::new("test-1", "localhost", 1883); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eventloop` in this scope [INFO] [stdout] --> examples/reconnection.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut eventloop = eventloop(mqttoptions, requests_rx); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::eventloop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MqttEventLoop` in this scope [INFO] [stdout] --> examples/reconnection.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | async fn stream_it(eventloop: &mut MqttEventLoop) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttEventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/reconnection.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | async fn requests(mut requests_tx: Sender) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish` [INFO] [stdout] --> examples/reconnection.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rumq_core::mqtt4::Publish; [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> examples/reconnection.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let publish = Request::Publish(publish); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/reconnection.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..10 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/reconnection.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | time::delay_for(Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/reconnection.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..10 { [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/reconnection.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | time::delay_for(Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/reconnection.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..10 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/reconnection.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | time::delay_for(Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/reconnection.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..10 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/reconnection.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | time::delay_for(Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/reconnection.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..10 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/reconnection.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | time::delay_for(Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/reconnection.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let payload = vec![1, 2, 3, i]; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/reconnection.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | time::delay_for(Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> examples/reconnection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `svc-rumq-client` [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] [stdout] error[E0432]: unresolved import `rumq_client` [INFO] [stdout] --> examples/gcloud.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use rumq_client::{self, QoS, MqttOptions, Publish, Request, MqttEventLoop, eventloop}; [INFO] [stdout] | ^^^^ no external crate `rumq_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> examples/smoke.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions` [INFO] [stdout] --> examples/smoke.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let mut mqttoptions = MqttOptions::new("test-1", "localhost", 1883); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eventloop` in this scope [INFO] [stdout] --> examples/smoke.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut eventloop = eventloop(mqttoptions, requests_rx); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::eventloop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MqttEventLoop` in this scope [INFO] [stdout] --> examples/smoke.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | async fn stream_it(eventloop: &mut MqttEventLoop) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttEventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/smoke.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | async fn requests(mut requests_tx: Sender) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/smoke.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | fn publish_request(i: u8) -> Request { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish` [INFO] [stdout] --> examples/smoke.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rumq_core::mqtt4::Publish; [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> examples/smoke.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Request::Publish(publish) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> examples/tls.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | let subscription = Subscribe::new("hello/world", QoS::AtLeastOnce); [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> examples/tls.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions` [INFO] [stdout] --> examples/tls.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let mut mqttoptions = MqttOptions::new("device-1", "mqtt.bytebeam.io", 8883); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eventloop` in this scope [INFO] [stdout] --> examples/tls.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let mut eventloop = eventloop(mqttoptions, requests_rx); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::eventloop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MqttEventLoop` in this scope [INFO] [stdout] --> examples/tls.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | async fn stream_it(eventloop: &mut MqttEventLoop) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttEventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/tls.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | async fn requests(mut requests_tx: Sender) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Subscribe` [INFO] [stdout] --> examples/tls.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let subscription = Subscribe::new("hello/world", QoS::AtLeastOnce); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rumq_core::mqtt4::Subscribe; [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Subscribe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> examples/tls.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let _ = requests_tx.send(Request::Subscribe(subscription)).await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/tls.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | fn publish_request(i: u8) -> Request { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish` [INFO] [stdout] --> examples/tls.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rumq_core::mqtt4::Publish; [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> examples/tls.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Request::Publish(publish) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> examples/smoke.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> examples/tls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> examples/pubsub.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | let subscription = Subscribe::new("hello/world", QoS::AtLeastOnce); [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> examples/pubsub.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions` [INFO] [stdout] --> examples/pubsub.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | let mut mqttoptions = MqttOptions::new("test-1", "localhost", 1883); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eventloop` in this scope [INFO] [stdout] --> examples/pubsub.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut eventloop = eventloop(mqttoptions, requests_rx); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::eventloop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MqttEventLoop` in this scope [INFO] [stdout] --> examples/pubsub.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | async fn stream_it(eventloop: &mut MqttEventLoop) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttEventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/pubsub.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | async fn requests(mut requests_tx: Sender) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Subscribe` [INFO] [stdout] --> examples/pubsub.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let subscription = Subscribe::new("hello/world", QoS::AtLeastOnce); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rumq_core::mqtt4::Subscribe; [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Subscribe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> examples/pubsub.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | let _ = requests_tx.send(Request::Subscribe(subscription)).await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/pubsub.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn publish_request(i: u8) -> Request { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish` [INFO] [stdout] --> examples/pubsub.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rumq_core::mqtt4::Publish; [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> examples/pubsub.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Request::Publish(publish) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> examples/gcloud.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eventloop` in this scope [INFO] [stdout] --> examples/gcloud.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let mut eventloop = eventloop(mqttoptions, requests_rx); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::eventloop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MqttEventLoop` in this scope [INFO] [stdout] --> examples/gcloud.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | async fn stream_it(eventloop: &mut MqttEventLoop) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttEventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/gcloud.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | async fn requests(mut requests_tx: Sender) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MqttOptions` in this scope [INFO] [stdout] --> examples/gcloud.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | fn gcloud() -> MqttOptions { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttOptions` [INFO] [stdout] --> examples/gcloud.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let mut mqttoptions = MqttOptions::new(&id(), "mqtt.googleapis.com", 8883); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::MqttOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/gcloud.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | fn publish_request(i: u8) -> Request { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Publish` [INFO] [stdout] --> examples/gcloud.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let publish = Publish::new(&topic, QoS::AtLeastOnce, payload); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rumq_core::mqtt4::Publish; [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Publish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> examples/gcloud.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Request::Publish(publish) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use svc_rumq_client::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::stream::StreamExt` [INFO] [stdout] --> examples/pubsub.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> examples/gcloud.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ef3bc5bae85f57d27e801e05b0323f0beb2245aaca02cdb47528cca72de2d360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3bc5bae85f57d27e801e05b0323f0beb2245aaca02cdb47528cca72de2d360", kill_on_drop: false }` [INFO] [stdout] ef3bc5bae85f57d27e801e05b0323f0beb2245aaca02cdb47528cca72de2d360