[INFO] fetching crate sawtooth-zmq 0.8.2-dev5... [INFO] testing sawtooth-zmq-0.8.2-dev5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sawtooth-zmq 0.8.2-dev5 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate sawtooth-zmq 0.8.2-dev5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sawtooth-zmq 0.8.2-dev5 [INFO] tweaked toml for crates.io crate sawtooth-zmq 0.8.2-dev5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sawtooth-zmq 0.8.2-dev5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 133 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.8) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding nix v0.7.0 (available: v0.30.1) [INFO] [stderr] Adding quickcheck v0.4.1 (available: v1.0.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding tempfile v2.2.0 (available: v3.21.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding zmq-sys v0.8.3 (available: v0.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded timebomb v0.1.2 [INFO] [stderr] Downloaded metadeps v1.1.2 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded rustfix v0.8.7 [INFO] [stderr] Downloaded getopts v0.2.24 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded miow v0.6.0 [INFO] [stderr] Downloaded zmq-sys v0.8.3 [INFO] [stderr] Downloaded atom v0.3.6 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded compiletest_rs v0.11.2 [INFO] [stderr] Downloaded pulse v0.5.3 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 210091d127f1f2cecb291f3d7a710dbd13a77198c9f96a638b62445be695325c [INFO] running `Command { std: "docker" "start" "-a" "210091d127f1f2cecb291f3d7a710dbd13a77198c9f96a638b62445be695325c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "210091d127f1f2cecb291f3d7a710dbd13a77198c9f96a638b62445be695325c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210091d127f1f2cecb291f3d7a710dbd13a77198c9f96a638b62445be695325c", kill_on_drop: false }` [INFO] [stdout] 210091d127f1f2cecb291f3d7a710dbd13a77198c9f96a638b62445be695325c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77b6dbf345ea4d04a2444704af63ef07ad1bf4c4188f8233c230ab90bf63986e [INFO] running `Command { std: "docker" "start" "-a" "77b6dbf345ea4d04a2444704af63ef07ad1bf4c4188f8233c230ab90bf63986e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling zmq-sys v0.8.3 [INFO] [stderr] Compiling sawtooth-zmq v0.8.2-dev5 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> build.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (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] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1138:7 [INFO] [stdout] | [INFO] [stdout] 1138 | #[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:1145:7 [INFO] [stdout] | [INFO] [stdout] 1145 | #[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:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let result: i32 = try!(get(sock, opt)); [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/message.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let mut msg = try!(Message::with_capacity_unallocated(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let mut msg = try!(Message::with_capacity_unallocated(data.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:934:11 [INFO] [stdout] | [INFO] [stdout] 934 | #[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:941:11 [INFO] [stdout] | [INFO] [stdout] 941 | #[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:948:11 [INFO] [stdout] | [INFO] [stdout] 948 | #[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:955:11 [INFO] [stdout] | [INFO] [stdout] 955 | #[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:961:11 [INFO] [stdout] | [INFO] [stdout] 961 | #[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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | / sockopts! { [INFO] [stdout] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 784 | | }, [INFO] [stdout] 785 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | / sockopts! { [INFO] [stdout] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 784 | | }, [INFO] [stdout] 785 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 967 | / sockopts! { [INFO] [stdout] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 981 | | }, [INFO] [stdout] 982 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 967 | / sockopts! { [INFO] [stdout] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 981 | | }, [INFO] [stdout] 982 | | } [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:685:19 [INFO] [stdout] | [INFO] [stdout] 685 | let msg = try!(Message::from_slice(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | try!(self.send(last_part, flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:706:13 [INFO] [stdout] | [INFO] [stdout] 706 | try!(self.send(part, 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:731:23 [INFO] [stdout] | [INFO] [stdout] 731 | let mut msg = try!(Message::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:756:24 [INFO] [stdout] | [INFO] [stdout] 756 | 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:759:30 [INFO] [stdout] | [INFO] [stdout] 759 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stdout] --> src/lib.rs:1127:13 [INFO] [stdout] | [INFO] [stdout] 1127 | 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:1275:17 [INFO] [stdout] | [INFO] [stdout] 1275 | let c_str = try!(ffi::CString::new(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1198:52 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1256:47 [INFO] [stdout] | [INFO] [stdout] 1256 | 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:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 545 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 545 - panic!(errno_to_error()); [INFO] [stdout] 545 + 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:985:25 [INFO] [stdout] | [INFO] [stdout] 985 | 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] 985 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "77b6dbf345ea4d04a2444704af63ef07ad1bf4c4188f8233c230ab90bf63986e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b6dbf345ea4d04a2444704af63ef07ad1bf4c4188f8233c230ab90bf63986e", kill_on_drop: false }` [INFO] [stdout] 77b6dbf345ea4d04a2444704af63ef07ad1bf4c4188f8233c230ab90bf63986e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d72d44da946873a067a98fec25e15ab1900e571b380472b213e2b13091fc322 [INFO] running `Command { std: "docker" "start" "-a" "9d72d44da946873a067a98fec25e15ab1900e571b380472b213e2b13091fc322", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling rand v0.3.23 [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] Compiling time v0.1.45 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1138:7 [INFO] [stdout] | [INFO] [stdout] 1138 | #[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:1145:7 [INFO] [stdout] | [INFO] [stdout] 1145 | #[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:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let result: i32 = try!(get(sock, opt)); [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/message.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let mut msg = try!(Message::with_capacity_unallocated(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let mut msg = try!(Message::with_capacity_unallocated(data.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:934:11 [INFO] [stdout] | [INFO] [stdout] 934 | #[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:941:11 [INFO] [stdout] | [INFO] [stdout] 941 | #[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:948:11 [INFO] [stdout] | [INFO] [stdout] 948 | #[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:955:11 [INFO] [stdout] | [INFO] [stdout] 955 | #[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:961:11 [INFO] [stdout] | [INFO] [stdout] 961 | #[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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | / sockopts! { [INFO] [stdout] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 784 | | }, [INFO] [stdout] 785 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | / sockopts! { [INFO] [stdout] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 784 | | }, [INFO] [stdout] 785 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 967 | / sockopts! { [INFO] [stdout] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 981 | | }, [INFO] [stdout] 982 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 967 | / sockopts! { [INFO] [stdout] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 981 | | }, [INFO] [stdout] 982 | | } [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:685:19 [INFO] [stdout] | [INFO] [stdout] 685 | let msg = try!(Message::from_slice(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | try!(self.send(last_part, flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:706:13 [INFO] [stdout] | [INFO] [stdout] 706 | try!(self.send(part, 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:731:23 [INFO] [stdout] | [INFO] [stdout] 731 | let mut msg = try!(Message::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:756:24 [INFO] [stdout] | [INFO] [stdout] 756 | 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:759:30 [INFO] [stdout] | [INFO] [stdout] 759 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stdout] --> src/lib.rs:1127:13 [INFO] [stdout] | [INFO] [stdout] 1127 | 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:1275:17 [INFO] [stdout] | [INFO] [stdout] 1275 | let c_str = try!(ffi::CString::new(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1198:52 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1256:47 [INFO] [stdout] | [INFO] [stdout] 1256 | 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:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 545 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 545 - panic!(errno_to_error()); [INFO] [stdout] 545 + 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:985:25 [INFO] [stdout] | [INFO] [stdout] 985 | 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] 985 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling quickcheck v0.4.1 [INFO] [stderr] Compiling sawtooth-zmq v0.8.2-dev5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/zguide/fileio3/main.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let size = try!(file.read(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> tests/test.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[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] --> tests/test.rs:457:7 [INFO] [stdout] | [INFO] [stdout] 457 | #[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] --> tests/test.rs:465:7 [INFO] [stdout] | [INFO] [stdout] 465 | #[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] --> tests/test.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | #[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] --> tests/test.rs:481:7 [INFO] [stdout] | [INFO] [stdout] 481 | #[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] --> tests/test.rs:513:7 [INFO] [stdout] | [INFO] [stdout] 513 | #[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] --> tests/test.rs:521:7 [INFO] [stdout] | [INFO] [stdout] 521 | #[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] --> tests/test.rs:529:7 [INFO] [stdout] | [INFO] [stdout] 529 | #[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] --> tests/test.rs:537:7 [INFO] [stdout] | [INFO] [stdout] 537 | #[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] --> tests/test.rs:545:7 [INFO] [stdout] | [INFO] [stdout] 545 | #[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: 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] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1138:7 [INFO] [stdout] | [INFO] [stdout] 1138 | #[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:1145:7 [INFO] [stdout] | [INFO] [stdout] 1145 | #[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:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let result: i32 = try!(get(sock, opt)); [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/message.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let mut msg = try!(Message::with_capacity_unallocated(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let mut msg = try!(Message::with_capacity_unallocated(data.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:934:11 [INFO] [stdout] | [INFO] [stdout] 934 | #[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:941:11 [INFO] [stdout] | [INFO] [stdout] 941 | #[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:948:11 [INFO] [stdout] | [INFO] [stdout] 948 | #[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:955:11 [INFO] [stdout] | [INFO] [stdout] 955 | #[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:961:11 [INFO] [stdout] | [INFO] [stdout] 961 | #[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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | / sockopts! { [INFO] [stdout] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 784 | | }, [INFO] [stdout] 785 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | / sockopts! { [INFO] [stdout] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 784 | | }, [INFO] [stdout] 785 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 967 | / sockopts! { [INFO] [stdout] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 981 | | }, [INFO] [stdout] 982 | | } [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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 967 | / sockopts! { [INFO] [stdout] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 981 | | }, [INFO] [stdout] 982 | | } [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:685:19 [INFO] [stdout] | [INFO] [stdout] 685 | let msg = try!(Message::from_slice(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | try!(self.send(last_part, flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:706:13 [INFO] [stdout] | [INFO] [stdout] 706 | try!(self.send(part, 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:731:23 [INFO] [stdout] | [INFO] [stdout] 731 | let mut msg = try!(Message::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:756:24 [INFO] [stdout] | [INFO] [stdout] 756 | 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:759:30 [INFO] [stdout] | [INFO] [stdout] 759 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stdout] --> src/lib.rs:1127:13 [INFO] [stdout] | [INFO] [stdout] 1127 | 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:1275:17 [INFO] [stdout] | [INFO] [stdout] 1275 | let c_str = try!(ffi::CString::new(data)); [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] --> tests/test.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let desc = err.description(); [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 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] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1198:52 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1256:47 [INFO] [stdout] | [INFO] [stdout] 1256 | 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:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 545 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 545 - panic!(errno_to_error()); [INFO] [stdout] 545 + 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:985:25 [INFO] [stdout] | [INFO] [stdout] 985 | 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] 985 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [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] [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] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> examples/zguide/monitor/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | drop(socket); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 61 - drop(socket); [INFO] [stdout] 61 + let _ = socket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9d72d44da946873a067a98fec25e15ab1900e571b380472b213e2b13091fc322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d72d44da946873a067a98fec25e15ab1900e571b380472b213e2b13091fc322", kill_on_drop: false }` [INFO] [stdout] 9d72d44da946873a067a98fec25e15ab1900e571b380472b213e2b13091fc322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a0f643ab8bbfa85c0b28c38d7eb004018c481df5d1332afce9beb96bb9c13a1 [INFO] running `Command { std: "docker" "start" "-a" "7a0f643ab8bbfa85c0b28c38d7eb004018c481df5d1332afce9beb96bb9c13a1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] 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] [stderr] --> build.rs:7:63 [INFO] [stderr] | [INFO] [stderr] 7 | for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 7 - for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stderr] 7 + for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].iter() { [INFO] [stderr] | [INFO] [stderr] help: or remove `.into_iter()` to iterate by value [INFO] [stderr] | [INFO] [stderr] 7 - for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stderr] 7 + for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"] { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sawtooth-zmq` (build script) generated 1 warning [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> src/lib.rs:1138:7 [INFO] [stderr] | [INFO] [stderr] 1138 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> src/lib.rs:1145:7 [INFO] [stderr] | [INFO] [stderr] 1145 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/sockopt.rs:111:27 [INFO] [stderr] | [INFO] [stderr] 111 | let result: i32 = try!(get(sock, opt)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:67:27 [INFO] [stderr] | [INFO] [stderr] 67 | let mut msg = try!(Message::with_capacity_unallocated(len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:76:27 [INFO] [stderr] | [INFO] [stderr] 76 | let mut msg = try!(Message::with_capacity_unallocated(data.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> src/lib.rs:934:11 [INFO] [stderr] | [INFO] [stderr] 934 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> src/lib.rs:941:11 [INFO] [stderr] | [INFO] [stderr] 941 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> src/lib.rs:948:11 [INFO] [stderr] | [INFO] [stderr] 948 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> src/lib.rs:955:11 [INFO] [stderr] | [INFO] [stderr] 955 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> src/lib.rs:961:11 [INFO] [stderr] | [INFO] [stderr] 961 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> src/lib.rs:580:33 [INFO] [stderr] | [INFO] [stderr] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 767 | / sockopts! { [INFO] [stderr] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stderr] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stderr] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stderr] ... | [INFO] [stderr] 784 | | }, [INFO] [stderr] 785 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> src/lib.rs:580:33 [INFO] [stderr] | [INFO] [stderr] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 767 | / sockopts! { [INFO] [stderr] 768 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stderr] 769 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stderr] 770 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stderr] ... | [INFO] [stderr] 784 | | }, [INFO] [stderr] 785 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> src/lib.rs:580:33 [INFO] [stderr] | [INFO] [stderr] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 967 | / sockopts! { [INFO] [stderr] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stderr] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stderr] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stderr] ... | [INFO] [stderr] 981 | | }, [INFO] [stderr] 982 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> src/lib.rs:580:33 [INFO] [stderr] | [INFO] [stderr] 580 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 967 | / sockopts! { [INFO] [stderr] 968 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stderr] 969 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stderr] 970 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stderr] ... | [INFO] [stderr] 981 | | }, [INFO] [stderr] 982 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:685:19 [INFO] [stderr] | [INFO] [stderr] 685 | let msg = try!(Message::from_slice(data)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:708:9 [INFO] [stderr] | [INFO] [stderr] 708 | try!(self.send(last_part, flags)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:706:13 [INFO] [stderr] | [INFO] [stderr] 706 | try!(self.send(part, flags | SNDMORE)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:731:23 [INFO] [stderr] | [INFO] [stderr] 731 | let mut msg = try!(Message::new()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:756:24 [INFO] [stderr] | [INFO] [stderr] 756 | let part = try!(self.recv_bytes(flags)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:759:30 [INFO] [stderr] | [INFO] [stderr] 759 | let more_parts = try!(self.get_rcvmore()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stderr] --> src/lib.rs:1127:13 [INFO] [stderr] | [INFO] [stderr] 1127 | if cfg!(ZMQ_HAS_ZMQ_HAS) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_ZMQ_HAS)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_ZMQ_HAS)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:1275:17 [INFO] [stderr] | [INFO] [stderr] 1275 | let c_str = try!(ffi::CString::new(data)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stderr] --> src/sockopt.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> src/sockopt.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stderr] --> src/sockopt.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | getsockopt_num!(int64_t, i64); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> src/sockopt.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:1198:52 [INFO] [stderr] | [INFO] [stderr] 1198 | EncodeError::FromUtf8Error(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:1256:47 [INFO] [stderr] | [INFO] [stderr] 1256 | DecodeError::NulError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:545:24 [INFO] [stderr] | [INFO] [stderr] 545 | panic!(errno_to_error()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 545 | panic!("{}", errno_to_error()); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 545 - panic!(errno_to_error()); [INFO] [stderr] 545 + std::panic::panic_any(errno_to_error()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:985:25 [INFO] [stderr] | [INFO] [stderr] 985 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 985 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sawtooth-zmq` (lib) generated 30 warnings (run `cargo fix --lib -p sawtooth-zmq` to apply 2 suggestions) [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> tests/common/mod.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> tests/common/mod.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated constant [INFO] [stderr] | [INFO] [stderr] 8 - static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stderr] 8 + static LOGGER_INIT: Once = Once::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sawtooth-zmq` (test "connection") generated 2 warnings (run `cargo fix --test "connection"` to apply 1 suggestion) [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> tests/test.rs:141:7 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> tests/test.rs:457:7 [INFO] [stderr] | [INFO] [stderr] 457 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> tests/test.rs:465:7 [INFO] [stderr] | [INFO] [stderr] 465 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> tests/test.rs:473:7 [INFO] [stderr] | [INFO] [stderr] 473 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stderr] --> tests/test.rs:481:7 [INFO] [stderr] | [INFO] [stderr] 481 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> tests/test.rs:513:7 [INFO] [stderr] | [INFO] [stderr] 513 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> tests/test.rs:521:7 [INFO] [stderr] | [INFO] [stderr] 521 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> tests/test.rs:529:7 [INFO] [stderr] | [INFO] [stderr] 529 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> tests/test.rs:537:7 [INFO] [stderr] | [INFO] [stderr] 537 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stderr] --> tests/test.rs:545:7 [INFO] [stderr] | [INFO] [stderr] 545 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tests/test.rs:129:20 [INFO] [stderr] | [INFO] [stderr] 129 | let desc = err.description(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> examples/zguide/fileio3/main.rs:109:20 [INFO] [stderr] | [INFO] [stderr] 109 | let size = try!(file.read(&mut data)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> examples/zguide/monitor/main.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | drop(socket); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Socket` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 61 - drop(socket); [INFO] [stderr] 61 + let _ = socket; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sawtooth-zmq` (test "test") generated 13 warnings (2 duplicates) [INFO] [stderr] warning: `sawtooth-zmq` (example "fileio3") generated 1 warning [INFO] [stderr] warning: `sawtooth-zmq` (example "monitor") generated 1 warning [INFO] [stderr] warning: `sawtooth-zmq` (lib test) generated 30 warnings (30 duplicates) [INFO] [stderr] warning: `sawtooth-zmq` (test "curve") generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `sawtooth-zmq` (test "message") generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zmq-5cd83fbf5cbd034b) [INFO] [stderr] Running tests/compile-tests.rs (/opt/rustwide/target/debug/deps/compile_tests-637b40b472f999f3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/connection.rs (/opt/rustwide/target/debug/deps/connection-d0fa7178c5866b56) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test unix::test_external_poll_inproc ... ok [INFO] [stdout] test test_poll_inproc ... ok [INFO] [stdout] test test_poll_tcp ... ok [INFO] [stdout] test unix::test_external_poll_tcp ... ok [INFO] [stdout] test test_inproc ... ok [INFO] [stdout] test unix::test_external_poll_ipc ... ok [INFO] [stdout] test test_tcp ... ok [INFO] [stderr] Running tests/curve.rs (/opt/rustwide/target/debug/deps/curve-3f399f78777571ef) [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_curve_messages ... ok [INFO] [stderr] Running tests/error.rs (/opt/rustwide/target/debug/deps/error-26e86553b6cf8f88) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test from_raw_eintr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/message.rs (/opt/rustwide/target/debug/deps/message-79ee9572963304af) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test msg_cmp_eq ... ok [INFO] [stdout] test msg_cmp_ne ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/poll.rs (/opt/rustwide/target/debug/deps/poll-4a393dd528f6844e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test unix::test_pipe_poll ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-7771d324bba06c7d) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test test_curve_keypair ... ok [INFO] [stdout] test test_ctx_nohang ... ok [INFO] [stdout] test test_create_stream_socket ... ok [INFO] [stdout] test test_exchanging_multipart ... ok [INFO] [stdout] test test_exchanging_messages ... ok [INFO] [stdout] test test_exchanging_bytes ... ok [INFO] [stdout] test test_get_fd ... ok [INFO] [stdout] test test_get_socket_type ... ok [INFO] [stdout] test test_disconnect_err ... ok [INFO] [stdout] test test_exchanging_strings ... ok [INFO] [stdout] test test_getset_conflate ... ok [INFO] [stdout] test test_getset_affinity ... ok [INFO] [stdout] test test_getset_curve_secretkey ... ok [INFO] [stdout] test test_getset_curve_publickey ... ok [INFO] [stdout] test test_getset_gssapi_principal ... ok [INFO] [stdout] test test_getset_curve_server ... ok [INFO] [stdout] test test_getset_gssapi_plaintext ... ok [INFO] [stdout] test test_getset_gssapi_server ... ok [INFO] [stdout] test test_getset_handshake_ivl ... ok [INFO] [stdout] test test_getset_immediate ... ok [INFO] [stdout] test test_getset_gssapi_service_principal ... ok [INFO] [stdout] test test_getset_curve_serverkey ... ok [INFO] [stdout] test test_getset_identity ... ok [INFO] [stdout] test test_getset_ipv6 ... ok [INFO] [stdout] test test_getset_keepalive_cnt ... ok [INFO] [stdout] test test_getset_keepalive ... ok [INFO] [stdout] test test_getset_keepalive_idle ... ok [INFO] [stdout] test test_getset_linger ... ok [INFO] [stdout] test test_getset_plain_username ... ok [INFO] [stdout] test test_getset_maxmsgsize ... ok [INFO] [stdout] test test_getset_plain_password ... ok [INFO] [stdout] test test_getset_multicast_hops ... ok [INFO] [stdout] test test_getset_plain_server ... ok [INFO] [stdout] test test_getset_rcvbuf ... ok [INFO] [stdout] test test_getset_rcvtimeo ... ok [INFO] [stdout] test test_getset_rate ... ok [INFO] [stdout] test test_getset_reconnect_ivl_max ... ok [INFO] [stdout] test test_getset_rcvhwm ... ok [INFO] [stdout] test test_getset_reconnect_ivl ... ok [INFO] [stdout] test test_getset_tcp_keepalive_intvl ... ok [INFO] [stdout] test test_disconnect ... ok [INFO] [stdout] test test_getset_socks_proxy ... ok [INFO] [stdout] test test_getset_sndtimeo ... ok [INFO] [stdout] test test_getset_recovery_ivl ... ok [INFO] [stdout] test test_getset_sndbuf ... ok [INFO] [stdout] test test_getset_sndhwm ... ok [INFO] [stdout] test test_version ... ok [INFO] [stdout] test test_zmq_error ... ok [INFO] [stdout] test test_into_io_error ... ok [INFO] [stdout] test test_getset_tos ... ok [INFO] [stdout] test test_subscription ... ok [INFO] [stdout] test test_raw_roundtrip ... ok [INFO] [stdout] test test_getset_backlog ... ok [INFO] [stdout] test test_getset_zap_domain ... ok [INFO] [stdout] test test_polling ... ok [INFO] [stderr] Running tests/z85.rs (/opt/rustwide/target/debug/deps/z85-8d86d2e415b9f030) [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_decode_errors ... ok [INFO] [stdout] test test_z85 ... ok [INFO] [stdout] test z85_roundtrip ... ok [INFO] [stderr] Doc-tests zmq [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Socket::get_events (line 822) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a0f643ab8bbfa85c0b28c38d7eb004018c481df5d1332afce9beb96bb9c13a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a0f643ab8bbfa85c0b28c38d7eb004018c481df5d1332afce9beb96bb9c13a1", kill_on_drop: false }` [INFO] [stdout] 7a0f643ab8bbfa85c0b28c38d7eb004018c481df5d1332afce9beb96bb9c13a1