[INFO] fetching crate gitrel 0.2.12... [INFO] checking gitrel-0.2.12 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate gitrel 0.2.12 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate gitrel 0.2.12 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 gitrel 0.2.12 [INFO] finished tweaking crates.io crate gitrel 0.2.12 [INFO] tweaked toml for crates.io crate gitrel 0.2.12 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate gitrel 0.2.12 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bbfa086ab372cd8e1d0791179cf734d75130731735917143f4a9da050c17d1f6 [INFO] running `Command { std: "docker" "start" "-a" "bbfa086ab372cd8e1d0791179cf734d75130731735917143f4a9da050c17d1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbfa086ab372cd8e1d0791179cf734d75130731735917143f4a9da050c17d1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbfa086ab372cd8e1d0791179cf734d75130731735917143f4a9da050c17d1f6", kill_on_drop: false }` [INFO] [stdout] bbfa086ab372cd8e1d0791179cf734d75130731735917143f4a9da050c17d1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 36925fa2b5d63bef8093d8955881cc78028134d9306b9ca54e8dc6ebaf0ba422 [INFO] running `Command { std: "docker" "start" "-a" "36925fa2b5d63bef8093d8955881cc78028134d9306b9ca54e8dc6ebaf0ba422", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling serde_derive v1.0.142 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.19 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking ansitok v0.1.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking ansi-str v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.10.1 [INFO] [stderr] Compiling gitrel v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking console v0.15.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `aarch4` [INFO] [stdout] --> build.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch4")))] [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"aarch64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `aarch` [INFO] [stdout] --> build.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(all(target_os = "windows", target_arch = "aarch"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking papergrid v0.5.1 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking indicatif v0.17.0 [INFO] [stderr] Checking xz v0.1.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking time v0.3.12 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling tabled_derive v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking tabled v0.8.0 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.20 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.2 [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/domain/github/release.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Release { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub assets_url: Url, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub upload_url: Url, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub tag_name: String, [INFO] [stdout] 16 | pub target_commitish: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub draft: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub prerelease: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Release` has derived impls for the traits `Clone` and `Debug`, but these are 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:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn rt_current_thread(f: F) -> F::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 39 | | .enable_all() [INFO] [stdout] 40 | | .build() [INFO] [stdout] 41 | | .unwrap() [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/cmd/list.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 84 | let table = Table::new(data) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / if !wide { [INFO] [stdout] 108 | | table.with(Disable::Column(4..)) [INFO] [stdout] 109 | | } else { [INFO] [stdout] 110 | | table [INFO] [stdout] 111 | | } [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/domain/executor.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 18 | let mut proc = std::process::Command::new("/bin/sh"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | match proc.arg("-c").arg(&to_exec).output() { [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/domain/github/mod.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut api_headers = header::HeaderMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let mut dl_headers = header::HeaderMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | client: reqwest::Client::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/domain/installer.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 131 | let mut reader = BufReader::new(GzDecoder::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let mut dest_file = OpenOptions::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | match std::io::copy(&mut reader, &mut dest_file) { [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] | 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/domain/installer.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 151 | let mut reader = BufReader::new(BzDecoder::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | let mut dest_file = OpenOptions::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | match std::io::copy(&mut reader, &mut dest_file) { [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] | 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/domain/installer.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 173 | let mut reader = BufReader::new(XzDecoder::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let mut dest_file = OpenOptions::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | match std::io::copy(&mut reader, &mut dest_file) { [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] | 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/domain/installer.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut zip = ZipArchive::new(File::open(archive).context("opening a zip file")?) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | .context("reading a zip file")?; [INFO] [stdout] 201 | let archive_entry_matcher = get_archive_entry_matcher(file_name, entry_glob, entry_re)?; [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | Err(entry_match_error( [INFO] [stdout] | _________^ [INFO] [stdout] 241 | | archive.file_name().and_then(OsStr::to_str).unwrap(), [INFO] [stdout] 242 | | file_name, [INFO] [stdout] 243 | | entry_glob, [INFO] [stdout] 244 | | entry_re, [INFO] [stdout] 245 | | unmatched_entries, [INFO] [stdout] 246 | | )) [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] | | 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] [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/domain/installer.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 276 | let reader = BufReader::new(File::open(&tarball_path).context("reading a tarball")?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | let mut tarball = tar::Archive::new(reader); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | let archive_entry_matcher = get_archive_entry_matcher(file_name, entry_glob, entry_re)?; [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 297 | Err(entry_match_error( [INFO] [stdout] | _________^ [INFO] [stdout] 298 | | archive.file_name().and_then(OsStr::to_str).unwrap(), [INFO] [stdout] 299 | | file_name, [INFO] [stdout] 300 | | entry_glob, [INFO] [stdout] 301 | | entry_re, [INFO] [stdout] 302 | | unmatched_entries, [INFO] [stdout] 303 | | )) [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] | | 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] | |_____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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gitrel` (bin "gitrel") due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/domain/github/release.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Release { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub assets_url: Url, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub upload_url: Url, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub tag_name: String, [INFO] [stdout] 16 | pub target_commitish: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub draft: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub prerelease: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Release` has derived impls for the traits `Clone` and `Debug`, but these are 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:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn rt_current_thread(f: F) -> F::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 39 | | .enable_all() [INFO] [stdout] 40 | | .build() [INFO] [stdout] 41 | | .unwrap() [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/cmd/list.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 84 | let table = Table::new(data) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / if !wide { [INFO] [stdout] 108 | | table.with(Disable::Column(4..)) [INFO] [stdout] 109 | | } else { [INFO] [stdout] 110 | | table [INFO] [stdout] 111 | | } [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/domain/executor.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 18 | let mut proc = std::process::Command::new("/bin/sh"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | match proc.arg("-c").arg(&to_exec).output() { [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/domain/github/mod.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut api_headers = header::HeaderMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let mut dl_headers = header::HeaderMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | client: reqwest::Client::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/domain/installer.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 131 | let mut reader = BufReader::new(GzDecoder::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let mut dest_file = OpenOptions::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | match std::io::copy(&mut reader, &mut dest_file) { [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] | 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/domain/installer.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 151 | let mut reader = BufReader::new(BzDecoder::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | let mut dest_file = OpenOptions::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | match std::io::copy(&mut reader, &mut dest_file) { [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] | 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/domain/installer.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 173 | let mut reader = BufReader::new(XzDecoder::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let mut dest_file = OpenOptions::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | match std::io::copy(&mut reader, &mut dest_file) { [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] | 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/domain/installer.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut zip = ZipArchive::new(File::open(archive).context("opening a zip file")?) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | .context("reading a zip file")?; [INFO] [stdout] 201 | let archive_entry_matcher = get_archive_entry_matcher(file_name, entry_glob, entry_re)?; [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | Err(entry_match_error( [INFO] [stdout] | _________^ [INFO] [stdout] 241 | | archive.file_name().and_then(OsStr::to_str).unwrap(), [INFO] [stdout] 242 | | file_name, [INFO] [stdout] 243 | | entry_glob, [INFO] [stdout] 244 | | entry_re, [INFO] [stdout] 245 | | unmatched_entries, [INFO] [stdout] 246 | | )) [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] | | 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] [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/domain/installer.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 276 | let reader = BufReader::new(File::open(&tarball_path).context("reading a tarball")?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | let mut tarball = tar::Archive::new(reader); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | let archive_entry_matcher = get_archive_entry_matcher(file_name, entry_glob, entry_re)?; [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 297 | Err(entry_match_error( [INFO] [stdout] | _________^ [INFO] [stdout] 298 | | archive.file_name().and_then(OsStr::to_str).unwrap(), [INFO] [stdout] 299 | | file_name, [INFO] [stdout] 300 | | entry_glob, [INFO] [stdout] 301 | | entry_re, [INFO] [stdout] 302 | | unmatched_entries, [INFO] [stdout] 303 | | )) [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] | | 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] | |_____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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gitrel` (bin "gitrel" test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "36925fa2b5d63bef8093d8955881cc78028134d9306b9ca54e8dc6ebaf0ba422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36925fa2b5d63bef8093d8955881cc78028134d9306b9ca54e8dc6ebaf0ba422", kill_on_drop: false }` [INFO] [stdout] 36925fa2b5d63bef8093d8955881cc78028134d9306b9ca54e8dc6ebaf0ba422