[INFO] fetching crate rspack_resolver 0.3.3... [INFO] checking rspack_resolver-0.3.3 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate rspack_resolver 0.3.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rspack_resolver 0.3.3 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-5-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d62626cc93ac8d38adf4ed5ac3cd62379dfb954da799061c23191e4578e8dc [INFO] running `Command { std: "docker" "start" "-a" "62d62626cc93ac8d38adf4ed5ac3cd62379dfb954da799061c23191e4578e8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d62626cc93ac8d38adf4ed5ac3cd62379dfb954da799061c23191e4578e8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d62626cc93ac8d38adf4ed5ac3cd62379dfb954da799061c23191e4578e8dc", kill_on_drop: false }` [INFO] [stdout] 62d62626cc93ac8d38adf4ed5ac3cd62379dfb954da799061c23191e4578e8dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b581516486e6741d6a2ff525dc1c8746922eeaff1ea47de73b38ccf900fb9fca [INFO] running `Command { std: "docker" "start" "-a" "b581516486e6741d6a2ff525dc1c8746922eeaff1ea47de73b38ccf900fb9fca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking json-strip-comments v1.0.4 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking bpaf v0.9.12 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking anes v0.2.0 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking normalize-path v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling syn v2.0.70 [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] 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 `std::array::IntoIter<(&str, &str, ResolveError), 1>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/alias.rs:117:41 [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] 117 | for (comment, request, expected) in ignore { [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:89:13 [INFO] [stdout] | [INFO] [stdout] 57 | 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] 89 | let resolved_path = resolver.resolve(&path, request).map(|r| r.full_path()); [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::array::IntoIter<(&str, PathBuf, &str, ResolveError), 3>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/browser_field.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 98 | 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] 110 | for (comment, path, request, expected) in data { [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::array::IntoIter<(PathBuf, &str, Result), 2>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/browser_field.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 120 | 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] 132 | for (path, request, expected) in data { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/builtins.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 17 | let resolver = Resolver::new(ResolveOptions::default().with_builtin_modules(true)); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | let resolved_path = resolver.resolve(f, &request).map(|r| r.full_path()); [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/builtins.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 110 | 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] 117 | let resolved_path = resolver.resolve(f.clone(), request).map(|r| r.full_path()); [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 `std::array::IntoIter<(&str, PathBuf, &str, ResolveError), 12>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/exports_field.rs:78:44 [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] 78 | for (comment, path, request, error) in fail { [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:225:13 [INFO] [stdout] | [INFO] [stdout] 210 | 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] 225 | let resolved_path = resolver.resolve(&path, request).map(|r| r.full_path()); [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:251:13 [INFO] [stdout] | [INFO] [stdout] 234 | 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] 251 | let resolved_path = resolver.resolve(&path, request).map(|r| r.full_path()); [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::array::IntoIter<(&str, PathBuf, &str, ResolveError), 1>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/exports_field.rs:277:44 [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] 277 | for (comment, path, request, error) in fail { [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/extension_alias.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 66 | let resolved_path = resolver.resolve(&path, request).map(|r| r.full_path()); [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 `std::array::IntoIter<(&str, &str, ResolveError), 2>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/fallback.rs:96:41 [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] 96 | for (comment, request, expected) in ignore { [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/full_specified.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 73 | let resolution = resolver.resolve("/a", request).map(|r| r.full_path()); [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/full_specified.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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] 109 | let resolution = resolver.resolve("/a", request).map(|r| r.full_path()); [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::array::IntoIter<(&str, PathBuf, &str, ResolveError), 2>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/imports_field.rs:47:44 [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] 47 | for (comment, path, request, error) in fail { [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/resolve.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 56 | let resolved_path = resolver.resolve(&path, request).map(|r| r.full_path()); [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/resolve.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 78 | let resolver = [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let resolved_path = resolver.resolve(&f, request).map(|r| r.full_path()); [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/resolve.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 96 | let resolver = [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let resolved_path = resolver.resolve(&path, request).map(|r| r.full_path()); [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::array::IntoIter<(&str, &str, ResolveError), 1>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/roots.rs:41:41 [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] 41 | for (comment, request, expected) in fail { [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:77:13 [INFO] [stdout] | [INFO] [stdout] 63 | 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] 77 | let resolved_path = resolver.resolve(&f, &request).map(|r| r.full_path()); [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/scoped_packages.rs:22: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] 22 | let resolved_path = resolver.resolve(&f, request).map(|r| r.full_path()); [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/simple.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 22 | let resolved_path = resolver.resolve(&path, request).map(|f| f.full_path()); [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/simple.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 44 | let resolved_path = resolver.resolve(&path, request).map(|f| f.full_path()); [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::array::IntoIter<(PathBuf, &str, Result), 1>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/tsconfig_paths.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 49 | 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] 56 | for (path, request, expected) in data { [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/tsconfig_project_references.rs:36: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] 36 | let resolved_path = resolver.resolve(&path, request).map(|f| f.full_path()); [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::array::IntoIter<(PathBuf, &str, Result), 6>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/tsconfig_project_references.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 66 | for (path, request, expected) in pass { [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::array::IntoIter<(PathBuf, &str, Result), 6>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/tsconfig_project_references.rs:97:38 [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] 97 | for (path, request, expected) in pass { [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 36 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack_resolver` (lib test) due to 37 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b581516486e6741d6a2ff525dc1c8746922eeaff1ea47de73b38ccf900fb9fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b581516486e6741d6a2ff525dc1c8746922eeaff1ea47de73b38ccf900fb9fca", kill_on_drop: false }` [INFO] [stdout] b581516486e6741d6a2ff525dc1c8746922eeaff1ea47de73b38ccf900fb9fca