[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#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBomBardyGamer%2Fastatine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BomBardyGamer/astatine on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-1-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95e0e3a4dab56a28db6ee7e84f2ef53f4f87c8cd946b06ad06b6cf7dc33e7361 [INFO] running `Command { std: "docker" "start" "-a" "95e0e3a4dab56a28db6ee7e84f2ef53f4f87c8cd946b06ad06b6cf7dc33e7361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95e0e3a4dab56a28db6ee7e84f2ef53f4f87c8cd946b06ad06b6cf7dc33e7361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e0e3a4dab56a28db6ee7e84f2ef53f4f87c8cd946b06ad06b6cf7dc33e7361", kill_on_drop: false }` [INFO] [stdout] 95e0e3a4dab56a28db6ee7e84f2ef53f4f87c8cd946b06ad06b6cf7dc33e7361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c42e27eeea2c516ca0ed05f819e2d7af830cc9540a5405d2a4dd0c262159fbd4 [INFO] running `Command { std: "docker" "start" "-a" "c42e27eeea2c516ca0ed05f819e2d7af830cc9540a5405d2a4dd0c262159fbd4", 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 serde v1.0.136 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Checking combine v4.6.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 enum-as-inner v0.3.3 [INFO] [stderr] Compiling astatine-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking astatine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `MutexGuard<'_, HashMap>>` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Arc::clone(self.classes.lock() [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | .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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `MutexGuard<'_, HashMap>>` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Arc::clone(self.classes.lock() [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | .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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [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] 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: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `astatine` (bin "astatine" test) due to 2 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] 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: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `astatine` (bin "astatine") due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c42e27eeea2c516ca0ed05f819e2d7af830cc9540a5405d2a4dd0c262159fbd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c42e27eeea2c516ca0ed05f819e2d7af830cc9540a5405d2a4dd0c262159fbd4", kill_on_drop: false }` [INFO] [stdout] c42e27eeea2c516ca0ed05f819e2d7af830cc9540a5405d2a4dd0c262159fbd4