[INFO] fetching crate binfmt 0.1.1... [INFO] checking binfmt-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate binfmt 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate binfmt 0.1.1 [INFO] finished tweaking crates.io crate binfmt 0.1.1 [INFO] tweaked toml for crates.io crate binfmt 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binfmt 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arch-ops v0.1.1 [INFO] [stderr] Downloaded target-tuples v0.5.13 [INFO] [stderr] Downloaded fake-enum v0.1.4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a51f20a8626d836cf510cf53f3308f64efeea1f2752268f59e24cf0bd36972bd [INFO] running `Command { std: "docker" "start" "-a" "a51f20a8626d836cf510cf53f3308f64efeea1f2752268f59e24cf0bd36972bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a51f20a8626d836cf510cf53f3308f64efeea1f2752268f59e24cf0bd36972bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a51f20a8626d836cf510cf53f3308f64efeea1f2752268f59e24cf0bd36972bd", kill_on_drop: false }` [INFO] [stdout] a51f20a8626d836cf510cf53f3308f64efeea1f2752268f59e24cf0bd36972bd [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c31a432c935b1a8f55da71fb70df6966551d012f0f1a46307ad73739cb5d6b9 [INFO] running `Command { std: "docker" "start" "-a" "2c31a432c935b1a8f55da71fb70df6966551d012f0f1a46307ad73739cb5d6b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking target-tuples v0.5.13 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking fake-enum v0.1.4 [INFO] [stderr] Checking arch-ops v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking binfmt v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:61:85 [INFO] [stdout] | [INFO] [stdout] 61 | static ref BINARY_FORMATS_BY_NAME: std::collections::HashMap> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / define_formats![ [INFO] [stdout] 100 | | #[cfg(all(feature = "elf32", feature = "w65"))] [INFO] [stdout] 101 | | elf32-w65, [INFO] [stdout] 102 | | #[cfg(all(feature = "elf32", feature = "x86"))] [INFO] [stdout] ... | [INFO] [stdout] 116 | | binary [INFO] [stdout] 117 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `define_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:62:70 [INFO] [stdout] | [INFO] [stdout] 62 | let mut map = std::collections::HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / define_formats![ [INFO] [stdout] 100 | | #[cfg(all(feature = "elf32", feature = "w65"))] [INFO] [stdout] 101 | | elf32-w65, [INFO] [stdout] 102 | | #[cfg(all(feature = "elf32", feature = "x86"))] [INFO] [stdout] ... | [INFO] [stdout] 116 | | binary [INFO] [stdout] 117 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:119:51 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn formats() -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - pub fn formats() -> impl Iterator { [INFO] [stdout] 119 + pub fn formats() -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn format_by_name(name: &str) -> Option<&'static (dyn crate::fmt::Binfmt)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - pub fn format_by_name(name: &str) -> Option<&'static (dyn crate::fmt::Binfmt)> { [INFO] [stdout] 126 + pub fn format_by_name(name: &str) -> Option<&'static dyn crate::fmt::Binfmt> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:61:85 [INFO] [stdout] | [INFO] [stdout] 61 | static ref BINARY_FORMATS_BY_NAME: std::collections::HashMap> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / define_formats![ [INFO] [stdout] 100 | | #[cfg(all(feature = "elf32", feature = "w65"))] [INFO] [stdout] 101 | | elf32-w65, [INFO] [stdout] 102 | | #[cfg(all(feature = "elf32", feature = "x86"))] [INFO] [stdout] ... | [INFO] [stdout] 116 | | binary [INFO] [stdout] 117 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `define_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:62:70 [INFO] [stdout] | [INFO] [stdout] 62 | let mut map = std::collections::HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / define_formats![ [INFO] [stdout] 100 | | #[cfg(all(feature = "elf32", feature = "w65"))] [INFO] [stdout] 101 | | elf32-w65, [INFO] [stdout] 102 | | #[cfg(all(feature = "elf32", feature = "x86"))] [INFO] [stdout] ... | [INFO] [stdout] 116 | | binary [INFO] [stdout] 117 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:119:51 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn formats() -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - pub fn formats() -> impl Iterator { [INFO] [stdout] 119 + pub fn formats() -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn format_by_name(name: &str) -> Option<&'static (dyn crate::fmt::Binfmt)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - pub fn format_by_name(name: &str) -> Option<&'static (dyn crate::fmt::Binfmt)> { [INFO] [stdout] 126 + pub fn format_by_name(name: &str) -> Option<&'static dyn crate::fmt::Binfmt> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_file(&self, ty: FileType) -> BinaryFile; [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: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn create_file(&self, ty: FileType) -> BinaryFile<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_file(&self, file: &mut (dyn ReadSeek + '_)) -> io::Result>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden 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] 35 | fn read_file(&self, file: &mut (dyn ReadSeek + '_)) -> io::Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn symbols(&self) -> Symbols { [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] 215 | pub fn symbols(&self) -> Symbols<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn relocs(&self) -> Relocs { [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] 237 | pub fn relocs(&self) -> Relocs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | fn create_file(&self, ty: super::FileType) -> super::BinaryFile { [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] 443 | fn create_file(&self, ty: super::FileType) -> super::BinaryFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 449 | _: &mut (dyn ReadSeek + '_), [INFO] [stdout] 450 | ) -> std::io::Result> { [INFO] [stdout] | ----------------- the same lifetime is hidden 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] 450 | ) -> std::io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn create_file(&self, ty: FileType) -> crate::fmt::BinaryFile { [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] 25 | fn create_file(&self, ty: FileType) -> crate::fmt::BinaryFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 31 | file: &mut (dyn ReadSeek + '_), [INFO] [stdout] 32 | ) -> std::io::Result> { [INFO] [stdout] | ---------------------- the same lifetime is hidden 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] 32 | ) -> std::io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binfmt` (lib test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_file(&self, ty: FileType) -> BinaryFile; [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: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn create_file(&self, ty: FileType) -> BinaryFile<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_file(&self, file: &mut (dyn ReadSeek + '_)) -> io::Result>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden 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] 35 | fn read_file(&self, file: &mut (dyn ReadSeek + '_)) -> io::Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn symbols(&self) -> Symbols { [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] 215 | pub fn symbols(&self) -> Symbols<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fmt.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn relocs(&self) -> Relocs { [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] 237 | pub fn relocs(&self) -> Relocs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn create_file(&self, ty: FileType) -> crate::fmt::BinaryFile { [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] 25 | fn create_file(&self, ty: FileType) -> crate::fmt::BinaryFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 31 | file: &mut (dyn ReadSeek + '_), [INFO] [stdout] 32 | ) -> std::io::Result> { [INFO] [stdout] | ---------------------- the same lifetime is hidden 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] 32 | ) -> std::io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binfmt` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "2c31a432c935b1a8f55da71fb70df6966551d012f0f1a46307ad73739cb5d6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c31a432c935b1a8f55da71fb70df6966551d012f0f1a46307ad73739cb5d6b9", kill_on_drop: false }` [INFO] [stdout] 2c31a432c935b1a8f55da71fb70df6966551d012f0f1a46307ad73739cb5d6b9