[INFO] fetching crate zmq-rs 0.1.8... [INFO] checking zmq-rs-0.1.8 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate zmq-rs 0.1.8 into /workspace/builds/worker-67/source [INFO] validating manifest of crates.io crate zmq-rs 0.1.8 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zmq-rs 0.1.8 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zmq-rs 0.1.8 [INFO] tweaked toml for crates.io crate zmq-rs 0.1.8 written to /workspace/builds/worker-67/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmq-ffi v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fece76cb6d830e2b3d8700072203175e30cf21cda36d14c8ff261bfb7fbe5ca7 [INFO] running `Command { std: "docker" "start" "-a" "fece76cb6d830e2b3d8700072203175e30cf21cda36d14c8ff261bfb7fbe5ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fece76cb6d830e2b3d8700072203175e30cf21cda36d14c8ff261bfb7fbe5ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fece76cb6d830e2b3d8700072203175e30cf21cda36d14c8ff261bfb7fbe5ca7", kill_on_drop: false }` [INFO] [stdout] fece76cb6d830e2b3d8700072203175e30cf21cda36d14c8ff261bfb7fbe5ca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f985aadff2371b82936947250b0d8019a403b9a47a592329f01448acd489129 [INFO] running `Command { std: "docker" "start" "-a" "6f985aadff2371b82936947250b0d8019a403b9a47a592329f01448acd489129", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling zmq-ffi v0.1.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking zmq-rs v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/socket.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | / /// Get last endpoint bound for TCP and IPC transports [INFO] [stdout] 581 | | /// if last endpoint has more than 2048 bytes, method call will be failed. [INFO] [stdout] | |_____-------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/socket.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | / /// Get last endpoint bound for TCP and IPC transports [INFO] [stdout] 581 | | /// if last endpoint has more than 2048 bytes, method call will be failed. [INFO] [stdout] | |_____-------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:389:23 [INFO] [stdout] | [INFO] [stdout] 389 | let mut msg = try!(Message::new()); [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/socket.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | 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/socket.rs:389:23 [INFO] [stdout] | [INFO] [stdout] 389 | let mut msg = try!(Message::new()); [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/socket.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | let msg = try!(Message::from_slice(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | pub const EFSM: Errno = (ZMQ_HAUSNUMERO + 51); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub const EFSM: Errno = (ZMQ_HAUSNUMERO + 51); [INFO] [stdout] 43 + pub const EFSM: Errno = ZMQ_HAUSNUMERO + 51; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | pub const EFSM: Errno = (ZMQ_HAUSNUMERO + 51); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub const EFSM: Errno = (ZMQ_HAUSNUMERO + 51); [INFO] [stdout] 43 + pub const EFSM: Errno = ZMQ_HAUSNUMERO + 51; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ENOCOMPATPROTO: Errno = (ZMQ_HAUSNUMERO + 52); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - pub const ENOCOMPATPROTO: Errno = (ZMQ_HAUSNUMERO + 52); [INFO] [stdout] 44 + pub const ENOCOMPATPROTO: Errno = ZMQ_HAUSNUMERO + 52; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ENOCOMPATPROTO: Errno = (ZMQ_HAUSNUMERO + 52); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - pub const ENOCOMPATPROTO: Errno = (ZMQ_HAUSNUMERO + 52); [INFO] [stdout] 44 + pub const ENOCOMPATPROTO: Errno = ZMQ_HAUSNUMERO + 52; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub const ETERM: Errno = (ZMQ_HAUSNUMERO + 53); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - pub const ETERM: Errno = (ZMQ_HAUSNUMERO + 53); [INFO] [stdout] 45 + pub const ETERM: Errno = ZMQ_HAUSNUMERO + 53; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub const ETERM: Errno = (ZMQ_HAUSNUMERO + 53); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - pub const ETERM: Errno = (ZMQ_HAUSNUMERO + 53); [INFO] [stdout] 45 + pub const ETERM: Errno = ZMQ_HAUSNUMERO + 53; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub const EMTHREAD: Errno = (ZMQ_HAUSNUMERO + 54); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - pub const EMTHREAD: Errno = (ZMQ_HAUSNUMERO + 54); [INFO] [stdout] 46 + pub const EMTHREAD: Errno = ZMQ_HAUSNUMERO + 54; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let mut msg = try!(Message::with_capcity(data.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/errno.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub const EMTHREAD: Errno = (ZMQ_HAUSNUMERO + 54); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - pub const EMTHREAD: Errno = (ZMQ_HAUSNUMERO + 54); [INFO] [stdout] 46 + pub const EMTHREAD: Errno = ZMQ_HAUSNUMERO + 54; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let mut msg = try!(Message::with_capcity(data.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:484:28 [INFO] [stdout] | [INFO] [stdout] 484 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 484 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 484 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:484:28 [INFO] [stdout] | [INFO] [stdout] 484 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 484 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 484 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/zguide/hwserver.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut context = zmq::Context::new().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::is_some` that must be used [INFO] [stdout] --> tests/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | empty.get_meta("Socket-Type").is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::is_some` that must be used [INFO] [stdout] --> tests/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | empty.get_meta("Identity").is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::is_some` that must be used [INFO] [stdout] --> tests/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | empty.get_meta("Resource").is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "6f985aadff2371b82936947250b0d8019a403b9a47a592329f01448acd489129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f985aadff2371b82936947250b0d8019a403b9a47a592329f01448acd489129", kill_on_drop: false }` [INFO] [stdout] 6f985aadff2371b82936947250b0d8019a403b9a47a592329f01448acd489129