[INFO] fetching crate svc-rumq-client 0.1.0-alpha.11... [INFO] checking svc-rumq-client-0.1.0-alpha.11 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate svc-rumq-client 0.1.0-alpha.11 into /workspace/builds/worker-33/source [INFO] validating manifest of crates.io crate svc-rumq-client 0.1.0-alpha.11 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-33/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded tokio-rustls v0.13.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded miow v0.3.5 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded color-backtrace v0.3.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded async-stream v0.2.1 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded pin-project-lite v0.1.7 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded socket2 v0.3.12 [INFO] [stderr] Downloaded serde_json v1.0.56 [INFO] [stderr] Downloaded pem v0.8.1 [INFO] [stderr] Downloaded async-trait v0.1.36 [INFO] [stderr] Downloaded async-stream-impl v0.2.1 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded crossbeam-channel v0.4.3 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] [stderr] Downloaded pin-project v0.4.22 [INFO] [stderr] Downloaded pin-project-internal v0.4.22 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded tokio-util v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded bumpalo v3.4.0 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded rustls v0.17.0 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded arc-swap v0.4.7 [INFO] [stderr] Downloaded tokio-macros v0.2.5 [INFO] [stderr] Downloaded webpki v0.21.3 [INFO] [stderr] Downloaded envy v0.4.1 [INFO] [stderr] Downloaded rumq-core v0.1.0-alpha.10 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] [stderr] Downloaded serde_derive v1.0.114 [INFO] [stderr] Downloaded tokio v0.2.22 [INFO] [stderr] Downloaded syn v1.0.35 [INFO] [stderr] Downloaded ring v0.16.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bfa256154552a769d9c46de3f3dae8fff96b5b502519450c910d7f9a2b6ee78 [INFO] running `Command { std: "docker" "start" "-a" "1bfa256154552a769d9c46de3f3dae8fff96b5b502519450c910d7f9a2b6ee78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bfa256154552a769d9c46de3f3dae8fff96b5b502519450c910d7f9a2b6ee78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bfa256154552a769d9c46de3f3dae8fff96b5b502519450c910d7f9a2b6ee78", kill_on_drop: false }` [INFO] [stdout] 1bfa256154552a769d9c46de3f3dae8fff96b5b502519450c910d7f9a2b6ee78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0254ebe36212af995ea3b5a510fa13ad80a9d9de3464cc0b302143287984a592 [INFO] running `Command { std: "docker" "start" "-a" "0254ebe36212af995ea3b5a510fa13ad80a9d9de3464cc0b302143287984a592", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] log v0.4.11: std [INFO] [stderr] memchr v2.3.3: use_std [INFO] [stderr] once_cell v1.4.0: default [INFO] [stderr] ring v0.16.15: std [INFO] [stderr] syn v1.0.35 (as host dependency): visit [INFO] [stderr] tokio v0.2.22: blocking, fs, full, io-std, libc, mio-named-pipes, mio-uds, net, num_cpus, process, rt-threaded, rt-util, signal, signal-hook-registry, udp, uds, winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [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 once_cell v1.4.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling byteorder v1.3.4 [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 gimli v0.22.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling memchr v2.3.3 [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] Checking humantime v1.3.0 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking color-backtrace v0.3.0 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling futures-macro v0.3.5 [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 svc-rumq-client v0.1.0-alpha.11 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking envy v0.4.1 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Migrating examples/tls.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/pubsub.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/smoke.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/reconnection.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/gcloud.rs from 2018 edition to 2021 [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/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/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] [stderr] error: could not compile `svc-rumq-client` due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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] 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] 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[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] 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] 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[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] 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 8 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[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/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: `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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0254ebe36212af995ea3b5a510fa13ad80a9d9de3464cc0b302143287984a592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0254ebe36212af995ea3b5a510fa13ad80a9d9de3464cc0b302143287984a592", kill_on_drop: false }` [INFO] [stdout] 0254ebe36212af995ea3b5a510fa13ad80a9d9de3464cc0b302143287984a592