[INFO] crate zmq-rs 0.1.8 is already in cache [INFO] checking zmq-rs-0.1.8 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate zmq-rs 0.1.8 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate zmq-rs 0.1.8 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b9b6a5f935573fe88815cdb410d2cd4a665dd0a60826fe9d10b930c0ff6379d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b9b6a5f935573fe88815cdb410d2cd4a665dd0a60826fe9d10b930c0ff6379d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b9b6a5f935573fe88815cdb410d2cd4a665dd0a60826fe9d10b930c0ff6379d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b9b6a5f935573fe88815cdb410d2cd4a665dd0a60826fe9d10b930c0ff6379d", kill_on_drop: false }` [INFO] [stdout] 5b9b6a5f935573fe88815cdb410d2cd4a665dd0a60826fe9d10b930c0ff6379d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 747d782e31eb3831aca17af6e0960cc5a838b494ee2a22315a2a9c204cc6e926 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "747d782e31eb3831aca17af6e0960cc5a838b494ee2a22315a2a9c204cc6e926", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [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: use of deprecated item '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 item '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 item '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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | /// if last endpoint has more than 2048 bytes, method call will be failed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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: 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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item '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:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub const ETERM: Errno = (ZMQ_HAUSNUMERO + 53); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: 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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/socket.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | /// if last endpoint has more than 2048 bytes, method call will be failed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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 `std::option::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 `std::option::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 `std::option::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 4.85s [INFO] running `Command { std: "docker" "inspect" "747d782e31eb3831aca17af6e0960cc5a838b494ee2a22315a2a9c204cc6e926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747d782e31eb3831aca17af6e0960cc5a838b494ee2a22315a2a9c204cc6e926", kill_on_drop: false }` [INFO] [stdout] 747d782e31eb3831aca17af6e0960cc5a838b494ee2a22315a2a9c204cc6e926