[INFO] cloning repository https://github.com/ShibbyContinuum/mio_pong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShibbyContinuum/mio_pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShibbyContinuum%2Fmio_pong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShibbyContinuum%2Fmio_pong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2dfc467c4b8ed2e47f1df9770eed7bc795bf496 [INFO] building ShibbyContinuum/mio_pong against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShibbyContinuum%2Fmio_pong" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShibbyContinuum/mio_pong on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ShibbyContinuum/mio_pong [INFO] finished tweaking git repo https://github.com/ShibbyContinuum/mio_pong [INFO] tweaked toml for git repo https://github.com/ShibbyContinuum/mio_pong written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ShibbyContinuum/mio_pong 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miow v0.1.2 [INFO] [stderr] Downloaded net2 v0.2.25 [INFO] [stderr] Downloaded libc v0.2.13 [INFO] [stderr] Downloaded winapi v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1026a3f99f2e0020d40a2de0e1e90da9184db9a3fd67fadeaeade3af6484f7 [INFO] running `Command { std: "docker" "start" "-a" "8c1026a3f99f2e0020d40a2de0e1e90da9184db9a3fd67fadeaeade3af6484f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1026a3f99f2e0020d40a2de0e1e90da9184db9a3fd67fadeaeade3af6484f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1026a3f99f2e0020d40a2de0e1e90da9184db9a3fd67fadeaeade3af6484f7", kill_on_drop: false }` [INFO] [stdout] 8c1026a3f99f2e0020d40a2de0e1e90da9184db9a3fd67fadeaeade3af6484f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 526f962b848dd961c366e4d3e79662a65c72df69322348f29693e679925ebe28 [INFO] running `Command { std: "docker" "start" "-a" "526f962b848dd961c366e4d3e79662a65c72df69322348f29693e679925ebe28", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.13 [INFO] [stderr] Compiling winapi v0.2.7 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling net2 v0.2.25 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling miow v0.1.2 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling mio_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mio::util::Slab` [INFO] [stdout] --> src/client/ping.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::util::Slab; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/client/ping.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/client/ping.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MAX_LINE: usize = 128; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/client/ping.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ready`, `read`, `write`, `reregister`, and `is_closed` are never used [INFO] [stdout] --> src/client/ping.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 75 | fn new(socket: TcpStream, token: Token) -> Connection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn ready(&mut self, event_loop: &mut EventLoop, events: EventSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn read(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn write(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn reregister(&self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/client/ping.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/client/ping.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 165 | fn mut_read_buf(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn read_buf(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn write_buf(&self) -> &Take>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn mut_write_buf(&mut self) -> &mut Take>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn try_transition_to_writing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn try_transition_to_reading(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn event_set(&self) -> EventSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn unwrap_read_buf(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn unwrap_write_buf(self) -> Take>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drain_to` is never used [INFO] [stdout] --> src/client/ping.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn drain_to(vec: &mut Vec, count: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/ping.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | ... self.connections.read_to_end(&mut vec); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = self.connections.read_to_end(&mut vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let pong = Pong::start("0.0.0.0:6567".parse().ok().expect("Unable to start server")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pong` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ping` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let ping = Ping::start("0.0.0.0:6567".parse().ok().expect("Unable to start client")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pong` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let start_pong = thread::spawn(move || { start_pong() }); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_ping` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let start_ping = thread::spawn(move || { start_ping() }); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "526f962b848dd961c366e4d3e79662a65c72df69322348f29693e679925ebe28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526f962b848dd961c366e4d3e79662a65c72df69322348f29693e679925ebe28", kill_on_drop: false }` [INFO] [stdout] 526f962b848dd961c366e4d3e79662a65c72df69322348f29693e679925ebe28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3589261b5b7be83313e54cce13ca9f1fdaf85e9dd32b5396d4850fadd64581 [INFO] running `Command { std: "docker" "start" "-a" "9a3589261b5b7be83313e54cce13ca9f1fdaf85e9dd32b5396d4850fadd64581", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling mio_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mio::util::Slab` [INFO] [stdout] --> src/client/ping.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::util::Slab; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/client/ping.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/client/ping.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MAX_LINE: usize = 128; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/client/ping.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ready`, `read`, `write`, `reregister`, and `is_closed` are never used [INFO] [stdout] --> src/client/ping.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 75 | fn new(socket: TcpStream, token: Token) -> Connection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn ready(&mut self, event_loop: &mut EventLoop, events: EventSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn read(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn write(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn reregister(&self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/client/ping.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/client/ping.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 165 | fn mut_read_buf(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn read_buf(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn write_buf(&self) -> &Take>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn mut_write_buf(&mut self) -> &mut Take>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn try_transition_to_writing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn try_transition_to_reading(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn event_set(&self) -> EventSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn unwrap_read_buf(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn unwrap_write_buf(self) -> Take>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drain_to` is never used [INFO] [stdout] --> src/client/ping.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn drain_to(vec: &mut Vec, count: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/ping.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | ... self.connections.read_to_end(&mut vec); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = self.connections.read_to_end(&mut vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pong` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let pong = Pong::start("0.0.0.0:6567".parse().ok().expect("Unable to start server")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pong` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ping` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let ping = Ping::start("0.0.0.0:6567".parse().ok().expect("Unable to start client")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pong` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let start_pong = thread::spawn(move || { start_pong() }); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_ping` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let start_ping = thread::spawn(move || { start_ping() }); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::util::Slab` [INFO] [stdout] --> src/client/ping.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::util::Slab; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/client/ping.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/client/ping.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MAX_LINE: usize = 128; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/client/ping.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ready`, `read`, `write`, `reregister`, and `is_closed` are never used [INFO] [stdout] --> src/client/ping.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 75 | fn new(socket: TcpStream, token: Token) -> Connection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn ready(&mut self, event_loop: &mut EventLoop, events: EventSet) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn read(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn write(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn reregister(&self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/client/ping.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/client/ping.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 165 | fn mut_read_buf(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn read_buf(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn write_buf(&self) -> &Take>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn mut_write_buf(&mut self) -> &mut Take>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn try_transition_to_writing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn try_transition_to_reading(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn event_set(&self) -> EventSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn unwrap_read_buf(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn unwrap_write_buf(self) -> Take>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drain_to` is never used [INFO] [stdout] --> src/client/ping.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn drain_to(vec: &mut Vec, count: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/ping.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | ... self.connections.read_to_end(&mut vec); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = self.connections.read_to_end(&mut vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9a3589261b5b7be83313e54cce13ca9f1fdaf85e9dd32b5396d4850fadd64581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3589261b5b7be83313e54cce13ca9f1fdaf85e9dd32b5396d4850fadd64581", kill_on_drop: false }` [INFO] [stdout] 9a3589261b5b7be83313e54cce13ca9f1fdaf85e9dd32b5396d4850fadd64581