[INFO] fetching crate tmq-zmq 0.9.0... [INFO] testing tmq-zmq-0.9.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate tmq-zmq 0.9.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tmq-zmq 0.9.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5df16e8ec00e6b7933c345f7c68d32513df36b3b6ab6896ed41d9d34fb7b7ca [INFO] running `Command { std: "docker" "start" "-a" "e5df16e8ec00e6b7933c345f7c68d32513df36b3b6ab6896ed41d9d34fb7b7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5df16e8ec00e6b7933c345f7c68d32513df36b3b6ab6896ed41d9d34fb7b7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5df16e8ec00e6b7933c345f7c68d32513df36b3b6ab6896ed41d9d34fb7b7ca", kill_on_drop: false }` [INFO] [stdout] e5df16e8ec00e6b7933c345f7c68d32513df36b3b6ab6896ed41d9d34fb7b7ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8becd5e53e75ea9206a48099e574368f5924e79f280b878a121cf2fe9111190 [INFO] running `Command { std: "docker" "start" "-a" "d8becd5e53e75ea9206a48099e574368f5924e79f280b878a121cf2fe9111190", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling tmq-zmq-sys v0.9.0 [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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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] [INFO] [stdout] [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 associated function `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 associated function `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/message.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errno_to_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 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] 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "d8becd5e53e75ea9206a48099e574368f5924e79f280b878a121cf2fe9111190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8becd5e53e75ea9206a48099e574368f5924e79f280b878a121cf2fe9111190", kill_on_drop: false }` [INFO] [stdout] d8becd5e53e75ea9206a48099e574368f5924e79f280b878a121cf2fe9111190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8097d8d466a4bba9a559e2a3b0961c32e61ea11bb44078a9f4719efa85ba803 [INFO] running `Command { std: "docker" "start" "-a" "b8097d8d466a4bba9a559e2a3b0961c32e61ea11bb44078a9f4719efa85ba803", kill_on_drop: false }` [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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] [INFO] [stdout] [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 associated function `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 associated function `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/message.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errno_to_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 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] 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling tmq-zmq v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/stream/logserver.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/helloworld_client/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[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/weather_server/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/tasksink2/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 previous error [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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error: aborting due to 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` due to 2 previous errors [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> examples/zguide/weather_server/main.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let zipcode = rng.gen_range(0, 100000); [INFO] [stdout] | ------- ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `zipcode` a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/lib.rs:457:34 [INFO] [stdout] | [INFO] [stdout] 457 | fn gen_range(&mut self, low: T, high: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 24 | let zipcode = rng.gen_range::(0, 100000); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> examples/zguide/weather_server/main.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let temperature = rng.gen_range(-80, 135); [INFO] [stdout] | ----------- ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `temperature` a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/lib.rs:457:34 [INFO] [stdout] | [INFO] [stdout] 457 | fn gen_range(&mut self, low: T, high: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 25 | let temperature = rng.gen_range::(-80, 135); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> examples/zguide/weather_server/main.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let relhumidity = rng.gen_range(10, 60); [INFO] [stdout] | ----------- ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `relhumidity` a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/lib.rs:457:34 [INFO] [stdout] | [INFO] [stdout] 457 | fn gen_range(&mut self, low: T, high: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 26 | let relhumidity = rng.gen_range::(10, 60); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0283, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> examples/zguide/asyncsrv/main.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let replies = rng.gen_range(0, 4); [INFO] [stdout] | ------- ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `replies` a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/lib.rs:457:34 [INFO] [stdout] | [INFO] [stdout] 457 | fn gen_range(&mut self, low: T, high: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 76 | let replies = rng.gen_range::(0, 4); [INFO] [stdout] | +++++ [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 3 previous errors [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] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/msgqueue/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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/wuproxy/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/rrworker/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/pathosub/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/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 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 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/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[E0283]: type annotations needed for `Uniform<{integer}>` [INFO] [stdout] --> examples/zguide/pathosub/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let topic_range = Range::new(0, 1000); [INFO] [stdout] | ----------- ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `topic_range` the explicit type `Uniform<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Uniform::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/distributions/uniform.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Uniform::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Uniform<{integer}>` [INFO] [stdout] --> examples/zguide/pathosub/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let topic_range = Range::new(0, 1000); [INFO] [stdout] | ----------- ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `topic_range` the explicit type `Uniform<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Uniform` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/distributions/uniform.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Uniform` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 19 | let topic_range = Range::::new(0, 1000); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Uniform<{integer}>` [INFO] [stdout] --> examples/zguide/pathosub/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let topic_range = Range::new(0, 1000); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `topic_range` the explicit type `Uniform<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Uniform` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/distributions/uniform.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Uniform` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 19 | let topic_range = Range::new(0, 1000)::; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 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` due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` due to 5 previous errors [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] 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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/rtreq/main.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | broker.send(&identity, SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/rtreq/main.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | broker.send("", SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [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` due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/z85.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | 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 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/taskwork2/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecodeError` [INFO] [stdout] --> tests/z85.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Err(DecodeError::BadLength) => (), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DecodeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/rtdealer/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[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/psenvsub/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[E0433]: failed to resolve: use of undeclared type `DecodeError` [INFO] [stdout] --> tests/z85.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Err(DecodeError::NulError(_)) => (), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DecodeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodeError` [INFO] [stdout] --> tests/z85.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Err(EncodeError::BadLength) => (), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EncodeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_decode` in this scope [INFO] [stdout] --> tests/z85.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let decoded = z85_decode(test_str).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_encode` in this scope [INFO] [stdout] --> tests/z85.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let encoded = z85_encode(&decoded).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/z85.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | match z85_decode(bad_str) { [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/z85.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | match z85_decode(bad_str) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_encode` in this scope [INFO] [stdout] --> tests/z85.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | match z85_encode(bad_bytes) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_encode` in this scope [INFO] [stdout] --> tests/z85.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let encoded = z85_encode(&input.0).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/z85.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let decoded = z85_decode(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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` due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/rtdealer/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | worker.send("", SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/rtdealer/main.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | broker.send(&identity, SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/rtdealer/main.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | broker.send("", SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for struct `JoinHandle<()>` in the current scope [INFO] [stdout] --> tests/connection.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | thread.join().unwrap(); [INFO] [stdout] | ^^^^ method not found in `JoinHandle<()>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `JoinHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 4 previous errors [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/mtserver/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` due to 4 previous errors; 2 warnings emitted [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] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error: aborting due to 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/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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 12 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` due to 5 previous errors [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/version/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] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/taskwork/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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/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[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | .send(&identity, SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | .send("", SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | .send(&client_id, SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | .send("", SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | .send(&worker, SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | .send("", SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | .send(client_id.as_bytes(), SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/lbbroker/main.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | .send("", SNDMORE) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 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 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/msgsend/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/poll/unix.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | 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/rrclient/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` due to 2 previous errors [INFO] [stdout] error[E0283]: type annotations needed for `Uniform<{integer}>` [INFO] [stdout] --> examples/zguide/pathopub/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let topic_range = Range::new(0, 1000); [INFO] [stdout] | ----------- ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `topic_range` the explicit type `Uniform<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Uniform::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/distributions/uniform.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Uniform::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [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] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [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] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/curve.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [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] error[E0283]: type annotations needed for `Uniform<{integer}>` [INFO] [stdout] --> examples/zguide/pathopub/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let topic_range = Range::new(0, 1000); [INFO] [stdout] | ----------- ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `topic_range` the explicit type `Uniform<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Uniform` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/distributions/uniform.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Uniform` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 29 | let topic_range = Range::::new(0, 1000); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Uniform<{integer}>` [INFO] [stdout] --> examples/zguide/pathopub/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let topic_range = Range::new(0, 1000); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `topic_range` the explicit type `Uniform<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Uniform` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.5.6/src/distributions/uniform.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Uniform` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 29 | let topic_range = Range::new(0, 1000)::; [INFO] [stdout] | +++++ [INFO] [stdout] [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] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/psenvpub/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/helloworld_server/main.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` due to 5 previous errors [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: aborting due to 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 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/fileio3/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: aborting due to 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 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` due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/message.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Message::from_slice(&input) == Message::from_slice(&input) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/message.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | Message::from_slice(&input) == Message::from_slice(&input) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/message.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Message::from_slice(&input.0) != Message::from_slice(&input.1) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [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] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/message.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | Message::from_slice(&input.0) != Message::from_slice(&input.1) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [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] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/message.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let original = Message::from_slice(&input.clone()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/message.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Message::from(input) == original [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurveKeyPair` [INFO] [stdout] --> tests/curve.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let server_pair = CurveKeyPair::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurveKeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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[E0433]: failed to resolve: use of undeclared type `CurveKeyPair` [INFO] [stdout] --> tests/curve.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let client_pair = CurveKeyPair::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurveKeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/curve.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[E0412]: cannot find type `Socket` in this scope [INFO] [stdout] --> tests/curve.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | 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/curve.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | 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/curve.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let ctx = Context::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/fileio3/main.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | dealer.send("fetch", SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/fileio3/main.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | dealer.send(&offset.to_string(), SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> examples/zguide/fileio3/main.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | router.send(&identity, SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/zguide/fileio3/main.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let size = try!(file.read(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [INFO] [stderr] error: could not compile `tmq-zmq` due to 2 previous errors [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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` due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq_sys` [INFO] [stdout] --> tests/error.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate zmq_sys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 8 previous errors; 2 warnings emitted [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] [stderr] error: could not compile `tmq-zmq` due to 8 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `errno` [INFO] [stdout] --> tests/error.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | let error = Error::from_raw(errno::EINTR); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/error.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(error, Error::EINTR); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/error.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let error = Error::from_raw(errno::EINTR); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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] [stderr] error: could not compile `tmq-zmq` due to 6 previous errors [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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[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[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 `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] [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] [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] [stderr] error: could not compile `tmq-zmq` due to 5 previous errors; 1 warning emitted [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[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] [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] [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] | ^^^^^^^ not found in this scope [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 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[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] | ^^^^^^^ not found in this scope [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 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 `Context` [INFO] [stdout] --> tests/test.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [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:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] 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: `#[warn(non_fmt_panics)]` on by default [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] 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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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[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[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] | ^^^^^^^ not found in this scope [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[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[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] | ^^^^^^^ not found in this scope [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[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] 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] | ^^^^^^^ not found in this scope [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[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 `Context` [INFO] [stdout] --> tests/test.rs:518:15 [INFO] [stdout] | [INFO] [stdout] 518 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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] | ^^^^^^^ not found in this scope [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: 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] 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: 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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] [stdout] error: aborting due to 128 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` due to 129 previous errors; 3 warnings emitted [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] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8097d8d466a4bba9a559e2a3b0961c32e61ea11bb44078a9f4719efa85ba803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8097d8d466a4bba9a559e2a3b0961c32e61ea11bb44078a9f4719efa85ba803", kill_on_drop: false }` [INFO] [stdout] b8097d8d466a4bba9a559e2a3b0961c32e61ea11bb44078a9f4719efa85ba803