[INFO] fetching crate goblin 0.10.0... [INFO] checking goblin-0.10.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate goblin 0.10.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate goblin 0.10.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d23e377064633f59a6bbb3e922039d8d88813f935b5b50a5efd76f72e05263f [INFO] running `Command { std: "docker" "start" "-a" "1d23e377064633f59a6bbb3e922039d8d88813f935b5b50a5efd76f72e05263f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d23e377064633f59a6bbb3e922039d8d88813f935b5b50a5efd76f72e05263f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d23e377064633f59a6bbb3e922039d8d88813f935b5b50a5efd76f72e05263f", kill_on_drop: false }` [INFO] [stdout] 1d23e377064633f59a6bbb3e922039d8d88813f935b5b50a5efd76f72e05263f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c7f31040f3f7e46804b527d35632bbf84b712492e70a8e822257b3fec0767c7 [INFO] running `Command { std: "docker" "start" "-a" "9c7f31040f3f7e46804b527d35632bbf84b712492e70a8e822257b3fec0767c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stderr] Compiling scroll_derive v0.13.0 [INFO] [stderr] Checking scroll v0.13.0 [INFO] [stderr] Checking goblin v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/elf/../../etc/crt1.rs`: No such file or directory (os error 2) [INFO] [stdout] --> src/elf/header.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | include!("../../etc/crt1.rs") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | elf_header_test!(ELFCLASS); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include` which comes from the expansion of the macro `elf_header_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `goblin` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:309:29 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn parse(bytes: &[u8]) -> error::Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mach/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 120 | ) -> error::Result> { [INFO] [stdout] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 120 | ) -> error::Result, segment::Section)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mach/mod.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn exports(&self) -> error::Result> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn exports(&self) -> error::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mach/mod.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn imports(&self) -> error::Result> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn imports(&self) -> error::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 394 | fn extract_multi_entry(bytes: &[u8]) -> error::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mach/mod.rs:458:24 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn iter_arches(&self) -> FatArchIterator { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 458 | pub fn iter_arches(&self) -> FatArchIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pe/certificate_table.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | bytes: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 159 | ) -> Result { [INFO] [stdout] | ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 159 | ) -> Result, error::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pe/relocation.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn words(&self) -> RelocationWordIterator { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn words(&self) -> RelocationWordIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 549 | pub fn get(&self, member: &str) -> Option<&Member<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 558 | pub fn get_at(&self, index: usize) -> Option<&Member<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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" "9c7f31040f3f7e46804b527d35632bbf84b712492e70a8e822257b3fec0767c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c7f31040f3f7e46804b527d35632bbf84b712492e70a8e822257b3fec0767c7", kill_on_drop: false }` [INFO] [stdout] 9c7f31040f3f7e46804b527d35632bbf84b712492e70a8e822257b3fec0767c7