[INFO] fetching crate cargo-wasi-src 0.1.28... [INFO] checking cargo-wasi-src-0.1.28 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-wasi-src 0.1.28 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cargo-wasi-src 0.1.28 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-wasi-src 0.1.28 [INFO] finished tweaking crates.io crate cargo-wasi-src 0.1.28 [INFO] tweaked toml for crates.io crate cargo-wasi-src 0.1.28 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-wasi-src 0.1.28 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] f3607b1aa43f19380c7e95581b6d5c57134b29da15bf9c0d7989d82c1ed8f708 [INFO] running `Command { std: "docker" "start" "-a" "f3607b1aa43f19380c7e95581b6d5c57134b29da15bf9c0d7989d82c1ed8f708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3607b1aa43f19380c7e95581b6d5c57134b29da15bf9c0d7989d82c1ed8f708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3607b1aa43f19380c7e95581b6d5c57134b29da15bf9c0d7989d82c1ed8f708", kill_on_drop: false }` [INFO] [stdout] f3607b1aa43f19380c7e95581b6d5c57134b29da15bf9c0d7989d82c1ed8f708 [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] e8fe943f57daf47c0807b6e95fcc79690a60836a11546c31a5ca4cb44cd845e9 [INFO] running `Command { std: "docker" "start" "-a" "e8fe943f57daf47c0807b6e95fcc79690a60836a11546c31a5ca4cb44cd845e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rustls v0.21.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking ucd-trie v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling cargo-wasi-src v0.1.28 (/opt/rustwide/workdir) [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking wasmparser v0.77.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking wasmparser v0.78.2 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Compiling walrus-macro v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking walrus v0.19.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking pest v2.6.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking hyper-rustls v0.24.0 [INFO] [stderr] Checking reqwest v0.11.18 [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/lib.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | .or_else(|_| fs::copy(&temporary_wasi, &wasm).map(|_| ()))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/lib.rs:765:5 [INFO] [stdout] | [INFO] [stdout] 752 | let _flock = utils::flock(&config.cache().root().join("downloading")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | let response = utils::get(url)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 765 | / (|| -> Result<()> { [INFO] [stdout] 766 | | fs::create_dir_all(parent) [INFO] [stdout] 767 | | .context(format!("failed to create directory `{}`", parent.display()))?; [INFO] [stdout] ... | [INFO] [stdout] 793 | | Ok(()) [INFO] [stdout] 794 | | })() [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] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-wasi-src` (lib) due to 3 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/lib.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | .or_else(|_| fs::copy(&temporary_wasi, &wasm).map(|_| ()))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/lib.rs:765:5 [INFO] [stdout] | [INFO] [stdout] 752 | let _flock = utils::flock(&config.cache().root().join("downloading")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | let response = utils::get(url)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 765 | / (|| -> Result<()> { [INFO] [stdout] 766 | | fs::create_dir_all(parent) [INFO] [stdout] 767 | | .context(format!("failed to create directory `{}`", parent.display()))?; [INFO] [stdout] ... | [INFO] [stdout] 793 | | Ok(()) [INFO] [stdout] 794 | | })() [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] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-wasi-src` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e8fe943f57daf47c0807b6e95fcc79690a60836a11546c31a5ca4cb44cd845e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8fe943f57daf47c0807b6e95fcc79690a60836a11546c31a5ca4cb44cd845e9", kill_on_drop: false }` [INFO] [stdout] e8fe943f57daf47c0807b6e95fcc79690a60836a11546c31a5ca4cb44cd845e9