[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2dfc467c4b8ed2e47f1df9770eed7bc795bf496 [INFO] checking ShibbyContinuum/mio_pong/f2dfc467c4b8ed2e47f1df9770eed7bc795bf496 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShibbyContinuum%2Fmio_pong" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShibbyContinuum/mio_pong on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-4-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42b909bb2c8ce1e1f8bcfba4ec0a6bfc9ec91f0c8805041fc37cebe587e10702 [INFO] running `Command { std: "docker" "start" "-a" "42b909bb2c8ce1e1f8bcfba4ec0a6bfc9ec91f0c8805041fc37cebe587e10702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42b909bb2c8ce1e1f8bcfba4ec0a6bfc9ec91f0c8805041fc37cebe587e10702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b909bb2c8ce1e1f8bcfba4ec0a6bfc9ec91f0c8805041fc37cebe587e10702", kill_on_drop: false }` [INFO] [stdout] 42b909bb2c8ce1e1f8bcfba4ec0a6bfc9ec91f0c8805041fc37cebe587e10702 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbb08f6de20ccde8761606c69975dbeb245ee694dffaa0d58c13e2e0eb69d546 [INFO] running `Command { std: "docker" "start" "-a" "bbb08f6de20ccde8761606c69975dbeb245ee694dffaa0d58c13e2e0eb69d546", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.13 [INFO] [stderr] Checking winapi v0.2.7 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Checking net2 v0.2.25 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking miow v0.1.2 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Checking 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: 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: 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 `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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [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 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [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 4` [INFO] running `Command { std: "docker" "inspect" "bbb08f6de20ccde8761606c69975dbeb245ee694dffaa0d58c13e2e0eb69d546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb08f6de20ccde8761606c69975dbeb245ee694dffaa0d58c13e2e0eb69d546", kill_on_drop: false }` [INFO] [stdout] bbb08f6de20ccde8761606c69975dbeb245ee694dffaa0d58c13e2e0eb69d546