[INFO] fetching crate tmq-zmq 0.9.0... [INFO] testing tmq-zmq-0.9.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tmq-zmq 0.9.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate tmq-zmq 0.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tmq-zmq 0.9.0 [INFO] tweaked toml for crates.io crate tmq-zmq 0.9.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tmq-zmq 0.9.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.9.3) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding nix v0.11.1 (available: v0.30.1) [INFO] [stderr] Adding quickcheck v0.6.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+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 metadeps v1.1.2 [INFO] [stderr] Downloaded timebomb v0.1.2 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded compiletest_rs v0.11.2 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded tmq-zmq-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 465059ef4d029b555fa1d4cd71478f3cf90850dd856a044d364357bed1c2ea49 [INFO] running `Command { std: "docker" "start" "-a" "465059ef4d029b555fa1d4cd71478f3cf90850dd856a044d364357bed1c2ea49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "465059ef4d029b555fa1d4cd71478f3cf90850dd856a044d364357bed1c2ea49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465059ef4d029b555fa1d4cd71478f3cf90850dd856a044d364357bed1c2ea49", kill_on_drop: false }` [INFO] [stdout] 465059ef4d029b555fa1d4cd71478f3cf90850dd856a044d364357bed1c2ea49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e0b9b7e06c737ede14c3f097fe9a7fb328e702afd5f38ae8ce665160d8a0fd4f [INFO] running `Command { std: "docker" "start" "-a" "e0b9b7e06c737ede14c3f097fe9a7fb328e702afd5f38ae8ce665160d8a0fd4f", 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 bitflags v0.7.0 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling tmq-zmq-sys v0.9.0 [INFO] [stderr] Compiling tmq-zmq v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> build.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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:1066:7 [INFO] [stdout] | [INFO] [stdout] 1066 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1073:7 [INFO] [stdout] | [INFO] [stdout] 1073 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockopt.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut value = try!(get_bytes(sock, opt, size)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockopt.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | let result: i32 = try!(get(sock, opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/message.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe extern fn drop_msg_content_box(data: *mut c_void, _hint: *mut c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:850:11 [INFO] [stdout] | [INFO] [stdout] 850 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:860:11 [INFO] [stdout] | [INFO] [stdout] 860 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:875:11 [INFO] [stdout] | [INFO] [stdout] 875 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:881:11 [INFO] [stdout] | [INFO] [stdout] 881 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:887:11 [INFO] [stdout] | [INFO] [stdout] 887 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | try!(self.send(last.into(), flags | SNDMORE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:672:24 [INFO] [stdout] | [INFO] [stdout] 672 | let part = try!(self.recv_bytes(flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:1 [INFO] [stdout] | [INFO] [stdout] 930 | / bitflags! { [INFO] [stdout] 931 | | /// Type representing pending socket events. [INFO] [stdout] 932 | | pub flags PollEvents: i16 { [INFO] [stdout] 933 | | /// For `poll()`, specifies to signal when a message/some data [INFO] [stdout] ... | [INFO] [stdout] 944 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:1 [INFO] [stdout] | [INFO] [stdout] 930 | / bitflags! { [INFO] [stdout] 931 | | /// Type representing pending socket events. [INFO] [stdout] 932 | | pub flags PollEvents: i16 { [INFO] [stdout] 933 | | /// For `poll()`, specifies to signal when a message/some data [INFO] [stdout] ... | [INFO] [stdout] 944 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stdout] --> src/lib.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | if cfg!(ZMQ_HAS_ZMQ_HAS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_ZMQ_HAS)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_ZMQ_HAS)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1208:17 [INFO] [stdout] | [INFO] [stdout] 1208 | let c_str = try!(ffi::CString::new(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1131:52 [INFO] [stdout] | [INFO] [stdout] 1131 | EncodeError::FromUtf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1189:47 [INFO] [stdout] | [INFO] [stdout] 1189 | DecodeError::NulError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:437:24 [INFO] [stdout] | [INFO] [stdout] 437 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 437 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 437 - panic!(errno_to_error()); [INFO] [stdout] 437 + std::panic::panic_any(errno_to_error()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:911:25 [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/message.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errno_to_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errno_to_error()) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errno_to_error()) [INFO] [stdout] 52 + std::panic::panic_any(errno_to_error()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.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" "e0b9b7e06c737ede14c3f097fe9a7fb328e702afd5f38ae8ce665160d8a0fd4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b9b7e06c737ede14c3f097fe9a7fb328e702afd5f38ae8ce665160d8a0fd4f", kill_on_drop: false }` [INFO] [stdout] e0b9b7e06c737ede14c3f097fe9a7fb328e702afd5f38ae8ce665160d8a0fd4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 37e98a803f1cb423dda8032d974afd986485ca5d6e3ab80aca6364736c48cc53 [INFO] running `Command { std: "docker" "start" "-a" "37e98a803f1cb423dda8032d974afd986485ca5d6e3ab80aca6364736c48cc53", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling void v1.0.2 [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:1066:7 [INFO] [stdout] | [INFO] [stdout] 1066 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:1073:7 [INFO] [stdout] | [INFO] [stdout] 1073 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockopt.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut value = try!(get_bytes(sock, opt, size)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockopt.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | let result: i32 = try!(get(sock, opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/message.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe extern fn drop_msg_content_box(data: *mut c_void, _hint: *mut c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:850:11 [INFO] [stdout] | [INFO] [stdout] 850 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:860:11 [INFO] [stdout] | [INFO] [stdout] 860 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:875:11 [INFO] [stdout] | [INFO] [stdout] 875 | #[cfg(ZMQ_HAS_CURVE = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:881:11 [INFO] [stdout] | [INFO] [stdout] 881 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:887:11 [INFO] [stdout] | [INFO] [stdout] 887 | #[cfg(ZMQ_HAS_GSSAPI = "1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | / sockopts! { [INFO] [stdout] 684 | | /// Accessor for the `ZMQ_IPV6` option. [INFO] [stdout] 685 | | (is_ipv6, set_ipv6) => ZMQ_IPV6 as bool, [INFO] [stdout] 686 | | /// Accessor for the `ZMQ_IMMEDIATE` option. [INFO] [stdout] ... | [INFO] [stdout] 700 | | }, [INFO] [stdout] 701 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_CURVE` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_CURVE, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_CURVE, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_GSSAPI` [INFO] [stdout] --> src/lib.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | sockopt_seq!(META { cfg($feature = "1") $($meta)* }, $($inner)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | / sockopts! { [INFO] [stdout] 894 | | (_, set_socks_proxy) => ZMQ_SOCKS_PROXY as Option<&str>, [INFO] [stdout] 895 | | (_, set_plain_username) => ZMQ_PLAIN_USERNAME as Option<&str>, [INFO] [stdout] 896 | | (_, set_plain_password) => ZMQ_PLAIN_PASSWORD as Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 907 | | }, [INFO] [stdout] 908 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_GSSAPI, values("1"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_GSSAPI, values(\"1\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sockopt_seq` which comes from the expansion of the macro `sockopts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | try!(self.send(last.into(), flags | SNDMORE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:672:24 [INFO] [stdout] | [INFO] [stdout] 672 | let part = try!(self.recv_bytes(flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:1 [INFO] [stdout] | [INFO] [stdout] 930 | / bitflags! { [INFO] [stdout] 931 | | /// Type representing pending socket events. [INFO] [stdout] 932 | | pub flags PollEvents: i16 { [INFO] [stdout] 933 | | /// For `poll()`, specifies to signal when a message/some data [INFO] [stdout] ... | [INFO] [stdout] 944 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:930:1 [INFO] [stdout] | [INFO] [stdout] 930 | / bitflags! { [INFO] [stdout] 931 | | /// Type representing pending socket events. [INFO] [stdout] 932 | | pub flags PollEvents: i16 { [INFO] [stdout] 933 | | /// For `poll()`, specifies to signal when a message/some data [INFO] [stdout] ... | [INFO] [stdout] 944 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ZMQ_HAS_ZMQ_HAS` [INFO] [stdout] --> src/lib.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | if cfg!(ZMQ_HAS_ZMQ_HAS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ZMQ_HAS_ZMQ_HAS)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ZMQ_HAS_ZMQ_HAS)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1208:17 [INFO] [stdout] | [INFO] [stdout] 1208 | let c_str = try!(ffi::CString::new(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1131:52 [INFO] [stdout] | [INFO] [stdout] 1131 | EncodeError::FromUtf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1189:47 [INFO] [stdout] | [INFO] [stdout] 1189 | DecodeError::NulError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:437:24 [INFO] [stdout] | [INFO] [stdout] 437 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 437 | panic!("{}", errno_to_error()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 437 - panic!(errno_to_error()); [INFO] [stdout] 437 + std::panic::panic_any(errno_to_error()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:911:25 [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 911 | pub fn as_poll_item(&self, events: PollEvents) -> PollItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/message.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errno_to_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errno_to_error()) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errno_to_error()) [INFO] [stdout] 52 + std::panic::panic_any(errno_to_error()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling tmq-zmq v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/syncsub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/msreader/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/psenvsub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/mspoller/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "msreader") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/pathosub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "syncsub") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/asyncsrv/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "psenvsub") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "mspoller") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/fileio3/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/lvcache/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "asyncsrv") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/taskwork/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/mtrelay/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "taskwork") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/rrbroker/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/msgsend/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "rrbroker") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/connection.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/wuproxy/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/connection/unix.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "lvcache") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/taskwork2/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "wuproxy") due to 1 previous error [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/zguide/fileio3/main.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let size = try!(file.read(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "mtrelay") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "msgsend") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] 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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "taskwork2") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "fileio3") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `tmq-zmq` (example "pathosub") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (test "connection") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "37e98a803f1cb423dda8032d974afd986485ca5d6e3ab80aca6364736c48cc53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e98a803f1cb423dda8032d974afd986485ca5d6e3ab80aca6364736c48cc53", kill_on_drop: false }` [INFO] [stdout] 37e98a803f1cb423dda8032d974afd986485ca5d6e3ab80aca6364736c48cc53