[INFO] fetching crate tmq-zmq 0.9.0... [INFO] checking tmq-zmq-0.9.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tmq-zmq 0.9.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tmq-zmq 0.9.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tmq-zmq 0.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tmq-zmq 0.9.0 [INFO] tweaked toml for crates.io crate tmq-zmq 0.9.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 110 packages [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.4) [INFO] [stderr] Adding atom v0.3.6 (latest: v0.4.0) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.5.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (latest: v1.0.2) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.0) [INFO] [stderr] Adding dirs v1.0.5 (latest: v5.0.1) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding error-chain v0.10.0 (latest: v0.12.4) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding nix v0.11.1 (latest: v0.28.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quickcheck v0.6.2 (latest: v1.0.3) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding redox_users v0.3.5 (latest: v0.4.5) [INFO] [stderr] Adding rust-argon2 v0.8.3 (latest: v2.1.0) [INFO] [stderr] Adding rustfix v0.6.1 (latest: v0.8.1) [INFO] [stderr] Adding term v0.5.2 (latest: v0.7.0) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding toml v0.2.1 (latest: v0.8.12) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded timebomb v0.1.2 [INFO] [stderr] Downloaded tmq-zmq-sys v0.9.0 [INFO] [stderr] Downloaded rustfix v0.6.1 [INFO] [stderr] Downloaded pulse v0.5.3 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded compiletest_rs v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b43425c0cc1719a8efab154b0f801efc856f5f0f4b7cdabf48f87228d57def9 [INFO] running `Command { std: "docker" "start" "-a" "4b43425c0cc1719a8efab154b0f801efc856f5f0f4b7cdabf48f87228d57def9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b43425c0cc1719a8efab154b0f801efc856f5f0f4b7cdabf48f87228d57def9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b43425c0cc1719a8efab154b0f801efc856f5f0f4b7cdabf48f87228d57def9", kill_on_drop: false }` [INFO] [stdout] 4b43425c0cc1719a8efab154b0f801efc856f5f0f4b7cdabf48f87228d57def9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81901f3a51f261ec46196105ea0287917330ec62101f7f0ca30ca0d1d73209ef [INFO] running `Command { std: "docker" "start" "-a" "81901f3a51f261ec46196105ea0287917330ec62101f7f0ca30ca0d1d73209ef", kill_on_drop: false }` [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling tmq-zmq-sys v0.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking timebomb v0.1.2 [INFO] [stderr] Compiling tmq-zmq v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> build.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 7 | for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 7 - for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stdout] 7 + for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> build.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | if unsafe { zmq::zmq_has(CString::new(has.as_bytes()).unwrap().as_ptr()) } == 1 { [INFO] [stdout] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockopt.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut value = try!(get_bytes(sock, opt, size)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockopt.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | let result: i32 = try!(get(sock, opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | try!(self.send(last.into(), flags | SNDMORE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:672:24 [INFO] [stdout] | [INFO] [stdout] 672 | let part = try!(self.recv_bytes(flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:1 [INFO] [stdout] | [INFO] [stdout] 930 | / bitflags! { [INFO] [stdout] 931 | | /// Type representing pending socket events. [INFO] [stdout] 932 | | pub flags PollEvents: i16 { [INFO] [stdout] 933 | | /// For `poll()`, specifies to signal when a message/some data [INFO] [stdout] ... | [INFO] [stdout] 943 | | } [INFO] [stdout] 944 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:1 [INFO] [stdout] | [INFO] [stdout] 930 | / bitflags! { [INFO] [stdout] 931 | | /// Type representing pending socket events. [INFO] [stdout] 932 | | pub flags PollEvents: i16 { [INFO] [stdout] 933 | | /// For `poll()`, specifies to signal when a message/some data [INFO] [stdout] ... | [INFO] [stdout] 943 | | } [INFO] [stdout] 944 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1208:17 [INFO] [stdout] | [INFO] [stdout] 1208 | let c_str = try!(ffi::CString::new(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1131:52 [INFO] [stdout] | [INFO] [stdout] 1131 | EncodeError::FromUtf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1189:47 [INFO] [stdout] | [INFO] [stdout] 1189 | DecodeError::NulError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:437:24 [INFO] [stdout] | [INFO] [stdout] 437 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 437 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 437 | std::panic::panic_any(errno_to_error()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/message.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errno_to_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errno_to_error()) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 | std::panic::panic_any(errno_to_error()) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/mspoller/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/pathopub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/msreader/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/syncpub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/syncsub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/taskvent/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/mtrelay/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/rrbroker/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/tasksink/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/asyncsrv/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/rtreq/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "msreader") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tmq-zmq` (example "syncpub") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "mspoller") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/weather_client/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "taskvent") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "syncsub") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "mtrelay") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/connection.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "tasksink") due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/connection/unix.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "pathopub") due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` (example "rrbroker") due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` (example "lbbroker") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/lvcache/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "rtreq") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "weather_client") due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` (example "asyncsrv") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "lvcache") due to 2 previous errors [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (test "connection") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] error[E0412]: cannot find type `Socket` in this scope [INFO] [stdout] --> tests/test.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_socketpair() -> (Socket, Socket) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Socket` in this scope [INFO] [stdout] --> tests/test.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_socketpair() -> (Socket, Socket) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let ctx = Context::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> tests/test.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | receiver.send("foo", SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POLLIN` in this scope [INFO] [stdout] --> tests/test.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(receiver.poll(POLLIN, 1000).unwrap(), 0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POLLIN` in this scope [INFO] [stdout] --> tests/test.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | let mut poll_items = vec![receiver.as_poll_item(POLLIN)]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POLLIN` in this scope [INFO] [stdout] --> tests/test.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(poll_items[0].get_revents(), POLLIN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(err, Error::EFSM); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let e: io::Error = Error::ENOENT.into(); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STREAM` in this scope [INFO] [stdout] --> tests/test.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | let sock = ctx.socket(STREAM).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SUB` in this scope [INFO] [stdout] --> tests/test.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | let sock = ctx.socket(SUB).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:231:15 [INFO] [stdout] | [INFO] [stdout] 231 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:281:27 [INFO] [stdout] | [INFO] [stdout] 281 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:302:27 [INFO] [stdout] | [INFO] [stdout] 302 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 319 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 330 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:344:15 [INFO] [stdout] | [INFO] [stdout] 344 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:355:15 [INFO] [stdout] | [INFO] [stdout] 355 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 366 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:378:27 [INFO] [stdout] | [INFO] [stdout] 378 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 412 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:423:15 [INFO] [stdout] | [INFO] [stdout] 423 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 430 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let sock_a = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | let sock_b = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:451:19 [INFO] [stdout] | [INFO] [stdout] 451 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | ctx.socket(REQ).unwrap() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:454:43 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(sock.get_socket_type(), Ok(REQ)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:460:27 [INFO] [stdout] | [INFO] [stdout] 460 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:467:15 [INFO] [stdout] | [INFO] [stdout] 467 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:468:27 [INFO] [stdout] | [INFO] [stdout] 468 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:476:15 [INFO] [stdout] | [INFO] [stdout] 476 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:485:15 [INFO] [stdout] | [INFO] [stdout] 485 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:486:27 [INFO] [stdout] | [INFO] [stdout] 486 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:494:15 [INFO] [stdout] | [INFO] [stdout] 494 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:507:16 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(Error::EAGAIN, sender.send("foo", DONTWAIT).unwrap_err()); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DONTWAIT` in this scope [INFO] [stdout] --> tests/test.rs:507:50 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(Error::EAGAIN, sender.send("foo", DONTWAIT).unwrap_err()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:513:16 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!(Error::ENOENT, sender.disconnect("tcp://192.0.2.1:2233").unwrap_err()); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:518:15 [INFO] [stdout] | [INFO] [stdout] 518 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:526:15 [INFO] [stdout] | [INFO] [stdout] 526 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:527:27 [INFO] [stdout] | [INFO] [stdout] 527 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:535:27 [INFO] [stdout] | [INFO] [stdout] 535 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:542:15 [INFO] [stdout] | [INFO] [stdout] 542 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:543:27 [INFO] [stdout] | [INFO] [stdout] 543 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:550:15 [INFO] [stdout] | [INFO] [stdout] 550 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:551:27 [INFO] [stdout] | [INFO] [stdout] 551 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/test.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let mut msg = Message::with_capacity(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll` in this scope [INFO] [stdout] --> tests/test.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(poll(&mut poll_items, 1000).unwrap(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | let mut sock = ctx.socket(SocketType::REQ).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Socket` [INFO] [stdout] --> tests/test.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let _ = unsafe { Socket::from_raw(raw) }; [INFO] [stdout] | ^^^^^^ use of undeclared type `Socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `version` in this scope [INFO] [stdout] --> tests/test.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let (major, _, _) = version(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | let sock = ctx.socket(SocketType::REP).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurveKeyPair` [INFO] [stdout] --> tests/test.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | let keypair = CurveKeyPair::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurveKeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | SocketType::PAIR, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | SocketType::PUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | SocketType::SUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | SocketType::REQ, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | SocketType::REP, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | SocketType::DEALER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | SocketType::ROUTER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | SocketType::PULL, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | SocketType::PUSH, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | SocketType::XPUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | SocketType::XSUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | SocketType::STREAM, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:404:47 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(sock.get_mechanism().unwrap(), Mechanism::ZMQ_PLAIN); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:407:46 [INFO] [stdout] | [INFO] [stdout] 407 | assert!(sock.get_mechanism().unwrap() == Mechanism::ZMQ_NULL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:416:47 [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(sock.get_mechanism().unwrap(), Mechanism::ZMQ_PLAIN); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:419:46 [INFO] [stdout] | [INFO] [stdout] 419 | assert!(sock.get_mechanism().unwrap() == Mechanism::ZMQ_NULL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_decode` in this scope [INFO] [stdout] --> tests/test.rs:469:15 [INFO] [stdout] | [INFO] [stdout] 469 | let key = z85_decode("FX5b8g5ZnOk7$Q}^)Y&?.v3&MIe+]OU7DTKynkUL").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_decode` in this scope [INFO] [stdout] --> tests/test.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 478 | let key = z85_decode("s9N%S3*NKSU$6pUnpBI&K5HBd[]G$Y3yrK?mhdbS").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_decode` in this scope [INFO] [stdout] --> tests/test.rs:487:15 [INFO] [stdout] | [INFO] [stdout] 487 | let key = z85_decode("FX5b8g5ZnOk7$Q}^)Y&?.v3&MIe+]OU7DTKynkUL").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> tests/test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use std::error::Error as StdError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (test "test") due to 129 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 128 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81901f3a51f261ec46196105ea0287917330ec62101f7f0ca30ca0d1d73209ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81901f3a51f261ec46196105ea0287917330ec62101f7f0ca30ca0d1d73209ef", kill_on_drop: false }` [INFO] [stdout] 81901f3a51f261ec46196105ea0287917330ec62101f7f0ca30ca0d1d73209ef