[INFO] cloning repository https://github.com/bitwalker/litcheck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bitwalker/litcheck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitwalker%2Flitcheck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitwalker%2Flitcheck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e6f3b3c1f78c79330c7b72f97a6ddc30e41880b [INFO] checking bitwalker/litcheck/6e6f3b3c1f78c79330c7b72f97a6ddc30e41880b against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitwalker%2Flitcheck" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bitwalker/litcheck 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] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/bitwalker/litcheck [INFO] finished tweaking git repo https://github.com/bitwalker/litcheck [INFO] tweaked toml for git repo https://github.com/bitwalker/litcheck written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bitwalker/litcheck 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] Locking 4 packages to latest compatible versions [INFO] [stderr] Updating litcheck v0.2.1 (/workspace/builds/worker-6-tc2/source/litcheck) -> v0.2.2 [INFO] [stderr] Updating litcheck-core v0.2.1 (/workspace/builds/worker-6-tc2/source/core) -> v0.2.2 [INFO] [stderr] Updating litcheck-filecheck v0.2.1 (/workspace/builds/worker-6-tc2/source/filecheck) -> v0.2.2 [INFO] [stderr] Updating litcheck-lit v0.2.1 (/workspace/builds/worker-6-tc2/source/lit) -> v0.2.2 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7f54cd44f5e9ba7ee77bca3da8fc538d3e6202df2cb18f6fe4ded82029bf7e7b [INFO] running `Command { std: "docker" "start" "-a" "7f54cd44f5e9ba7ee77bca3da8fc538d3e6202df2cb18f6fe4ded82029bf7e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f54cd44f5e9ba7ee77bca3da8fc538d3e6202df2cb18f6fe4ded82029bf7e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f54cd44f5e9ba7ee77bca3da8fc538d3e6202df2cb18f6fe4ded82029bf7e7b", kill_on_drop: false }` [INFO] [stdout] 7f54cd44f5e9ba7ee77bca3da8fc538d3e6202df2cb18f6fe4ded82029bf7e7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 839570cf386e002dbe1cedf267026e988d904d587a80e24a592fe3a67b94b60c [INFO] running `Command { std: "docker" "start" "-a" "839570cf386e002dbe1cedf267026e988d904d587a80e24a592fe3a67b94b60c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lalrpop-util v0.20.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking supports-unicode v2.0.0 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking clap_builder v4.4.16 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking intrusive-collections v0.9.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking assert_cmd v2.0.13 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking clap v4.4.16 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking litcheck-core v0.2.2 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking toml_edit v0.21.0 [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] --> core/src/diagnostics.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new(source: Source<'static>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Self(Arc::new(source)) [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] --> core/src/diagnostics.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn new(name: N, code: S) -> Self [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] ... [INFO] [stdout] 388 | name: FileName::from(name), [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] --> core/src/diagnostics.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn map(self, mut f: F) -> Span [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] ... [INFO] [stdout] 513 | spanned: f(self.spanned), [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] --> core/src/fs/filesearch.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 10 | dir: P, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | recursive: bool, [INFO] [stdout] 12 | mut predicate: F, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Searcher::new(dir.as_ref(), recursive, move |e| { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 19 | | apply_search_filter(e, &mut predicate) [INFO] [stdout] 20 | | }) [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] --> core/src/fs/glob.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 89 | fn from_iter(iter: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Self(iter.into_iter().collect()) [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] --> core/src/fs/glob.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_iter(iter: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Self(iter.into_iter().cloned().collect()) [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] --> core/src/input.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 60 | let name = self.filename(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let code = self.read_to_string(strict).map(Cow::Owned)?; [INFO] [stdout] 62 | Ok(Source { name, code }) [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] --> core/src/variables/mod.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn new(name: VariableName, value: T) -> Self [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] ... [INFO] [stdout] 245 | value: V::from(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] [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] --> core/src/variables/mod.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | ::try_parse(Span::new(span, raw)).map_err(|err| { [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] --> core/src/variables/mod.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 365 | fn from_iter(iter: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | Self(iter.into_iter().map(|var| (var.name, var.value)).collect()) [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] --> core/src/variables/mod.rs:394:23 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn define(&mut self, k: impl Into>, v: V) -> Option { [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] 394 | self.0.insert(k.into(), v) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `litcheck-core` (lib test) due to 12 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] --> core/src/diagnostics.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new(source: Source<'static>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Self(Arc::new(source)) [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] --> core/src/diagnostics.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn new(name: N, code: S) -> Self [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] ... [INFO] [stdout] 388 | name: FileName::from(name), [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] --> core/src/diagnostics.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn map(self, mut f: F) -> Span [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] ... [INFO] [stdout] 513 | spanned: f(self.spanned), [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] --> core/src/fs/filesearch.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 10 | dir: P, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | recursive: bool, [INFO] [stdout] 12 | mut predicate: F, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Searcher::new(dir.as_ref(), recursive, move |e| { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 19 | | apply_search_filter(e, &mut predicate) [INFO] [stdout] 20 | | }) [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] --> core/src/fs/glob.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 89 | fn from_iter(iter: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Self(iter.into_iter().collect()) [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] --> core/src/fs/glob.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_iter(iter: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Self(iter.into_iter().cloned().collect()) [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] --> core/src/input.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 60 | let name = self.filename(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let code = self.read_to_string(strict).map(Cow::Owned)?; [INFO] [stdout] 62 | Ok(Source { name, code }) [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] --> core/src/variables/mod.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn new(name: VariableName, value: T) -> Self [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] ... [INFO] [stdout] 245 | value: V::from(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] [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] --> core/src/variables/mod.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | ::try_parse(Span::new(span, raw)).map_err(|err| { [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] --> core/src/variables/mod.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 365 | fn from_iter(iter: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | Self(iter.into_iter().map(|var| (var.name, var.value)).collect()) [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] --> core/src/variables/mod.rs:394:23 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn define(&mut self, k: impl Into>, v: V) -> Option { [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] 394 | self.0.insert(k.into(), v) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `litcheck-core` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "839570cf386e002dbe1cedf267026e988d904d587a80e24a592fe3a67b94b60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839570cf386e002dbe1cedf267026e988d904d587a80e24a592fe3a67b94b60c", kill_on_drop: false }` [INFO] [stdout] 839570cf386e002dbe1cedf267026e988d904d587a80e24a592fe3a67b94b60c