[INFO] cloning repository https://github.com/hjmartik/codecrafters-http-server-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjmartik/codecrafters-http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjmartik%2Fcodecrafters-http-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjmartik%2Fcodecrafters-http-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7cd44363abc20416927994088a53417914d7a08 [INFO] checking hjmartik/codecrafters-http-server-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjmartik%2Fcodecrafters-http-server-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hjmartik/codecrafters-http-server-rust 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/hjmartik/codecrafters-http-server-rust [INFO] finished tweaking git repo https://github.com/hjmartik/codecrafters-http-server-rust [INFO] tweaked toml for git repo https://github.com/hjmartik/codecrafters-http-server-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hjmartik/codecrafters-http-server-rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e3a8c817e1614eeb466b4906e104002359336dc7415cf339c14f0033844bc8b7 [INFO] running `Command { std: "docker" "start" "-a" "e3a8c817e1614eeb466b4906e104002359336dc7415cf339c14f0033844bc8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a8c817e1614eeb466b4906e104002359336dc7415cf339c14f0033844bc8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a8c817e1614eeb466b4906e104002359336dc7415cf339c14f0033844bc8b7", kill_on_drop: false }` [INFO] [stdout] e3a8c817e1614eeb466b4906e104002359336dc7415cf339c14f0033844bc8b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9e925642c320abdb1daf2c606a83520858f7ddb207a8b9e5f445dcc4d9dc4339 [INFO] running `Command { std: "docker" "start" "-a" "9e925642c320abdb1daf2c606a83520858f7ddb207a8b9e5f445dcc4d9dc4339", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking http-server-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.72s [INFO] running `Command { std: "docker" "inspect" "9e925642c320abdb1daf2c606a83520858f7ddb207a8b9e5f445dcc4d9dc4339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e925642c320abdb1daf2c606a83520858f7ddb207a8b9e5f445dcc4d9dc4339", kill_on_drop: false }` [INFO] [stdout] 9e925642c320abdb1daf2c606a83520858f7ddb207a8b9e5f445dcc4d9dc4339 [INFO] checking hjmartik/codecrafters-http-server-rust 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%2Fhjmartik%2Fcodecrafters-http-server-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hjmartik/codecrafters-http-server-rust 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/hjmartik/codecrafters-http-server-rust [INFO] finished tweaking git repo https://github.com/hjmartik/codecrafters-http-server-rust [INFO] tweaked toml for git repo https://github.com/hjmartik/codecrafters-http-server-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hjmartik/codecrafters-http-server-rust 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a170aaf569c596e5f53617024cce942b5a438b0a5071130f04de60fe90dc9fe5 [INFO] running `Command { std: "docker" "start" "-a" "a170aaf569c596e5f53617024cce942b5a438b0a5071130f04de60fe90dc9fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a170aaf569c596e5f53617024cce942b5a438b0a5071130f04de60fe90dc9fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a170aaf569c596e5f53617024cce942b5a438b0a5071130f04de60fe90dc9fe5", kill_on_drop: false }` [INFO] [stdout] a170aaf569c596e5f53617024cce942b5a438b0a5071130f04de60fe90dc9fe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e9aeae2e8b02b933f2ae03f70c410572194337b643d5903c6d37235c9248d3fa [INFO] running `Command { std: "docker" "start" "-a" "e9aeae2e8b02b933f2ae03f70c410572194337b643d5903c6d37235c9248d3fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking http-server-starter-rust v0.1.0 (/opt/rustwide/workdir) [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.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 52 | fn build(self) -> State { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | State(Arc::new(self)) [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.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | Connection { [INFO] [stdout] 121 | stream: BufWriter::new(stream), [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.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | parser: RequestParser::new(), [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/handlers.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn echo_handler(request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | // error handling... [INFO] [stdout] 14 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 15 | | let echo = request.metadata.path.strip_prefix("/echo/").unwrap(); [INFO] [stdout] 16 | | let mut headers = Headers::new(); [INFO] [stdout] 17 | | headers.insert("Content-Type".to_string(), "text/plain".to_string()); [INFO] [stdout] 18 | | Response::from_data(StatusCode::Ok, headers, echo.as_bytes().to_vec()) [INFO] [stdout] 19 | | }) [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/handlers.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn ok_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Box::pin(async { Response::from_status(StatusCode::Ok) }) [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/handlers.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn not_found_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Box::pin(async { Response::from_status(StatusCode::NotFound) }) [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/handlers.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn internal_error_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Box::pin(async { Response::from_status(StatusCode::Internal) }) [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/handlers.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn method_not_allowed_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Box::pin(async { Response::from_status(StatusCode::MethodNotAllowed) }) [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/handlers.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn user_agent_handler(request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 40 | | let user_agent = request.metadata.headers.get("User-Agent").unwrap_or(""); [INFO] [stdout] 41 | | let mut headers = Headers::new(); [INFO] [stdout] 42 | | headers.insert("Content-Type".to_string(), "text/plain".to_string()); [INFO] [stdout] 43 | | Response::from_data(StatusCode::Ok, headers, user_agent.as_bytes().to_vec()) [INFO] [stdout] 44 | | }) [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/handlers.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn file_get_handler(request: Request, state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 49 | | let file_path = match request.metadata.path.strip_prefix("/files/") { [INFO] [stdout] 50 | | Some(path) => path, [INFO] [stdout] 51 | | None => return internal_error_handler(request, state).await, [INFO] [stdout] ... | [INFO] [stdout] 77 | | Response::from_data(StatusCode::Ok, headers, buf) [INFO] [stdout] 78 | | }) [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/handlers.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn file_post_handler(mut request: Request, state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 83 | | let file_path = match request.metadata.path.strip_prefix("/files/") { [INFO] [stdout] 84 | | Some(path) => path, [INFO] [stdout] 85 | | None => return internal_error_handler(request, state).await, [INFO] [stdout] ... | [INFO] [stdout] 113 | | Response::from_status(StatusCode::Created) [INFO] [stdout] 114 | | }) [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/middleware.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn content_length(handler: Handler) -> Handler { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | Box::new(move |request: Request, state: State| { [INFO] [stdout] | ______________^ [INFO] [stdout] 7 | | let resp = handler(request, state); [INFO] [stdout] 8 | | Box::pin(async move { [INFO] [stdout] 9 | | let mut resp = resp.await; [INFO] [stdout] ... | [INFO] [stdout] 20 | | }) [INFO] [stdout] 21 | | }) [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/middleware.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn content_length(handler: Handler) -> Handler { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | Box::new(move |request: Request, state: State| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let resp = handler(request, state); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 9 | | let mut resp = resp.await; [INFO] [stdout] 10 | | let len = match &resp.body { [INFO] [stdout] 11 | | Some(body) => body.data.len(), [INFO] [stdout] ... | [INFO] [stdout] 19 | | resp [INFO] [stdout] 20 | | }) [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/middleware.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn content_encoding(handler: Handler) -> Handler { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Box::new(move |request: Request, state: State| { [INFO] [stdout] | ______________^ [INFO] [stdout] 26 | | let content_encoding = match request.metadata.headers.get("Accept-Encoding") { [INFO] [stdout] 27 | | Some(encodings) => encodings [INFO] [stdout] 28 | | .split(",") [INFO] [stdout] ... | [INFO] [stdout] 56 | | resp [INFO] [stdout] 57 | | }) [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/router.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 73 | Router(Arc::new(self)) [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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server-starter-rust` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 52 | fn build(self) -> State { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | State(Arc::new(self)) [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.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | Connection { [INFO] [stdout] 121 | stream: BufWriter::new(stream), [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.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(stream: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | parser: RequestParser::new(), [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/handlers.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn echo_handler(request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | // error handling... [INFO] [stdout] 14 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 15 | | let echo = request.metadata.path.strip_prefix("/echo/").unwrap(); [INFO] [stdout] 16 | | let mut headers = Headers::new(); [INFO] [stdout] 17 | | headers.insert("Content-Type".to_string(), "text/plain".to_string()); [INFO] [stdout] 18 | | Response::from_data(StatusCode::Ok, headers, echo.as_bytes().to_vec()) [INFO] [stdout] 19 | | }) [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/handlers.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn ok_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Box::pin(async { Response::from_status(StatusCode::Ok) }) [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/handlers.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn not_found_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Box::pin(async { Response::from_status(StatusCode::NotFound) }) [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/handlers.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn internal_error_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Box::pin(async { Response::from_status(StatusCode::Internal) }) [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/handlers.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn method_not_allowed_handler(_request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Box::pin(async { Response::from_status(StatusCode::MethodNotAllowed) }) [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/handlers.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn user_agent_handler(request: Request, _state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 40 | | let user_agent = request.metadata.headers.get("User-Agent").unwrap_or(""); [INFO] [stdout] 41 | | let mut headers = Headers::new(); [INFO] [stdout] 42 | | headers.insert("Content-Type".to_string(), "text/plain".to_string()); [INFO] [stdout] 43 | | Response::from_data(StatusCode::Ok, headers, user_agent.as_bytes().to_vec()) [INFO] [stdout] 44 | | }) [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/handlers.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn file_get_handler(request: Request, state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 49 | | let file_path = match request.metadata.path.strip_prefix("/files/") { [INFO] [stdout] 50 | | Some(path) => path, [INFO] [stdout] 51 | | None => return internal_error_handler(request, state).await, [INFO] [stdout] ... | [INFO] [stdout] 77 | | Response::from_data(StatusCode::Ok, headers, buf) [INFO] [stdout] 78 | | }) [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/handlers.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn file_post_handler(mut request: Request, state: State) -> BoxResponseFuture { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 83 | | let file_path = match request.metadata.path.strip_prefix("/files/") { [INFO] [stdout] 84 | | Some(path) => path, [INFO] [stdout] 85 | | None => return internal_error_handler(request, state).await, [INFO] [stdout] ... | [INFO] [stdout] 113 | | Response::from_status(StatusCode::Created) [INFO] [stdout] 114 | | }) [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/middleware.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn content_length(handler: Handler) -> Handler { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | Box::new(move |request: Request, state: State| { [INFO] [stdout] | ______________^ [INFO] [stdout] 7 | | let resp = handler(request, state); [INFO] [stdout] 8 | | Box::pin(async move { [INFO] [stdout] 9 | | let mut resp = resp.await; [INFO] [stdout] ... | [INFO] [stdout] 20 | | }) [INFO] [stdout] 21 | | }) [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/middleware.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn content_length(handler: Handler) -> Handler { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | Box::new(move |request: Request, state: State| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let resp = handler(request, state); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 9 | | let mut resp = resp.await; [INFO] [stdout] 10 | | let len = match &resp.body { [INFO] [stdout] 11 | | Some(body) => body.data.len(), [INFO] [stdout] ... | [INFO] [stdout] 19 | | resp [INFO] [stdout] 20 | | }) [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/middleware.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn content_encoding(handler: Handler) -> Handler { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Box::new(move |request: Request, state: State| { [INFO] [stdout] | ______________^ [INFO] [stdout] 26 | | let content_encoding = match request.metadata.headers.get("Accept-Encoding") { [INFO] [stdout] 27 | | Some(encodings) => encodings [INFO] [stdout] 28 | | .split(",") [INFO] [stdout] ... | [INFO] [stdout] 56 | | resp [INFO] [stdout] 57 | | }) [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/router.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 73 | Router(Arc::new(self)) [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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server-starter-rust` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "e9aeae2e8b02b933f2ae03f70c410572194337b643d5903c6d37235c9248d3fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9aeae2e8b02b933f2ae03f70c410572194337b643d5903c6d37235c9248d3fa", kill_on_drop: false }` [INFO] [stdout] e9aeae2e8b02b933f2ae03f70c410572194337b643d5903c6d37235c9248d3fa