[INFO] cloning repository https://github.com/dwerner/chat-mio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwerner/chat-mio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwerner%2Fchat-mio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwerner%2Fchat-mio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ca790561fade479ce3d15e37ba48fdd9fb43889 [INFO] checking dwerner/chat-mio against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwerner%2Fchat-mio" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwerner/chat-mio on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwerner/chat-mio [INFO] finished tweaking git repo https://github.com/dwerner/chat-mio [INFO] tweaked toml for git repo https://github.com/dwerner/chat-mio written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dwerner/chat-mio 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.4 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded mio v0.6.19 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded qstring v0.7.0 [INFO] [stderr] Downloaded http v0.1.18 [INFO] [stderr] Downloaded path-tree v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 997dfc23cfa63481b1936361485239e59f6fd770b9308e613eb54b8aa52ae72a [INFO] running `Command { std: "docker" "start" "-a" "997dfc23cfa63481b1936361485239e59f6fd770b9308e613eb54b8aa52ae72a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "997dfc23cfa63481b1936361485239e59f6fd770b9308e613eb54b8aa52ae72a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997dfc23cfa63481b1936361485239e59f6fd770b9308e613eb54b8aa52ae72a", kill_on_drop: false }` [INFO] [stdout] 997dfc23cfa63481b1936361485239e59f6fd770b9308e613eb54b8aa52ae72a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f08ff615666f0883699ba7da03aaca51995b22737dacd269bc6d3e02de95d0fc [INFO] running `Command { std: "docker" "start" "-a" "f08ff615666f0883699ba7da03aaca51995b22737dacd269bc6d3e02de95d0fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking path-tree v0.1.8 [INFO] [stderr] Checking qstring v0.7.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking chat-mio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/chat_service.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/router.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | pub method: http::Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/parse.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let req = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/server.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let sock = TcpStream::connect(&addr).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/router.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | pub method: http::Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [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" "f08ff615666f0883699ba7da03aaca51995b22737dacd269bc6d3e02de95d0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f08ff615666f0883699ba7da03aaca51995b22737dacd269bc6d3e02de95d0fc", kill_on_drop: false }` [INFO] [stdout] f08ff615666f0883699ba7da03aaca51995b22737dacd269bc6d3e02de95d0fc [INFO] checking dwerner/chat-mio against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwerner%2Fchat-mio" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwerner/chat-mio on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwerner/chat-mio [INFO] finished tweaking git repo https://github.com/dwerner/chat-mio [INFO] tweaked toml for git repo https://github.com/dwerner/chat-mio written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dwerner/chat-mio 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67c5cf99bfa56149643da4c3d7e733d852bb404891341f027715f3a7e0e36d88 [INFO] running `Command { std: "docker" "start" "-a" "67c5cf99bfa56149643da4c3d7e733d852bb404891341f027715f3a7e0e36d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67c5cf99bfa56149643da4c3d7e733d852bb404891341f027715f3a7e0e36d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c5cf99bfa56149643da4c3d7e733d852bb404891341f027715f3a7e0e36d88", kill_on_drop: false }` [INFO] [stdout] 67c5cf99bfa56149643da4c3d7e733d852bb404891341f027715f3a7e0e36d88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 973663ced62511ab4782fe551245b5a42a4d732279d97d9d7ab37231cfb572c4 [INFO] running `Command { std: "docker" "start" "-a" "973663ced62511ab4782fe551245b5a42a4d732279d97d9d7ab37231cfb572c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking qstring v0.7.0 [INFO] [stderr] Checking path-tree v0.1.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking chat-mio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/chat_service.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/router.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | pub method: http::Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/router.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn handler_fn(f: F) -> HttpHandler [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Box::new(f) as HttpHandler [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/router.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn build(self) -> Router { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Router { [INFO] [stdout] 76 | trees: Arc::new(self.trees), [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/router.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 148 | msg: T, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | / http::Response::builder() [INFO] [stdout] 152 | | .status(code) [INFO] [stdout] 153 | | .header("Content-Type", content_type) [INFO] [stdout] 154 | | .body(msg.into()) [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/server.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(listener: TcpListener) -> Result> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let events = Events::with_capacity(64); [INFO] [stdout] 69 | let connections = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let poll = Poll::new()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let router = Router::builder(chat_service) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Ok(Server { [INFO] [stdout] | ____________^ [INFO] [stdout] 163 | | token, [INFO] [stdout] 164 | | next_token, [INFO] [stdout] 165 | | listener, [INFO] [stdout] ... | [INFO] [stdout] 169 | | router, [INFO] [stdout] 170 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/server.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 77 | .register("/chats", http::Method::POST, |svc, _, _, req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Err(e) => return error500(&format!("unable to parse json: {:?}", e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | }; [INFO] [stdout] 83 | match svc.add_chat(chat) { [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/server.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 96 | |svc, params, _, req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Err(e) => return error500(&format!("unable to parse json: {:?}", e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | }; [INFO] [stdout] 107 | match svc.send_message(chat_id, message) { [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/server.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 114 | .register("/chats", http::Method::GET, |svc, _, query, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | match serde_json::to_string(&chats) { [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/server.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 142 | |svc, params, _, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Err(e) => return error500(&format!("unable to get messages {:?}", e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | }; [INFO] [stdout] 153 | match serde_json::to_string(&messages) { [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/parse.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let req = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chat-mio` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/server.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let sock = TcpStream::connect(&addr).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/router.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | pub method: http::Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/router.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn handler_fn(f: F) -> HttpHandler [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Box::new(f) as HttpHandler [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/router.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn build(self) -> Router { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Router { [INFO] [stdout] 76 | trees: Arc::new(self.trees), [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/router.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 148 | msg: T, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | / http::Response::builder() [INFO] [stdout] 152 | | .status(code) [INFO] [stdout] 153 | | .header("Content-Type", content_type) [INFO] [stdout] 154 | | .body(msg.into()) [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/server.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(listener: TcpListener) -> Result> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let events = Events::with_capacity(64); [INFO] [stdout] 69 | let connections = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let poll = Poll::new()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let router = Router::builder(chat_service) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Ok(Server { [INFO] [stdout] | ____________^ [INFO] [stdout] 163 | | token, [INFO] [stdout] 164 | | next_token, [INFO] [stdout] 165 | | listener, [INFO] [stdout] ... | [INFO] [stdout] 169 | | router, [INFO] [stdout] 170 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/server.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 77 | .register("/chats", http::Method::POST, |svc, _, _, req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Err(e) => return error500(&format!("unable to parse json: {:?}", e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | }; [INFO] [stdout] 83 | match svc.add_chat(chat) { [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/server.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 96 | |svc, params, _, req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Err(e) => return error500(&format!("unable to parse json: {:?}", e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | }; [INFO] [stdout] 107 | match svc.send_message(chat_id, message) { [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/server.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 114 | .register("/chats", http::Method::GET, |svc, _, query, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | match serde_json::to_string(&chats) { [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/server.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 142 | |svc, params, _, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Err(e) => return error500(&format!("unable to get messages {:?}", e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | }; [INFO] [stdout] 153 | match serde_json::to_string(&messages) { [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 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chat-mio` (lib test) due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "973663ced62511ab4782fe551245b5a42a4d732279d97d9d7ab37231cfb572c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973663ced62511ab4782fe551245b5a42a4d732279d97d9d7ab37231cfb572c4", kill_on_drop: false }` [INFO] [stdout] 973663ced62511ab4782fe551245b5a42a4d732279d97d9d7ab37231cfb572c4