[INFO] fetching crate selmr 0.4.0... [INFO] checking selmr-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate selmr 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate selmr 0.4.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 selmr 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate selmr 0.4.0 [INFO] tweaked toml for crates.io crate selmr 0.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-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] fb7c8a1fb3a26a22c9ca9257520f0a0dc35d39282e04c361df5e0ee47d5cb925 [INFO] running `Command { std: "docker" "start" "-a" "fb7c8a1fb3a26a22c9ca9257520f0a0dc35d39282e04c361df5e0ee47d5cb925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb7c8a1fb3a26a22c9ca9257520f0a0dc35d39282e04c361df5e0ee47d5cb925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7c8a1fb3a26a22c9ca9257520f0a0dc35d39282e04c361df5e0ee47d5cb925", kill_on_drop: false }` [INFO] [stdout] fb7c8a1fb3a26a22c9ca9257520f0a0dc35d39282e04c361df5e0ee47d5cb925 [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] 3f7df4044217df341f5cf0eafeec02d8ac7b6646805fc859a731c3149ff5dc0c [INFO] running `Command { std: "docker" "start" "-a" "3f7df4044217df341f5cf0eafeec02d8ac7b6646805fc859a731c3149ff5dc0c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling pyo3-build-config v0.22.2 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking ordered-float v4.2.2 [INFO] [stderr] Checking counter v0.6.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.2 [INFO] [stderr] Compiling pyo3-ffi v0.22.2 [INFO] [stderr] Compiling pyo3 v0.22.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling indextree-macros v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling pyo3-macros v0.22.2 [INFO] [stderr] Checking indextree v4.7.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking priority-queue v2.1.0 [INFO] [stderr] Checking selmr v0.4.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/selmr.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 192 | let mut zip = ZipWriter::new(f); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let s = serde_json::to_string_pretty(&self).unwrap(); [INFO] [stdout] 194 | match zip.start_file("data.json", SimpleFileOptions::default()) { [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/text_structs.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 208 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | Ok(TextCounter { [INFO] [stdout] | ____________^ [INFO] [stdout] 213 | | map: deserializer.deserialize_map(IndexMapVisitor(PhantomData))?, [INFO] [stdout] 214 | | }) [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/hac.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(selmr: PySELMR, multiset_topn: usize) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | PyHAC { hac: HAC::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 119 | | &selmr.selmr, [INFO] [stdout] 120 | | &selmr.selmr.phrases, [INFO] [stdout] 121 | | multiset_topn, [INFO] [stdout] 122 | | ) } [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `selmr` (lib test) due to 4 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/selmr.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 192 | let mut zip = ZipWriter::new(f); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let s = serde_json::to_string_pretty(&self).unwrap(); [INFO] [stdout] 194 | match zip.start_file("data.json", SimpleFileOptions::default()) { [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/text_structs.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 208 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | Ok(TextCounter { [INFO] [stdout] | ____________^ [INFO] [stdout] 213 | | map: deserializer.deserialize_map(IndexMapVisitor(PhantomData))?, [INFO] [stdout] 214 | | }) [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/hac.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(selmr: PySELMR, multiset_topn: usize) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | PyHAC { hac: HAC::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 119 | | &selmr.selmr, [INFO] [stdout] 120 | | &selmr.selmr.phrases, [INFO] [stdout] 121 | | multiset_topn, [INFO] [stdout] 122 | | ) } [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `selmr` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "3f7df4044217df341f5cf0eafeec02d8ac7b6646805fc859a731c3149ff5dc0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7df4044217df341f5cf0eafeec02d8ac7b6646805fc859a731c3149ff5dc0c", kill_on_drop: false }` [INFO] [stdout] 3f7df4044217df341f5cf0eafeec02d8ac7b6646805fc859a731c3149ff5dc0c