[INFO] fetching crate zeromq-2sat 0.4.0... [INFO] testing zeromq-2sat-0.4.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate zeromq-2sat 0.4.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zeromq-2sat 0.4.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e981fddca9621e84bd0b57e3d4dd131573efe1273f45aa596a41ca07a12cc293 [INFO] running `Command { std: "docker" "start" "-a" "e981fddca9621e84bd0b57e3d4dd131573efe1273f45aa596a41ca07a12cc293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e981fddca9621e84bd0b57e3d4dd131573efe1273f45aa596a41ca07a12cc293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e981fddca9621e84bd0b57e3d4dd131573efe1273f45aa596a41ca07a12cc293", kill_on_drop: false }` [INFO] [stdout] e981fddca9621e84bd0b57e3d4dd131573efe1273f45aa596a41ca07a12cc293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcf74c2d8c883c30cf71946c7968579cab55f7c91f410418e91130b14d9b08da [INFO] running `Command { std: "docker" "start" "-a" "bcf74c2d8c883c30cf71946c7968579cab55f7c91f410418e91130b14d9b08da", 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 parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling byteorder v1.5.0 [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 memchr v2.7.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.10.0 [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 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 futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.40.0 [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 17.65s [INFO] running `Command { std: "docker" "inspect" "bcf74c2d8c883c30cf71946c7968579cab55f7c91f410418e91130b14d9b08da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf74c2d8c883c30cf71946c7968579cab55f7c91f410418e91130b14d9b08da", kill_on_drop: false }` [INFO] [stdout] bcf74c2d8c883c30cf71946c7968579cab55f7c91f410418e91130b14d9b08da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9898f4f297c4cf4422340f26fbecd3dfef4fd4041738e1b8d573873e19eeccea [INFO] running `Command { std: "docker" "start" "-a" "9898f4f297c4cf4422340f26fbecd3dfef4fd4041738e1b8d573873e19eeccea", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling crossbeam v0.8.4 [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 rayon v1.10.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling itertools v0.10.5 [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 humantime v2.1.0 [INFO] [stderr] Compiling zmq2 v0.5.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling dircpy v0.3.19 [INFO] [stderr] Compiling async-dispatcher-macros v0.1.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling zeromq-src v0.2.6+4.3.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling async-dispatcher v0.1.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling zeromq-2sat v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling zmq-sys2 v0.3.0 [INFO] [stderr] Compiling ciborium v0.2.2 [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] --> 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] --> 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] --> 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[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] --> 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] --> 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/message_server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `zeromq` [INFO] [stdout] --> examples/message_server.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut 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] 3 + use zeromq_2sat::RepSocket; [INFO] [stdout] | [INFO] [stdout] help: if you import `RepSocket`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let mut socket = zeromq::RepSocket::new(); [INFO] [stdout] 9 + let mut 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] --> 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[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] 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] --> 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] 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] 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/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] --> examples/message_server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / socket [INFO] [stdout] 11 | | .connect("tcp://127.0.0.1:5560") [INFO] [stdout] 12 | | .await [INFO] [stdout] | |______________^ cannot infer type [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] 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/message_server.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let mut repl: String = socket.recv().await?.try_into()?; [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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "weather_server") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] 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/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] 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] --> 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] [stderr] error: could not compile `zeromq-2sat` (example "message_server") 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_client") due to 4 previous errors [INFO] [stderr] error: could not compile `zeromq-2sat` (example "socket_client_with_options") due to 4 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `zeromq-2sat` (example "task_worker") due to 5 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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/message_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / socket [INFO] [stdout] 11 | | .connect("tcp://127.0.0.1:5559") [INFO] [stdout] 12 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeromq-2sat` (example "weather_client") due to 3 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] [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] [stderr] error: could not compile `zeromq-2sat` (example "message_client") due to 4 previous errors [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[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[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: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] [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[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" "9898f4f297c4cf4422340f26fbecd3dfef4fd4041738e1b8d573873e19eeccea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9898f4f297c4cf4422340f26fbecd3dfef4fd4041738e1b8d573873e19eeccea", kill_on_drop: false }` [INFO] [stdout] 9898f4f297c4cf4422340f26fbecd3dfef4fd4041738e1b8d573873e19eeccea