[INFO] fetching crate dts 0.6.5... [INFO] checking dts-0.6.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate dts 0.6.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dts 0.6.5 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dts 0.6.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dts 0.6.5 [INFO] tweaked toml for crates.io crate dts 0.6.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate dts 0.6.5 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ff50185374ded08dc3b0dcedc9bf2bb2f2863af7e98e5112dc7a29a384c9b1f [INFO] running `Command { std: "docker" "start" "-a" "3ff50185374ded08dc3b0dcedc9bf2bb2f2863af7e98e5112dc7a29a384c9b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ff50185374ded08dc3b0dcedc9bf2bb2f2863af7e98e5112dc7a29a384c9b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff50185374ded08dc3b0dcedc9bf2bb2f2863af7e98e5112dc7a29a384c9b1f", kill_on_drop: false }` [INFO] [stdout] 3ff50185374ded08dc3b0dcedc9bf2bb2f2863af7e98e5112dc7a29a384c9b1f [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1622e9e9b2410b161eb613cd61ad6b8d762f41b0cc06b9057871154cd8c2a55 [INFO] running `Command { std: "docker" "start" "-a" "a1622e9e9b2410b161eb613cd61ad6b8d762f41b0cc06b9057871154cd8c2a55", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking hifijson v0.2.1 [INFO] [stderr] Compiling bat v0.24.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking path_abs v0.5.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking ansi_colours v1.2.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking webpki-roots v0.26.2 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking grep-cli v0.1.10 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking clap_complete v4.5.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking jaq-syn v1.1.0 [INFO] [stderr] Checking kstring v2.0.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking vecmap-rs v0.2.1 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking hcl-primitives v0.1.5 [INFO] [stderr] Checking clircle v0.4.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking hcl-edit v0.8.1 [INFO] [stderr] Checking jaq-parse v1.0.2 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking hcl-rs v0.18.0 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Checking jaq-interpret v1.4.0 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking ureq v2.9.7 [INFO] [stderr] Checking jaq-core v1.4.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Compiling jaq-std v1.4.0 [INFO] [stderr] Checking dts v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result<(), dts::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/dts/main.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 96 | let assets = highlighting::load_assets(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mut ser = Serializer::with_options(BufWriter::new(writer), opts.into()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | match ser.serialize(encoding, value) { [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: this value of type `std::iter::Zip, std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/dts/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 126 | fn serialize_many(sinks: &[Sink], value: Value, opts: &OutputOptions) -> Result<()> { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | / sinks [INFO] [stdout] 153 | | .iter() [INFO] [stdout] 154 | | .zip(values) [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 `dts` (bin "dts" test) due to 3 previous errors [INFO] [stdout] error: this value of type `Result<(), dts::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/dts/main.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 96 | let assets = highlighting::load_assets(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mut ser = Serializer::with_options(BufWriter::new(writer), opts.into()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | match ser.serialize(encoding, value) { [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::iter::Zip, std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/dts/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 126 | fn serialize_many(sinks: &[Sink], value: Value, opts: &OutputOptions) -> Result<()> { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | / sinks [INFO] [stdout] 153 | | .iter() [INFO] [stdout] 154 | | .zip(values) [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 `dts` (bin "dts") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a1622e9e9b2410b161eb613cd61ad6b8d762f41b0cc06b9057871154cd8c2a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1622e9e9b2410b161eb613cd61ad6b8d762f41b0cc06b9057871154cd8c2a55", kill_on_drop: false }` [INFO] [stdout] a1622e9e9b2410b161eb613cd61ad6b8d762f41b0cc06b9057871154cd8c2a55