[INFO] fetching crate rspack_resolver 0.3.3... [INFO] checking rspack_resolver-0.3.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rspack_resolver 0.3.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rspack_resolver 0.3.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rspack_resolver 0.3.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rspack_resolver 0.3.3 [INFO] tweaked toml for crates.io crate rspack_resolver 0.3.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate rspack_resolver 0.3.3 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30d20244469e7ef5d912d7e50e7639097375c64a5f4a9d4d16b598003baa83a9 [INFO] running `Command { std: "docker" "start" "-a" "30d20244469e7ef5d912d7e50e7639097375c64a5f4a9d4d16b598003baa83a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30d20244469e7ef5d912d7e50e7639097375c64a5f4a9d4d16b598003baa83a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d20244469e7ef5d912d7e50e7639097375c64a5f4a9d4d16b598003baa83a9", kill_on_drop: false }` [INFO] [stdout] 30d20244469e7ef5d912d7e50e7639097375c64a5f4a9d4d16b598003baa83a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 174ef106ae7caaa9b1b6a824a224450475facf9fde5316ac2d210824df5cb3e4 [INFO] running `Command { std: "docker" "start" "-a" "174ef106ae7caaa9b1b6a824a224450475facf9fde5316ac2d210824df5cb3e4", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking json-strip-comments v1.0.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bpaf v0.9.12 [INFO] [stderr] Checking anes v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking normalize-path v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking vfs v0.12.0 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion2 v0.11.0 [INFO] [stderr] Checking rspack_resolver v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) fn main_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:142:48 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn exports_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn imports_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 156 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 169 | fn browser_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 172 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) fn resolve_browser_field<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 193 | ) -> Result, ResolveError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/specifier.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Specifier<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> (Cow<'a, str>, Option<&str>, Option<&str>) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/specifier.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Specifier<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> (Cow<'a, str>, Option<&str>, Option<&str>) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) fn main_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:142:48 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn exports_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn imports_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 156 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 169 | fn browser_fields<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 172 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/package_json.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) fn resolve_browser_field<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 193 | ) -> Result, ResolveError> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/specifier.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Specifier<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> (Cow<'a, str>, Option<&str>, Option<&str>) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/specifier.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Specifier<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> (Cow<'a, str>, Option<&str>, Option<&str>) { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/alias.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 34 | let resolver = ResolverGeneric::::new_with_file_system( [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let resolution = resolver.resolve(f, request); [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: this value of type `std::collections::hash_set::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/alias.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 187 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let mut ctx = ResolveContext::default(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | for path in ctx.missing_dependencies { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/browser_field.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 9 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let resolution = resolver.resolve(&path, request); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/browser_field.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 160 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let resolved_path = resolver.resolve(&path, request); [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: this value of type `ResolveContext` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/dependencies.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 25 | let resolver = ResolverGeneric::::new_with_file_system( [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let mut ctx = ResolveContext::default(); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/exports_field.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 16 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let resolution = resolver.resolve(&path, request); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/exports_field.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 260 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let resolution = resolver.resolve(&path, request); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/extension_alias.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 9 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let resolution = resolver.resolve(&path, request); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/extensions.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 10 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let resolution = resolver.resolve(&f, request); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/extensions.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 88 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let resolution = resolver.resolve(&f, request); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/fallback.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 30 | let resolver = ResolverGeneric::::new_with_file_system( [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let resolution = resolver.resolve(f, request); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/imports_field.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 15 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let resolution = resolver.resolve(&path, request); [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: this value of type `ResolveContext` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/missing.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 51 | let resolver = Resolver::default(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut ctx = ResolveContext::default(); [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: this value of type `std::collections::hash_set::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/missing.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 76 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let mut ctx = ResolveContext::default(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | for path in ctx.missing_dependencies { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/roots.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 15 | let resolver = Resolver::new(ResolveOptions { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let resolution = resolver.resolve(&f, request); [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 15 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack_resolver` (lib test) due to 16 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "174ef106ae7caaa9b1b6a824a224450475facf9fde5316ac2d210824df5cb3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "174ef106ae7caaa9b1b6a824a224450475facf9fde5316ac2d210824df5cb3e4", kill_on_drop: false }` [INFO] [stdout] 174ef106ae7caaa9b1b6a824a224450475facf9fde5316ac2d210824df5cb3e4