[INFO] cloning repository https://github.com/Tonyce/mds [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tonyce/mds" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fmds", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fmds'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 275e23c2a1045b26405b5e4c5e41966c54e1fb4f [INFO] checking Tonyce/mds/275e23c2a1045b26405b5e4c5e41966c54e1fb4f 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%2FTonyce%2Fmds" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tonyce/mds 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/Tonyce/mds [INFO] finished tweaking git repo https://github.com/Tonyce/mds [INFO] tweaked toml for git repo https://github.com/Tonyce/mds written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tonyce/mds 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1f7c490ccaa02c5b0323f2a0b0b49a70522f053de04676f7f7d5df75f0c2a456 [INFO] running `Command { std: "docker" "start" "-a" "1f7c490ccaa02c5b0323f2a0b0b49a70522f053de04676f7f7d5df75f0c2a456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f7c490ccaa02c5b0323f2a0b0b49a70522f053de04676f7f7d5df75f0c2a456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7c490ccaa02c5b0323f2a0b0b49a70522f053de04676f7f7d5df75f0c2a456", kill_on_drop: false }` [INFO] [stdout] 1f7c490ccaa02c5b0323f2a0b0b49a70522f053de04676f7f7d5df75f0c2a456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 648fa5e17bf381326a7d2e534e987f92fa396feb46e05088457034a563cd6845 [INFO] running `Command { std: "docker" "start" "-a" "648fa5e17bf381326a7d2e534e987f92fa396feb46e05088457034a563cd6845", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking prost v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking mds v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `make_service_fn` and `service_fn` [INFO] [stdout] --> src/http/server.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::service::{make_service_fn, service_fn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `make_service_fn` and `service_fn` [INFO] [stdout] --> src/http/server.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::service::{make_service_fn, service_fn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client`, `HeaderMap`, and `Version` [INFO] [stdout] --> src/http/server.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use hyper::{Body, Client, HeaderMap, Request, Response, Server, Version}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/http/server.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/http/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/http/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tx` [INFO] [stdout] --> src/tcp/peer.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{Rx, Shared, Tx}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client`, `HeaderMap`, and `Version` [INFO] [stdout] --> src/http/server.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use hyper::{Body, Client, HeaderMap, Request, Response, Server, Version}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/tcp/protocol.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> src/tcp/protocol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/http/server.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `fmt`, and `fs` [INFO] [stdout] --> src/tcp/protocol.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{error::Error, fmt, fs, io, usize}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/tcp/protocol.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/http/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::UnixListener` [INFO] [stdout] --> src/tcp/protocol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::UnixListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/http/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::signal` [INFO] [stdout] --> src/tcp/protocol.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::signal; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tx` [INFO] [stdout] --> src/tcp/peer.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{Rx, Shared, Tx}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/tcp/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/tcp/protocol.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> src/tcp/protocol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `fmt`, and `fs` [INFO] [stdout] --> src/tcp/protocol.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{error::Error, fmt, fs, io, usize}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/tcp/protocol.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::UnixListener` [INFO] [stdout] --> src/tcp/protocol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::UnixListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::signal` [INFO] [stdout] --> src/tcp/protocol.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::signal; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/tcp/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/tcp/server.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut state = state.write().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/tcp/server.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut state = state.write().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp/server.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Some(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/server.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut transport = Framed::new(stream, Protocol); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp/server.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Some(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/server.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut transport = Framed::new(stream, Protocol); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp/server.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut state = state.write().await; [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/tcp/server.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/tcp/protocol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/tcp/protocol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_version` [INFO] [stdout] --> src/http/server.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let req_version = req.version(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_version` [INFO] [stdout] --> src/http/server.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let req_version = req.version(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http/server.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | fn call(&mut self, mut req: Request) -> Self::Future { [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/http/server.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | fn call(&mut self, mut req: Request) -> Self::Future { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/http/server.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct ReqBody { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReqBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/http/server.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct ReqBody { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReqBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Shared { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub peers: HashMap, [INFO] [stdout] 13 | pub counter: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Shared { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub peers: HashMap, [INFO] [stdout] 13 | pub counter: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tcp/protocol.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Protocol { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tcp/protocol.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Protocol { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | fn new() -> Self { [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/http/server.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 40 | fn call(&mut self, mut req: Request) -> Self::Future { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let req_version = req.version(); [INFO] [stdout] 42 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | let (_parts, body) = req.into_parts(); [INFO] [stdout] 48 | | // let body_buf = body::to_bytes(body).await.unwrap(); [INFO] [stdout] 49 | | // let body: ReqBody = serde_json::from_slice(&body_buf).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | }) [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] 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/http/server.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | .and_then(|body_buf| serde_json::from_slice(&body_buf).map_err(Error::msg)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/http/server.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 93 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | // let backends = self.backends.clone(); [INFO] [stdout] 95 | let fut = async move { Ok(Serv { state }) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/http/server.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 40 | fn call(&mut self, mut req: Request) -> Self::Future { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let req_version = req.version(); [INFO] [stdout] 42 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | let (_parts, body) = req.into_parts(); [INFO] [stdout] 48 | | // let body_buf = body::to_bytes(body).await.unwrap(); [INFO] [stdout] 49 | | // let body: ReqBody = serde_json::from_slice(&body_buf).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | }) [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] 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/http/server.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | .and_then(|body_buf| serde_json::from_slice(&body_buf).map_err(Error::msg)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/http/server.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 93 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | // let backends = self.backends.clone(); [INFO] [stdout] 95 | let fut = async move { Ok(Serv { state }) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mds` (bin "mds" test) due to 4 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mds` (bin "mds") due to 4 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "648fa5e17bf381326a7d2e534e987f92fa396feb46e05088457034a563cd6845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648fa5e17bf381326a7d2e534e987f92fa396feb46e05088457034a563cd6845", kill_on_drop: false }` [INFO] [stdout] 648fa5e17bf381326a7d2e534e987f92fa396feb46e05088457034a563cd6845