[INFO] cloning repository https://github.com/Phillip-England/axum-quickstart [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Phillip-England/axum-quickstart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhillip-England%2Faxum-quickstart", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhillip-England%2Faxum-quickstart'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bafaeadccc2d96e15b17065f8e3c8ad0963987a [INFO] checking Phillip-England/axum-quickstart/2bafaeadccc2d96e15b17065f8e3c8ad0963987a against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhillip-England%2Faxum-quickstart" "/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/Phillip-England/axum-quickstart on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Phillip-England/axum-quickstart [INFO] finished tweaking git repo https://github.com/Phillip-England/axum-quickstart [INFO] tweaked toml for git repo https://github.com/Phillip-England/axum-quickstart written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Phillip-England/axum-quickstart already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed63c8cbbd3d98d154a9f3b4bad34c71f2b2c5a5ace598d33262ecbf287c036d [INFO] running `Command { std: "docker" "start" "-a" "ed63c8cbbd3d98d154a9f3b4bad34c71f2b2c5a5ace598d33262ecbf287c036d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed63c8cbbd3d98d154a9f3b4bad34c71f2b2c5a5ace598d33262ecbf287c036d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed63c8cbbd3d98d154a9f3b4bad34c71f2b2c5a5ace598d33262ecbf287c036d", kill_on_drop: false }` [INFO] [stdout] ed63c8cbbd3d98d154a9f3b4bad34c71f2b2c5a5ace598d33262ecbf287c036d [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71558ca7b294199cb508caf2f3544dcf9cd610132b00bf145938c1a1fa112833 [INFO] running `Command { std: "docker" "start" "-a" "71558ca7b294199cb508caf2f3544dcf9cd610132b00bf145938c1a1fa112833", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking brotli-decompressor v4.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking line-wrap v0.2.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking iri-string v0.7.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking markdown v1.0.0-alpha.17 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking plist v1.6.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking async-compression v0.4.9 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking axum-quickstart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Style` and `as_24_bit_terminal_escaped` [INFO] [stdout] --> src/handlers.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{Style, ThemeSet}, html::{styled_line_to_highlighted_html, IncludeBackground}, parsing::SyntaxSet, util::{as_24_bit_terminal_escaped, L... [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style` and `as_24_bit_terminal_escaped` [INFO] [stdout] --> src/handlers.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{Style, ThemeSet}, html::{styled_line_to_highlighted_html, IncludeBackground}, parsing::SyntaxSet, util::{as_24_bit_terminal_escaped, L... [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/handlers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct CodeBlock { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/main.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 41 | let shared_state = Arc::new(state::new_app_state()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let app = Router::new() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let listener = tokio::net::TcpListener::bind(addr).await.unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | axum::serve(listener, app).await.unwrap() [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] = 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/middleware.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let start = Instant::now(); [INFO] [stdout] 47 | let uri = req.uri().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let method = req.method().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | [INFO] [stdout] 51 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 52 | | let res = fut.await; [INFO] [stdout] 53 | | let micro_seconds = start.elapsed().as_micros(); [INFO] [stdout] 54 | | if micro_seconds < 1000 { [INFO] [stdout] ... | [INFO] [stdout] 59 | | return res; [INFO] [stdout] 60 | | }) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-quickstart` (bin "axum-quickstart") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/handlers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct CodeBlock { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/main.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 41 | let shared_state = Arc::new(state::new_app_state()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let app = Router::new() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let listener = tokio::net::TcpListener::bind(addr).await.unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | axum::serve(listener, app).await.unwrap() [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] = 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/middleware.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let start = Instant::now(); [INFO] [stdout] 47 | let uri = req.uri().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let method = req.method().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | [INFO] [stdout] 51 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 52 | | let res = fut.await; [INFO] [stdout] 53 | | let micro_seconds = start.elapsed().as_micros(); [INFO] [stdout] 54 | | if micro_seconds < 1000 { [INFO] [stdout] ... | [INFO] [stdout] 59 | | return res; [INFO] [stdout] 60 | | }) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-quickstart` (bin "axum-quickstart" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "71558ca7b294199cb508caf2f3544dcf9cd610132b00bf145938c1a1fa112833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71558ca7b294199cb508caf2f3544dcf9cd610132b00bf145938c1a1fa112833", kill_on_drop: false }` [INFO] [stdout] 71558ca7b294199cb508caf2f3544dcf9cd610132b00bf145938c1a1fa112833