[INFO] fetching crate cargo-http-registry 0.1.6... [INFO] checking cargo-http-registry-0.1.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-http-registry 0.1.6 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cargo-http-registry 0.1.6 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 cargo-http-registry 0.1.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-http-registry 0.1.6 [INFO] tweaked toml for crates.io crate cargo-http-registry 0.1.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-http-registry 0.1.6 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d585e81d25f63195bb29b9c19fc6074711c172c667b66efe146a4a6ae9789359 [INFO] running `Command { std: "docker" "start" "-a" "d585e81d25f63195bb29b9c19fc6074711c172c667b66efe146a4a6ae9789359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d585e81d25f63195bb29b9c19fc6074711c172c667b66efe146a4a6ae9789359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d585e81d25f63195bb29b9c19fc6074711c172c667b66efe146a4a6ae9789359", kill_on_drop: false }` [INFO] [stdout] d585e81d25f63195bb29b9c19fc6074711c172c667b66efe146a4a6ae9789359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5378c4f34708c529c89a04b77c76d6831de3ba62ef7986f886ae63097e75d7f4 [INFO] running `Command { std: "docker" "start" "-a" "5378c4f34708c529c89a04b77c76d6831de3ba62ef7986f886ae63097e75d7f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling openssl-sys v0.9.87 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex v1.8.2 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking git2 v0.17.2 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking cargo-http-registry v0.1.6 (/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/index.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 282 | let file = File::open(config).context("failed to open config.json")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | / config [INFO] [stdout] 286 | | .api [INFO] [stdout] 287 | | .ok_or_else(|| anyhow!("no API URL present in config")) [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] | |_____________________________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/publish.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Deserialize, Serialize)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/serve.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 86 | let shared = Arc::new(Mutex::new(Option::::None)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let copy = shared.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | let index = warp::path("git").and(warp::fs::dir(root.join(".git"))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let crates = warp::path("crates").and(warp::fs::dir(root.to_owned())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let publish = warp::put() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let (addr, serve) = loop { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | let routes = index [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let result = warp::serve(routes) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(result) => break result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | Err(err) => return Err(err), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let index = Index::new(root, &addr).with_context(|| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | Ok((serve, addr)) [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] [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/serve.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 87 | let copy = shared.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | .map(move |body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let mut index = copy.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let index = index.as_mut().unwrap(); [INFO] [stdout] 124 | publish_crate(body, index).map(|()| String::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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-http-registry` (lib) 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/index.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 282 | let file = File::open(config).context("failed to open config.json")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | / config [INFO] [stdout] 286 | | .api [INFO] [stdout] 287 | | .ok_or_else(|| anyhow!("no API URL present in config")) [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] | |_____________________________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/publish.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Deserialize, Serialize)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/serve.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 86 | let shared = Arc::new(Mutex::new(Option::::None)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let copy = shared.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | let index = warp::path("git").and(warp::fs::dir(root.join(".git"))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let crates = warp::path("crates").and(warp::fs::dir(root.to_owned())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let publish = warp::put() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let (addr, serve) = loop { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | let routes = index [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let result = warp::serve(routes) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(result) => break result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | Err(err) => return Err(err), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let index = Index::new(root, &addr).with_context(|| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | Ok((serve, addr)) [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] [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/serve.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 87 | let copy = shared.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | .map(move |body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let mut index = copy.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let index = index.as_mut().unwrap(); [INFO] [stdout] 124 | publish_crate(body, index).map(|()| String::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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-http-registry` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5378c4f34708c529c89a04b77c76d6831de3ba62ef7986f886ae63097e75d7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5378c4f34708c529c89a04b77c76d6831de3ba62ef7986f886ae63097e75d7f4", kill_on_drop: false }` [INFO] [stdout] 5378c4f34708c529c89a04b77c76d6831de3ba62ef7986f886ae63097e75d7f4