[INFO] cloning repository https://github.com/funnyboy-roks/jvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/funnyboy-roks/jvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30deb182739c53427ef3d8d2c0d82657d13f2d13 [INFO] checking funnyboy-roks/jvm against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] finished tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] tweaked toml for git repo https://github.com/funnyboy-roks/jvm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/funnyboy-roks/jvm on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/funnyboy-roks/jvm 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e8061571065e0dfd6486452b1b2c00154358cc5684841bb426de9dce8d2b0ca [INFO] running `Command { std: "docker" "start" "-a" "2e8061571065e0dfd6486452b1b2c00154358cc5684841bb426de9dce8d2b0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e8061571065e0dfd6486452b1b2c00154358cc5684841bb426de9dce8d2b0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8061571065e0dfd6486452b1b2c00154358cc5684841bb426de9dce8d2b0ca", kill_on_drop: false }` [INFO] [stdout] 2e8061571065e0dfd6486452b1b2c00154358cc5684841bb426de9dce8d2b0ca [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f440ea9e371a894d0aec20b1ec11049bf13cab9d7987a85a83579aaa38d278a6 [INFO] running `Command { std: "docker" "start" "-a" "f440ea9e371a894d0aec20b1ec11049bf13cab9d7987a85a83579aaa38d278a6", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking class-files v0.1.0 (/opt/rustwide/workdir/class-files) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `AnnotationElement` is never constructed [INFO] [stdout] --> class-files/src/types/resolved.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Annotation` is never constructed [INFO] [stdout] --> class-files/src/types/resolved.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn methods(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn methods(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn fields(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn fields(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn find_entry_point(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn find_entry_point(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn find_init_method(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn find_init_method(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/types/resolved.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn code(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 373 | pub fn code(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `AnnotationElement` is never constructed [INFO] [stdout] --> class-files/src/types/resolved.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Annotation` is never constructed [INFO] [stdout] --> class-files/src/types/resolved.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn methods(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn methods(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn fields(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn fields(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn find_entry_point(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn find_entry_point(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/lib.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn find_init_method(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn find_init_method(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> class-files/src/types/resolved.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn code(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 373 | pub fn code(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `class-files` (lib) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `class-files` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f440ea9e371a894d0aec20b1ec11049bf13cab9d7987a85a83579aaa38d278a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f440ea9e371a894d0aec20b1ec11049bf13cab9d7987a85a83579aaa38d278a6", kill_on_drop: false }` [INFO] [stdout] f440ea9e371a894d0aec20b1ec11049bf13cab9d7987a85a83579aaa38d278a6