[INFO] fetching crate syntect-assets 0.23.6... [INFO] checking syntect-assets-0.23.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate syntect-assets 0.23.6 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate syntect-assets 0.23.6 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 syntect-assets 0.23.6 [INFO] finished tweaking crates.io crate syntect-assets 0.23.6 [INFO] tweaked toml for crates.io crate syntect-assets 0.23.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate syntect-assets 0.23.6 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-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] 81ecd9400c2b20dacbd5a68d7389945aa5c0dc32368e8b972e4db9ba945c22b2 [INFO] running `Command { std: "docker" "start" "-a" "81ecd9400c2b20dacbd5a68d7389945aa5c0dc32368e8b972e4db9ba945c22b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81ecd9400c2b20dacbd5a68d7389945aa5c0dc32368e8b972e4db9ba945c22b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ecd9400c2b20dacbd5a68d7389945aa5c0dc32368e8b972e4db9ba945c22b2", kill_on_drop: false }` [INFO] [stdout] 81ecd9400c2b20dacbd5a68d7389945aa5c0dc32368e8b972e4db9ba945c22b2 [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] 4936b7b58c56098bdc58ec912383d4d7d13981f34655ae527adc9b0f1a638c56 [INFO] running `Command { std: "docker" "start" "-a" "4936b7b58c56098bdc58ec912383d4d7d13981f34655ae527adc9b0f1a638c56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking syntect v5.1.0 [INFO] [stderr] Checking syntect-assets v0.23.6 (/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/assets/assets_metadata.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | .and_then(|ver| Version::parse(ver).ok()); [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/syntax_mapping.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) fn get_syntax_for(&self, path: impl AsRef) -> Option> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | / self.ignored_suffixes [INFO] [stdout] 225 | | .try_with_stripped_suffix(file_name, |stripped_file_name| { [INFO] [stdout] 226 | | Ok(self.get_syntax_for(stripped_file_name)) [INFO] [stdout] 227 | | }) [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/syntax_mapping/ignored_suffixes.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn try_with_stripped_suffix(&self, file_name: &'a OsStr, func: F) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(None) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syntect-assets` (lib) due to 4 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/assets/assets_metadata.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | .and_then(|ver| Version::parse(ver).ok()); [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/syntax_mapping.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) fn get_syntax_for(&self, path: impl AsRef) -> Option> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | / self.ignored_suffixes [INFO] [stdout] 225 | | .try_with_stripped_suffix(file_name, |stripped_file_name| { [INFO] [stdout] 226 | | Ok(self.get_syntax_for(stripped_file_name)) [INFO] [stdout] 227 | | }) [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/syntax_mapping/ignored_suffixes.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn try_with_stripped_suffix(&self, file_name: &'a OsStr, func: F) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(None) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syntect-assets` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4936b7b58c56098bdc58ec912383d4d7d13981f34655ae527adc9b0f1a638c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4936b7b58c56098bdc58ec912383d4d7d13981f34655ae527adc9b0f1a638c56", kill_on_drop: false }` [INFO] [stdout] 4936b7b58c56098bdc58ec912383d4d7d13981f34655ae527adc9b0f1a638c56