[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 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBomBardyGamer%2Fastatine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BomBardyGamer/astatine on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded internship v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f5066a00325135809271309d6f1a2403d08d1fc1aa04a1cf0b48a673eddbbd3 [INFO] running `Command { std: "docker" "start" "-a" "0f5066a00325135809271309d6f1a2403d08d1fc1aa04a1cf0b48a673eddbbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f5066a00325135809271309d6f1a2403d08d1fc1aa04a1cf0b48a673eddbbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5066a00325135809271309d6f1a2403d08d1fc1aa04a1cf0b48a673eddbbd3", kill_on_drop: false }` [INFO] [stdout] 0f5066a00325135809271309d6f1a2403d08d1fc1aa04a1cf0b48a673eddbbd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5b228bc528ed1247235a11b2a7473208f44ad067c5c8e82ed797cd708d1e02e [INFO] running `Command { std: "docker" "start" "-a" "b5b228bc528ed1247235a11b2a7473208f44ad067c5c8e82ed797cd708d1e02e", 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] Checking bytes v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.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] 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] 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: 22 warnings emitted [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] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.56s [INFO] running `Command { std: "docker" "inspect" "b5b228bc528ed1247235a11b2a7473208f44ad067c5c8e82ed797cd708d1e02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b228bc528ed1247235a11b2a7473208f44ad067c5c8e82ed797cd708d1e02e", kill_on_drop: false }` [INFO] [stdout] b5b228bc528ed1247235a11b2a7473208f44ad067c5c8e82ed797cd708d1e02e