[INFO] fetching crate tmq-zmq 0.9.0... [INFO] checking tmq-zmq-0.9.0 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate tmq-zmq 0.9.0 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tmq-zmq 0.9.0 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.11.0) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.10) [INFO] [stderr] Adding nix v0.11.1 (available: v0.31.2) [INFO] [stderr] Adding quickcheck v0.6.2 (available: v1.1.0) [INFO] [stderr] Adding rand v0.5.6 (available: v0.10.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9289b34c1560cdad4a97e6ed1f66d3e2ea94e9a2b7d3ec5faf2a1845654227c6 [INFO] running `Command { std: "docker" "start" "-a" "9289b34c1560cdad4a97e6ed1f66d3e2ea94e9a2b7d3ec5faf2a1845654227c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9289b34c1560cdad4a97e6ed1f66d3e2ea94e9a2b7d3ec5faf2a1845654227c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9289b34c1560cdad4a97e6ed1f66d3e2ea94e9a2b7d3ec5faf2a1845654227c6", kill_on_drop: false }` [INFO] [stdout] 9289b34c1560cdad4a97e6ed1f66d3e2ea94e9a2b7d3ec5faf2a1845654227c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 351990cf0833414fc33b1fe36aa284a051e10f794a7b359c22fb08697cd42e0f [INFO] running `Command { std: "docker" "start" "-a" "351990cf0833414fc33b1fe36aa284a051e10f794a7b359c22fb08697cd42e0f", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking num-conv v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Compiling tmq-zmq-sys v0.9.0 [INFO] [stderr] Compiling tmq-zmq v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:9:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> build.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 7 - for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [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] [stderr] Checking time v0.3.47 [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1066:7 [INFO] [stdout] | [INFO] [stdout] 1066 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1073:7 [INFO] [stdout] | [INFO] [stdout] 1073 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/message.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe extern fn drop_msg_content_box(data: *mut c_void, _hint: *mut c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:850:11 [INFO] [stdout] | [INFO] [stdout] 850 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:860:11 [INFO] [stdout] | [INFO] [stdout] 860 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:875:11 [INFO] [stdout] | [INFO] [stdout] 875 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:881:11 [INFO] [stdout] | [INFO] [stdout] 881 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:887:11 [INFO] [stdout] | [INFO] [stdout] 887 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (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: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] 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] 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: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stdout] --> src/lib.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | if cfg!(ZMQ_HAS_ZMQ_HAS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_ZMQ_HAS)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_ZMQ_HAS)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/message.rs:38:18","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:246:27","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:273:22","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:283:22","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:346:15","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:439:23","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1121:48","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1122:59","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1179:48","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1180:54","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1131:52 [INFO] [stdout] | [INFO] [stdout] 1131 | EncodeError::FromUtf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1189:47 [INFO] [stdout] | [INFO] [stdout] 1189 | DecodeError::NulError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:437:24 [INFO] [stdout] | [INFO] [stdout] 437 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 437 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 437 - panic!(errno_to_error()); [INFO] [stdout] 437 + std::panic::panic_any(errno_to_error()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:911:25 [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/message.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errno_to_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = 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 - panic!(errno_to_error()) [INFO] [stdout] 52 + std::panic::panic_any(errno_to_error()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking timebomb v0.1.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/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/asyncsrv/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/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/pathosub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"asyncsrv","loc":"examples/zguide/asyncsrv/main.rs:18:27","p":1,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"asyncsrv","loc":"examples/zguide/asyncsrv/main.rs:32:25","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"asyncsrv","loc":"examples/zguide/asyncsrv/main.rs:36:30","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"pathosub","loc":"examples/zguide/pathosub/main.rs:20:31","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"pathosub","loc":"examples/zguide/pathosub/main.rs:27:17","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [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/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[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` (example "wuproxy") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [FMTARGS] {"crate":"psenvsub","loc":"examples/zguide/psenvsub/main.rs:24:17","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [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] [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] [stderr] [FMTARGS] {"crate":"helloworld_server","loc":"examples/zguide/helloworld_server/main.rs:21:17","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [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] [stderr] [FMTARGS] {"crate":"syncsub","loc":"examples/zguide/syncsub/main.rs:40:13","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"version","loc":"examples/zguide/version/main.rs:7:13","p":4,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] error: could not compile `tmq-zmq` (example "psenvpub") due to 1 previous error [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] 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] 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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "psenvsub") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "helloworld_server") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "pathosub") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "asyncsrv") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/mtrelay/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/rtdealer/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "mtserver") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "version") due to 1 previous error [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] [stderr] error: could not compile `tmq-zmq` (example "syncsub") due to 1 previous error [INFO] [stderr] [FMTARGS] {"crate":"mtrelay","loc":"examples/zguide/mtrelay/main.rs:12:13","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"mtrelay","loc":"examples/zguide/mtrelay/main.rs:33:13","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"mtrelay","loc":"examples/zguide/mtrelay/main.rs:49:13","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"weather_server","loc":"examples/zguide/weather_server/main.rs:31:29","p":2,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [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] [stderr] [FMTARGS] {"crate":"rtdealer","loc":"examples/zguide/rtdealer/main.rs:15:33","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"rtdealer","loc":"examples/zguide/rtdealer/main.rs:36:21","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "mtrelay") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "mspoller") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "weather_server") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "rtdealer") due to 1 previous error [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] [stderr] [FMTARGS] {"crate":"curve","loc":"tests/curve.rs:36:13","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"curve","loc":"tests/curve.rs:37:23","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1066:7 [INFO] [stdout] | [INFO] [stdout] 1066 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1073:7 [INFO] [stdout] | [INFO] [stdout] 1073 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/message.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe extern fn drop_msg_content_box(data: *mut c_void, _hint: *mut c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:850:11 [INFO] [stdout] | [INFO] [stdout] 850 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:860:11 [INFO] [stdout] | [INFO] [stdout] 860 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:875:11 [INFO] [stdout] | [INFO] [stdout] 875 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:881:11 [INFO] [stdout] | [INFO] [stdout] 881 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:887:11 [INFO] [stdout] | [INFO] [stdout] 887 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (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: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] 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] 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: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stdout] --> src/lib.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | if cfg!(ZMQ_HAS_ZMQ_HAS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_ZMQ_HAS)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_ZMQ_HAS)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 constant `std::sync::ONCE_INIT`: the `Once::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 `Once::new()` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 8 - static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] 8 + static LOGGER_INIT: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/message.rs:38:18","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:246:27","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:273:22","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:283:22","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:346:15","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:439:23","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1121:48","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1122:59","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1179:48","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"tmq_zmq","loc":"src/lib.rs:1180:54","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] [stderr] error: could not compile `tmq-zmq` (test "curve") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1131:52 [INFO] [stdout] | [INFO] [stdout] 1131 | EncodeError::FromUtf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1189:47 [INFO] [stdout] | [INFO] [stdout] 1189 | DecodeError::NulError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:437:24 [INFO] [stdout] | [INFO] [stdout] 437 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 437 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 437 - panic!(errno_to_error()); [INFO] [stdout] 437 + std::panic::panic_any(errno_to_error()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:911:25 [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/message.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errno_to_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = 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 - panic!(errno_to_error()) [INFO] [stdout] 52 + std::panic::panic_any(errno_to_error()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "351990cf0833414fc33b1fe36aa284a051e10f794a7b359c22fb08697cd42e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351990cf0833414fc33b1fe36aa284a051e10f794a7b359c22fb08697cd42e0f", kill_on_drop: false }` [INFO] [stdout] 351990cf0833414fc33b1fe36aa284a051e10f794a7b359c22fb08697cd42e0f