[INFO] crate fluent-template-helper 0.4.5 is already in cache [INFO] checking fluent-template-helper-0.4.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fluent-template-helper 0.4.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate fluent-template-helper 0.4.5 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 fluent-template-helper 0.4.5 [INFO] finished tweaking crates.io crate fluent-template-helper 0.4.5 [INFO] tweaked toml for crates.io crate fluent-template-helper 0.4.5 written to /workspace/builds/worker-4-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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding fluent v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding fluent-bundle v0.11.0 (latest: v0.15.3) [INFO] [stderr] Adding fluent-langneg v0.12.1 (latest: v0.14.1) [INFO] [stderr] Adding fluent-syntax v0.9.3 (latest: v0.11.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding handlebars v3.5.5 (latest: v6.0.0) [INFO] [stderr] Adding intl-memoizer v0.4.0 (latest: v0.5.2) [INFO] [stderr] Adding intl_pluralrules v6.0.0 (latest: v7.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding tinystr v0.3.4 (latest: v0.7.6) [INFO] [stderr] Adding type-map v0.3.0 (latest: v0.5.0) [INFO] [stderr] Adding unic-langid v0.8.0 (latest: v0.9.5) [INFO] [stderr] Adding unic-langid-impl v0.8.0 (latest: v0.9.5) [INFO] [stderr] Adding unic-langid-macros v0.8.0 (latest: v0.9.5) [INFO] [stderr] Adding unic-langid-macros-impl v0.8.0 (latest: v0.9.5) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 80d411493f21d49cf09c56cd38367355e7451b7346b87f385930e23d166e599f [INFO] running `Command { std: "docker" "start" "-a" "80d411493f21d49cf09c56cd38367355e7451b7346b87f385930e23d166e599f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80d411493f21d49cf09c56cd38367355e7451b7346b87f385930e23d166e599f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d411493f21d49cf09c56cd38367355e7451b7346b87f385930e23d166e599f", kill_on_drop: false }` [INFO] [stdout] 80d411493f21d49cf09c56cd38367355e7451b7346b87f385930e23d166e599f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5004082ee623ec3d20f4d4108de4207ea07f8ce281157ee49a237b6890e30668 [INFO] running `Command { std: "docker" "start" "-a" "5004082ee623ec3d20f4d4108de4207ea07f8ce281157ee49a237b6890e30668", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling unic-langid-impl v0.8.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking type-map v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling unic-langid-macros-impl v0.8.0 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Checking unic-langid-macros v0.8.0 [INFO] [stderr] Checking unic-langid v0.8.0 [INFO] [stderr] Checking intl-memoizer v0.4.0 [INFO] [stderr] Checking intl_pluralrules v6.0.0 [INFO] [stderr] Checking fluent-langneg v0.12.1 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking handlebars v3.5.5 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking fluent-bundle v0.11.0 [INFO] [stderr] Checking fluent v0.11.0 [INFO] [stderr] Checking fluent-template-helper v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `langid` and `langids` [INFO] [stdout] --> src/loader/arc_loader.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub use unic_langid::{langid, langids, LanguageIdentifier}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `langid` and `langids` [INFO] [stdout] --> src/loader/static_loader.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub use unic_langid::{langid, langids, LanguageIdentifier}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `langid` and `langids` [INFO] [stdout] --> src/loader/arc_loader.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub use unic_langid::{langid, langids, LanguageIdentifier}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `langid` and `langids` [INFO] [stdout] --> src/loader/static_loader.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub use unic_langid::{langid, langids, LanguageIdentifier}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | out.write(&response).map_err(RenderError::with) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | out.write(&response).map_err(RenderError::with) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/helper.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut args = if h.hash().is_empty() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let map = h [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let lang = context [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | out.write(&response).map_err(RenderError::with) [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/helper.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 73 | let val = match json { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Some((&**k, val)) [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/loader.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_from_file>(filename: P) -> io::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(FluentResource::try_new(string).expect("File did not parse!")) [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] = 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/loader/arc_loader.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut resources = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let mut bundles = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | let fallbacks = super::build_fallbacks(&*resources.keys().cloned().collect::>()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | Ok(ArcLoader { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | resources, [INFO] [stdout] 75 | | bundles, [INFO] [stdout] 76 | | fallbacks, [INFO] [stdout] 77 | | fallback: self.fallback, [INFO] [stdout] 78 | | }) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluent-template-helper` (lib) due to 5 previous errors; 3 warnings emitted [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/helper.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut args = if h.hash().is_empty() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let map = h [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let lang = context [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | out.write(&response).map_err(RenderError::with) [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/helper.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 73 | let val = match json { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Some((&**k, val)) [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/loader.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_from_file>(filename: P) -> io::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(FluentResource::try_new(string).expect("File did not parse!")) [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] = 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/loader/arc_loader.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut resources = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let mut bundles = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | let fallbacks = super::build_fallbacks(&*resources.keys().cloned().collect::>()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | Ok(ArcLoader { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | resources, [INFO] [stdout] 75 | | bundles, [INFO] [stdout] 76 | | fallbacks, [INFO] [stdout] 77 | | fallback: self.fallback, [INFO] [stdout] 78 | | }) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluent-template-helper` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5004082ee623ec3d20f4d4108de4207ea07f8ce281157ee49a237b6890e30668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5004082ee623ec3d20f4d4108de4207ea07f8ce281157ee49a237b6890e30668", kill_on_drop: false }` [INFO] [stdout] 5004082ee623ec3d20f4d4108de4207ea07f8ce281157ee49a237b6890e30668