[INFO] fetching crate coctus 0.3.0... [INFO] checking coctus-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate coctus 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate coctus 0.3.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 coctus 0.3.0 [INFO] finished tweaking crates.io crate coctus 0.3.0 [INFO] tweaked toml for crates.io crate coctus 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate coctus 0.3.0 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] [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-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] cb7e0ba8d4eb9906398ff77720f5542954b44ca19c706db8e27c30358778b3a9 [INFO] running `Command { std: "docker" "start" "-a" "cb7e0ba8d4eb9906398ff77720f5542954b44ca19c706db8e27c30358778b3a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb7e0ba8d4eb9906398ff77720f5542954b44ca19c706db8e27c30358778b3a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7e0ba8d4eb9906398ff77720f5542954b44ca19c706db8e27c30358778b3a9", kill_on_drop: false }` [INFO] [stdout] cb7e0ba8d4eb9906398ff77720f5542954b44ca19c706db8e27c30358778b3a9 [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] bc8b6fb8f99f72d6124025d2b8a9c0da79ff6399ffb773fedb7e96137fd3e0f9 [INFO] running `Command { std: "docker" "start" "-a" "bc8b6fb8f99f72d6124025d2b8a9c0da79ff6399ffb773fedb7e96137fd3e0f9", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking deunicode v1.4.4 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking winnow v0.6.7 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking flate2 v1.0.29 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking dissimilar v1.0.8 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking clap_complete v4.5.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking ureq v2.9.7 [INFO] [stderr] Checking coctus v0.3.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/clash/public_handle.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 47 | FromStr::from_str(&s).map_err(serde::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] = 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/solution.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | testcases: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | testcases.into_iter().map(|test| { [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/stub/renderer.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) fn new(config: StubConfig, stub: Stub) -> Result { [INFO] [stdout] | ------------------ ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | lang: config.language, [INFO] [stdout] 22 | | tera: config.tera, [INFO] [stdout] 23 | | stub, [INFO] [stdout] 24 | | }) [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/stub/stub_config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | let tera = Tera::new(jinja_glob.to_str().expect("language directory path should be valid utf8")) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | .context("Failed to create Tera instance")?; [INFO] [stdout] 26 | Ok(Self { language, tera }) [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] | [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/stub/stub_config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 43 | let templates = embedded_config_dir [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let mut tera = Tera::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(Self { language, tera }) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coctus` (lib) due to 6 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/clash/public_handle.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 47 | FromStr::from_str(&s).map_err(serde::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] = 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/solution.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | testcases: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | testcases.into_iter().map(|test| { [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/stub/renderer.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) fn new(config: StubConfig, stub: Stub) -> Result { [INFO] [stdout] | ------------------ ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | lang: config.language, [INFO] [stdout] 22 | | tera: config.tera, [INFO] [stdout] 23 | | stub, [INFO] [stdout] 24 | | }) [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/stub/stub_config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | let tera = Tera::new(jinja_glob.to_str().expect("language directory path should be valid utf8")) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | .context("Failed to create Tera instance")?; [INFO] [stdout] 26 | Ok(Self { language, tera }) [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] | [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/stub/stub_config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 43 | let templates = embedded_config_dir [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let mut tera = Tera::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(Self { language, tera }) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coctus` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "bc8b6fb8f99f72d6124025d2b8a9c0da79ff6399ffb773fedb7e96137fd3e0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc8b6fb8f99f72d6124025d2b8a9c0da79ff6399ffb773fedb7e96137fd3e0f9", kill_on_drop: false }` [INFO] [stdout] bc8b6fb8f99f72d6124025d2b8a9c0da79ff6399ffb773fedb7e96137fd3e0f9