[INFO] fetching crate goblin 0.10.0... [INFO] testing goblin-0.10.0 against master#a1531335fe2807715fff569904d99602022643a7 for pr-145277 [INFO] extracting crate goblin 0.10.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate goblin 0.10.0 [INFO] finished tweaking crates.io crate goblin 0.10.0 [INFO] tweaked toml for crates.io crate goblin 0.10.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate goblin 0.10.0 on toolchain a1531335fe2807715fff569904d99602022643a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate goblin 0.10.0 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" "+a1531335fe2807715fff569904d99602022643a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-result v0.3.2 [INFO] [stderr] Downloaded stderrlog v0.6.0 [INFO] [stderr] Downloaded hermit-abi v0.5.1 [INFO] [stderr] Downloaded thread_local v1.1.8 [INFO] [stderr] Downloaded windows-link v0.1.1 [INFO] [stderr] Downloaded scroll_derive v0.13.0 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded scroll v0.13.0 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded chrono v0.4.40 [INFO] [stderr] Downloaded cc v1.2.18 [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" "+a1531335fe2807715fff569904d99602022643a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8fcf5eed6592f1c58e1aa33719bcf3dec0370cff74920327dc3827bbe29cb11 [INFO] running `Command { std: "docker" "start" "-a" "f8fcf5eed6592f1c58e1aa33719bcf3dec0370cff74920327dc3827bbe29cb11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8fcf5eed6592f1c58e1aa33719bcf3dec0370cff74920327dc3827bbe29cb11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8fcf5eed6592f1c58e1aa33719bcf3dec0370cff74920327dc3827bbe29cb11", kill_on_drop: false }` [INFO] [stdout] f8fcf5eed6592f1c58e1aa33719bcf3dec0370cff74920327dc3827bbe29cb11 [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" "+a1531335fe2807715fff569904d99602022643a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52bfba582cfc585cab0d7a0d00b398c21001fbe7590fcd719a564f8e98b91f83 [INFO] running `Command { std: "docker" "start" "-a" "52bfba582cfc585cab0d7a0d00b398c21001fbe7590fcd719a564f8e98b91f83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling scroll_derive v0.13.0 [INFO] [stderr] Compiling scroll v0.13.0 [INFO] [stderr] Compiling goblin v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:309:29 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn parse(bytes: &[u8]) -> error::Result { [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] 309 | pub fn parse(bytes: &[u8]) -> error::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/elf/dynamic.rs:788:5 [INFO] [stdout] | [INFO] [stdout] 570 | let lib = &(*strtab)[dynamic.d_val as usize]; [INFO] [stdout] | ------ this raw pointer has type `*const Strtab<'_>` [INFO] [stdout] ... [INFO] [stdout] 788 | elf_dyn_std_impl!(u32, crate::elf32::program_header::ProgramHeader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Strtab<'_>` [INFO] [stdout] --> src/elf/dynamic.rs:570:36 [INFO] [stdout] | [INFO] [stdout] 570 | let lib = &(*strtab)[dynamic.d_val as usize]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | elf_dyn_std_impl!(u32, crate::elf32::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] = note: this error originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 570 | let lib = &(&(*strtab))[dynamic.d_val as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/elf/dynamic.rs:802:5 [INFO] [stdout] | [INFO] [stdout] 570 | let lib = &(*strtab)[dynamic.d_val as usize]; [INFO] [stdout] | ------ this raw pointer has type `*const Strtab<'_>` [INFO] [stdout] ... [INFO] [stdout] 802 | elf_dyn_std_impl!(u64, crate::elf64::program_header::ProgramHeader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Strtab<'_>` [INFO] [stdout] --> src/elf/dynamic.rs:570:36 [INFO] [stdout] | [INFO] [stdout] 570 | let lib = &(*strtab)[dynamic.d_val as usize]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | elf_dyn_std_impl!(u64, crate::elf64::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 570 | let lib = &(&(*strtab))[dynamic.d_val as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mach/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 120 | ) -> error::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] 120 | ) -> error::Result, segment::Section)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mach/mod.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn exports(&self) -> error::Result> { [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] 134 | pub fn exports(&self) -> error::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mach/mod.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn imports(&self) -> error::Result> { [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] 142 | pub fn imports(&self) -> error::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mach/mod.rs:394:31 [INFO] [stdout] | [INFO] [stdout] 394 | fn extract_multi_entry(bytes: &[u8]) -> error::Result { [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] 394 | fn extract_multi_entry(bytes: &[u8]) -> error::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mach/mod.rs:458:24 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn iter_arches(&self) -> FatArchIterator { [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] 458 | pub fn iter_arches(&self) -> FatArchIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe/certificate_table.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | bytes: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 159 | ) -> 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] 159 | ) -> Result, error::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe/relocation.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn words(&self) -> RelocationWordIterator { [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] 397 | pub fn words(&self) -> RelocationWordIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive/mod.rs:549:16 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn get(&self, member: &str) -> Option<&Member> { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 549 | pub fn get(&self, member: &str) -> Option<&Member<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive/mod.rs:558:19 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn get_at(&self, index: usize) -> Option<&Member> { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 558 | pub fn get_at(&self, index: usize) -> Option<&Member<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive/mod.rs:581:22 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn summarize(&self) -> Vec<(&str, &Member, Vec<&'a str>)> { [INFO] [stdout] | ^^^^^ ---- ------- [INFO] [stdout] | | | || [INFO] [stdout] | | | |the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [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] 581 | pub fn summarize(&self) -> Vec<(&str, &Member<'_>, Vec<&'a str>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `goblin` (lib) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52bfba582cfc585cab0d7a0d00b398c21001fbe7590fcd719a564f8e98b91f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52bfba582cfc585cab0d7a0d00b398c21001fbe7590fcd719a564f8e98b91f83", kill_on_drop: false }` [INFO] [stdout] 52bfba582cfc585cab0d7a0d00b398c21001fbe7590fcd719a564f8e98b91f83