[INFO] fetching crate idm 0.4.2... [INFO] checking idm-0.4.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate idm 0.4.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate idm 0.4.2 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 idm 0.4.2 [INFO] finished tweaking crates.io crate idm 0.4.2 [INFO] tweaked toml for crates.io crate idm 0.4.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate idm 0.4.2 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-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] 8b8abefd374bbcd2186c6b1a8ab6eeb429403629e6d92a3630201367d346bf15 [INFO] running `Command { std: "docker" "start" "-a" "8b8abefd374bbcd2186c6b1a8ab6eeb429403629e6d92a3630201367d346bf15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b8abefd374bbcd2186c6b1a8ab6eeb429403629e6d92a3630201367d346bf15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8abefd374bbcd2186c6b1a8ab6eeb429403629e6d92a3630201367d346bf15", kill_on_drop: false }` [INFO] [stdout] 8b8abefd374bbcd2186c6b1a8ab6eeb429403629e6d92a3630201367d346bf15 [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] 959a006a89e40101dca1d186174e8689e4155ab191eb5ddd12c38b702b41361f [INFO] running `Command { std: "docker" "start" "-a" "959a006a89e40101dca1d186174e8689e4155ab191eb5ddd12c38b702b41361f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking gzip-header v1.0.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking deunicode v1.4.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking idm v0.4.2 (/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/de/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 321 | fn next_element_seed(&mut self, seed: T) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | seed.deserialize(&mut *self.de).map(Some) [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/de/mod.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 352 | fn next_key_seed(&mut self, seed: K) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | seed.deserialize(&mut *self.de).map(Some) [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/de/mod.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 388 | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant)> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 392 | let val = seed.deserialize(&mut *self.de)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | Ok((val, self)) [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/outline.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 17 | iter: U, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Self { [INFO] [stdout] 19 | Outline(iter.into_iter().collect()) [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/util.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 104 | Ok(UnderlineSpaces(from_str(&ret).map_err(de::Error::custom)?)) [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/util.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 151 | 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] 155 | Ok(AsVec( [INFO] [stdout] | ____________^ [INFO] [stdout] 156 | | Vec::::deserialize(deserializer)? [INFO] [stdout] 157 | | .into_iter() [INFO] [stdout] 158 | | .map(Into::into) [INFO] [stdout] ... | [INFO] [stdout] 161 | | PhantomData, [INFO] [stdout] 162 | | )) [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/util.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 169 | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | / self.0 [INFO] [stdout] 174 | | .clone() [INFO] [stdout] 175 | | .into_iter() [INFO] [stdout] 176 | | .map(From::from) [INFO] [stdout] 177 | | .collect::>() [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `idm` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "959a006a89e40101dca1d186174e8689e4155ab191eb5ddd12c38b702b41361f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "959a006a89e40101dca1d186174e8689e4155ab191eb5ddd12c38b702b41361f", kill_on_drop: false }` [INFO] [stdout] 959a006a89e40101dca1d186174e8689e4155ab191eb5ddd12c38b702b41361f