[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 try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShibbyContinuum/mio_pong on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 660a520f908435ad090d0cee8d841b4da0a9dd750b155d997b87ce6b115ac145 [INFO] running `Command { std: "docker" "start" "-a" "660a520f908435ad090d0cee8d841b4da0a9dd750b155d997b87ce6b115ac145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "660a520f908435ad090d0cee8d841b4da0a9dd750b155d997b87ce6b115ac145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660a520f908435ad090d0cee8d841b4da0a9dd750b155d997b87ce6b115ac145", kill_on_drop: false }` [INFO] [stdout] 660a520f908435ad090d0cee8d841b4da0a9dd750b155d997b87ce6b115ac145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a52970f453fbd862eeb34c03cb755c4e97fa71cbf2ed2b26cb2653709b06f974 [INFO] running `Command { std: "docker" "start" "-a" "a52970f453fbd862eeb34c03cb755c4e97fa71cbf2ed2b26cb2653709b06f974", 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 winapi v0.2.7 [INFO] [stderr] Checking libc v0.2.13 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/pong.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... Connection::new(socket.0.try_clone().expect("Failed to Clone"), token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/pong.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... Connection::new(socket.0.try_clone().expect("Failed to Clone"), token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: aborting due to 1 previous error; 9 warnings emitted [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] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mio_pong` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mio_pong` (lib) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a52970f453fbd862eeb34c03cb755c4e97fa71cbf2ed2b26cb2653709b06f974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52970f453fbd862eeb34c03cb755c4e97fa71cbf2ed2b26cb2653709b06f974", kill_on_drop: false }` [INFO] [stdout] a52970f453fbd862eeb34c03cb755c4e97fa71cbf2ed2b26cb2653709b06f974