[INFO] cloning repository https://github.com/gui-marc/rust-mbroker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gui-marc/rust-mbroker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgui-marc%2Frust-mbroker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgui-marc%2Frust-mbroker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4290421d741443b7c5d9c45c8874c96d615c0192
[INFO] checking gui-marc/rust-mbroker against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgui-marc%2Frust-mbroker" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gui-marc/rust-mbroker
[INFO] finished tweaking git repo https://github.com/gui-marc/rust-mbroker
[INFO] tweaked toml for git repo https://github.com/gui-marc/rust-mbroker written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gui-marc/rust-mbroker on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gui-marc/rust-mbroker already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ctrlc v3.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec
[INFO] running `Command { std: "docker" "start" "153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]     Checking fastrand v1.8.0
[INFO] [stderr]     Checking memoffset v0.7.1
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking ctrlc v3.2.4
[INFO] [stderr]     Checking rust-mbroker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/named_pipes.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/manager.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn run(args: Vec<String>) {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]  --> src/subscriber.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run(args: Vec<String>) {
[INFO] [stdout]   |            ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `head` is never read
[INFO] [stdout]  --> src/pc_queue.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct ProducerConsumerQueue {
[INFO] [stdout]   |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     head: usize,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProducerConsumerQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dequeue` is never used
[INFO] [stdout]   --> src/pc_queue.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProducerConsumerQueue {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn dequeue(&mut self) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/protocols.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum ProtocolCode {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout]  5 |     RegisterPublisher = 1,
[INFO] [stdout]  6 |     RegisterSubscriber,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     CreateBoxRequest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     CreateBoxResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     RemoveBoxRequest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     RemoveBoxResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     ListBoxesRequest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     ListBoxesResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     PublisherMessage,
[INFO] [stdout] 14 |     SubscriberMessage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProtocolCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u8` is never used
[INFO] [stdout]   --> src/protocols.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ProtocolCode {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 18 |     fn from_u8(value: u8) -> Result<ProtocolCode, String> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]   --> src/protocols.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait IsProtocol {
[INFO] [stdout]    |           ---------- associated function in this trait
[INFO] [stdout] 36 |     fn from_bytes(bytes: Vec<u8>) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_subscriber` is never used
[INFO] [stdout]   --> src/protocols.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn register_subscriber(client_named_pipe: String, box_name: String) -> RequestProtocol {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResponseProtocol` is never constructed
[INFO] [stdout]   --> src/protocols.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ResponseProtocol {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/named_pipes.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/manager.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn run(args: Vec<String>) {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]  --> src/subscriber.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run(args: Vec<String>) {
[INFO] [stdout]   |            ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `head` is never read
[INFO] [stdout]  --> src/pc_queue.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct ProducerConsumerQueue {
[INFO] [stdout]   |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     head: usize,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProducerConsumerQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dequeue` is never used
[INFO] [stdout]   --> src/pc_queue.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProducerConsumerQueue {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn dequeue(&mut self) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/protocols.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum ProtocolCode {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout]  5 |     RegisterPublisher = 1,
[INFO] [stdout]  6 |     RegisterSubscriber,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     CreateBoxRequest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     CreateBoxResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     RemoveBoxRequest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     RemoveBoxResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     ListBoxesRequest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     ListBoxesResponse,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     PublisherMessage,
[INFO] [stdout] 14 |     SubscriberMessage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProtocolCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u8` is never used
[INFO] [stdout]   --> src/protocols.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ProtocolCode {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 18 |     fn from_u8(value: u8) -> Result<ProtocolCode, String> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]   --> src/protocols.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait IsProtocol {
[INFO] [stdout]    |           ---------- associated function in this trait
[INFO] [stdout] 36 |     fn from_bytes(bytes: Vec<u8>) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_subscriber` is never used
[INFO] [stdout]   --> src/protocols.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn register_subscriber(client_named_pipe: String, box_name: String) -> RequestProtocol {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResponseProtocol` is never constructed
[INFO] [stdout]   --> src/protocols.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ResponseProtocol {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `tempfile`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | tempfile = "3.3.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `tempfile`
[INFO] [stderr] warning: `rust-mbroker` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.56s
[INFO] running `Command { std: "docker" "inspect" "153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec", kill_on_drop: false }`
[INFO] [stdout] 153a1c16bb840555c00dbc333b3cade062ea0737e230f6bf15ae7797de1419ec
