[INFO] cloning repository https://github.com/BomBardyGamer/astatine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BomBardyGamer/astatine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBomBardyGamer%2Fastatine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBomBardyGamer%2Fastatine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e0da7c4cd89af7feba044e0893284ad5380b7af [INFO] checking BomBardyGamer/astatine/6e0da7c4cd89af7feba044e0893284ad5380b7af 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%2FBomBardyGamer%2Fastatine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BomBardyGamer/astatine on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BomBardyGamer/astatine [INFO] finished tweaking git repo https://github.com/BomBardyGamer/astatine [INFO] tweaked toml for git repo https://github.com/BomBardyGamer/astatine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BomBardyGamer/astatine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e427cd3cc01256420d7c4801d1040fbc08ddd3dfac5ca3fde7ab8bebdf5930a3 [INFO] running `Command { std: "docker" "start" "-a" "e427cd3cc01256420d7c4801d1040fbc08ddd3dfac5ca3fde7ab8bebdf5930a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e427cd3cc01256420d7c4801d1040fbc08ddd3dfac5ca3fde7ab8bebdf5930a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e427cd3cc01256420d7c4801d1040fbc08ddd3dfac5ca3fde7ab8bebdf5930a3", kill_on_drop: false }` [INFO] [stdout] e427cd3cc01256420d7c4801d1040fbc08ddd3dfac5ca3fde7ab8bebdf5930a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d539ecdca2362df2f8a93d2123ba8d69780960fe3210715d68ed5c22ae4e10bc [INFO] running `Command { std: "docker" "start" "-a" "d539ecdca2362df2f8a93d2123ba8d69780960fe3210715d68ed5c22ae4e10bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking internship v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling astatine-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking astatine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `line_numbers` is never read [INFO] [stdout] --> src/class_file/code.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CodeBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | line_numbers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `generic_signature`, `parameters`, and `checked_exception_indices` are never read [INFO] [stdout] --> src/types/method.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | generic_signature: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | code: Option, [INFO] [stdout] 39 | checked_exception_indices: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interfaces` and `methods` are never read [INFO] [stdout] --> src/types/class.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Class { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | interfaces: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | fields: Vec>, [INFO] [stdout] 46 | methods: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_index` and `nat_index` are never read [INFO] [stdout] --> src/types/constant_pool.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | Dynamic { bootstrap_method_index: u16, nat_index: u16 }, [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_index` and `nat_index` are never read [INFO] [stdout] --> src/types/constant_pool.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | InvokeDynamic { bootstrap_method_index: u16, nat_index: u16 }, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_index` is never read [INFO] [stdout] --> src/types/constant_pool.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | Module { name_index: u16 }, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_index` is never read [INFO] [stdout] --> src/types/constant_pool.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | Package { name_index: u16 } [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dynamic` and `InvokeDynamic` are never constructed [INFO] [stdout] --> src/types/constant_pool.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum ResolvedPoolConstant { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 347 | Dynamic(Arc, IStr, FieldDescriptor), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 348 | InvokeDynamic(Arc, IStr, MethodDescriptor) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedPoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JAVA_BASE_NAME` is never used [INFO] [stdout] --> src/types/module.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const JAVA_BASE_NAME: &str = "java.base"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 50 | impl Module { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 51 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes, major_version: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 117 | impl ModuleRequires { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 118 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACC_STATIC_PHASE` is never used [INFO] [stdout] --> src/types/module.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | const ACC_STATIC_PHASE: u32 = 0x0040; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACC_TRANSITIVE` is never used [INFO] [stdout] --> src/types/module.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | const ACC_TRANSITIVE: u32 = 0x0020; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_requires_flags` is never used [INFO] [stdout] --> src/types/module.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn check_requires_flags(module_name: &str, major_version: u16, flags: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 165 | impl $T { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 166 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | common_exports_opens!(ModuleExports); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_exports_opens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 165 | impl $T { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 166 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | common_exports_opens!(ModuleOpens); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_exports_opens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `with_indices` is never read [INFO] [stdout] --> src/types/module.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ModuleProvides { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 197 | module_index: u16, [INFO] [stdout] 198 | with_indices: Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 201 | impl ModuleProvides { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 202 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_module_index` is never used [INFO] [stdout] --> src/types/module.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | generate_index_reader!(read_module_index, "module", MODULE_TAG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_index_reader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_package_index` is never used [INFO] [stdout] --> src/types/module.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | generate_index_reader!(read_package_index, "package", PACKAGE_TAG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_index_reader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `maximum_size` is never read [INFO] [stdout] --> src/objects/heap.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct HeapSpace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 26 | allocated: RwLock>, [INFO] [stdout] 27 | maximum_size: usize [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/class_file/class_loader.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn load_class(self: Arc, name: &str) -> Arc { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Arc::clone(self.classes.lock() [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .entry(IStr::new(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/class_file/class_loader.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | .or_insert_with(|| Arc::new(Class::parse(Arc::clone(&self), 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] --> src/types/method.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 44 | loader: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let name = pool.get_utf8(name_index as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | .expect(&format!("Invalid method! Expected name index {} to be in constant pool!", name_index)); [INFO] [stdout] 55 | let descriptor = pool.get_utf8(buf.get_u16() as usize) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let attributes = parse_attributes(loader, pool, buf, major_version, access_flags); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | parameters: attributes.2.unwrap_or(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/class.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn parse(loader: Arc, file_name: &str) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let mut buf = Bytes::from(contents); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let constant_pool = ConstantPool::parse(&mut buf); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let name = constant_pool.get_class_name(this_class as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let super_class = resolve_superclass(Arc::clone(&loader), name.as_str(), &constant_pool, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let interfaces = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let fields = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let methods = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let attributes = parse_attributes(&constant_pool, &mut buf); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | inner_classes: attributes.1.unwrap_or(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/class.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn parse(loader: Arc, file_name: &str) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let mut buf = Bytes::from(contents); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let constant_pool = ConstantPool::parse(&mut buf); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let name = constant_pool.get_class_name(this_class as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let super_class = resolve_superclass(Arc::clone(&loader), name.as_str(), &constant_pool, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let interfaces = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let fields = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let methods = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let attributes = parse_attributes(&constant_pool, &mut buf); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | record_components: attributes.2.unwrap_or(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/class.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn parse(loader: Arc, file_name: &str) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let mut buf = Bytes::from(contents); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let constant_pool = ConstantPool::parse(&mut buf); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let name = constant_pool.get_class_name(this_class as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let super_class = resolve_superclass(Arc::clone(&loader), name.as_str(), &constant_pool, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let interfaces = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let fields = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let methods = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let attributes = parse_attributes(&constant_pool, &mut buf); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | bootstrap_methods: attributes.3.unwrap_or(Vec::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 95 | fn new(tags: Vec, constants: Vec, has_dynamic: bool) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ConstantPool { [INFO] [stdout] 97 | holder: LateInit::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 95 | fn new(tags: Vec, constants: Vec, has_dynamic: bool) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | resolution_cache: RwLock::new(HashMap::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 132 | let string = self.get_utf8(index as usize)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | Some(ResolvedPoolConstant::String(string)) [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] --> src/types/constant_pool.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 142 | let class_name = self.get_utf8(index as usize)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let class = self.holder.loader().load_class(class_name.as_str()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | Some(ResolvedPoolConstant::Class(class)) [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] --> src/types/constant_pool.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 162 | let method_ref = parse_method_ref(self, class_index, nat_index, is_interface); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | Some(ResolvedPoolConstant::MethodRef(method_ref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 172 | let handle = MethodHandle::parse(self, kind, ref_index, self.holder.major_version()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | Some(ResolvedPoolConstant::MethodHandle(Arc::new(handle))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 182 | let descriptor = self.get_utf8(descriptor_index as usize) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | .and_then(|value| MethodDescriptor::parse(value.as_str()))?; [INFO] [stdout] 184 | Some(ResolvedPoolConstant::MethodType(descriptor)) [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] --> src/types/constant_pool.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) fn get_class_no_holder(&self, index: usize, loader: Arc) -> Option> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let class_name = self.get_utf8(index as usize)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | let class = loader.load_class(class_name.as_str()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | Some(ResolvedPoolConstant::Class(class)) [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] --> src/types/constant_pool.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 237 | resolver: impl FnOnce() -> Option, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | converter: impl FnOnce(&ResolvedPoolConstant) -> Option [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | ) -> Option { [INFO] [stdout] 240 | self.resolution_cache.write().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 373 | mapper: impl FnOnce(&str) -> Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | constructor: impl FnOnce(Arc, IStr, D) -> T [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | ) -> Arc { [INFO] [stdout] 376 | let class = pool.get_class(class_index as usize).expect("Invalid class for ref tag!"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | let name = pool.get_utf8(name_index as usize).expect("Invalid name for ref tag!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | let descriptor = pool.get_utf8(descriptor_index as usize) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | Arc::new(constructor(class, name, descriptor)) [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] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils/extras.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | self as *const Self == other as *const Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 50 | std::ptr::addr_eq(self as *const Self, other as *const Self) [INFO] [stdout] | ++++++++++++++++++ ~ + [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 50 | std::ptr::eq(self as *const Self, other as *const Self) [INFO] [stdout] | +++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/descriptors.rs:154:66 [INFO] [stdout] | [INFO] [stdout] 154 | 'L' => map(semi_terminated, |value| FieldType::Reference(IStr::new(value)))(input), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/object.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(offset: usize, class: Arc, element_class: Arc, length: usize) -> 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] 167 | elements: RwLock::new(Vec::with_capacity(length)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | ref_get_push!(ref, InstanceObject, Instance); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | ref_get_push!(ref, InstanceObject, Instance); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | ref_get_push!(ref_array, ReferenceArrayObject, ReferenceArray); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | ref_get_push!(ref_array, ReferenceArrayObject, ReferenceArray); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | ref_get_push!(type_array, TypeArrayObject, TypeArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | ref_get_push!(type_array, TypeArrayObject, TypeArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/handles.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 48 | let reference = lookup_method_ref(pool, kind, reference_index, major_version); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | MethodHandle { kind, reference: MethodHandleRef::Method(reference) } [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 25 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `astatine` (bin "astatine") due to 26 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `line_numbers` is never read [INFO] [stdout] --> src/class_file/code.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CodeBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | line_numbers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `generic_signature`, `parameters`, and `checked_exception_indices` are never read [INFO] [stdout] --> src/types/method.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | generic_signature: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | code: Option, [INFO] [stdout] 39 | checked_exception_indices: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interfaces` and `methods` are never read [INFO] [stdout] --> src/types/class.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Class { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | interfaces: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | fields: Vec>, [INFO] [stdout] 46 | methods: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_index` and `nat_index` are never read [INFO] [stdout] --> src/types/constant_pool.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | Dynamic { bootstrap_method_index: u16, nat_index: u16 }, [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_index` and `nat_index` are never read [INFO] [stdout] --> src/types/constant_pool.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | InvokeDynamic { bootstrap_method_index: u16, nat_index: u16 }, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_index` is never read [INFO] [stdout] --> src/types/constant_pool.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | Module { name_index: u16 }, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_index` is never read [INFO] [stdout] --> src/types/constant_pool.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | Package { name_index: u16 } [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dynamic` and `InvokeDynamic` are never constructed [INFO] [stdout] --> src/types/constant_pool.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 340 | enum ResolvedPoolConstant { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 347 | Dynamic(Arc, IStr, FieldDescriptor), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 348 | InvokeDynamic(Arc, IStr, MethodDescriptor) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedPoolConstant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JAVA_BASE_NAME` is never used [INFO] [stdout] --> src/types/module.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const JAVA_BASE_NAME: &str = "java.base"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 50 | impl Module { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 51 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes, major_version: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 117 | impl ModuleRequires { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 118 | pub(crate) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACC_STATIC_PHASE` is never used [INFO] [stdout] --> src/types/module.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | const ACC_STATIC_PHASE: u32 = 0x0040; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACC_TRANSITIVE` is never used [INFO] [stdout] --> src/types/module.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | const ACC_TRANSITIVE: u32 = 0x0020; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_requires_flags` is never used [INFO] [stdout] --> src/types/module.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn check_requires_flags(module_name: &str, major_version: u16, flags: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 165 | impl $T { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 166 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | common_exports_opens!(ModuleExports); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_exports_opens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 165 | impl $T { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 166 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | common_exports_opens!(ModuleOpens); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_exports_opens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `with_indices` is never read [INFO] [stdout] --> src/types/module.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ModuleProvides { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 197 | module_index: u16, [INFO] [stdout] 198 | with_indices: Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types/module.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 201 | impl ModuleProvides { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 202 | pub(crate) fn parse(pool: &ConstantPool, buf: &mut Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_module_index` is never used [INFO] [stdout] --> src/types/module.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | generate_index_reader!(read_module_index, "module", MODULE_TAG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_index_reader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_package_index` is never used [INFO] [stdout] --> src/types/module.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | generate_index_reader!(read_package_index, "package", PACKAGE_TAG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_index_reader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `maximum_size` is never read [INFO] [stdout] --> src/objects/heap.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct HeapSpace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 26 | allocated: RwLock>, [INFO] [stdout] 27 | maximum_size: usize [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/class_file/class_loader.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn load_class(self: Arc, name: &str) -> Arc { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Arc::clone(self.classes.lock() [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .entry(IStr::new(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/class_file/class_loader.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | .or_insert_with(|| Arc::new(Class::parse(Arc::clone(&self), 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] --> src/types/method.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 44 | loader: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let name = pool.get_utf8(name_index as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | .expect(&format!("Invalid method! Expected name index {} to be in constant pool!", name_index)); [INFO] [stdout] 55 | let descriptor = pool.get_utf8(buf.get_u16() as usize) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let attributes = parse_attributes(loader, pool, buf, major_version, access_flags); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | parameters: attributes.2.unwrap_or(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/class.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn parse(loader: Arc, file_name: &str) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let mut buf = Bytes::from(contents); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let constant_pool = ConstantPool::parse(&mut buf); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let name = constant_pool.get_class_name(this_class as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let super_class = resolve_superclass(Arc::clone(&loader), name.as_str(), &constant_pool, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let interfaces = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let fields = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let methods = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let attributes = parse_attributes(&constant_pool, &mut buf); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | inner_classes: attributes.1.unwrap_or(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/class.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn parse(loader: Arc, file_name: &str) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let mut buf = Bytes::from(contents); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let constant_pool = ConstantPool::parse(&mut buf); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let name = constant_pool.get_class_name(this_class as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let super_class = resolve_superclass(Arc::clone(&loader), name.as_str(), &constant_pool, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let interfaces = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let fields = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let methods = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let attributes = parse_attributes(&constant_pool, &mut buf); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | record_components: attributes.2.unwrap_or(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/class.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn parse(loader: Arc, file_name: &str) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let mut buf = Bytes::from(contents); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let constant_pool = ConstantPool::parse(&mut buf); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let name = constant_pool.get_class_name(this_class as usize) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let super_class = resolve_superclass(Arc::clone(&loader), name.as_str(), &constant_pool, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let interfaces = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let fields = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let methods = buf.get_generic_u16_array(|buf| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let attributes = parse_attributes(&constant_pool, &mut buf); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | bootstrap_methods: attributes.3.unwrap_or(Vec::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 95 | fn new(tags: Vec, constants: Vec, has_dynamic: bool) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ConstantPool { [INFO] [stdout] 97 | holder: LateInit::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 95 | fn new(tags: Vec, constants: Vec, has_dynamic: bool) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | resolution_cache: RwLock::new(HashMap::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 132 | let string = self.get_utf8(index as usize)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | Some(ResolvedPoolConstant::String(string)) [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] --> src/types/constant_pool.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 142 | let class_name = self.get_utf8(index as usize)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let class = self.holder.loader().load_class(class_name.as_str()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | Some(ResolvedPoolConstant::Class(class)) [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] --> src/types/constant_pool.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 162 | let method_ref = parse_method_ref(self, class_index, nat_index, is_interface); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | Some(ResolvedPoolConstant::MethodRef(method_ref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 172 | let handle = MethodHandle::parse(self, kind, ref_index, self.holder.major_version()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | Some(ResolvedPoolConstant::MethodHandle(Arc::new(handle))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 182 | let descriptor = self.get_utf8(descriptor_index as usize) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | .and_then(|value| MethodDescriptor::parse(value.as_str()))?; [INFO] [stdout] 184 | Some(ResolvedPoolConstant::MethodType(descriptor)) [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] --> src/types/constant_pool.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) fn get_class_no_holder(&self, index: usize, loader: Arc) -> Option> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let class_name = self.get_utf8(index as usize)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | let class = loader.load_class(class_name.as_str()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | Some(ResolvedPoolConstant::Class(class)) [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] --> src/types/constant_pool.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 237 | resolver: impl FnOnce() -> Option, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | converter: impl FnOnce(&ResolvedPoolConstant) -> Option [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | ) -> Option { [INFO] [stdout] 240 | self.resolution_cache.write().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/constant_pool.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 373 | mapper: impl FnOnce(&str) -> Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | constructor: impl FnOnce(Arc, IStr, D) -> T [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | ) -> Arc { [INFO] [stdout] 376 | let class = pool.get_class(class_index as usize).expect("Invalid class for ref tag!"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | let name = pool.get_utf8(name_index as usize).expect("Invalid name for ref tag!"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | let descriptor = pool.get_utf8(descriptor_index as usize) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | Arc::new(constructor(class, name, descriptor)) [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] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils/extras.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | self as *const Self == other as *const Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 50 | std::ptr::addr_eq(self as *const Self, other as *const Self) [INFO] [stdout] | ++++++++++++++++++ ~ + [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 50 | std::ptr::eq(self as *const Self, other as *const Self) [INFO] [stdout] | +++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/descriptors.rs:154:66 [INFO] [stdout] | [INFO] [stdout] 154 | 'L' => map(semi_terminated, |value| FieldType::Reference(IStr::new(value)))(input), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/object.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(offset: usize, class: Arc, element_class: Arc, length: usize) -> 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] 167 | elements: RwLock::new(Vec::with_capacity(length)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | ref_get_push!(ref, InstanceObject, Instance); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | ref_get_push!(ref, InstanceObject, Instance); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | ref_get_push!(ref_array, ReferenceArrayObject, ReferenceArray); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | ref_get_push!(ref_array, ReferenceArrayObject, ReferenceArray); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | ref_get_push!(type_array, TypeArrayObject, TypeArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/heap.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn [](&self, object: Arc<$type>) { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | self.allocated.write().unwrap().push(HeapEntry::$entry(object)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | ref_get_push!(type_array, TypeArrayObject, TypeArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `ref_get_push` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/objects/handles.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 48 | let reference = lookup_method_ref(pool, kind, reference_index, major_version); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | MethodHandle { kind, reference: MethodHandleRef::Method(reference) } [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] [stderr] error: could not compile `astatine` (bin "astatine" test) due to 26 previous errors; 22 warnings emitted [INFO] [stdout] error: aborting due to 25 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d539ecdca2362df2f8a93d2123ba8d69780960fe3210715d68ed5c22ae4e10bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d539ecdca2362df2f8a93d2123ba8d69780960fe3210715d68ed5c22ae4e10bc", kill_on_drop: false }` [INFO] [stdout] d539ecdca2362df2f8a93d2123ba8d69780960fe3210715d68ed5c22ae4e10bc