[INFO] fetching crate zeromq-2sat 0.4.0... [INFO] testing zeromq-2sat-0.4.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate zeromq-2sat 0.4.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate zeromq-2sat 0.4.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zeromq-2sat 0.4.0 [INFO] tweaked toml for crates.io crate zeromq-2sat 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zeromq-2sat 0.4.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zeromq-2sat 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe1da33091fd28da5b643f847ec9c03abb3a8cf99e50a613e6a9b8b1ac68944e [INFO] running `Command { std: "docker" "start" "-a" "fe1da33091fd28da5b643f847ec9c03abb3a8cf99e50a613e6a9b8b1ac68944e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe1da33091fd28da5b643f847ec9c03abb3a8cf99e50a613e6a9b8b1ac68944e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe1da33091fd28da5b643f847ec9c03abb3a8cf99e50a613e6a9b8b1ac68944e", kill_on_drop: false }` [INFO] [stdout] fe1da33091fd28da5b643f847ec9c03abb3a8cf99e50a613e6a9b8b1ac68944e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d17b47eb3d8fbfe0ac1e7da00979dc89cf531f445f8fabec7bcfa230c0211da5 [INFO] running `Command { std: "docker" "start" "-a" "d17b47eb3d8fbfe0ac1e7da00979dc89cf531f445f8fabec7bcfa230c0211da5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling zeromq-2sat v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.99s [INFO] running `Command { std: "docker" "inspect" "d17b47eb3d8fbfe0ac1e7da00979dc89cf531f445f8fabec7bcfa230c0211da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17b47eb3d8fbfe0ac1e7da00979dc89cf531f445f8fabec7bcfa230c0211da5", kill_on_drop: false }` [INFO] [stdout] d17b47eb3d8fbfe0ac1e7da00979dc89cf531f445f8fabec7bcfa230c0211da5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a987af0b60d24ceaa6d33ee6f6d8d7c732909d743a0f6161b04caa6fcbaf3fb9 [INFO] running `Command { std: "docker" "start" "-a" "a987af0b60d24ceaa6d33ee6f6d8d7c732909d743a0f6161b04caa6fcbaf3fb9", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling zmq2 v0.5.0 [INFO] [stderr] Compiling async-dispatcher-macros v0.1.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling async-dispatcher v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling zeromq-2sat v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling dircpy v0.3.19 [INFO] [stderr] Compiling zeromq-src v0.2.6+4.3.4 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling zmq-sys2 v0.3.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/pub_sub.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use zeromq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use zeromq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use zeromq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/socket_client_with_options.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use zeromq::util::PeerIdentity; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use zeromq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use zeromq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_rep.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use zeromq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/weather_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use zeromq::{Socket, SocketRecv}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use zeromq::__async_rt as async_rt; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/helpers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zeromq::ZmqMessage; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/pub_sub.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use zeromq::Endpoint; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/socket_client_with_options.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zeromq::{Socket, SocketOptions, SocketRecv, SocketSend}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/pub_sub.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use zeromq::ZmqMessage; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/message.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use zeromq::ZmqMessage; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use zeromq::__async_rt as async_rt; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/helpers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zeromq::ZmqMessage; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use zeromq::__async_rt as async_rt; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/pub_sub.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use zeromq::__async_rt as async_rt; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/weather_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zeromq::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> tests/message.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/task_sink.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use zeromq::{Socket, SocketRecv, SocketSend}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/socket_server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use zeromq::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use zeromq::__async_rt as async_rt; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/helpers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zeromq::ZmqMessage; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/req_rep.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zeromq::__async_rt as async_rt; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/socket_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use zeromq::{Socket, SocketRecv, SocketSend}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (test "message") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/socket_client_with_options.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut socket = zeromq::ReqSocket::with_options(options); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::ReqSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `ReqSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let mut socket = zeromq::ReqSocket::with_options(options); [INFO] [stdout] 13 + let mut socket = ReqSocket::with_options(options); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/weather_client.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut socket = zeromq::SubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::SubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `SubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let mut socket = zeromq::SubSocket::new(); [INFO] [stdout] 9 + let mut socket = SubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/stock_server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use zeromq::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/socket_client_with_options.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/forwarder_device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zeromq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "socket_server") due to 2 previous errors [INFO] [stderr] error: could not compile `zeromq-2sat` (example "forwarder_device") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/pub_sub.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let mut pub_socket = zeromq::PubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::PubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `PubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - let mut pub_socket = zeromq::PubSocket::new(); [INFO] [stdout] 26 + let mut pub_socket = PubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/pub_sub.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | let mut sub_socket = zeromq::SubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::SubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `SubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 65 - let mut sub_socket = zeromq::SubSocket::new(); [INFO] [stdout] 65 + let mut sub_socket = SubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/stock_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zeromq::{Socket, SocketRecv}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/socket_server.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let mut repl: String = socket.recv().await?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/task_sink.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let mut receiver = zeromq::PullSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::PullSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `PullSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let mut receiver = zeromq::PullSocket::new(); [INFO] [stdout] 12 + let mut receiver = PullSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/task_sink.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let mut controller = zeromq::PubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::PubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `PubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - let mut controller = zeromq::PubSocket::new(); [INFO] [stdout] 16 + let mut controller = PubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/forwarder_device.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let mut frontend = zeromq::SubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use zeromq_2sat::SubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `SubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let mut frontend = zeromq::SubSocket::new(); [INFO] [stdout] 8 + let mut frontend = SubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/forwarder_device.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut backend = zeromq::PubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use zeromq_2sat::PubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `PubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - let mut backend = zeromq::PubSocket::new(); [INFO] [stdout] 11 + let mut backend = PubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/socket_client.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let mut socket = zeromq::ReqSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::ReqSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `ReqSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let mut socket = zeromq::ReqSocket::new(); [INFO] [stdout] 8 + let mut socket = ReqSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/forwarder_device.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let message = frontend.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/forwarder_device.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | backend.send(message).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/socket_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / socket [INFO] [stdout] 10 | | .connect("tcp://127.0.0.1:5555") [INFO] [stdout] 11 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "task_sink") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/weather_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / socket [INFO] [stdout] 11 | | .connect("tcp://127.0.0.1:5556") [INFO] [stdout] 12 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_rep.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use zeromq_2sat::RepSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RepSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] 18 + let mut rep_socket = RepSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_rep.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use zeromq_2sat::ReqSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `ReqSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] 26 + let mut req_socket = ReqSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_rep.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use zeromq_2sat::RepSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RepSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] 48 + let mut rep_socket = RepSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_rep.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use zeromq_2sat::ReqSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `ReqSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] 60 + let mut req_socket = ReqSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/socket_client_with_options.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / socket [INFO] [stdout] 15 | | .connect("tcp://127.0.0.1:5555") [INFO] [stdout] 16 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | zeromq::proxy(router_socket, dealer_socket, None), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mess = rep_socket.recv().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | str::from_utf8(mess.get(0).unwrap().as_ref()).unwrap(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `mess` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mess: /* Type */ = rep_socket.recv().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let errs = rep_socket.close().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | if !errs.is_empty() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `errs` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let errs: /* Type */ = rep_socket.close().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | req_socket.send(m).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let repl = req_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "socket_client") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "stock_server") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | req_socket.send(m).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let bound_to = pub_socket [INFO] [stdout] | ________________________________^ [INFO] [stdout] 28 | | .bind(bind_addr) [INFO] [stdout] 29 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let repl = req_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let endpoint = rep_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | .connect(endpoint.to_string().as_str()) [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `endpoint` an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | let endpoint: /* Type */ = rep_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / req_socket [INFO] [stdout] 28 | | .connect(endpoint.to_string().as_str()) [INFO] [stdout] 29 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let endpoint = rep_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | let cloned_endpoint = endpoint.to_string(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `endpoint` an explicit type [INFO] [stdout] | [INFO] [stdout] 49 | let endpoint: /* Type */ = rep_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | req_socket.connect(&cloned_endpoint).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | router_socket: zeromq::RouterSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | dealer_socket: zeromq::DealerSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | mut req_socket: zeromq::ReqSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | mut rep_socket: zeromq::RepSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | mut req_socket: zeromq::ReqSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/stock_client.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut socket = zeromq::SubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::SubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `SubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let mut socket = zeromq::SubSocket::new(); [INFO] [stdout] 15 + let mut socket = SubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (test "req_rep") due to 25 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stock_client.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / socket [INFO] [stdout] 17 | | .connect("tcp://127.0.0.1:5556") [INFO] [stdout] 18 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stock_client.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let recv = socket.recv().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | let stock: String = String::from_utf8(recv.get(0).unwrap().to_vec())?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `recv` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let recv: /* Type */ = socket.recv().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "socket_client_with_options") due to 4 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "stock_client") due to 4 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> examples/task_worker.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zeromq::{Socket, SocketRecv, SocketSend}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "weather_client") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | zeromq::proxy(router_socket, dealer_socket, None), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "weather_server") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mess = rep_socket.recv().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | str::from_utf8(mess.get(0).unwrap().as_ref()).unwrap(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `mess` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mess: /* Type */ = rep_socket.recv().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pub_socket.send(m).await.expect("Failed to send"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let errs = pub_socket.close().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | if !errs.is_empty() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `errs` an explicit type [INFO] [stdout] | [INFO] [stdout] 46 | let errs: /* Type */ = pub_socket.close().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | let bound_addr = has_bound.await.expect("channel was cancelled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let errs = rep_socket.close().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | if !errs.is_empty() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `errs` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let errs: /* Type */ = rep_socket.close().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let mut router_socket = zeromq::RouterSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::RouterSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RouterSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let mut router_socket = zeromq::RouterSocket::new(); [INFO] [stdout] 18 + let mut router_socket = RouterSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let mut dealer_socket = zeromq::DealerSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::DealerSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `DealerSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - let mut dealer_socket = zeromq::DealerSocket::new(); [INFO] [stdout] 22 + let mut dealer_socket = DealerSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::RepSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RepSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] 26 + let mut rep_socket = RepSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::ReqSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `ReqSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] 41 + let mut req_socket = ReqSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | let mut router_socket = zeromq::RouterSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::RouterSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RouterSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - let mut router_socket = zeromq::RouterSocket::new(); [INFO] [stdout] 69 + let mut router_socket = RouterSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let mut dealer_socket = zeromq::DealerSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::DealerSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `DealerSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - let mut dealer_socket = zeromq::DealerSocket::new(); [INFO] [stdout] 72 + let mut dealer_socket = DealerSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::RepSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RepSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - let mut rep_socket = zeromq::RepSocket::new(); [INFO] [stdout] 79 + let mut rep_socket = RepSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_router_dealer_rep.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 95 | let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use zeromq_2sat::ReqSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `ReqSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 95 - let mut req_socket = zeromq::ReqSocket::new(); [INFO] [stdout] 95 + let mut req_socket = ReqSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | req_socket.send(m).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | / sub_socket [INFO] [stdout] 67 | | .connect(&cloned_bound_addr) [INFO] [stdout] 68 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let repl = req_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (test "helpers") due to 15 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | sub_socket.subscribe("").await.expect("Failed to subscribe"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "task_worker") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | let recv_message = sub_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (test "pub_sub") due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | zeromq::proxy(router_socket, dealer_socket, None), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | req_socket.send(m).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let repl = req_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/task_worker.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let mut receiver = zeromq::PullSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::PullSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `PullSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - let mut receiver = zeromq::PullSocket::new(); [INFO] [stdout] 11 + let mut receiver = PullSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/task_worker.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut sender = zeromq::PushSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::PushSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `PushSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let mut sender = zeromq::PushSocket::new(); [INFO] [stdout] 15 + let mut sender = PushSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/task_worker.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let mut controller = zeromq::SubSocket::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use zeromq_2sat::SubSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `SubSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - let mut controller = zeromq::SubSocket::new(); [INFO] [stdout] 19 + let mut controller = SubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | t.await.expect("Task failed unexpectedly!"); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | router_socket: zeromq::RouterSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/task_worker.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let message = message.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mess = rep_socket.recv().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | str::from_utf8(mess.get(0).unwrap().as_ref()).unwrap(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `mess` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mess: /* Type */ = rep_socket.recv().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | dealer_socket: zeromq::DealerSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | mut req_socket: zeromq::ReqSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | mut rep_socket: zeromq::RepSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | mut req_socket: zeromq::ReqSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let errs = rep_socket.close().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | if !errs.is_empty() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `errs` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let errs: /* Type */ = rep_socket.close().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | req_socket.send(m).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let repl = req_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | req_socket.send(m).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let repl = req_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let dealer_endpoint = dealer_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | .connect(dealer_endpoint.to_string().as_str()) [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `dealer_endpoint` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let dealer_endpoint: /* Type */ = dealer_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let router_endpoint = router_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | .connect(router_endpoint.to_string().as_str()) [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `router_endpoint` an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | let router_endpoint: /* Type */ = router_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / req_socket [INFO] [stdout] 43 | | .connect(router_endpoint.to_string().as_str()) [INFO] [stdout] 44 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | req_task.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let dealer_endpoint = dealer_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | .connect(dealer_endpoint.to_string().as_str()) [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `dealer_endpoint` an explicit type [INFO] [stdout] | [INFO] [stdout] 73 | let dealer_endpoint: /* Type */ = dealer_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | / rep_socket [INFO] [stdout] 81 | | .connect(dealer_endpoint.to_string().as_str()) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let router_endpoint = router_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | let router_endpoint_clone = router_endpoint.to_string(); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `router_endpoint` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let router_endpoint: /* Type */ = router_socket.bind("tcp://localhost:0").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | req_socket.connect(&router_endpoint_clone).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_router_dealer_rep.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | req_task.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | router_socket: zeromq::RouterSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | dealer_socket: zeromq::DealerSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | mut req_socket: zeromq::ReqSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | mut rep_socket: zeromq::RepSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/helpers.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | mut req_socket: zeromq::ReqSocket, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zeromq`, use `cargo add zeromq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (test "req_router_dealer_rep") due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "a987af0b60d24ceaa6d33ee6f6d8d7c732909d743a0f6161b04caa6fcbaf3fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a987af0b60d24ceaa6d33ee6f6d8d7c732909d743a0f6161b04caa6fcbaf3fb9", kill_on_drop: false }` [INFO] [stdout] a987af0b60d24ceaa6d33ee6f6d8d7c732909d743a0f6161b04caa6fcbaf3fb9