[INFO] cloning repository https://github.com/mfs/rustasm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfs/rustasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfs%2Frustasm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfs%2Frustasm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1913d508b2158cc97661323c46a3636b9ad55b07
[INFO] checking mfs/rustasm/1913d508b2158cc97661323c46a3636b9ad55b07 against master#4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfs%2Frustasm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mfs/rustasm
[INFO] finished tweaking git repo https://github.com/mfs/rustasm
[INFO] tweaked toml for git repo https://github.com/mfs/rustasm written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mfs/rustasm on toolchain 4cf5f9580233c36f6bc8db76e282ba8a1c1ea491
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mfs/rustasm 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" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nom v1.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9cd6808c1e90d06f04cfb0579923f96d45809af89e2b1612c34d221a8028b795
[INFO] running `Command { std: "docker" "start" "-a" "9cd6808c1e90d06f04cfb0579923f96d45809af89e2b1612c34d221a8028b795", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9cd6808c1e90d06f04cfb0579923f96d45809af89e2b1612c34d221a8028b795", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cd6808c1e90d06f04cfb0579923f96d45809af89e2b1612c34d221a8028b795", kill_on_drop: false }`
[INFO] [stdout] 9cd6808c1e90d06f04cfb0579923f96d45809af89e2b1612c34d221a8028b795
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0280aa1fbaf42fdd74fe50bfef4224de327b1af1223a0549319c60e6d203b6e
[INFO] running `Command { std: "docker" "start" "-a" "e0280aa1fbaf42fdd74fe50bfef4224de327b1af1223a0549319c60e6d203b6e", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking nom v1.2.1
[INFO] [stderr]     Checking rustasm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `OpCode` is more private than the item `OpCodeTable::get`
[INFO] [stdout]   --> src/opcode_table.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn get(&self, mnemonic: &Mnemonic) -> Option<&OpCode> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `OpCodeTable::get` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OpCode` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/opcode_table.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct OpCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `symbol_table` is never read
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Assembler {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     symbol_table: SymbolTable,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list` is never used
[INFO] [stdout]   --> src/main.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Assembler {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     fn list(&self, mnemonic: Mnemonic) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/symbol_table.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Symbol {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 4 |     value: u64,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `table` is never read
[INFO] [stdout]  --> src/symbol_table.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SymbolTable {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 9 |     table: HashMap<String, Symbol>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/opcode_table.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum OperandType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout]  5 |     Imm8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  6 |     Imm16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Reg8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     Reg16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Mem8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     Mem16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     Mem32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     Mem64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code` and `length` are never read
[INFO] [stdout]   --> src/opcode_table.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct OpCode {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 34 |     pub code: Vec<u8>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 35 |     pub length: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/opcode_table.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl OpCodeTable {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get(&self, mnemonic: &Mnemonic) -> Option<&OpCode> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Addr` is never used
[INFO] [stdout]  --> src/elf64.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | type Elf64Addr = u64;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Off` is never used
[INFO] [stdout]  --> src/elf64.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Elf64Off = u64;
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Half` is never used
[INFO] [stdout]  --> src/elf64.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Elf64Half = u16;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Word` is never used
[INFO] [stdout]  --> src/elf64.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type Elf64Word = u32;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Sword` is never used
[INFO] [stdout]  --> src/elf64.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type Elf64Sword = i32;
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Xword` is never used
[INFO] [stdout]   --> src/elf64.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Elf64Xword = u64;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Sxword` is never used
[INFO] [stdout]   --> src/elf64.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type Elf64Sxword = i64;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct FileHeader {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SectionHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct SectionHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct ProgramHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Elf64` is never constructed
[INFO] [stdout]   --> src/elf64.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Elf64 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |   named!( source<Source>,
[INFO] [stdout]     |   -              ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 101 | |     alt!( line_comment |
[INFO] [stdout] 102 | |           line_instruction_operands |
[INFO] [stdout] 103 | |           line_label |
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named 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: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 100 | named!( source<Source<'a>>,
[INFO] [stdout]     |                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |   named!( line_comment<Source>,
[INFO] [stdout]     |   -                    ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 160 | |     chain!(
[INFO] [stdout] 161 | |         space? ~
[INFO] [stdout] 162 | |         comment: comment ~
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 159 | named!( line_comment<Source<'a>>,
[INFO] [stdout]     |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:171:35
[INFO] [stdout]     |
[INFO] [stdout] 171 |   named!( line_instruction_operands<Source>,
[INFO] [stdout]     |   -                                 ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 172 | |     chain!(
[INFO] [stdout] 173 | |         space? ~
[INFO] [stdout] 174 | |         instruction: instruction ~
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 171 | named!( line_instruction_operands<Source<'a>>,
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:187:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |   named!( line_label<Source>,
[INFO] [stdout]     |   -                  ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 188 | |     chain!(
[INFO] [stdout] 189 | |         space? ~
[INFO] [stdout] 190 | |         label: label ~
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 187 | named!( line_label<Source<'a>>,
[INFO] [stdout]     |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:201:41
[INFO] [stdout]     |
[INFO] [stdout] 201 |   named!( line_label_instruction_operands<Source>,
[INFO] [stdout]     |   -                                       ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 202 | |     chain!(
[INFO] [stdout] 203 | |         space? ~
[INFO] [stdout] 204 | |         label: label ~
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 201 | named!( line_label_instruction_operands<Source<'a>>,
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let op = self.op_code_table.get(&mnemonic).unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 70 |                  mnemonic.mnemonic, op.code, op.length);
[INFO] [stdout]    |                                     ^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:70:46
[INFO] [stdout]    |
[INFO] [stdout] 70 |                  mnemonic.mnemonic, op.code, op.length);
[INFO] [stdout]    |                                              ^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OpCode` is more private than the item `OpCodeTable::get`
[INFO] [stdout]   --> src/opcode_table.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn get(&self, mnemonic: &Mnemonic) -> Option<&OpCode> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `OpCodeTable::get` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OpCode` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/opcode_table.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct OpCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `symbol_table` is never read
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Assembler {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     symbol_table: SymbolTable,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list` is never used
[INFO] [stdout]   --> src/main.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Assembler {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     fn list(&self, mnemonic: Mnemonic) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/symbol_table.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Symbol {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 4 |     value: u64,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `table` is never read
[INFO] [stdout]  --> src/symbol_table.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SymbolTable {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 9 |     table: HashMap<String, Symbol>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/opcode_table.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum OperandType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout]  5 |     Imm8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  6 |     Imm16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Reg8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     Reg16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Mem8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     Mem16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     Mem32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     Mem64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code` and `length` are never read
[INFO] [stdout]   --> src/opcode_table.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct OpCode {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 34 |     pub code: Vec<u8>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 35 |     pub length: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/opcode_table.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl OpCodeTable {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get(&self, mnemonic: &Mnemonic) -> Option<&OpCode> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Addr` is never used
[INFO] [stdout]  --> src/elf64.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | type Elf64Addr = u64;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Off` is never used
[INFO] [stdout]  --> src/elf64.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Elf64Off = u64;
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Half` is never used
[INFO] [stdout]  --> src/elf64.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Elf64Half = u16;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Word` is never used
[INFO] [stdout]  --> src/elf64.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type Elf64Word = u32;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Sword` is never used
[INFO] [stdout]  --> src/elf64.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type Elf64Sword = i32;
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Xword` is never used
[INFO] [stdout]   --> src/elf64.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Elf64Xword = u64;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Sxword` is never used
[INFO] [stdout]   --> src/elf64.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type Elf64Sxword = i64;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct FileHeader {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SectionHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct SectionHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct ProgramHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Elf64` is never constructed
[INFO] [stdout]   --> src/elf64.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Elf64 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |   named!( source<Source>,
[INFO] [stdout]     |   -              ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 101 | |     alt!( line_comment |
[INFO] [stdout] 102 | |           line_instruction_operands |
[INFO] [stdout] 103 | |           line_label |
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named 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: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 100 | named!( source<Source<'a>>,
[INFO] [stdout]     |                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |   named!( line_comment<Source>,
[INFO] [stdout]     |   -                    ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 160 | |     chain!(
[INFO] [stdout] 161 | |         space? ~
[INFO] [stdout] 162 | |         comment: comment ~
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 159 | named!( line_comment<Source<'a>>,
[INFO] [stdout]     |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:171:35
[INFO] [stdout]     |
[INFO] [stdout] 171 |   named!( line_instruction_operands<Source>,
[INFO] [stdout]     |   -                                 ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 172 | |     chain!(
[INFO] [stdout] 173 | |         space? ~
[INFO] [stdout] 174 | |         instruction: instruction ~
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 171 | named!( line_instruction_operands<Source<'a>>,
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:187:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |   named!( line_label<Source>,
[INFO] [stdout]     |   -                  ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 188 | |     chain!(
[INFO] [stdout] 189 | |         space? ~
[INFO] [stdout] 190 | |         label: label ~
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 187 | named!( line_label<Source<'a>>,
[INFO] [stdout]     |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:201:41
[INFO] [stdout]     |
[INFO] [stdout] 201 |   named!( line_label_instruction_operands<Source>,
[INFO] [stdout]     |   -                                       ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 202 | |     chain!(
[INFO] [stdout] 203 | |         space? ~
[INFO] [stdout] 204 | |         label: label ~
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 201 | named!( line_label_instruction_operands<Source<'a>>,
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let op = self.op_code_table.get(&mnemonic).unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 70 |                  mnemonic.mnemonic, op.code, op.length);
[INFO] [stdout]    |                                     ^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:70:46
[INFO] [stdout]    |
[INFO] [stdout] 70 |                  mnemonic.mnemonic, op.code, op.length);
[INFO] [stdout]    |                                              ^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustasm` (bin "rustasm" test) due to 3 previous errors; 24 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rustasm` (bin "rustasm") due to 3 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e0280aa1fbaf42fdd74fe50bfef4224de327b1af1223a0549319c60e6d203b6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0280aa1fbaf42fdd74fe50bfef4224de327b1af1223a0549319c60e6d203b6e", kill_on_drop: false }`
[INFO] [stdout] e0280aa1fbaf42fdd74fe50bfef4224de327b1af1223a0549319c60e6d203b6e
