[INFO] fetching crate bindiff 0.0.1-pre... [INFO] checking bindiff-0.0.1-pre against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate bindiff 0.0.1-pre into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate bindiff 0.0.1-pre [INFO] finished tweaking crates.io crate bindiff 0.0.1-pre [INFO] tweaked toml for crates.io crate bindiff 0.0.1-pre written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bindiff 0.0.1-pre on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding goblin v0.0.12 (available: v0.10.3) [INFO] [stderr] Adding prettytable-rs v0.6.7 (available: v0.10.0) [INFO] [stderr] Adding structopt v0.1.7 (available: v0.3.26) [INFO] [stderr] Adding structopt-derive v0.1.6 (available: v0.4.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll_derive v0.8.0 [INFO] [stderr] Downloaded prettytable-rs v0.6.7 [INFO] [stderr] Downloaded scroll v0.7.0 [INFO] [stderr] Downloaded goblin v0.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3362de38d81f79be3291224f71b17e32614a1ecb524f110f834f8c0225faf4dd [INFO] running `Command { std: "docker" "start" "-a" "3362de38d81f79be3291224f71b17e32614a1ecb524f110f834f8c0225faf4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3362de38d81f79be3291224f71b17e32614a1ecb524f110f834f8c0225faf4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3362de38d81f79be3291224f71b17e32614a1ecb524f110f834f8c0225faf4dd", kill_on_drop: false }` [INFO] [stdout] 3362de38d81f79be3291224f71b17e32614a1ecb524f110f834f8c0225faf4dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e80c5cc13311bb6b23a67e35e23652983175c0e035396e25d2048eac80e098ef [INFO] running `Command { std: "docker" "start" "-a" "e80c5cc13311bb6b23a67e35e23652983175c0e035396e25d2048eac80e098ef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking scroll v0.7.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling scroll_derive v0.8.0 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking goblin v0.0.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking prettytable-rs v0.6.7 [INFO] [stderr] Checking structopt v0.1.7 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bindiff v0.0.1-pre (/opt/rustwide/workdir) [INFO] [stdout] warning: field `buf` is never read [INFO] [stdout] --> src/elf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ElfFile<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | elf: elf::Elf<'a>, [INFO] [stdout] 18 | buf: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn load>(path: P, buf: &mut Vec) -> 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] 21 | pub fn load>(path: P, buf: &mut Vec) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buf` is never read [INFO] [stdout] --> src/elf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ElfFile<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | elf: elf::Elf<'a>, [INFO] [stdout] 18 | buf: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn load>(path: P, buf: &mut Vec) -> 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] 21 | pub fn load>(path: P, buf: &mut Vec) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.71s [INFO] running `Command { std: "docker" "inspect" "e80c5cc13311bb6b23a67e35e23652983175c0e035396e25d2048eac80e098ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80c5cc13311bb6b23a67e35e23652983175c0e035396e25d2048eac80e098ef", kill_on_drop: false }` [INFO] [stdout] e80c5cc13311bb6b23a67e35e23652983175c0e035396e25d2048eac80e098ef