[INFO] cloning repository https://github.com/NickLarsenNZ/reqs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NickLarsenNZ/reqs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickLarsenNZ%2Freqs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickLarsenNZ%2Freqs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a7a41296228adf4c196210ba27de08f9b0aa72d [INFO] checking NickLarsenNZ/reqs/7a7a41296228adf4c196210ba27de08f9b0aa72d 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%2FNickLarsenNZ%2Freqs" "/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/NickLarsenNZ/reqs 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/NickLarsenNZ/reqs [INFO] finished tweaking git repo https://github.com/NickLarsenNZ/reqs [INFO] tweaked toml for git repo https://github.com/NickLarsenNZ/reqs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NickLarsenNZ/reqs 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-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7c659bd2b2286f521864ccfbe4c9028525cfea347686c218daaa5e722c066aa [INFO] running `Command { std: "docker" "start" "-a" "c7c659bd2b2286f521864ccfbe4c9028525cfea347686c218daaa5e722c066aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7c659bd2b2286f521864ccfbe4c9028525cfea347686c218daaa5e722c066aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c659bd2b2286f521864ccfbe4c9028525cfea347686c218daaa5e722c066aa", kill_on_drop: false }` [INFO] [stdout] c7c659bd2b2286f521864ccfbe4c9028525cfea347686c218daaa5e722c066aa [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db10ff8b741f03fe285b86c894b025815287bae23f233df607ff610ee088144c [INFO] running `Command { std: "docker" "start" "-a" "db10ff8b741f03fe285b86c894b025815287bae23f233df607ff610ee088144c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking serde_yaml v0.9.27 [INFO] [stderr] Checking reqs 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] --> examples/test-http-server.rs:104:89 [INFO] [stdout] | [INFO] [stdout] 104 | async fn from_request(req: Request, _state: &S) -> Result { [INFO] [stdout] | ___________________________---------------_______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | if let Some(authorization_header) = req.headers().get("Authorization") { [INFO] [stdout] 106 | | let valid_token = format!("Bearer {TOKEN}"); [INFO] [stdout] 107 | | match authorization_header.to_str() { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Err(StatusCode::FORBIDDEN) [INFO] [stdout] 113 | | } [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqs` (example "test-http-server") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "db10ff8b741f03fe285b86c894b025815287bae23f233df607ff610ee088144c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db10ff8b741f03fe285b86c894b025815287bae23f233df607ff610ee088144c", kill_on_drop: false }` [INFO] [stdout] db10ff8b741f03fe285b86c894b025815287bae23f233df607ff610ee088144c