[INFO] cloning repository https://github.com/sozud/coff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sozud/coff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozud%2Fcoff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozud%2Fcoff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0f90e324be24ca888967bbeb5eccd8909cb5a0c [INFO] building sozud/coff against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozud%2Fcoff" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sozud/coff on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sozud/coff [INFO] finished tweaking git repo https://github.com/sozud/coff [INFO] tweaked toml for git repo https://github.com/sozud/coff written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sozud/coff 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd7c531193b27d5e360b30eded9d5f6409d70941b0e93aed76a2cb1d43bed625 [INFO] running `Command { std: "docker" "start" "-a" "dd7c531193b27d5e360b30eded9d5f6409d70941b0e93aed76a2cb1d43bed625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd7c531193b27d5e360b30eded9d5f6409d70941b0e93aed76a2cb1d43bed625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd7c531193b27d5e360b30eded9d5f6409d70941b0e93aed76a2cb1d43bed625", kill_on_drop: false }` [INFO] [stdout] dd7c531193b27d5e360b30eded9d5f6409d70941b0e93aed76a2cb1d43bed625 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c8f910b06d6c6cd83167c55502b50ff6d96d41bcb552128e203fb8efed7b1b [INFO] running `Command { std: "docker" "start" "-a" "f1c8f910b06d6c6cd83167c55502b50ff6d96d41bcb552128e203fb8efed7b1b", kill_on_drop: false }` [INFO] [stderr] Compiling coff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut file = File::open("/home/d/decomp-toolkit/libapi/a09.o")?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `f_magic`, `f_timdat`, `f_nsyms`, and `f_flags` are never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct EcoffFileHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | f_magic: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | f_nscns: u16, [INFO] [stdout] 10 | f_timdat: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | f_symptr: u32, [INFO] [stdout] 12 | f_nsyms: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | f_opthdr: u16, [INFO] [stdout] 14 | f_flags: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcoffFileHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct EcoffOptionalHeader { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 19 | magic: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | vstamp: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | tsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | dsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | bsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | entry: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | text_start: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | data_start: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | bss_start: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | gprmask: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | cprmask: [u32; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | gp_value: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcoffOptionalHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct EcoffSectionHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 69 | s_name: [u8; 8], [INFO] [stdout] 70 | s_paddr: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | s_vaddr: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | s_relptr: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | s_lnnoptr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | s_nreloc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | s_nlnno: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | s_flags: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcoffSectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct SymbolHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 110 | magic: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | vstamp: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 112 | iline_max: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 113 | cb_line: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | cb_line_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 115 | idn_max: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 116 | cb_dn_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 117 | ipd_max: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | cb_pd_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 119 | isym_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | cb_sym_offset: u32, // Byte offset to start of local symbols. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 121 | iopt_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | cb_opt_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 123 | iaux_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 124 | cb_aux_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | ifd_max: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 130 | cb_fd_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 131 | crfd: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | cb_rfd_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 133 | iext_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 134 | cb_ext_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "f1c8f910b06d6c6cd83167c55502b50ff6d96d41bcb552128e203fb8efed7b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c8f910b06d6c6cd83167c55502b50ff6d96d41bcb552128e203fb8efed7b1b", kill_on_drop: false }` [INFO] [stdout] f1c8f910b06d6c6cd83167c55502b50ff6d96d41bcb552128e203fb8efed7b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a03a27437ef37081b649702d867f90af813f9cc08d8d765adddf4fbee100f509 [INFO] running `Command { std: "docker" "start" "-a" "a03a27437ef37081b649702d867f90af813f9cc08d8d765adddf4fbee100f509", kill_on_drop: false }` [INFO] [stderr] Compiling coff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut file = File::open("/home/d/decomp-toolkit/libapi/a09.o")?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `f_magic`, `f_timdat`, `f_nsyms`, and `f_flags` are never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct EcoffFileHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | f_magic: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | f_nscns: u16, [INFO] [stdout] 10 | f_timdat: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | f_symptr: u32, [INFO] [stdout] 12 | f_nsyms: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | f_opthdr: u16, [INFO] [stdout] 14 | f_flags: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcoffFileHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct EcoffOptionalHeader { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 19 | magic: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | vstamp: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | tsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | dsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | bsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | entry: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | text_start: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | data_start: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | bss_start: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | gprmask: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | cprmask: [u32; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | gp_value: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcoffOptionalHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct EcoffSectionHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 69 | s_name: [u8; 8], [INFO] [stdout] 70 | s_paddr: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | s_vaddr: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | s_relptr: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | s_lnnoptr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | s_nreloc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | s_nlnno: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | s_flags: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcoffSectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct SymbolHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 110 | magic: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | vstamp: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 112 | iline_max: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 113 | cb_line: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | cb_line_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 115 | idn_max: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 116 | cb_dn_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 117 | ipd_max: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | cb_pd_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 119 | isym_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | cb_sym_offset: u32, // Byte offset to start of local symbols. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 121 | iopt_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | cb_opt_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 123 | iaux_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 124 | cb_aux_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | ifd_max: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 130 | cb_fd_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 131 | crfd: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | cb_rfd_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 133 | iext_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 134 | cb_ext_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "a03a27437ef37081b649702d867f90af813f9cc08d8d765adddf4fbee100f509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03a27437ef37081b649702d867f90af813f9cc08d8d765adddf4fbee100f509", kill_on_drop: false }` [INFO] [stdout] a03a27437ef37081b649702d867f90af813f9cc08d8d765adddf4fbee100f509