[INFO] fetching crate elflib 0.1.5... [INFO] checking elflib-0.1.5 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate elflib 0.1.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate elflib 0.1.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate elflib 0.1.5 [INFO] tweaked toml for crates.io crate elflib 0.1.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate elflib 0.1.5 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elflib 0.1.5 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e309dcddaa814c55139a17a5a1a128e13eebce1c4f16e1f6f92f9ff5b9fddcef [INFO] running `Command { std: "docker" "start" "-a" "e309dcddaa814c55139a17a5a1a128e13eebce1c4f16e1f6f92f9ff5b9fddcef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e309dcddaa814c55139a17a5a1a128e13eebce1c4f16e1f6f92f9ff5b9fddcef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e309dcddaa814c55139a17a5a1a128e13eebce1c4f16e1f6f92f9ff5b9fddcef", kill_on_drop: false }` [INFO] [stdout] e309dcddaa814c55139a17a5a1a128e13eebce1c4f16e1f6f92f9ff5b9fddcef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d26f688fef7ba8c0e88c07faa05c85db86613a8c349f818d86f27e943e380a5 [INFO] running `Command { std: "docker" "start" "-a" "5d26f688fef7ba8c0e88c07faa05c85db86613a8c349f818d86f27e943e380a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking recursive_array v0.1.3 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Checking thiserror-no-std v2.0.2 [INFO] [stderr] Compiling binary_serde_macros v1.0.22 [INFO] [stderr] Compiling elflib_macros v0.1.5 [INFO] [stderr] Checking binary_serde v1.0.22 [INFO] [stderr] Checking elflib v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / define_raw_struct_by_variants! { [INFO] [stdout] 65 | | struct ProgramHeader32 { [INFO] [stdout] 66 | | ty: ProgramHeaderType, [INFO] [stdout] 67 | | offset: u32, [INFO] [stdout] ... | [INFO] [stdout] 85 | | => () [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / define_raw_struct_by_variants! { [INFO] [stdout] 89 | | struct SectionHeader64 { [INFO] [stdout] 90 | | name_offset: u32, [INFO] [stdout] 91 | | ty: SectionHeaderType, [INFO] [stdout] ... | [INFO] [stdout] 113 | | => () [INFO] [stdout] 114 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / define_raw_struct_by_variants! { [INFO] [stdout] 89 | | struct SectionHeader64 { [INFO] [stdout] 90 | | name_offset: u32, [INFO] [stdout] 91 | | ty: SectionHeaderType, [INFO] [stdout] ... | [INFO] [stdout] 113 | | => () [INFO] [stdout] 114 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / define_raw_struct_generic_bitlen! { [INFO] [stdout] 117 | | struct ElfHeader { [INFO] [stdout] 118 | | ident: ElfIdent, [INFO] [stdout] 119 | | ty: ElfFileType, [INFO] [stdout] ... | [INFO] [stdout] 133 | | => () [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_generic_bitlen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | / define_raw_struct_by_variants! { [INFO] [stdout] 162 | | struct Symbol32 { [INFO] [stdout] 163 | | name_index_in_string_table: u32, [INFO] [stdout] 164 | | value: u32, [INFO] [stdout] ... | [INFO] [stdout] 178 | | => SymbolRefContext<'a> [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / define_raw_struct_by_variants! { [INFO] [stdout] 9 | | #[binary_serde_bitfield(order = BitfieldBitOrder::LsbFirst)] [INFO] [stdout] 10 | | #[derive(Copy)] [INFO] [stdout] 11 | | struct RelInfoRegular32 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | => () [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / define_raw_struct_by_variants! { [INFO] [stdout] 47 | | struct RelRegular32 { [INFO] [stdout] 48 | | offset: u32, [INFO] [stdout] 49 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 55 | | => () [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / define_raw_struct_by_variants! { [INFO] [stdout] 47 | | struct RelRegular32 { [INFO] [stdout] 48 | | offset: u32, [INFO] [stdout] 49 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 55 | | => () [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / define_raw_struct_by_variants! { [INFO] [stdout] 59 | | struct RelaRegular32 { [INFO] [stdout] 60 | | offset: u32, [INFO] [stdout] 61 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 69 | | => () [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / define_raw_struct_by_variants! { [INFO] [stdout] 59 | | struct RelaRegular32 { [INFO] [stdout] 60 | | offset: u32, [INFO] [stdout] 61 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 69 | | => () [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / define_raw_struct_by_variants! { [INFO] [stdout] 59 | | struct RelaRegular32 { [INFO] [stdout] 60 | | offset: u32, [INFO] [stdout] 61 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 69 | | => () [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elflib` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / define_raw_struct_by_variants! { [INFO] [stdout] 65 | | struct ProgramHeader32 { [INFO] [stdout] 66 | | ty: ProgramHeaderType, [INFO] [stdout] 67 | | offset: u32, [INFO] [stdout] ... | [INFO] [stdout] 85 | | => () [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / define_raw_struct_by_variants! { [INFO] [stdout] 89 | | struct SectionHeader64 { [INFO] [stdout] 90 | | name_offset: u32, [INFO] [stdout] 91 | | ty: SectionHeaderType, [INFO] [stdout] ... | [INFO] [stdout] 113 | | => () [INFO] [stdout] 114 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / define_raw_struct_by_variants! { [INFO] [stdout] 89 | | struct SectionHeader64 { [INFO] [stdout] 90 | | name_offset: u32, [INFO] [stdout] 91 | | ty: SectionHeaderType, [INFO] [stdout] ... | [INFO] [stdout] 113 | | => () [INFO] [stdout] 114 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / define_raw_struct_generic_bitlen! { [INFO] [stdout] 117 | | struct ElfHeader { [INFO] [stdout] 118 | | ident: ElfIdent, [INFO] [stdout] 119 | | ty: ElfFileType, [INFO] [stdout] ... | [INFO] [stdout] 133 | | => () [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_generic_bitlen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/mod.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | / define_raw_struct_by_variants! { [INFO] [stdout] 162 | | struct Symbol32 { [INFO] [stdout] 163 | | name_index_in_string_table: u32, [INFO] [stdout] 164 | | value: u32, [INFO] [stdout] ... | [INFO] [stdout] 178 | | => SymbolRefContext<'a> [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / define_raw_struct_by_variants! { [INFO] [stdout] 9 | | #[binary_serde_bitfield(order = BitfieldBitOrder::LsbFirst)] [INFO] [stdout] 10 | | #[derive(Copy)] [INFO] [stdout] 11 | | struct RelInfoRegular32 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | => () [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / define_raw_struct_by_variants! { [INFO] [stdout] 47 | | struct RelRegular32 { [INFO] [stdout] 48 | | offset: u32, [INFO] [stdout] 49 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 55 | | => () [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / define_raw_struct_by_variants! { [INFO] [stdout] 47 | | struct RelRegular32 { [INFO] [stdout] 48 | | offset: u32, [INFO] [stdout] 49 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 55 | | => () [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / define_raw_struct_by_variants! { [INFO] [stdout] 59 | | struct RelaRegular32 { [INFO] [stdout] 60 | | offset: u32, [INFO] [stdout] 61 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 69 | | => () [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / define_raw_struct_by_variants! { [INFO] [stdout] 59 | | struct RelaRegular32 { [INFO] [stdout] 60 | | offset: u32, [INFO] [stdout] 61 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 69 | | => () [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/elf_types/relocations.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / define_raw_struct_by_variants! { [INFO] [stdout] 59 | | struct RelaRegular32 { [INFO] [stdout] 60 | | offset: u32, [INFO] [stdout] 61 | | info: RelInfoRegular32, [INFO] [stdout] ... | [INFO] [stdout] 69 | | => () [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_raw_struct_by_variants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elflib` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "5d26f688fef7ba8c0e88c07faa05c85db86613a8c349f818d86f27e943e380a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d26f688fef7ba8c0e88c07faa05c85db86613a8c349f818d86f27e943e380a5", kill_on_drop: false }` [INFO] [stdout] 5d26f688fef7ba8c0e88c07faa05c85db86613a8c349f818d86f27e943e380a5