[INFO] cloning repository https://github.com/hffmnn/spin-router-middleware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hffmnn/spin-router-middleware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhffmnn%2Fspin-router-middleware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhffmnn%2Fspin-router-middleware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 125efcfd7b16b8744e21a8a33cf92788fddff091 [INFO] checking hffmnn/spin-router-middleware against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhffmnn%2Fspin-router-middleware" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hffmnn/spin-router-middleware 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/hffmnn/spin-router-middleware [INFO] finished tweaking git repo https://github.com/hffmnn/spin-router-middleware [INFO] tweaked toml for git repo https://github.com/hffmnn/spin-router-middleware written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hffmnn/spin-router-middleware 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 wit-bindgen v0.13.1 [INFO] [stderr] Downloaded spin-sdk v2.2.0 [INFO] [stderr] Downloaded smartcow v0.2.1 [INFO] [stderr] Downloaded wasm-metadata v0.10.20 [INFO] [stderr] Downloaded wit-bindgen-rust-macro v0.13.1 [INFO] [stderr] Downloaded spin-macro v2.2.0 [INFO] [stderr] Downloaded routefinder v0.5.4 [INFO] [stderr] Downloaded wit-bindgen-core v0.13.1 [INFO] [stderr] Downloaded wit-bindgen-rust v0.13.2 [INFO] [stderr] Downloaded wasm-encoder v0.36.2 [INFO] [stderr] Downloaded wit-parser v0.12.2 [INFO] [stderr] Downloaded wasmparser v0.116.1 [INFO] [stderr] Downloaded wit-component v0.17.0 [INFO] [stderr] Downloaded spdx v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5ae7880ea88c4d9dd816394fe930114494b28375a4a5b67a7305f484ba8b13a3 [INFO] running `Command { std: "docker" "start" "-a" "5ae7880ea88c4d9dd816394fe930114494b28375a4a5b67a7305f484ba8b13a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ae7880ea88c4d9dd816394fe930114494b28375a4a5b67a7305f484ba8b13a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ae7880ea88c4d9dd816394fe930114494b28375a4a5b67a7305f484ba8b13a3", kill_on_drop: false }` [INFO] [stdout] 5ae7880ea88c4d9dd816394fe930114494b28375a4a5b67a7305f484ba8b13a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d1bdf2614bf9854d6bd3ae81be135ccb046b5ad5a32d8488648c91dc80f378ad [INFO] running `Command { std: "docker" "start" "-a" "d1bdf2614bf9854d6bd3ae81be135ccb046b5ad5a32d8488648c91dc80f378ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling wasm-encoder v0.41.2 [INFO] [stderr] Compiling wasm-encoder v0.36.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling wit-bindgen-rust v0.13.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling spdx v0.10.3 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling spin-sdk v2.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking task-local-extensions v0.1.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking smartcow v0.2.1 [INFO] [stderr] Checking routefinder v0.5.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling spin-macro v2.2.0 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling wasmparser v0.116.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio-test v0.4.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wit-parser v0.12.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling wasm-metadata v0.10.20 [INFO] [stderr] Compiling wit-component v0.17.0 [INFO] [stderr] Compiling wit-bindgen-core v0.13.1 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.13.1 [INFO] [stderr] Checking wit-bindgen v0.13.1 [INFO] [stderr] Checking spin-router-middleware v0.1.0 (/opt/rustwide/workdir/spin-router-middleware) [INFO] [stderr] Checking spin-cors-router-middleware v0.1.0 (/opt/rustwide/workdir/spin-cors-router-middleware) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "d1bdf2614bf9854d6bd3ae81be135ccb046b5ad5a32d8488648c91dc80f378ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1bdf2614bf9854d6bd3ae81be135ccb046b5ad5a32d8488648c91dc80f378ad", kill_on_drop: false }` [INFO] [stdout] d1bdf2614bf9854d6bd3ae81be135ccb046b5ad5a32d8488648c91dc80f378ad [INFO] checking hffmnn/spin-router-middleware 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%2Fhffmnn%2Fspin-router-middleware" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hffmnn/spin-router-middleware 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/hffmnn/spin-router-middleware [INFO] finished tweaking git repo https://github.com/hffmnn/spin-router-middleware [INFO] tweaked toml for git repo https://github.com/hffmnn/spin-router-middleware written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hffmnn/spin-router-middleware 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 967682f25d6b3d1432a38028b5ca7feaa085da12eac0ffe8c6c2b53f5ccb4a27 [INFO] running `Command { std: "docker" "start" "-a" "967682f25d6b3d1432a38028b5ca7feaa085da12eac0ffe8c6c2b53f5ccb4a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "967682f25d6b3d1432a38028b5ca7feaa085da12eac0ffe8c6c2b53f5ccb4a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967682f25d6b3d1432a38028b5ca7feaa085da12eac0ffe8c6c2b53f5ccb4a27", kill_on_drop: false }` [INFO] [stdout] 967682f25d6b3d1432a38028b5ca7feaa085da12eac0ffe8c6c2b53f5ccb4a27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d4d96fcb8ae0c0c823f36d5858fb5d865739241e2eddec4088750f1b46c13a3f [INFO] running `Command { std: "docker" "start" "-a" "d4d96fcb8ae0c0c823f36d5858fb5d865739241e2eddec4088750f1b46c13a3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling wasm-encoder v0.41.2 [INFO] [stderr] Compiling wasm-encoder v0.36.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling wit-bindgen-rust v0.13.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling spdx v0.10.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling spin-sdk v2.2.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking task-local-extensions v0.1.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking smartcow v0.2.1 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking routefinder v0.5.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling wasmparser v0.116.1 [INFO] [stderr] Compiling spin-macro v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio-test v0.4.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wit-parser v0.12.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling wasm-metadata v0.10.20 [INFO] [stderr] Compiling wit-component v0.17.0 [INFO] [stderr] Compiling wit-bindgen-core v0.13.1 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.13.1 [INFO] [stderr] Checking wit-bindgen v0.13.1 [INFO] [stderr] Checking spin-router-middleware v0.1.0 (/opt/rustwide/workdir/spin-router-middleware) [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] --> spin-router-middleware/src/builder.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(router: Router) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | middleware_stack: Vec::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] = 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] --> spin-router-middleware/src/builder.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with(self, middleware: M) -> Self [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | self.with_arc(Arc::new(middleware)) [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] --> spin-router-middleware/src/middleware.rs:23:99 [INFO] [stdout] | [INFO] [stdout] 23 | async fn handle(&self, req: Request, extensions: &mut Extensions, next: Next<'_>) -> Response { [INFO] [stdout] | ____________________________------------___________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | | (self)(req, extensions, next).await [INFO] [stdout] 25 | | } [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] --> spin-router-middleware/src/builder.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(router: Router) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | middleware_stack: Vec::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] = 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] --> spin-router-middleware/src/builder.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with(self, middleware: M) -> Self [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | self.with_arc(Arc::new(middleware)) [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 [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] --> spin-router-middleware/src/middleware.rs:23:99 [INFO] [stdout] | [INFO] [stdout] 23 | async fn handle(&self, req: Request, extensions: &mut Extensions, next: Next<'_>) -> Response { [INFO] [stdout] | ____________________________------------___________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | | (self)(req, extensions, next).await [INFO] [stdout] 25 | | } [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spin-router-middleware` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `spin-router-middleware` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d4d96fcb8ae0c0c823f36d5858fb5d865739241e2eddec4088750f1b46c13a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d96fcb8ae0c0c823f36d5858fb5d865739241e2eddec4088750f1b46c13a3f", kill_on_drop: false }` [INFO] [stdout] d4d96fcb8ae0c0c823f36d5858fb5d865739241e2eddec4088750f1b46c13a3f