[INFO] fetching crate zeromq-2sat 0.4.0... [INFO] building zeromq-2sat-0.4.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate zeromq-2sat 0.4.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zeromq-2sat 0.4.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eafe8b365c90c14d44825bc1eadb6b330d6b9e8573639a98474a13e19b3d5546 [INFO] running `Command { std: "docker" "start" "-a" "eafe8b365c90c14d44825bc1eadb6b330d6b9e8573639a98474a13e19b3d5546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eafe8b365c90c14d44825bc1eadb6b330d6b9e8573639a98474a13e19b3d5546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eafe8b365c90c14d44825bc1eadb6b330d6b9e8573639a98474a13e19b3d5546", kill_on_drop: false }` [INFO] [stdout] eafe8b365c90c14d44825bc1eadb6b330d6b9e8573639a98474a13e19b3d5546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca9f2d8537c06cb959e2ccb4261bb2fd7073f04d1f16ead1980f05b4ebd4ff74 [INFO] running `Command { std: "docker" "start" "-a" "ca9f2d8537c06cb959e2ccb4261bb2fd7073f04d1f16ead1980f05b4ebd4ff74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [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 num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling regex-automata v0.4.8 [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 socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 8.38s [INFO] running `Command { std: "docker" "inspect" "ca9f2d8537c06cb959e2ccb4261bb2fd7073f04d1f16ead1980f05b4ebd4ff74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9f2d8537c06cb959e2ccb4261bb2fd7073f04d1f16ead1980f05b4ebd4ff74", kill_on_drop: false }` [INFO] [stdout] ca9f2d8537c06cb959e2ccb4261bb2fd7073f04d1f16ead1980f05b4ebd4ff74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a991738feb78f0fa686ee04800755aad50463406f78a702bf69db9e95c95b318 [INFO] running `Command { std: "docker" "start" "-a" "a991738feb78f0fa686ee04800755aad50463406f78a702bf69db9e95c95b318", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling zmq2 v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling async-dispatcher-macros v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling futures-lite v1.13.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 indexmap v2.6.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling async-dispatcher v0.1.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling dircpy v0.3.19 [INFO] [stderr] Compiling zeromq-2sat v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [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 tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling zmq-sys2 v0.3.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_rep_compliant.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 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/pub_sub_compliant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/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[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] --> examples/message_broker.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[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[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] --> 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/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/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/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/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] --> tests/req_rep_compliant.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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/req_rep_compliant.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | 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] --> 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] [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] error[E0432]: unresolved import `zeromq` [INFO] [stdout] --> tests/pub_sub_compliant.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/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] --> examples/task_ventilator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use zeromq::{Socket, 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/message_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use zeromq::Socket; [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] --> 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] 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] --> examples/message_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use zeromq::{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] 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[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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/message_client.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 9 - let mut socket = zeromq::ReqSocket::new(); [INFO] [stdout] 9 + let mut 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/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] --> examples/task_ventilator.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 - let mut sender = zeromq::PushSocket::new(); [INFO] [stdout] 12 + 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_ventilator.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let mut sink = 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] 16 - let mut sink = zeromq::PushSocket::new(); [INFO] [stdout] 16 + let mut sink = 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: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] 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] --> 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] 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] --> examples/message_broker.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let mut frontend = 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] 3 + use zeromq_2sat::RouterSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RouterSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let mut frontend = zeromq::RouterSocket::new(); [INFO] [stdout] 8 + let mut frontend = 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] --> examples/message_broker.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut backend = 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] 3 + use zeromq_2sat::DealerSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `DealerSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - let mut backend = zeromq::DealerSocket::new(); [INFO] [stdout] 11 + let mut backend = 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] --> examples/message_broker.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let mut capture = 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] 14 - let mut capture = zeromq::PubSocket::new(); [INFO] [stdout] 14 + let mut capture = 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/req_rep_compliant.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let mut our_req = 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] 7 + use zeromq_2sat::ReqSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `ReqSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - let mut our_req = zeromq::ReqSocket::new(); [INFO] [stdout] 28 + let mut our_req = 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/pub_sub_compliant.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut our_sub = 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] 25 - let mut our_sub = zeromq::SubSocket::new(); [INFO] [stdout] 25 + let mut our_sub = SubSocket::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep_compliant.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | .expect("Failed to connect"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (test "message") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/socket_client_with_options.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | .expect("Failed to connect"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub_compliant.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .expect("Failed to connect"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/message_client.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | .expect("Failed to connect"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub_compliant.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | our_sub.subscribe("").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/message_broker.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | zeromq::proxy(frontend, backend, Some(Box::new(capture))).await?; [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: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[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/pub_sub_compliant.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | let join_handles = our_subs.into_iter().map(|mut sub| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | let msg = sub.recv().await.expect("Failed to recv"); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 53 | let join_handles = our_subs.into_iter().map(|mut sub: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep_compliant.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | our_req.send(message).await.expect("Failed to send"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep_compliant.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(our_req.close().await.len(), 0); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/req_rep_compliant.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | let reply = our_req.recv().await.expect("Failed to recv"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub_compliant.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | let msg = sub.recv().await.expect("Failed to recv"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | .unwrap_or_else(|e| panic!("Failed to bind to {}: {}", bind_addr, e)); [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: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/pub_sub_compliant.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | h.await.expect("Subscriber task panicked!") [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/task_worker.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | let message = message.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] For more information about this error, try `rustc --explain E0433`. [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: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] 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] For more information about this error, try `rustc --explain E0432`. [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] For more information about this error, try `rustc --explain E0432`. [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[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:50:34 [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: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:51:44 [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:34 [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:50:34 [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:70:44 [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/helpers.rs:51:44 [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 "message_broker") due to 5 previous errors [INFO] [stderr] error: could not compile `zeromq-2sat` (example "socket_client_with_options") due to 4 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/helpers.rs:69:34 [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:44 [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:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "message_client") due to 4 previous errors [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` (example "stock_server") due to 1 previous error [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] [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/req_rep.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | req_socket.connect(&cloned_endpoint).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` (example "task_ventilator") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> tests/req_rep_compliant.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 27 | async fn setup_our_req(bind_endpoint: &str) -> 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/req_rep_compliant.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | async fn run_our_req(our_req: &mut zeromq::ReqSocket, num_req: u32) { [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` (example "task_worker") due to 5 previous errors [INFO] [stderr] error: could not compile `zeromq-2sat` (test "helpers") due to 15 previous errors [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] --> tests/pub_sub_compliant.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | async fn setup_our_subs(bind_endpoint: &str, n_subs: u8) -> Vec { [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/pub_sub_compliant.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | async fn run_our_subs(our_subs: Vec, num_to_recv: u32) { [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_rep_compliant") due to 10 previous errors [INFO] [stderr] error: could not compile `zeromq-2sat` (test "req_rep") due to 25 previous errors [INFO] [stderr] error: could not compile `zeromq-2sat` (test "pub_sub_compliant") due to 10 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:42:46 [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:46 [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/pub_sub.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | .unwrap_or_else(|_| panic!("Failed to connect to {}", bind_addr)); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | sub_socket.subscribe("").await.expect("Failed to subscribe"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:76:68 [INFO] [stdout] | [INFO] [stdout] 76 | let recv_message = sub_socket.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/pub_sub.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | t.await.expect("Task failed unexpectedly!"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (test "pub_sub") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "a991738feb78f0fa686ee04800755aad50463406f78a702bf69db9e95c95b318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a991738feb78f0fa686ee04800755aad50463406f78a702bf69db9e95c95b318", kill_on_drop: false }` [INFO] [stdout] a991738feb78f0fa686ee04800755aad50463406f78a702bf69db9e95c95b318