[INFO] fetching crate jreflection 0.0.11... [INFO] testing jreflection-0.0.11 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate jreflection 0.0.11 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate jreflection 0.0.11 [INFO] finished tweaking crates.io crate jreflection 0.0.11 [INFO] tweaked toml for crates.io crate jreflection 0.0.11 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jreflection 0.0.11 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jreflection 0.0.11 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jimage-sys v0.1.0 [INFO] [stderr] Downloaded jimage v0.2.3 [INFO] [stderr] Downloaded minidl v0.1.0 [INFO] [stderr] Downloaded bugsalot v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a78f88b8b9977636b92075998d2b041f535f0678f46466c75130e900847e19c [INFO] running `Command { std: "docker" "start" "-a" "2a78f88b8b9977636b92075998d2b041f535f0678f46466c75130e900847e19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a78f88b8b9977636b92075998d2b041f535f0678f46466c75130e900847e19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a78f88b8b9977636b92075998d2b041f535f0678f46466c75130e900847e19c", kill_on_drop: false }` [INFO] [stdout] 2a78f88b8b9977636b92075998d2b041f535f0678f46466c75130e900847e19c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 540ded60ed690bf403a86ffcfcf85e88857f58bbe74d2f859f10a24cfc0400a8 [INFO] running `Command { std: "docker" "start" "-a" "540ded60ed690bf403a86ffcfcf85e88857f58bbe74d2f859f10a24cfc0400a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling minidl v0.1.0 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling bugsalot v0.2.1 [INFO] [stderr] Compiling jimage-sys v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling jimage v0.2.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling zip v0.5.4 [INFO] [stdout] warning: unused import: `super::common::*` [INFO] [stdout] --> src/io.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | pub use super::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jreflection v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Fieldref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | -------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, 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 `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | Methodref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | --------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | InterfaceMethodref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | ------------------ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_index` and `descriptor_index` are never read [INFO] [stdout] --> src/constants.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | NameAndType { name_index: u16, descriptor_index: u16 }, [INFO] [stdout] | ----------- ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/constants.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | MispairedUtf16(Vec), [INFO] [stdout] | -------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - MispairedUtf16(Vec), [INFO] [stdout] 44 + MispairedUtf16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/constants.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | InvalidModifiedUtf8(Vec), [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - InvalidModifiedUtf8(Vec), [INFO] [stdout] 46 + InvalidModifiedUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_kind` and `reference_index` are never read [INFO] [stdout] --> src/constants.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | MethodHandle { reference_kind: u8, reference_index: u16 }, [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `descriptor_index` is never read [INFO] [stdout] --> src/constants.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | MethodType { descriptor_index: u16 }, [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_attr_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | InvokeDynamic { bootstrap_method_attr_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, 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] --> src/class.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn as_id(&self) -> Id { Id(self.0.as_str()) } [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] 139 | pub fn as_id(&self) -> Id<'_> { Id(self.0.as_str()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/class.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | #[allow(dead_code)] pub fn iter(&self) -> IdIter { IdIter::new(self.0.as_str()) } [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] 140 | #[allow(dead_code)] pub fn iter(&self) -> IdIter<'_> { IdIter::new(self.0.as_str()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn descriptor(&self) -> Descriptor { Descriptor::from_str(self.descriptor.as_str()).unwrap() } // Was already validated in ... [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] 104 | pub fn descriptor(&self) -> Descriptor<'_> { Descriptor::from_str(self.descriptor.as_str()).unwrap() } // Was already validated in Field::new / Field::read_one [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/method.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn descriptor(&self) -> Descriptor { Descriptor::new(self.descriptor.as_str()).unwrap() } // Already validated in new/read_one [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 descriptor(&self) -> Descriptor<'_> { Descriptor::new(self.descriptor.as_str()).unwrap() } // Already validated in new/read_one [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/method.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn arguments(&self) -> ArgumentsIter { ArgumentsIter(&self.string[1..self.end_paren]) } [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] 163 | pub fn arguments(&self) -> ArgumentsIter<'_> { ArgumentsIter(&self.string[1..self.end_paren]) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: jimage v0.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "540ded60ed690bf403a86ffcfcf85e88857f58bbe74d2f859f10a24cfc0400a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "540ded60ed690bf403a86ffcfcf85e88857f58bbe74d2f859f10a24cfc0400a8", kill_on_drop: false }` [INFO] [stdout] 540ded60ed690bf403a86ffcfcf85e88857f58bbe74d2f859f10a24cfc0400a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f48af15a31a4e07367787d92b0bc2930e7298137094238e1276ecdc8ab3ecf61 [INFO] running `Command { std: "docker" "start" "-a" "f48af15a31a4e07367787d92b0bc2930e7298137094238e1276ecdc8ab3ecf61", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `super::common::*` [INFO] [stdout] --> src/io.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | pub use super::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Fieldref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | -------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, 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 `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | Methodref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | --------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | InterfaceMethodref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | ------------------ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_index` and `descriptor_index` are never read [INFO] [stdout] --> src/constants.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | NameAndType { name_index: u16, descriptor_index: u16 }, [INFO] [stdout] | ----------- ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/constants.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | MispairedUtf16(Vec), [INFO] [stdout] | -------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - MispairedUtf16(Vec), [INFO] [stdout] 44 + MispairedUtf16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/constants.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | InvalidModifiedUtf8(Vec), [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - InvalidModifiedUtf8(Vec), [INFO] [stdout] 46 + InvalidModifiedUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_kind` and `reference_index` are never read [INFO] [stdout] --> src/constants.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | MethodHandle { reference_kind: u8, reference_index: u16 }, [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `descriptor_index` is never read [INFO] [stdout] --> src/constants.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | MethodType { descriptor_index: u16 }, [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_attr_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | InvokeDynamic { bootstrap_method_attr_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, 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] --> src/class.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn as_id(&self) -> Id { Id(self.0.as_str()) } [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] 139 | pub fn as_id(&self) -> Id<'_> { Id(self.0.as_str()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/class.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | #[allow(dead_code)] pub fn iter(&self) -> IdIter { IdIter::new(self.0.as_str()) } [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] 140 | #[allow(dead_code)] pub fn iter(&self) -> IdIter<'_> { IdIter::new(self.0.as_str()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn descriptor(&self) -> Descriptor { Descriptor::from_str(self.descriptor.as_str()).unwrap() } // Was already validated in ... [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] 104 | pub fn descriptor(&self) -> Descriptor<'_> { Descriptor::from_str(self.descriptor.as_str()).unwrap() } // Was already validated in Field::new / Field::read_one [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/method.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn descriptor(&self) -> Descriptor { Descriptor::new(self.descriptor.as_str()).unwrap() } // Already validated in new/read_one [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 descriptor(&self) -> Descriptor<'_> { Descriptor::new(self.descriptor.as_str()).unwrap() } // Already validated in new/read_one [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/method.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn arguments(&self) -> ArgumentsIter { ArgumentsIter(&self.string[1..self.end_paren]) } [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] 163 | pub fn arguments(&self) -> ArgumentsIter<'_> { ArgumentsIter(&self.string[1..self.end_paren]) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jreflection v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `examples/classlist/template.md`: No such file or directory (os error 2) [INFO] [stdout] --> examples/classlist/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | const TEMPLATE_MD : &'static str = include_str!("template.md"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/classlist/template.html`: No such file or directory (os error 2) [INFO] [stdout] --> examples/classlist/main.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | const TEMPLATE_HTML : &'static str = include_str!("template.html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jreflection` (example "classlist") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `test_jdk` is never used [INFO] [stdout] --> tests/test-src.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_jdk(path: &Path, src_from: impl FnOnce() -> Source) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench` is never used [INFO] [stdout] --> tests/test-src.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn bench(prefix: &str, f: impl FnOnce() -> R) -> R { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::common::*` [INFO] [stdout] --> src/io.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | pub use super::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | Fieldref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | -------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, 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 `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | Methodref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | --------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | InterfaceMethodref { class_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | ------------------ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_index` and `descriptor_index` are never read [INFO] [stdout] --> src/constants.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | NameAndType { name_index: u16, descriptor_index: u16 }, [INFO] [stdout] | ----------- ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/constants.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | MispairedUtf16(Vec), [INFO] [stdout] | -------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - MispairedUtf16(Vec), [INFO] [stdout] 44 + MispairedUtf16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/constants.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | InvalidModifiedUtf8(Vec), [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - InvalidModifiedUtf8(Vec), [INFO] [stdout] 46 + InvalidModifiedUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_kind` and `reference_index` are never read [INFO] [stdout] --> src/constants.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | MethodHandle { reference_kind: u8, reference_index: u16 }, [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `descriptor_index` is never read [INFO] [stdout] --> src/constants.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | MethodType { descriptor_index: u16 }, [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_attr_index` and `name_and_type_index` are never read [INFO] [stdout] --> src/constants.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | InvokeDynamic { bootstrap_method_attr_index: u16, name_and_type_index: u16 }, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, 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] --> src/class.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn as_id(&self) -> Id { Id(self.0.as_str()) } [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] 139 | pub fn as_id(&self) -> Id<'_> { Id(self.0.as_str()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/class.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | #[allow(dead_code)] pub fn iter(&self) -> IdIter { IdIter::new(self.0.as_str()) } [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] 140 | #[allow(dead_code)] pub fn iter(&self) -> IdIter<'_> { IdIter::new(self.0.as_str()) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn descriptor(&self) -> Descriptor { Descriptor::from_str(self.descriptor.as_str()).unwrap() } // Was already validated in ... [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] 104 | pub fn descriptor(&self) -> Descriptor<'_> { Descriptor::from_str(self.descriptor.as_str()).unwrap() } // Was already validated in Field::new / Field::read_one [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/method.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn descriptor(&self) -> Descriptor { Descriptor::new(self.descriptor.as_str()).unwrap() } // Already validated in new/read_one [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 descriptor(&self) -> Descriptor<'_> { Descriptor::new(self.descriptor.as_str()).unwrap() } // Already validated in new/read_one [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/method.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn arguments(&self) -> ArgumentsIter { ArgumentsIter(&self.string[1..self.end_paren]) } [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] 163 | pub fn arguments(&self) -> ArgumentsIter<'_> { ArgumentsIter(&self.string[1..self.end_paren]) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f48af15a31a4e07367787d92b0bc2930e7298137094238e1276ecdc8ab3ecf61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f48af15a31a4e07367787d92b0bc2930e7298137094238e1276ecdc8ab3ecf61", kill_on_drop: false }` [INFO] [stdout] f48af15a31a4e07367787d92b0bc2930e7298137094238e1276ecdc8ab3ecf61