[INFO] fetching crate rabijump 0.1.0... [INFO] checking rabijump-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rabijump 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rabijump 0.1.0 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 crates.io crate rabijump 0.1.0 [INFO] finished tweaking crates.io crate rabijump 0.1.0 [INFO] tweaked toml for crates.io crate rabijump 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate rabijump 0.1.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] d6477f0e0ed1d7b1b1a6790b7cf1fd89aee64a73f86baee5df35196f0437e6df [INFO] running `Command { std: "docker" "start" "-a" "d6477f0e0ed1d7b1b1a6790b7cf1fd89aee64a73f86baee5df35196f0437e6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6477f0e0ed1d7b1b1a6790b7cf1fd89aee64a73f86baee5df35196f0437e6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6477f0e0ed1d7b1b1a6790b7cf1fd89aee64a73f86baee5df35196f0437e6df", kill_on_drop: false }` [INFO] [stdout] d6477f0e0ed1d7b1b1a6790b7cf1fd89aee64a73f86baee5df35196f0437e6df [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] 9e52624f237fff19cd25a4acb91dc1919f9793dc98d3d255e960797734922cc3 [INFO] running `Command { std: "docker" "start" "-a" "9e52624f237fff19cd25a4acb91dc1919f9793dc98d3d255e960797734922cc3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking iana-time-zone v0.1.41 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling spdlog-rs v0.2.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.60 [INFO] [stderr] Compiling woothee v0.13.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking rfc7239 v0.1.0 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking arc-swap v1.5.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling random-number-macro-impl v0.1.6 [INFO] [stderr] Checking random-number v0.1.7 [INFO] [stderr] Checking random-pick v1.2.15 [INFO] [stderr] Checking passwords v3.1.9 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling poem-derive v1.3.37 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking chrono v0.4.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking typed-headers v0.2.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking poem v1.3.37 [INFO] [stderr] Checking rabijump 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/admin/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 18 | let cors = if let Some(allow_origin) = CONFIG.get_allow_origin() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | / Route::new() [INFO] [stdout] 31 | | .at( [INFO] [stdout] 32 | | "/api/redirect/:name", [INFO] [stdout] 33 | | post(create_redirect) [INFO] [stdout] ... | [INFO] [stdout] 51 | | .at("/api/version", get(get_version).with(auth::TokenMiddleware)) [INFO] [stdout] 52 | | .nest("/", StaticFilesEndpoint::new("./static").index_file("index.html")) [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/admin/auth.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | async fn call(&self, req: Request) -> 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] 30 | | if let Some(auth) = req.headers().typed_get::>() { [INFO] [stdout] 31 | | if auth.token().eq(&CONFIG.get_token()) { [INFO] [stdout] 32 | | return self.ep.call(req).await; [INFO] [stdout] ... | [INFO] [stdout] 35 | | Err(AdminError::Unauthorized.into()) [INFO] [stdout] 36 | | } [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/redirect/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Ok(Response::builder() [INFO] [stdout] | ________^ [INFO] [stdout] 118 | | .status( [INFO] [stdout] 119 | | StatusCode::from_u16(redirect.status_code.unwrap_or(302)) [INFO] [stdout] 120 | | .unwrap_or(StatusCode::MOVED_PERMANENTLY), [INFO] [stdout] 121 | | ) [INFO] [stdout] 122 | | .header("Location", target) [INFO] [stdout] 123 | | .finish()) [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/redirect/model.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 77 | let db = CONFIG.get_db("redirects"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | match db.insert(key.as_bytes(), value) { [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rabijump` (bin "rabijump" test) due to 5 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/admin/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 18 | let cors = if let Some(allow_origin) = CONFIG.get_allow_origin() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | / Route::new() [INFO] [stdout] 31 | | .at( [INFO] [stdout] 32 | | "/api/redirect/:name", [INFO] [stdout] 33 | | post(create_redirect) [INFO] [stdout] ... | [INFO] [stdout] 51 | | .at("/api/version", get(get_version).with(auth::TokenMiddleware)) [INFO] [stdout] 52 | | .nest("/", StaticFilesEndpoint::new("./static").index_file("index.html")) [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/admin/auth.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | async fn call(&self, req: Request) -> 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] 30 | | if let Some(auth) = req.headers().typed_get::>() { [INFO] [stdout] 31 | | if auth.token().eq(&CONFIG.get_token()) { [INFO] [stdout] 32 | | return self.ep.call(req).await; [INFO] [stdout] ... | [INFO] [stdout] 35 | | Err(AdminError::Unauthorized.into()) [INFO] [stdout] 36 | | } [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/redirect/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Ok(Response::builder() [INFO] [stdout] | ________^ [INFO] [stdout] 118 | | .status( [INFO] [stdout] 119 | | StatusCode::from_u16(redirect.status_code.unwrap_or(302)) [INFO] [stdout] 120 | | .unwrap_or(StatusCode::MOVED_PERMANENTLY), [INFO] [stdout] 121 | | ) [INFO] [stdout] 122 | | .header("Location", target) [INFO] [stdout] 123 | | .finish()) [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/redirect/model.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 77 | let db = CONFIG.get_db("redirects"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | match db.insert(key.as_bytes(), value) { [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rabijump` (bin "rabijump") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9e52624f237fff19cd25a4acb91dc1919f9793dc98d3d255e960797734922cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e52624f237fff19cd25a4acb91dc1919f9793dc98d3d255e960797734922cc3", kill_on_drop: false }` [INFO] [stdout] 9e52624f237fff19cd25a4acb91dc1919f9793dc98d3d255e960797734922cc3