[INFO] fetching crate fluent-ergonomics 0.2.0... [INFO] checking fluent-ergonomics-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fluent-ergonomics 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate fluent-ergonomics 0.2.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 fluent-ergonomics 0.2.0 [INFO] finished tweaking crates.io crate fluent-ergonomics 0.2.0 [INFO] tweaked toml for crates.io crate fluent-ergonomics 0.2.0 written to /workspace/builds/worker-2-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 21 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 intl-memoizer v0.4.0 (latest: v0.5.2) [INFO] [stderr] Adding intl_pluralrules v6.0.0 (latest: v7.0.2) [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] 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7e044a3579f54061c9f7f421702163d47ed7928bcf1c37dfb07771bb9daadd25 [INFO] running `Command { std: "docker" "start" "-a" "7e044a3579f54061c9f7f421702163d47ed7928bcf1c37dfb07771bb9daadd25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e044a3579f54061c9f7f421702163d47ed7928bcf1c37dfb07771bb9daadd25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e044a3579f54061c9f7f421702163d47ed7928bcf1c37dfb07771bb9daadd25", kill_on_drop: false }` [INFO] [stdout] 7e044a3579f54061c9f7f421702163d47ed7928bcf1c37dfb07771bb9daadd25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 396797daf4b15c612f2932e3012565f6c63ae717abefde296c06c55ec9542844 [INFO] running `Command { std: "docker" "start" "-a" "396797daf4b15c612f2932e3012565f6c63ae717abefde296c06c55ec9542844", kill_on_drop: false }` [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unic-langid-impl v0.8.0 [INFO] [stderr] Checking type-map v0.3.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 rental-impl v0.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-ergonomics v0.2.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/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn add_from_file(&mut self, lang: LanguageIdentifier, path: &Path) -> Result<(), Error> { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let mut v = Vec::new(); [INFO] [stdout] 183 | let mut f = File::open(path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | f.read_to_end(&mut v)?; [INFO] [stdout] 185 | / String::from_utf8(v) [INFO] [stdout] 186 | | .map_err(Error::FileEncodingError) [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] | [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/lib.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn add_from_file(&mut self, lang: LanguageIdentifier, path: &Path) -> Result<(), Error> { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let mut v = Vec::new(); [INFO] [stdout] 183 | let mut f = File::open(path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | .and_then(|s| self.add_from_text(lang, s)) [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluent-ergonomics` (lib test) due to 3 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/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn add_from_file(&mut self, lang: LanguageIdentifier, path: &Path) -> Result<(), Error> { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let mut v = Vec::new(); [INFO] [stdout] 183 | let mut f = File::open(path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | f.read_to_end(&mut v)?; [INFO] [stdout] 185 | / String::from_utf8(v) [INFO] [stdout] 186 | | .map_err(Error::FileEncodingError) [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] | [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/lib.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn add_from_file(&mut self, lang: LanguageIdentifier, path: &Path) -> Result<(), Error> { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let mut v = Vec::new(); [INFO] [stdout] 183 | let mut f = File::open(path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | .and_then(|s| self.add_from_text(lang, s)) [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluent-ergonomics` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "396797daf4b15c612f2932e3012565f6c63ae717abefde296c06c55ec9542844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396797daf4b15c612f2932e3012565f6c63ae717abefde296c06c55ec9542844", kill_on_drop: false }` [INFO] [stdout] 396797daf4b15c612f2932e3012565f6c63ae717abefde296c06c55ec9542844