[INFO] cloning repository https://github.com/benjamin-cates/MipsWeaver.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benjamin-cates/MipsWeaver.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-cates%2FMipsWeaver.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-cates%2FMipsWeaver.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4922ccecbbac6806d7c04943fad85bee37dfb994 [INFO] checking benjamin-cates/MipsWeaver.rs against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjamin-cates%2FMipsWeaver.rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benjamin-cates/MipsWeaver.rs on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benjamin-cates/MipsWeaver.rs [INFO] finished tweaking git repo https://github.com/benjamin-cates/MipsWeaver.rs [INFO] tweaked toml for git repo https://github.com/benjamin-cates/MipsWeaver.rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/benjamin-cates/MipsWeaver.rs 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f18da1981eacf0c9c4b7be0d8abef8b366da101863ec0e3e2b061a98189b99c5 [INFO] running `Command { std: "docker" "start" "-a" "f18da1981eacf0c9c4b7be0d8abef8b366da101863ec0e3e2b061a98189b99c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f18da1981eacf0c9c4b7be0d8abef8b366da101863ec0e3e2b061a98189b99c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18da1981eacf0c9c4b7be0d8abef8b366da101863ec0e3e2b061a98189b99c5", kill_on_drop: false }` [INFO] [stdout] f18da1981eacf0c9c4b7be0d8abef8b366da101863ec0e3e2b061a98189b99c5 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d215960962a26078e1ae2c867b1af5bc36c706d00c02668d978746e50daf1e2f [INFO] running `Command { std: "docker" "start" "-a" "d215960962a26078e1ae2c867b1af5bc36c706d00c02668d978746e50daf1e2f", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking mips_weaver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/instruction/execute.rs:824:42 [INFO] [stdout] | [INFO] [stdout] 824 | I::MoveOnFloatCondition(Some(fmt), tf, (fd, fs, Immediate(cc))) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/instruction/execute.rs:824:42 [INFO] [stdout] | [INFO] [stdout] 824 | I::MoveOnFloatCondition(Some(fmt), tf, (fd, fs, Immediate(cc))) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/memory/compile.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | let symbol = line [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/memory/compile.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | let symbol = line [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bits` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_bits(value: u32, left: usize, len: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gpr` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_gpr(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fmt` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_fmt(value: u32, left: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_float` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn extract_float(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 29 | fn deserialize(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_cop1` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_special` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_ONCE_CELL` is never used [INFO] [stdout] --> src/instruction/name.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NAME_ONCE_CELL: OnceCell> = OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_MAPPING` is never used [INFO] [stdout] --> src/instruction/name.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NAME_MAPPING: [(&'static str, &'static str); 335] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enc3` is never used [INFO] [stdout] --> src/instruction/serialize.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl IntType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn enc3(&self) -> (u32, usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_LIST` is never used [INFO] [stdout] --> src/instruction/types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const INSTRUCTION_LIST: [&'static str; 135] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MakesInst` is never used [INFO] [stdout] --> src/instruction_generator/helpers.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait MakesInst: FnMut([u32; 4]) -> (String, Instruction, Version) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_full_load` is never used [INFO] [stdout] --> src/memory/linker.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl LinkerTask { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn new_full_load(pc: u32, label: &Label, offset: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `general_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn general_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gpr_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn gpr_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_gpr_parser` is never used [INFO] [stdout] --> src/parse/components.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn any_gpr_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_float_reg_parser` is never used [INFO] [stdout] --> src/parse/components.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn any_float_reg_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn float_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn sum_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idx_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn idx_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aligned_offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn aligned_offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_parser` is never used [INFO] [stdout] --> src/parse/data.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn float_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_parser` is never used [INFO] [stdout] --> src/parse/data.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn integer_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_literal_parser` is never used [INFO] [stdout] --> src/parse/data.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn string_literal_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected`, `span`, and `found` are never read [INFO] [stdout] --> src/parse/error.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct SingleParseError { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | expected: HashSet>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | span: ErrSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | label: ParseErrorType, [INFO] [stdout] 37 | found: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parse/error.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum ParseErrorType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 48 | /// Instruction does not exist or does not exist in this version. [INFO] [stdout] 49 | InvalidInstruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Register name is for the wrong processor. [INFO] [stdout] 51 | WrongProcessor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// Preprocessor directive does not exist. [INFO] [stdout] 53 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Unexpected character. [INFO] [stdout] 55 | InvChar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | /// Literal is invalid. [INFO] [stdout] 57 | InvalidLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | InvalidFloatLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | InvalidIntLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// Label is invalid. Labels that start with a number or contain specieal characters are not allowed. [INFO] [stdout] 63 | InvalidLabel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | /// Instruction is unimplemented. [INFO] [stdout] 65 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 66 | /// Literal is out of bounds for this instruction. Associated values are the allowed minimum and maximum values. [INFO] [stdout] 67 | LitBounds(i64, i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | /// Register name is invalid [INFO] [stdout] 69 | InvalidRegisterName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | /// Floating point register cannot hold right value [INFO] [stdout] 71 | WrongRegisterType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | MissingArg(usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | TooManyArgs(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 78 | /// Label not found. [INFO] [stdout] 79 | UndefinedLabel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | /// Instruction is deprecated. Associated value is the newest version that supports it. [INFO] [stdout] 81 | Deprecated(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | MinVersion(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | /// Preprocesssor directive found in the .text field. [INFO] [stdout] 86 | DirectiveInText, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// Indexed address is invalid. [INFO] [stdout] 88 | InvalidIndexedAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_args` is never used [INFO] [stdout] --> src/parse/instruction.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn no_args(maker: Instruction) -> BoxedParser<'static, char, Instruction, ParseError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_1` is never used [INFO] [stdout] --> src/parse/instruction.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn args_parser_1( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_2` is never used [INFO] [stdout] --> src/parse/instruction.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn args_parser_2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_3` is never used [INFO] [stdout] --> src/parse/instruction.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn args_parser_3( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_4` is never used [INFO] [stdout] --> src/parse/instruction.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn args_parser_4( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn lit_parser<'a>(sign: Sign, bits: usize) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser_min_max` is never used [INFO] [stdout] --> src/parse/instruction.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lit_parser_min_max<'a>(min: i64, max: i64) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_fpr_type` is never used [INFO] [stdout] --> src/parse/instruction.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn valid_fpr_type(fpr_type: FloatType) -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_LIST` is never used [INFO] [stdout] --> src/parse/instruction.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | const INSTRUCTION_LIST: &[&'static str] = &["abs.d", "abs.ps", "abs.s"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inst_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn inst_parser<'a>(cfg: &'a Config) -> impl Parser + 'a { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bits` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_bits(value: u32, left: usize, len: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gpr` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_gpr(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fmt` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_fmt(value: u32, left: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_float` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn extract_float(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 29 | fn deserialize(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_cop1` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_special` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_ONCE_CELL` is never used [INFO] [stdout] --> src/instruction/name.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NAME_ONCE_CELL: OnceCell> = OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_MAPPING` is never used [INFO] [stdout] --> src/instruction/name.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NAME_MAPPING: [(&'static str, &'static str); 335] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enc3` is never used [INFO] [stdout] --> src/instruction/serialize.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl IntType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn enc3(&self) -> (u32, usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_LIST` is never used [INFO] [stdout] --> src/instruction/types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const INSTRUCTION_LIST: [&'static str; 135] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MakesInst` is never used [INFO] [stdout] --> src/instruction_generator/helpers.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait MakesInst: FnMut([u32; 4]) -> (String, Instruction, Version) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_full_load` is never used [INFO] [stdout] --> src/memory/linker.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl LinkerTask { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn new_full_load(pc: u32, label: &Label, offset: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `general_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn general_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gpr_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn gpr_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_gpr_parser` is never used [INFO] [stdout] --> src/parse/components.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn any_gpr_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_float_reg_parser` is never used [INFO] [stdout] --> src/parse/components.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn any_float_reg_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn float_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn sum_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idx_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn idx_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aligned_offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn aligned_offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_parser` is never used [INFO] [stdout] --> src/parse/data.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn float_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_parser` is never used [INFO] [stdout] --> src/parse/data.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn integer_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_literal_parser` is never used [INFO] [stdout] --> src/parse/data.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn string_literal_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected`, `span`, and `found` are never read [INFO] [stdout] --> src/parse/error.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct SingleParseError { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | expected: HashSet>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | span: ErrSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | label: ParseErrorType, [INFO] [stdout] 37 | found: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parse/error.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum ParseErrorType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 48 | /// Instruction does not exist or does not exist in this version. [INFO] [stdout] 49 | InvalidInstruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Register name is for the wrong processor. [INFO] [stdout] 51 | WrongProcessor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// Preprocessor directive does not exist. [INFO] [stdout] 53 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Unexpected character. [INFO] [stdout] 55 | InvChar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | /// Literal is invalid. [INFO] [stdout] 57 | InvalidLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | InvalidFloatLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | InvalidIntLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// Label is invalid. Labels that start with a number or contain specieal characters are not allowed. [INFO] [stdout] 63 | InvalidLabel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | /// Instruction is unimplemented. [INFO] [stdout] 65 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 66 | /// Literal is out of bounds for this instruction. Associated values are the allowed minimum and maximum values. [INFO] [stdout] 67 | LitBounds(i64, i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | /// Register name is invalid [INFO] [stdout] 69 | InvalidRegisterName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | /// Floating point register cannot hold right value [INFO] [stdout] 71 | WrongRegisterType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | MissingArg(usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | TooManyArgs(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 78 | /// Label not found. [INFO] [stdout] 79 | UndefinedLabel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | /// Instruction is deprecated. Associated value is the newest version that supports it. [INFO] [stdout] 81 | Deprecated(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | MinVersion(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | /// Preprocesssor directive found in the .text field. [INFO] [stdout] 86 | DirectiveInText, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// Indexed address is invalid. [INFO] [stdout] 88 | InvalidIndexedAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_args` is never used [INFO] [stdout] --> src/parse/instruction.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn no_args(maker: Instruction) -> BoxedParser<'static, char, Instruction, ParseError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_1` is never used [INFO] [stdout] --> src/parse/instruction.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn args_parser_1( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_2` is never used [INFO] [stdout] --> src/parse/instruction.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn args_parser_2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_3` is never used [INFO] [stdout] --> src/parse/instruction.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn args_parser_3( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_4` is never used [INFO] [stdout] --> src/parse/instruction.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn args_parser_4( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn lit_parser<'a>(sign: Sign, bits: usize) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser_min_max` is never used [INFO] [stdout] --> src/parse/instruction.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lit_parser_min_max<'a>(min: i64, max: i64) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_fpr_type` is never used [INFO] [stdout] --> src/parse/instruction.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn valid_fpr_type(fpr_type: FloatType) -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inst_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn inst_parser<'a>(cfg: &'a Config) -> impl Parser + 'a { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, io::Read}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, io::Read}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/instruction/execute.rs:824:42 [INFO] [stdout] | [INFO] [stdout] 824 | I::MoveOnFloatCondition(Some(fmt), tf, (fd, fs, Immediate(cc))) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/instruction/deserialize.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/instruction/execute.rs:824:42 [INFO] [stdout] | [INFO] [stdout] 824 | I::MoveOnFloatCondition(Some(fmt), tf, (fd, fs, Immediate(cc))) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/memory/compile.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | let symbol = line [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/memory/compile.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | let symbol = line [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bits` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_bits(value: u32, left: usize, len: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gpr` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_gpr(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fmt` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_fmt(value: u32, left: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_float` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn extract_float(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 29 | fn deserialize(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_cop1` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_special` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_ONCE_CELL` is never used [INFO] [stdout] --> src/instruction/name.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NAME_ONCE_CELL: OnceCell> = OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_MAPPING` is never used [INFO] [stdout] --> src/instruction/name.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NAME_MAPPING: [(&'static str, &'static str); 335] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enc3` is never used [INFO] [stdout] --> src/instruction/serialize.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl IntType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn enc3(&self) -> (u32, usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_LIST` is never used [INFO] [stdout] --> src/instruction/types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const INSTRUCTION_LIST: [&'static str; 135] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_full_load` is never used [INFO] [stdout] --> src/memory/linker.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl LinkerTask { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn new_full_load(pc: u32, label: &Label, offset: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `general_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn general_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gpr_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn gpr_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_gpr_parser` is never used [INFO] [stdout] --> src/parse/components.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn any_gpr_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_float_reg_parser` is never used [INFO] [stdout] --> src/parse/components.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn any_float_reg_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn float_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn sum_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idx_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn idx_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aligned_offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn aligned_offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_parser` is never used [INFO] [stdout] --> src/parse/data.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn float_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_parser` is never used [INFO] [stdout] --> src/parse/data.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn integer_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_literal_parser` is never used [INFO] [stdout] --> src/parse/data.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn string_literal_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected`, `span`, and `found` are never read [INFO] [stdout] --> src/parse/error.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct SingleParseError { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | expected: HashSet>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | span: ErrSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | label: ParseErrorType, [INFO] [stdout] 37 | found: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parse/error.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum ParseErrorType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 48 | /// Instruction does not exist or does not exist in this version. [INFO] [stdout] 49 | InvalidInstruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Register name is for the wrong processor. [INFO] [stdout] 51 | WrongProcessor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// Preprocessor directive does not exist. [INFO] [stdout] 53 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Unexpected character. [INFO] [stdout] 55 | InvChar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | /// Literal is invalid. [INFO] [stdout] 57 | InvalidLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | InvalidFloatLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | InvalidIntLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// Label is invalid. Labels that start with a number or contain specieal characters are not allowed. [INFO] [stdout] 63 | InvalidLabel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | /// Instruction is unimplemented. [INFO] [stdout] 65 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 66 | /// Literal is out of bounds for this instruction. Associated values are the allowed minimum and maximum values. [INFO] [stdout] 67 | LitBounds(i64, i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | /// Register name is invalid [INFO] [stdout] 69 | InvalidRegisterName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | /// Floating point register cannot hold right value [INFO] [stdout] 71 | WrongRegisterType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | MissingArg(usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | TooManyArgs(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 78 | /// Label not found. [INFO] [stdout] 79 | UndefinedLabel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | /// Instruction is deprecated. Associated value is the newest version that supports it. [INFO] [stdout] 81 | Deprecated(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | MinVersion(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | /// Preprocesssor directive found in the .text field. [INFO] [stdout] 86 | DirectiveInText, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// Indexed address is invalid. [INFO] [stdout] 88 | InvalidIndexedAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_args` is never used [INFO] [stdout] --> src/parse/instruction.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn no_args(maker: Instruction) -> BoxedParser<'static, char, Instruction, ParseError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_1` is never used [INFO] [stdout] --> src/parse/instruction.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn args_parser_1( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_2` is never used [INFO] [stdout] --> src/parse/instruction.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn args_parser_2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_3` is never used [INFO] [stdout] --> src/parse/instruction.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn args_parser_3( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_4` is never used [INFO] [stdout] --> src/parse/instruction.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn args_parser_4( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn lit_parser<'a>(sign: Sign, bits: usize) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser_min_max` is never used [INFO] [stdout] --> src/parse/instruction.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lit_parser_min_max<'a>(min: i64, max: i64) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_fpr_type` is never used [INFO] [stdout] --> src/parse/instruction.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn valid_fpr_type(fpr_type: FloatType) -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_LIST` is never used [INFO] [stdout] --> src/parse/instruction.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | const INSTRUCTION_LIST: &[&'static str] = &["abs.d", "abs.ps", "abs.s"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inst_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn inst_parser<'a>(cfg: &'a Config) -> impl Parser + 'a { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bits` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_bits(value: u32, left: usize, len: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gpr` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_gpr(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fmt` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_fmt(value: u32, left: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_float` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn extract_float(value: u32, left: usize) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 29 | fn deserialize(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_cop1` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn deser_cop1(cfg: &Config, val: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deser_special` is never used [INFO] [stdout] --> src/instruction/deserialize.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn deser_special(cfg: &Config, value: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_ONCE_CELL` is never used [INFO] [stdout] --> src/instruction/name.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NAME_ONCE_CELL: OnceCell> = OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_MAPPING` is never used [INFO] [stdout] --> src/instruction/name.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NAME_MAPPING: [(&'static str, &'static str); 335] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enc3` is never used [INFO] [stdout] --> src/instruction/serialize.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl IntType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn enc3(&self) -> (u32, usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_LIST` is never used [INFO] [stdout] --> src/instruction/types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const INSTRUCTION_LIST: [&'static str; 135] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_full_load` is never used [INFO] [stdout] --> src/memory/linker.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl LinkerTask { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn new_full_load(pc: u32, label: &Label, offset: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `general_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn general_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gpr_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn gpr_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_gpr_parser` is never used [INFO] [stdout] --> src/parse/components.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn any_gpr_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any_float_reg_parser` is never used [INFO] [stdout] --> src/parse/components.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn any_float_reg_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_register_parser` is never used [INFO] [stdout] --> src/parse/components.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn float_register_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn sum_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idx_address_parser` is never used [INFO] [stdout] --> src/parse/components.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn idx_address_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aligned_offset_label_parser` is never used [INFO] [stdout] --> src/parse/components.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn aligned_offset_label_parser() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_parser` is never used [INFO] [stdout] --> src/parse/data.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn float_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_parser` is never used [INFO] [stdout] --> src/parse/data.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn integer_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_literal_parser` is never used [INFO] [stdout] --> src/parse/data.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn string_literal_parser() -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected`, `span`, and `found` are never read [INFO] [stdout] --> src/parse/error.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct SingleParseError { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | expected: HashSet>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | span: ErrSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | label: ParseErrorType, [INFO] [stdout] 37 | found: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parse/error.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum ParseErrorType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 48 | /// Instruction does not exist or does not exist in this version. [INFO] [stdout] 49 | InvalidInstruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Register name is for the wrong processor. [INFO] [stdout] 51 | WrongProcessor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// Preprocessor directive does not exist. [INFO] [stdout] 53 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Unexpected character. [INFO] [stdout] 55 | InvChar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | /// Literal is invalid. [INFO] [stdout] 57 | InvalidLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | InvalidFloatLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | InvalidIntLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// Label is invalid. Labels that start with a number or contain specieal characters are not allowed. [INFO] [stdout] 63 | InvalidLabel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | /// Instruction is unimplemented. [INFO] [stdout] 65 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 66 | /// Literal is out of bounds for this instruction. Associated values are the allowed minimum and maximum values. [INFO] [stdout] 67 | LitBounds(i64, i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | /// Register name is invalid [INFO] [stdout] 69 | InvalidRegisterName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | /// Floating point register cannot hold right value [INFO] [stdout] 71 | WrongRegisterType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | MissingArg(usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | TooManyArgs(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 78 | /// Label not found. [INFO] [stdout] 79 | UndefinedLabel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | /// Instruction is deprecated. Associated value is the newest version that supports it. [INFO] [stdout] 81 | Deprecated(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | MinVersion(Version), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | /// Preprocesssor directive found in the .text field. [INFO] [stdout] 86 | DirectiveInText, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// Indexed address is invalid. [INFO] [stdout] 88 | InvalidIndexedAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_args` is never used [INFO] [stdout] --> src/parse/instruction.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn no_args(maker: Instruction) -> BoxedParser<'static, char, Instruction, ParseError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_1` is never used [INFO] [stdout] --> src/parse/instruction.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn args_parser_1( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_2` is never used [INFO] [stdout] --> src/parse/instruction.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn args_parser_2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_3` is never used [INFO] [stdout] --> src/parse/instruction.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn args_parser_3( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `args_parser_4` is never used [INFO] [stdout] --> src/parse/instruction.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn args_parser_4( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn lit_parser<'a>(sign: Sign, bits: usize) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit_parser_min_max` is never used [INFO] [stdout] --> src/parse/instruction.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lit_parser_min_max<'a>(min: i64, max: i64) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_fpr_type` is never used [INFO] [stdout] --> src/parse/instruction.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn valid_fpr_type(fpr_type: FloatType) -> impl Parser + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inst_parser` is never used [INFO] [stdout] --> src/parse/instruction.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn inst_parser<'a>(cfg: &'a Config) -> impl Parser + 'a { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.19s [INFO] running `Command { std: "docker" "inspect" "d215960962a26078e1ae2c867b1af5bc36c706d00c02668d978746e50daf1e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d215960962a26078e1ae2c867b1af5bc36c706d00c02668d978746e50daf1e2f", kill_on_drop: false }` [INFO] [stdout] d215960962a26078e1ae2c867b1af5bc36c706d00c02668d978746e50daf1e2f