[INFO] cloning repository https://github.com/AndreiKazakov/rust-16-bit-vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndreiKazakov/rust-16-bit-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreiKazakov%2Frust-16-bit-vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreiKazakov%2Frust-16-bit-vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13785fb2897cbfb47104c9a77468ce2fd51f1494 [INFO] checking AndreiKazakov/rust-16-bit-vm against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreiKazakov%2Frust-16-bit-vm" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AndreiKazakov/rust-16-bit-vm on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AndreiKazakov/rust-16-bit-vm [INFO] finished tweaking git repo https://github.com/AndreiKazakov/rust-16-bit-vm [INFO] tweaked toml for git repo https://github.com/AndreiKazakov/rust-16-bit-vm written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/AndreiKazakov/rust-16-bit-vm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ced4ad62c622d120064765d6164388f723bebe413d0fc14025a3e476cf94169c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ced4ad62c622d120064765d6164388f723bebe413d0fc14025a3e476cf94169c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ced4ad62c622d120064765d6164388f723bebe413d0fc14025a3e476cf94169c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced4ad62c622d120064765d6164388f723bebe413d0fc14025a3e476cf94169c", kill_on_drop: false }` [INFO] [stdout] ced4ad62c622d120064765d6164388f723bebe413d0fc14025a3e476cf94169c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db6be53a8cdcdba869c66eccc02264ac5ee06614f30355468e2e46c21cc84d96 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db6be53a8cdcdba869c66eccc02264ac5ee06614f30355468e2e46c21cc84d96", kill_on_drop: false }` [INFO] [stderr] Checking vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::device::Device` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::device::Device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `device::memory::Memory` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use device::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::device::Device` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::device::Device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `device::memory::Memory` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use device::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lit_reg` [INFO] [stdout] --> src/assembler/formats.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn lit_reg<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_lit` [INFO] [stdout] --> src/assembler/formats.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn reg_lit<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_lit8` [INFO] [stdout] --> src/assembler/formats.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn reg_lit8<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lit_off_reg` [INFO] [stdout] --> src/assembler/formats.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn lit_off_reg<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_reg` [INFO] [stdout] --> src/assembler/formats.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn reg_reg<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mem_reg` [INFO] [stdout] --> src/assembler/formats.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn mem_reg<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_mem` [INFO] [stdout] --> src/assembler/formats.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn reg_mem<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lit_mem` [INFO] [stdout] --> src/assembler/formats.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn lit_mem<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_ptr_reg` [INFO] [stdout] --> src/assembler/formats.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn reg_ptr_reg<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lit` [INFO] [stdout] --> src/assembler/formats.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lit<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg` [INFO] [stdout] --> src/assembler/formats.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn reg<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `no_arg` [INFO] [stdout] --> src/assembler/formats.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn no_arg<'a>(command: &str, instruction: Instruction) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instruction2` [INFO] [stdout] --> src/assembler/formats.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn instruction2<'a>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_or_exp` [INFO] [stdout] --> src/assembler/formats.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn hex_or_exp<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex8_or_exp` [INFO] [stdout] --> src/assembler/formats.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn hex8_or_exp<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `address_or_exp` [INFO] [stdout] --> src/assembler/formats.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn address_or_exp<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `com` [INFO] [stdout] --> src/assembler/formats.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn com<'a>(command: &str) -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_instruction1` [INFO] [stdout] --> src/assembler/formats.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn to_instruction1(instruction: Instruction, mut parsed_instruction: Vec) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_instruction2` [INFO] [stdout] --> src/assembler/formats.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn to_instruction2(instruction: Instruction, mut parsed_instruction: Vec) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/assembler/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/assembler/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Star` [INFO] [stdout] --> src/assembler/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `square_bracket_expression` [INFO] [stdout] --> src/assembler/parser.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn square_bracket_expression<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_literal` [INFO] [stdout] --> src/assembler/parser.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn hex_literal<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_literal8` [INFO] [stdout] --> src/assembler/parser.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn hex_literal8<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operator` [INFO] [stdout] --> src/assembler/parser.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn operator<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `address` [INFO] [stdout] --> src/assembler/parser.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn address<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `label` [INFO] [stdout] --> src/assembler/parser.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn label<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `variable` [INFO] [stdout] --> src/assembler/parser.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn variable<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `priority` [INFO] [stdout] --> src/assembler/parser.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn priority(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group_binary_operations` [INFO] [stdout] --> src/assembler/parser.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn group_binary_operations<'a>(mut expression: Vec) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register` [INFO] [stdout] --> src/assembler/parser.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn register<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction0` [INFO] [stdout] --> src/assembler/parser.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / Instruction0 { [INFO] [stdout] 180 | | instruction: Instruction, [INFO] [stdout] 181 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction1` [INFO] [stdout] --> src/assembler/parser.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | / Instruction1 { [INFO] [stdout] 183 | | instruction: Instruction, [INFO] [stdout] 184 | | arg0: Box, [INFO] [stdout] 185 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction2` [INFO] [stdout] --> src/assembler/parser.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / Instruction2 { [INFO] [stdout] 187 | | instruction: Instruction, [INFO] [stdout] 188 | | arg0: Box, [INFO] [stdout] 189 | | arg1: Box, [INFO] [stdout] 190 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Instruction3` [INFO] [stdout] --> src/assembler/parser.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | / Instruction3 { [INFO] [stdout] 192 | | instruction: Instruction, [INFO] [stdout] 193 | | arg0: Box, [INFO] [stdout] 194 | | arg1: Box, [INFO] [stdout] 195 | | arg2: Box, [INFO] [stdout] 196 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BinaryOperation` [INFO] [stdout] --> src/assembler/parser.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | / BinaryOperation { [INFO] [stdout] 198 | | op: Box, [INFO] [stdout] 199 | | a: Box, [INFO] [stdout] 200 | | b: Box, [INFO] [stdout] 201 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ignored` [INFO] [stdout] --> src/assembler/parser.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | Ignored, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HexLiteral` [INFO] [stdout] --> src/assembler/parser.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | HexLiteral(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HexLiteral8` [INFO] [stdout] --> src/assembler/parser.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | HexLiteral8(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Address` [INFO] [stdout] --> src/assembler/parser.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | Address(u16), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Variable` [INFO] [stdout] --> src/assembler/parser.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | Variable(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Register` [INFO] [stdout] --> src/assembler/parser.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | Register(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Operator` [INFO] [stdout] --> src/assembler/parser.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | Operator(Operator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/assembler/parser.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | Label(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compile` [INFO] [stdout] --> src/assembler.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn compile(code: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/assembler.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn encode(t: &Type, labels: &HashMap<&String, u16>) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assembly_parser` [INFO] [stdout] --> src/assembler.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn assembly_parser<'a>() -> Parser<'a, str, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assembly_instruction` [INFO] [stdout] --> src/assembler.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn assembly_instruction<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mov` [INFO] [stdout] --> src/assembler.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn mov<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/assembler.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn add<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sub` [INFO] [stdout] --> src/assembler.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn sub<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul` [INFO] [stdout] --> src/assembler.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn mul<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lsf` [INFO] [stdout] --> src/assembler.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn lsf<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rsf` [INFO] [stdout] --> src/assembler.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn rsf<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and` [INFO] [stdout] --> src/assembler.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn and<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or` [INFO] [stdout] --> src/assembler.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn or<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xor` [INFO] [stdout] --> src/assembler.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn xor<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jeq` [INFO] [stdout] --> src/assembler.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn jeq<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jne` [INFO] [stdout] --> src/assembler.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn jne<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jgt` [INFO] [stdout] --> src/assembler.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn jgt<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jlt` [INFO] [stdout] --> src/assembler.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn jlt<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jle` [INFO] [stdout] --> src/assembler.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn jle<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jge` [INFO] [stdout] --> src/assembler.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn jge<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `psh` [INFO] [stdout] --> src/assembler.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn psh<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pop` [INFO] [stdout] --> src/assembler.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn pop<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inc` [INFO] [stdout] --> src/assembler.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | fn inc<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec` [INFO] [stdout] --> src/assembler.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn dec<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `not` [INFO] [stdout] --> src/assembler.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn not<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cal` [INFO] [stdout] --> src/assembler.rs:262:4 [INFO] [stdout] | [INFO] [stdout] 262 | fn cal<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ret` [INFO] [stdout] --> src/assembler.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn ret<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hlt` [INFO] [stdout] --> src/assembler.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn hlt<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIT_REG` [INFO] [stdout] --> src/cpu/instruction.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const LIT_REG: u16 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG_LIT` [INFO] [stdout] --> src/cpu/instruction.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const REG_LIT: u16 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG_LIT8` [INFO] [stdout] --> src/cpu/instruction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const REG_LIT8: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const REG_REG: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const REG_MEM: u16 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MEM_REG` [INFO] [stdout] --> src/cpu/instruction.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const MEM_REG: u16 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const LIT_MEM: u16 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG_PTR_REG` [INFO] [stdout] --> src/cpu/instruction.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const REG_PTR_REG: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIT_OFF_REG` [INFO] [stdout] --> src/cpu/instruction.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const LIT_OFF_REG: u16 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NONE` [INFO] [stdout] --> src/cpu/instruction.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const NONE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG` [INFO] [stdout] --> src/cpu/instruction.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const REG: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIT` [INFO] [stdout] --> src/cpu/instruction.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const LIT: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT` [INFO] [stdout] --> src/cpu/instruction.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub const INT: Instruction = Instruction { [INFO] [stdout] 23 | | opcode: 0x00, [INFO] [stdout] 24 | | size: LIT, [INFO] [stdout] 25 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RET_INT` [INFO] [stdout] --> src/cpu/instruction.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub const RET_INT: Instruction = Instruction { [INFO] [stdout] 27 | | opcode: 0x01, [INFO] [stdout] 28 | | size: NONE, [INFO] [stdout] 29 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOVE_LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub const MOVE_LIT_MEM: Instruction = Instruction { [INFO] [stdout] 32 | | opcode: 0x09, [INFO] [stdout] 33 | | size: LIT_MEM, [INFO] [stdout] 34 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOVE_LIT_REG` [INFO] [stdout] --> src/cpu/instruction.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / pub const MOVE_LIT_REG: Instruction = Instruction { [INFO] [stdout] 36 | | opcode: 0x10, [INFO] [stdout] 37 | | size: LIT_REG, [INFO] [stdout] 38 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOVE_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / pub const MOVE_REG_REG: Instruction = Instruction { [INFO] [stdout] 40 | | opcode: 0x11, [INFO] [stdout] 41 | | size: REG_REG, [INFO] [stdout] 42 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOVE_REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / pub const MOVE_REG_MEM: Instruction = Instruction { [INFO] [stdout] 44 | | opcode: 0x12, [INFO] [stdout] 45 | | size: REG_MEM, [INFO] [stdout] 46 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOVE_MEM_REG` [INFO] [stdout] --> src/cpu/instruction.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub const MOVE_MEM_REG: Instruction = Instruction { [INFO] [stdout] 48 | | opcode: 0x13, [INFO] [stdout] 49 | | size: MEM_REG, [INFO] [stdout] 50 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PSH_LIT` [INFO] [stdout] --> src/cpu/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / pub const PSH_LIT: Instruction = Instruction { [INFO] [stdout] 52 | | opcode: 0x16, [INFO] [stdout] 53 | | size: LIT, [INFO] [stdout] 54 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PSH_REG` [INFO] [stdout] --> src/cpu/instruction.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / pub const PSH_REG: Instruction = Instruction { [INFO] [stdout] 56 | | opcode: 0x17, [INFO] [stdout] 57 | | size: REG, [INFO] [stdout] 58 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `POP_REG` [INFO] [stdout] --> src/cpu/instruction.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub const POP_REG: Instruction = Instruction { [INFO] [stdout] 60 | | opcode: 0x18, [INFO] [stdout] 61 | | size: REG, [INFO] [stdout] 62 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAL_LIT` [INFO] [stdout] --> src/cpu/instruction.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / pub const CAL_LIT: Instruction = Instruction { [INFO] [stdout] 64 | | opcode: 0x19, [INFO] [stdout] 65 | | size: LIT, [INFO] [stdout] 66 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAL_REG` [INFO] [stdout] --> src/cpu/instruction.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / pub const CAL_REG: Instruction = Instruction { [INFO] [stdout] 68 | | opcode: 0x1a, [INFO] [stdout] 69 | | size: REG, [INFO] [stdout] 70 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RET` [INFO] [stdout] --> src/cpu/instruction.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / pub const RET: Instruction = Instruction { [INFO] [stdout] 72 | | opcode: 0x1b, [INFO] [stdout] 73 | | size: NONE, [INFO] [stdout] 74 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOVE_REG_PTR_REG` [INFO] [stdout] --> src/cpu/instruction.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / pub const MOVE_REG_PTR_REG: Instruction = Instruction { [INFO] [stdout] 76 | | opcode: 0x1c, [INFO] [stdout] 77 | | size: REG_PTR_REG, [INFO] [stdout] 78 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOVE_LIT_OFF_REG` [INFO] [stdout] --> src/cpu/instruction.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / pub const MOVE_LIT_OFF_REG: Instruction = Instruction { [INFO] [stdout] 80 | | opcode: 0x1d, [INFO] [stdout] 81 | | size: LIT_OFF_REG, [INFO] [stdout] 82 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ADD_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / pub const ADD_REG_REG: Instruction = Instruction { [INFO] [stdout] 85 | | opcode: 0x14, [INFO] [stdout] 86 | | size: REG_REG, [INFO] [stdout] 87 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ADD_LIT_REG` [INFO] [stdout] --> src/cpu/instruction.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / pub const ADD_LIT_REG: Instruction = Instruction { [INFO] [stdout] 89 | | opcode: 0x30, [INFO] [stdout] 90 | | size: LIT_REG, [INFO] [stdout] 91 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUB_LIT_REG` [INFO] [stdout] --> src/cpu/instruction.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const SUB_LIT_REG: Instruction = Instruction { [INFO] [stdout] 93 | | opcode: 0x31, [INFO] [stdout] 94 | | size: LIT_REG, [INFO] [stdout] 95 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUB_REG_LIT` [INFO] [stdout] --> src/cpu/instruction.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / pub const SUB_REG_LIT: Instruction = Instruction { [INFO] [stdout] 97 | | opcode: 0x32, [INFO] [stdout] 98 | | size: REG_LIT, [INFO] [stdout] 99 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUB_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / pub const SUB_REG_REG: Instruction = Instruction { [INFO] [stdout] 101 | | opcode: 0x33, [INFO] [stdout] 102 | | size: REG_REG, [INFO] [stdout] 103 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MUL_LIT_REG` [INFO] [stdout] --> src/cpu/instruction.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / pub const MUL_LIT_REG: Instruction = Instruction { [INFO] [stdout] 105 | | opcode: 0x34, [INFO] [stdout] 106 | | size: LIT_REG, [INFO] [stdout] 107 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MUL_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / pub const MUL_REG_REG: Instruction = Instruction { [INFO] [stdout] 109 | | opcode: 0x35, [INFO] [stdout] 110 | | size: REG_REG, [INFO] [stdout] 111 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INC_REG` [INFO] [stdout] --> src/cpu/instruction.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / pub const INC_REG: Instruction = Instruction { [INFO] [stdout] 113 | | opcode: 0x36, [INFO] [stdout] 114 | | size: REG, [INFO] [stdout] 115 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEC_REG` [INFO] [stdout] --> src/cpu/instruction.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / pub const DEC_REG: Instruction = Instruction { [INFO] [stdout] 117 | | opcode: 0x37, [INFO] [stdout] 118 | | size: REG, [INFO] [stdout] 119 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LSF_REG_LIT8` [INFO] [stdout] --> src/cpu/instruction.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / pub const LSF_REG_LIT8: Instruction = Instruction { [INFO] [stdout] 122 | | opcode: 0x40, [INFO] [stdout] 123 | | size: REG_LIT8, [INFO] [stdout] 124 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LSF_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / pub const LSF_REG_REG: Instruction = Instruction { [INFO] [stdout] 126 | | opcode: 0x41, [INFO] [stdout] 127 | | size: REG_REG, [INFO] [stdout] 128 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RSF_REG_LIT8` [INFO] [stdout] --> src/cpu/instruction.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / pub const RSF_REG_LIT8: Instruction = Instruction { [INFO] [stdout] 130 | | opcode: 0x42, [INFO] [stdout] 131 | | size: REG_LIT8, [INFO] [stdout] 132 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RSF_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / pub const RSF_REG_REG: Instruction = Instruction { [INFO] [stdout] 134 | | opcode: 0x43, [INFO] [stdout] 135 | | size: REG_REG, [INFO] [stdout] 136 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AND_REG_LIT` [INFO] [stdout] --> src/cpu/instruction.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / pub const AND_REG_LIT: Instruction = Instruction { [INFO] [stdout] 138 | | opcode: 0x44, [INFO] [stdout] 139 | | size: REG_LIT, [INFO] [stdout] 140 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AND_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / pub const AND_REG_REG: Instruction = Instruction { [INFO] [stdout] 142 | | opcode: 0x45, [INFO] [stdout] 143 | | size: REG_REG, [INFO] [stdout] 144 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OR_REG_LIT` [INFO] [stdout] --> src/cpu/instruction.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | / pub const OR_REG_LIT: Instruction = Instruction { [INFO] [stdout] 146 | | opcode: 0x46, [INFO] [stdout] 147 | | size: REG_LIT, [INFO] [stdout] 148 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OR_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const OR_REG_REG: Instruction = Instruction { [INFO] [stdout] 150 | | opcode: 0x47, [INFO] [stdout] 151 | | size: REG_REG, [INFO] [stdout] 152 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `XOR_REG_LIT` [INFO] [stdout] --> src/cpu/instruction.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / pub const XOR_REG_LIT: Instruction = Instruction { [INFO] [stdout] 154 | | opcode: 0x48, [INFO] [stdout] 155 | | size: REG_LIT, [INFO] [stdout] 156 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `XOR_REG_REG` [INFO] [stdout] --> src/cpu/instruction.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / pub const XOR_REG_REG: Instruction = Instruction { [INFO] [stdout] 158 | | opcode: 0x49, [INFO] [stdout] 159 | | size: REG_REG, [INFO] [stdout] 160 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NOT_REG` [INFO] [stdout] --> src/cpu/instruction.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | / pub const NOT_REG: Instruction = Instruction { [INFO] [stdout] 162 | | opcode: 0x4a, [INFO] [stdout] 163 | | size: REG, [INFO] [stdout] 164 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JNE_LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / pub const JNE_LIT_MEM: Instruction = Instruction { [INFO] [stdout] 167 | | opcode: 0x50, [INFO] [stdout] 168 | | size: LIT_MEM, [INFO] [stdout] 169 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JNE_REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / pub const JNE_REG_MEM: Instruction = Instruction { [INFO] [stdout] 171 | | opcode: 0x51, [INFO] [stdout] 172 | | size: REG_MEM, [INFO] [stdout] 173 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JEQ_LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / pub const JEQ_LIT_MEM: Instruction = Instruction { [INFO] [stdout] 175 | | opcode: 0x52, [INFO] [stdout] 176 | | size: LIT_MEM, [INFO] [stdout] 177 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JEQ_REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | / pub const JEQ_REG_MEM: Instruction = Instruction { [INFO] [stdout] 179 | | opcode: 0x53, [INFO] [stdout] 180 | | size: REG_MEM, [INFO] [stdout] 181 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JGT_LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / pub const JGT_LIT_MEM: Instruction = Instruction { [INFO] [stdout] 183 | | opcode: 0x54, [INFO] [stdout] 184 | | size: LIT_MEM, [INFO] [stdout] 185 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JGT_REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | / pub const JGT_REG_MEM: Instruction = Instruction { [INFO] [stdout] 187 | | opcode: 0x55, [INFO] [stdout] 188 | | size: REG_MEM, [INFO] [stdout] 189 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JLT_LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / pub const JLT_LIT_MEM: Instruction = Instruction { [INFO] [stdout] 191 | | opcode: 0x56, [INFO] [stdout] 192 | | size: LIT_MEM, [INFO] [stdout] 193 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JLT_REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | / pub const JLT_REG_MEM: Instruction = Instruction { [INFO] [stdout] 195 | | opcode: 0x57, [INFO] [stdout] 196 | | size: REG_MEM, [INFO] [stdout] 197 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JGE_LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / pub const JGE_LIT_MEM: Instruction = Instruction { [INFO] [stdout] 199 | | opcode: 0x58, [INFO] [stdout] 200 | | size: LIT_MEM, [INFO] [stdout] 201 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JGE_REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | / pub const JGE_REG_MEM: Instruction = Instruction { [INFO] [stdout] 203 | | opcode: 0x59, [INFO] [stdout] 204 | | size: REG_MEM, [INFO] [stdout] 205 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JLE_LIT_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / pub const JLE_LIT_MEM: Instruction = Instruction { [INFO] [stdout] 207 | | opcode: 0x5a, [INFO] [stdout] 208 | | size: LIT_MEM, [INFO] [stdout] 209 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `JLE_REG_MEM` [INFO] [stdout] --> src/cpu/instruction.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | / pub const JLE_REG_MEM: Instruction = Instruction { [INFO] [stdout] 211 | | opcode: 0x5b, [INFO] [stdout] 212 | | size: REG_MEM, [INFO] [stdout] 213 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HLT` [INFO] [stdout] --> src/cpu/instruction.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | / pub const HLT: Instruction = Instruction { [INFO] [stdout] 216 | | opcode: 0xff, [INFO] [stdout] 217 | | size: NONE, [INFO] [stdout] 218 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Register` [INFO] [stdout] --> src/cpu/register.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Register = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IP` [INFO] [stdout] --> src/cpu/register.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const IP: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACC` [INFO] [stdout] --> src/cpu/register.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ACC: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R1` [INFO] [stdout] --> src/cpu/register.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const R1: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R2` [INFO] [stdout] --> src/cpu/register.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const R2: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R3` [INFO] [stdout] --> src/cpu/register.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const R3: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R4` [INFO] [stdout] --> src/cpu/register.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const R4: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R5` [INFO] [stdout] --> src/cpu/register.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const R5: usize = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R6` [INFO] [stdout] --> src/cpu/register.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const R6: usize = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R7` [INFO] [stdout] --> src/cpu/register.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const R7: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `R8` [INFO] [stdout] --> src/cpu/register.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const R8: usize = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP` [INFO] [stdout] --> src/cpu/register.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const SP: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FP` [INFO] [stdout] --> src/cpu/register.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const FP: usize = 22; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MB` [INFO] [stdout] --> src/cpu/register.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const MB: usize = 24; // Memory bank [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IM` [INFO] [stdout] --> src/cpu/register.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const IM: usize = 26; // Interrupt mask [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIST` [INFO] [stdout] --> src/cpu/register.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const LIST: [usize; 14] = [IP, ACC, R1, R2, R3, R4, R5, R6, R7, R8, SP, FP, MB, IM]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GENERAL_PURPOSE_LIST` [INFO] [stdout] --> src/cpu/register.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const GENERAL_PURPOSE_LIST: [usize; 8] = [R1, R2, R3, R4, R5, R6, R7, R8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIZE` [INFO] [stdout] --> src/cpu/register.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const SIZE: u16 = LIST.len() as u16 * 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_from_string` [INFO] [stdout] --> src/cpu/register.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_from_string(s: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPU` [INFO] [stdout] --> src/cpu.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERRUPT_VECTOR_ADDRESS` [INFO] [stdout] --> src/cpu.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const INTERRUPT_VECTOR_ADDRESS: usize = 0x1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(memory: Box) -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/cpu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_register` [INFO] [stdout] --> src/cpu.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn set_register(&mut self, reg: Register, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register` [INFO] [stdout] --> src/cpu.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_register(&self, reg: Register) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch8` [INFO] [stdout] --> src/cpu.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn fetch8(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch16` [INFO] [stdout] --> src/cpu.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn fetch16(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_to_stack` [INFO] [stdout] --> src/cpu.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn push_to_stack(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_from_stack` [INFO] [stdout] --> src/cpu.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn pop_from_stack(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_register_index` [INFO] [stdout] --> src/cpu.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn fetch_register_index(&mut self) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_state` [INFO] [stdout] --> src/cpu.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn push_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_state` [INFO] [stdout] --> src/cpu.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn pop_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_interrupt` [INFO] [stdout] --> src/cpu.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn handle_interrupt(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn execute(&mut self, instruction: u8) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/cpu.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 431 | fn step(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/banked_memory.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(count: u8, size: u16) -> BankedMemory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(size: u16) -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/memory_mapper.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> MemoryMapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/device/memory_mapper.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn map(&mut self, device: Box, start: usize, end: usize, remap: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_literal` [INFO] [stdout] --> src/parser_combinator/byte.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn match_literal(expected: &[u8]) -> Parser<[u8], ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser_combinator/core.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(message: String) -> ParseError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ParseResult` [INFO] [stdout] --> src/parser_combinator/core.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub type ParseResult = Result, ParseError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser_combinator/core.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Parser<'a, Input: ?Sized + ParseInput, Output: 'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser_combinator/core.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(fun: F) -> Parser<'a, I, O> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser_combinator/core.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse(&self, slice: &'a I) -> ParseResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_at` [INFO] [stdout] --> src/parser_combinator/core.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_at(&self, input: &'a I, index: usize) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/parser_combinator/core.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn map(self, map_fn: F) -> Parser<'a, I, B> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map_err` [INFO] [stdout] --> src/parser_combinator/core.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn map_err(self, err_map_fn: F) -> Parser<'a, I, O> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `and_then` [INFO] [stdout] --> src/parser_combinator/core.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(self, chain_fn: F) -> Parser<'a, I, B> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero_or_more` [INFO] [stdout] --> src/parser_combinator/core.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn zero_or_more(self) -> Parser<'a, I, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one_or_more` [INFO] [stdout] --> src/parser_combinator/core.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn one_or_more(self) -> Parser<'a, I, Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> src/parser_combinator/core.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn left(self, b: Parser<'a, I, B>) -> Parser<'a, I, O> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/parser_combinator/core.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn right(self, b: Parser<'a, I, B>) -> Parser<'a, I, B> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sequence_of` [INFO] [stdout] --> src/parser_combinator/core.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn sequence_of(parsers: Vec>) -> Parser> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interspersed` [INFO] [stdout] --> src/parser_combinator/core.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn interspersed( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `between` [INFO] [stdout] --> src/parser_combinator/core.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn between( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one_of` [INFO] [stdout] --> src/parser_combinator/core.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn one_of(parsers: Vec>) -> Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `literal` [INFO] [stdout] --> src/parser_combinator/string.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn literal<'a>(expected: String) -> Parser<'a, str, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `character` [INFO] [stdout] --> src/parser_combinator/string.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn character<'a>(c: char) -> Parser<'a, str, String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hexadecimal` [INFO] [stdout] --> src/parser_combinator/string.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn hexadecimal<'a>() -> Parser<'a, str, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabetic` [INFO] [stdout] --> src/parser_combinator/string.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn alphabetic<'a>() -> Parser<'a, str, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `upper_or_lower` [INFO] [stdout] --> src/parser_combinator/string.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn upper_or_lower<'a>(s: String) -> Parser<'a, str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `optional_whitespace` [INFO] [stdout] --> src/parser_combinator/string.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn optional_whitespace<'a>() -> Parser<'a, str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `whitespace` [INFO] [stdout] --> src/parser_combinator/string.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn whitespace<'a>() -> Parser<'a, str, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isInInterruptHandler` should have a snake case name [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | isInInterruptHandler: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_in_interrupt_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 199 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex8_or_exp` [INFO] [stdout] --> src/assembler/formats.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn hex8_or_exp<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_literal8` [INFO] [stdout] --> src/assembler/parser.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn hex_literal8<'a>() -> Parser<'a, str, Type> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HexLiteral8` [INFO] [stdout] --> src/assembler/parser.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | HexLiteral8(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/cpu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `view_memory_at` [INFO] [stdout] --> src/cpu.rs:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | fn view_memory_at(mem: Memory, address: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isInInterruptHandler` should have a snake case name [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | isInInterruptHandler: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_in_interrupt_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "db6be53a8cdcdba869c66eccc02264ac5ee06614f30355468e2e46c21cc84d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db6be53a8cdcdba869c66eccc02264ac5ee06614f30355468e2e46c21cc84d96", kill_on_drop: false }` [INFO] [stdout] db6be53a8cdcdba869c66eccc02264ac5ee06614f30355468e2e46c21cc84d96