[INFO] fetching crate sawtooth-zmq 0.8.2-dev5... [INFO] building sawtooth-zmq-0.8.2-dev5 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate sawtooth-zmq 0.8.2-dev5 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sawtooth-zmq 0.8.2-dev5 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 126 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.28) [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.23.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 nix v0.7.0 [INFO] [stderr] Downloaded compiletest_rs v0.11.2 [INFO] [stderr] Downloaded metadeps v1.1.2 [INFO] [stderr] Downloaded miow v0.6.1 [INFO] [stderr] Downloaded rustfix v0.8.7 [INFO] [stderr] Downloaded atom v0.3.6 [INFO] [stderr] Downloaded pulse v0.5.3 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded zmq-sys v0.8.3 [INFO] [stderr] Downloaded timebomb v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7214b06f805e2bd89872be062aaa0027e5a4595278150ff8d605d315abc4e33e [INFO] running `Command { std: "docker" "start" "-a" "7214b06f805e2bd89872be062aaa0027e5a4595278150ff8d605d315abc4e33e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7214b06f805e2bd89872be062aaa0027e5a4595278150ff8d605d315abc4e33e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7214b06f805e2bd89872be062aaa0027e5a4595278150ff8d605d315abc4e33e", kill_on_drop: false }` [INFO] [stdout] 7214b06f805e2bd89872be062aaa0027e5a4595278150ff8d605d315abc4e33e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c5e2b0dca028fa47f062dbfe380ee3338f76ae4fc6383d8e3e6b48fb01a8dc [INFO] running `Command { std: "docker" "start" "-a" "54c5e2b0dca028fa47f062dbfe380ee3338f76ae4fc6383d8e3e6b48fb01a8dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling toml v0.2.1 [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.85s [INFO] running `Command { std: "docker" "inspect" "54c5e2b0dca028fa47f062dbfe380ee3338f76ae4fc6383d8e3e6b48fb01a8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c5e2b0dca028fa47f062dbfe380ee3338f76ae4fc6383d8e3e6b48fb01a8dc", kill_on_drop: false }` [INFO] [stdout] 54c5e2b0dca028fa47f062dbfe380ee3338f76ae4fc6383d8e3e6b48fb01a8dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2634e004fc18be344933fc91f980945397c3aa670d3e4b96ff25b549e0dad73c [INFO] running `Command { std: "docker" "start" "-a" "2634e004fc18be344933fc91f980945397c3aa670d3e4b96ff25b549e0dad73c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling tempfile v2.2.0 [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] Compiling pulse v0.5.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling sawtooth-zmq v0.8.2-dev5 (/opt/rustwide/workdir) [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 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: 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 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: 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] [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: 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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.61s [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 5` [INFO] running `Command { std: "docker" "inspect" "2634e004fc18be344933fc91f980945397c3aa670d3e4b96ff25b549e0dad73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2634e004fc18be344933fc91f980945397c3aa670d3e4b96ff25b549e0dad73c", kill_on_drop: false }` [INFO] [stdout] 2634e004fc18be344933fc91f980945397c3aa670d3e4b96ff25b549e0dad73c