[INFO] fetching crate zedmq 0.3.0... [INFO] checking zedmq-0.3.0 against try#9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c for pr-79472 [INFO] extracting crate zedmq 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate zedmq 0.3.0 on toolchain 9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate zedmq 0.3.0 [INFO] finished tweaking crates.io crate zedmq 0.3.0 [INFO] tweaked toml for crates.io crate zedmq 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate zedmq 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 052c955d0ba44964bbe5681e813ee200a2c575d74391fbb7135c0c39f555becf [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" "052c955d0ba44964bbe5681e813ee200a2c575d74391fbb7135c0c39f555becf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "052c955d0ba44964bbe5681e813ee200a2c575d74391fbb7135c0c39f555becf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "052c955d0ba44964bbe5681e813ee200a2c575d74391fbb7135c0c39f555becf", kill_on_drop: false }` [INFO] [stdout] 052c955d0ba44964bbe5681e813ee200a2c575d74391fbb7135c0c39f555becf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7ea37376f408e4eeb0cf1bdf01a12775e098f46b6539828ba34e20f63bfb9b3 [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" "c7ea37376f408e4eeb0cf1bdf01a12775e098f46b6539828ba34e20f63bfb9b3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking zedmq v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/codec/protocol.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stream::{Position, Transport}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything because no candidate is public enough [INFO] [stdout] --> src/codec/mod.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::{command::*, frame::*, message::*, protocol::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/socket_type/pull_t.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/socket_type/push_t.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameBuf` [INFO] [stdout] --> src/stream.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::codec::{FrameBuf, ZMTP}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/codec/protocol.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stream::{Position, Transport}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything because no candidate is public enough [INFO] [stdout] --> src/codec/mod.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::{command::*, frame::*, message::*, protocol::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/socket_type/pull_t.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/socket_type/push_t.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameBuf` [INFO] [stdout] --> src/stream.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::codec::{FrameBuf, ZMTP}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `security` [INFO] [stdout] --> src/codec/mod.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn security(&mut self, security: ()) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_security` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `major` [INFO] [stdout] --> src/codec/protocol.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | (major, minor, _): (u8, u8, u8), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_major` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minor` [INFO] [stdout] --> src/codec/protocol.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | (major, minor, _): (u8, u8, u8), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_minor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/codec/protocol.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let n = transport.read(&mut buf)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `security` [INFO] [stdout] --> src/codec/mod.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn security(&mut self, security: ()) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_security` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `major` [INFO] [stdout] --> src/codec/protocol.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | (major, minor, _): (u8, u8, u8), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_major` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minor` [INFO] [stdout] --> src/codec/protocol.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | (major, minor, _): (u8, u8, u8), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_minor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/codec/protocol.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let n = transport.read(&mut buf)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `security` [INFO] [stdout] --> src/codec/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | security: Option<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `security` [INFO] [stdout] --> src/codec/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn security(&mut self, security: ()) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bind` [INFO] [stdout] --> src/stream.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Bind(R), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `security` [INFO] [stdout] --> src/codec/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | security: Option<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `security` [INFO] [stdout] --> src/codec/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn security(&mut self, security: ()) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bind` [INFO] [stdout] --> src/stream.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Bind(R), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/push_connect.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | / loop { [INFO] [stdout] 11 | | socket.send(vec![msg.clone(), vec![0, 1]]).unwrap(); [INFO] [stdout] 12 | | println!("Send!"); [INFO] [stdout] 13 | | std::thread::sleep(std::time::Duration::from_secs(1)); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 15 | [INFO] [stdout] 16 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "c7ea37376f408e4eeb0cf1bdf01a12775e098f46b6539828ba34e20f63bfb9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7ea37376f408e4eeb0cf1bdf01a12775e098f46b6539828ba34e20f63bfb9b3", kill_on_drop: false }` [INFO] [stdout] c7ea37376f408e4eeb0cf1bdf01a12775e098f46b6539828ba34e20f63bfb9b3