[INFO] cloning repository https://github.com/rantzvi/scheduler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rantzvi/scheduler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frantzvi%2Fscheduler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frantzvi%2Fscheduler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 81a7ae08e9c319da1b85e084e4b7162c70de2204
[INFO] checking rantzvi/scheduler against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frantzvi%2Fscheduler" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rantzvi/scheduler
[INFO] finished tweaking git repo https://github.com/rantzvi/scheduler
[INFO] tweaked toml for git repo https://github.com/rantzvi/scheduler written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rantzvi/scheduler on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rantzvi/scheduler 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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 quote v1.0.15
[INFO] [stderr]   Downloaded proc-macro2 v1.0.36
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded serde_derive v1.0.136
[INFO] [stderr]   Downloaded syn v1.0.86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96364bea84af35b6dc89e2152301e06ddbab78df298605828e3f5caf94c22dff
[INFO] running `Command { std: "docker" "start" "-a" "96364bea84af35b6dc89e2152301e06ddbab78df298605828e3f5caf94c22dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96364bea84af35b6dc89e2152301e06ddbab78df298605828e3f5caf94c22dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96364bea84af35b6dc89e2152301e06ddbab78df298605828e3f5caf94c22dff", kill_on_drop: false }`
[INFO] [stdout] 96364bea84af35b6dc89e2152301e06ddbab78df298605828e3f5caf94c22dff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8744aa1409215a9e51ccdf02067d364e802d7c000887c045a56d565dc2396d3
[INFO] running `Command { std: "docker" "start" "-a" "e8744aa1409215a9e51ccdf02067d364e802d7c000887c045a56d565dc2396d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking scheduler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `JoinHandle`, `Thread`, `sync::mpsc`, `thread::sleep`, and `time::Duration`
[INFO] [stdout]   --> src/main.rs:2:14
[INFO] [stdout]    |
[INFO] [stdout]  2 |     thread::{Thread, JoinHandle},
[INFO] [stdout]    |              ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  6 |     sync::mpsc,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     thread::sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 13 |     time::Duration
[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 import: `Task`
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use task::{Task, TaskState};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SyncRead` and `SyncWrite`
[INFO] [stdout]   --> src/main.rs:18:39
[INFO] [stdout]    |
[INFO] [stdout] 18 | use traits::{ReadObject, WriteObject, SyncRead, SyncWrite};
[INFO] [stdout]    |                                       ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::result::Result`
[INFO] [stdout]  --> src/identity.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::result::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::take`
[INFO] [stdout]  --> src/task.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::take;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExitStatus`
[INFO] [stdout]  --> src/task.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::{Command, Child, ExitStatus};
[INFO] [stdout]   |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode`
[INFO] [stdout]  --> src/task.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bincode;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::TcpStream`
[INFO] [stdout]  --> src/message.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/message.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/message.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode`
[INFO] [stdout]  --> src/message.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bincode;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Task`
[INFO] [stdout]  --> src/message.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::task::{Task, TaskState};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io::prelude` and `mem::take`
[INFO] [stdout]  --> src/worker.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     mem::take,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 4 |     io::prelude,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SyncRead`, `SyncWrite`, and `queue::ReadWriteQueue`
[INFO] [stdout]   --> src/worker.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     traits::{WriteObject, ReadObject, SyncWrite, SyncRead}, 
[INFO] [stdout]    |                                       ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 14 |     message::{Message, TaskKind}, 
[INFO] [stdout] 15 |     identity, queue::ReadWriteQueue,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout]  --> src/traits.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write, Error, ErrorKind, BufReader, BufRead};
[INFO] [stdout]   |                                              ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/traits.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]  --> src/traits.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::message::{Message, HandShake};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/queue.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JoinHandle`, `Thread`, `sync::mpsc`, `thread::sleep`, and `time::Duration`
[INFO] [stdout]   --> src/main.rs:2:14
[INFO] [stdout]    |
[INFO] [stdout]  2 |     thread::{Thread, JoinHandle},
[INFO] [stdout]    |              ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  6 |     sync::mpsc,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     thread::sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 13 |     time::Duration
[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 import: `Task`
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use task::{Task, TaskState};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SyncRead` and `SyncWrite`
[INFO] [stdout]   --> src/main.rs:18:39
[INFO] [stdout]    |
[INFO] [stdout] 18 | use traits::{ReadObject, WriteObject, SyncRead, SyncWrite};
[INFO] [stdout]    |                                       ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::result::Result`
[INFO] [stdout]  --> src/identity.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::result::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::take`
[INFO] [stdout]  --> src/task.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::take;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExitStatus`
[INFO] [stdout]  --> src/task.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::{Command, Child, ExitStatus};
[INFO] [stdout]   |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode`
[INFO] [stdout]  --> src/task.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bincode;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::TcpStream`
[INFO] [stdout]  --> src/message.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/message.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/message.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode`
[INFO] [stdout]  --> src/message.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bincode;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Task`
[INFO] [stdout]  --> src/message.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::task::{Task, TaskState};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io::prelude` and `mem::take`
[INFO] [stdout]  --> src/worker.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     mem::take,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 4 |     io::prelude,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SyncRead`, `SyncWrite`, and `queue::ReadWriteQueue`
[INFO] [stdout]   --> src/worker.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     traits::{WriteObject, ReadObject, SyncWrite, SyncRead}, 
[INFO] [stdout]    |                                       ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 14 |     message::{Message, TaskKind}, 
[INFO] [stdout] 15 |     identity, queue::ReadWriteQueue,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout]  --> src/traits.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write, Error, ErrorKind, BufReader, BufRead};
[INFO] [stdout]   |                                              ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/traits.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]  --> src/traits.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::message::{Message, HandShake};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/queue.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/traits.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | /         loop {
[INFO] [stdout] 40 | |             match self.read(&mut buffer) {
[INFO] [stdout] 41 | |                 Ok(n) if n > 0 => return Some(bincode::deserialize(&buffer).unwrap()),
[INFO] [stdout] 42 | |                 Err(ref e) if e.kind() == ErrorKind::WouldBlock => (),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |             timeout -= 1;
[INFO] [stdout] 47 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 48 |           None
[INFO] [stdout]    |           ^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/traits.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | /         loop {
[INFO] [stdout] 40 | |             match self.read(&mut buffer) {
[INFO] [stdout] 41 | |                 Ok(n) if n > 0 => return Some(bincode::deserialize(&buffer).unwrap()),
[INFO] [stdout] 42 | |                 Err(ref e) if e.kind() == ErrorKind::WouldBlock => (),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |             timeout -= 1;
[INFO] [stdout] 47 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 48 |           None
[INFO] [stdout]    |           ^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::prelude`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     io::prelude::*,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::prelude`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     io::prelude::*,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/task.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |             Err(e) => return Err(TaskError::FailedWait) 
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/task.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |             Err(e) => return Err(TaskError::FailedWait) 
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `temp_v`
[INFO] [stdout]   --> src/worker.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let temp_v: Vec<Message> = vec![];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/worker.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Message::Task(TaskKind::State(state)) => {
[INFO] [stdout]    |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/worker.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let mut sender = sender.lock().unwrap(); 
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/worker.rs:135:21
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let mut task = refcell.as_mut(); 
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/traits.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut bytes_read = 0;
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes_read`
[INFO] [stdout]   --> src/traits.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut bytes_read = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `timeout` is assigned to, but never used
[INFO] [stdout]   --> src/traits.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut timeout = 10000;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_timeout` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `timeout` is never read
[INFO] [stdout]   --> src/traits.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             timeout -= 1;
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `temp_v`
[INFO] [stdout]   --> src/worker.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let temp_v: Vec<Message> = vec![];
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/worker.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Message::Task(TaskKind::State(state)) => {
[INFO] [stdout]    |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/worker.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let mut sender = sender.lock().unwrap(); 
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/worker.rs:135:21
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let mut task = refcell.as_mut(); 
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut workers: Arc<Mutex<Vec<WorkerHandle>>> = Arc::new(Mutex::new(vec![]));
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/traits.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut bytes_read = 0;
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut conn_workers = Arc::clone(&workers);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes_read`
[INFO] [stdout]   --> src/traits.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut bytes_read = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `timeout` is assigned to, but never used
[INFO] [stdout]   --> src/traits.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut timeout = 10000;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_timeout` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `timeout` is never read
[INFO] [stdout]   --> src/traits.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             timeout -= 1;
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let mut workers_num = 0;
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut task_workers = Arc::clone(&workers);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let mut shared_tasks = Arc::clone(&tasks);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workers_num`
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let mut workers_num = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `TaskName` is never constructed
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TaskName(String);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct TempError(String);
[INFO] [stdout]    |        --------- ^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `TempError` 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: field `0` is never read
[INFO] [stdout]   --> src/main.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TaskName(String);
[INFO] [stdout]    |            -------- ^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HandShake` is never used
[INFO] [stdout]   --> src/message.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum HandShake {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SyncRead` is never used
[INFO] [stdout]   --> src/traits.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait SyncRead<O> {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SyncWrite` is never used
[INFO] [stdout]   --> src/traits.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait SyncWrite<O> {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadWriteQueue` is never constructed
[INFO] [stdout]  --> src/queue.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ReadWriteQueue<W, R> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/queue.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<W, R> ReadWriteQueue<W,R> {
[INFO] [stdout]    | ------------------------------ associated items in this implementation
[INFO] [stdout] 11 |     pub fn from_iters(r_iter: impl IntoIterator<Item=R>, w_iter: impl IntoIterator<Item=W>) -> ReadWriteQueue<W,R> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn writes_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn reads_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn push_to_writes(&mut self, w: W) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn push_to_reads(&mut self, r: R) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn pop_from_writes(&mut self) -> Option<W> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn pop_from_reads(&mut self) -> Option<R> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scheduler` (bin "scheduler") due to 1 previous error; 51 warnings emitted
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut workers: Arc<Mutex<Vec<WorkerHandle>>> = Arc::new(Mutex::new(vec![]));
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut conn_workers = Arc::clone(&workers);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let mut workers_num = 0;
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut task_workers = Arc::clone(&workers);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let mut shared_tasks = Arc::clone(&tasks);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workers_num`
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let mut workers_num = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `TaskName` is never constructed
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TaskName(String);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct TempError(String);
[INFO] [stdout]    |        --------- ^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `TempError` 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: field `0` is never read
[INFO] [stdout]   --> src/main.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct TaskName(String);
[INFO] [stdout]    |            -------- ^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HandShake` is never used
[INFO] [stdout]   --> src/message.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum HandShake {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SyncRead` is never used
[INFO] [stdout]   --> src/traits.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait SyncRead<O> {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SyncWrite` is never used
[INFO] [stdout]   --> src/traits.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait SyncWrite<O> {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadWriteQueue` is never constructed
[INFO] [stdout]  --> src/queue.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ReadWriteQueue<W, R> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/queue.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<W, R> ReadWriteQueue<W,R> {
[INFO] [stdout]    | ------------------------------ associated items in this implementation
[INFO] [stdout] 11 |     pub fn from_iters(r_iter: impl IntoIterator<Item=R>, w_iter: impl IntoIterator<Item=W>) -> ReadWriteQueue<W,R> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn writes_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn reads_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn push_to_writes(&mut self, w: W) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn push_to_reads(&mut self, r: R) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn pop_from_writes(&mut self) -> Option<W> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn pop_from_reads(&mut self) -> Option<R> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |     conn_handle.join();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let _ = conn_handle.join();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     task_handle.join();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let _ = task_handle.join();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/worker.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 sender.send(MessageKind::Read(msg)); 
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let _ = sender.send(MessageKind::Read(msg)); 
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/worker.rs:139:29
[INFO] [stdout]     |
[INFO] [stdout] 139 | ...                   sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 139 |                             let _ = sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/worker.rs:142:29
[INFO] [stdout]     |
[INFO] [stdout] 142 | ...                   sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |                             let _ = sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/worker.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |         reader_handle.join();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let _ = reader_handle.join();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/traits.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 self.write_object(HandShake::Send);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let _ = self.write_object(HandShake::Send);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/traits.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 self.write_object(HandShake::Abort);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 let _ = self.write_object(HandShake::Abort);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/traits.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 self.write_object(HandShake::Acknowledge);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 let _ = self.write_object(HandShake::Acknowledge);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |     conn_handle.join();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let _ = conn_handle.join();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     task_handle.join();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let _ = task_handle.join();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/worker.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 sender.send(MessageKind::Read(msg)); 
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let _ = sender.send(MessageKind::Read(msg)); 
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/worker.rs:139:29
[INFO] [stdout]     |
[INFO] [stdout] 139 | ...                   sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 139 |                             let _ = sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/worker.rs:142:29
[INFO] [stdout]     |
[INFO] [stdout] 142 | ...                   sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |                             let _ = sender.send(MessageKind::Write(Message::Task(TaskKind::State(task_state))));
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/worker.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |         reader_handle.join();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let _ = reader_handle.join();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/traits.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 self.write_object(HandShake::Send);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let _ = self.write_object(HandShake::Send);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/traits.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 self.write_object(HandShake::Abort);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 let _ = self.write_object(HandShake::Abort);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/traits.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 self.write_object(HandShake::Acknowledge);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 let _ = self.write_object(HandShake::Acknowledge);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scheduler` (bin "scheduler" test) due to 1 previous error; 51 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e8744aa1409215a9e51ccdf02067d364e802d7c000887c045a56d565dc2396d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8744aa1409215a9e51ccdf02067d364e802d7c000887c045a56d565dc2396d3", kill_on_drop: false }`
[INFO] [stdout] e8744aa1409215a9e51ccdf02067d364e802d7c000887c045a56d565dc2396d3
