[INFO] cloning repository https://github.com/aep000/myvm-LC3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aep000/myvm-LC3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faep000%2Fmyvm-LC3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faep000%2Fmyvm-LC3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3428c8ff1af1990250b6b1f776f71b3f85b7e6a3 [INFO] checking aep000/myvm-LC3 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faep000%2Fmyvm-LC3" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aep000/myvm-LC3 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aep000/myvm-LC3 [INFO] finished tweaking git repo https://github.com/aep000/myvm-LC3 [INFO] tweaked toml for git repo https://github.com/aep000/myvm-LC3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/aep000/myvm-LC3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43f63c11a88a7409c3b6ad91e55ad2c4b66c7f5e6aaa340a9c1be34860b719b4 [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" "43f63c11a88a7409c3b6ad91e55ad2c4b66c7f5e6aaa340a9c1be34860b719b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f63c11a88a7409c3b6ad91e55ad2c4b66c7f5e6aaa340a9c1be34860b719b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f63c11a88a7409c3b6ad91e55ad2c4b66c7f5e6aaa340a9c1be34860b719b4", kill_on_drop: false }` [INFO] [stdout] 43f63c11a88a7409c3b6ad91e55ad2c4b66c7f5e6aaa340a9c1be34860b719b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b5c592fa00a35edbd94978a90e24bd8c050f06b199ffde8ac437d49d9dac8351 [INFO] running `Command { std: "docker" "start" "-a" "b5c592fa00a35edbd94978a90e24bd8c050f06b199ffde8ac437d49d9dac8351", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking myvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if (((x >> (bit_count - 1)) & 1)==0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if (context.Reg[r] == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | else if (context.Reg[r] >> 15 == 1) /* a 1 in the left-most bit indicates negative */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FL_POS` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | FL_POS = 1 << 0, /* P */ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `FlPos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FL_ZRO` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | FL_ZRO = 1 << 1, /* Z */ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `FlZro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FL_NEG` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | FL_NEG = 1 << 2, /* N */ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `FlNeg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/instructions.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | while(context.Memory[c as usize]!=0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | if(conds & context.Reg[RNum!(Registers::RCOND)] == conds){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if (immediatMode == 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | if(flag == 0){ [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | if (immediatMode == 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | if(op< Instruction::ICOUNT as u16){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if (((x >> (bit_count - 1)) & 1)==0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if (context.Reg[r] == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | else if (context.Reg[r] >> 15 == 1) /* a 1 in the left-most bit indicates negative */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FL_POS` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | FL_POS = 1 << 0, /* P */ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `FlPos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FL_ZRO` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | FL_ZRO = 1 << 1, /* Z */ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `FlZro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FL_NEG` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | FL_NEG = 1 << 2, /* N */ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `FlNeg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/instructions.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | while(context.Memory[c as usize]!=0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | if(conds & context.Reg[RNum!(Registers::RCOND)] == conds){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if (immediatMode == 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | if(flag == 0){ [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/instructions.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | if (immediatMode == 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | if(op< Instruction::ICOUNT as u16){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extended` [INFO] [stdout] --> src/instructions.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let extended = x | (0xFFFF << bit_count); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extended` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/instructions.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn run(&self, context: &mut Context, instr: &usize){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/instructions.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | ... let offset = sign_extend((instr & 0x1ff) as u16, 9); //Location in memory at Offset + PC contains the location we are loading from [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extended` [INFO] [stdout] --> src/instructions.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let extended = x | (0xFFFF << bit_count); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extended` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/instructions.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn run(&self, context: &mut Context, instr: &usize){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/instructions.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | ... let offset = sign_extend((instr & 0x1ff) as u16, 9); //Location in memory at Offset + PC contains the location we are loading from [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R1` [INFO] [stdout] --> src/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | R1=1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R2` [INFO] [stdout] --> src/memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | R2=2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R3` [INFO] [stdout] --> src/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | R3=3, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R4` [INFO] [stdout] --> src/memory.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | R4=4, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R1` [INFO] [stdout] --> src/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | R1=1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R2` [INFO] [stdout] --> src/memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | R2=2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R5` [INFO] [stdout] --> src/memory.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | R5=5, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R6` [INFO] [stdout] --> src/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | R6=6, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GETC` [INFO] [stdout] --> src/instructions.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | GETC = 0x20, /* get character from keyboard, not echoed onto the terminal */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT` [INFO] [stdout] --> src/instructions.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | OUT = 0x21, /* output a character */ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PUTS` [INFO] [stdout] --> src/instructions.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | PUTS = 0x22, /* output a word string */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IN` [INFO] [stdout] --> src/instructions.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | IN = 0x23, /* get character from keyboard, echoed onto the terminal */ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R3` [INFO] [stdout] --> src/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | R3=3, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R4` [INFO] [stdout] --> src/memory.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | R4=4, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R5` [INFO] [stdout] --> src/memory.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | R5=5, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R6` [INFO] [stdout] --> src/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | R6=6, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PUTSP` [INFO] [stdout] --> src/instructions.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | PUTSP = 0x24, /* output a byte string */ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HALT` [INFO] [stdout] --> src/instructions.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | HALT = 0x25 /* halt the program */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GETC` [INFO] [stdout] --> src/instructions.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | GETC = 0x20, /* get character from keyboard, not echoed onto the terminal */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT` [INFO] [stdout] --> src/instructions.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | OUT = 0x21, /* output a character */ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PUTS` [INFO] [stdout] --> src/instructions.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | PUTS = 0x22, /* output a word string */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IN` [INFO] [stdout] --> src/instructions.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | IN = 0x23, /* get character from keyboard, echoed onto the terminal */ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PUTSP` [INFO] [stdout] --> src/instructions.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | PUTSP = 0x24, /* output a byte string */ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HALT` [INFO] [stdout] --> src/instructions.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | HALT = 0x25 /* halt the program */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Memory` should have a snake case name [INFO] [stdout] --> src/memory.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub Memory: [u16; 65535], [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Reg` should have a snake case name [INFO] [stdout] --> src/memory.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Reg: [u16; RNum!(Registers::RCOUNT)], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Run` should have a snake case name [INFO] [stdout] --> src/instructions.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn Run(&self, context: &mut Context, instr: &u16){ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `immediatMode` should have a snake case name [INFO] [stdout] --> src/instructions.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let immediatMode = (instr >> 5) & 0x1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `immediat_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `immediatMode` should have a snake case name [INFO] [stdout] --> src/instructions.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let immediatMode = (instr >> 5) & 0x1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `immediat_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Memory` should have a snake case name [INFO] [stdout] --> src/memory.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub Memory: [u16; 65535], [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Reg` should have a snake case name [INFO] [stdout] --> src/memory.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Reg: [u16; RNum!(Registers::RCOUNT)], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseR` should have a snake case name [INFO] [stdout] --> src/instructions.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let baseR = (instr >> 6) & 0x7; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `base_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Run` should have a snake case name [INFO] [stdout] --> src/instructions.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn Run(&self, context: &mut Context, instr: &u16){ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `immediatMode` should have a snake case name [INFO] [stdout] --> src/instructions.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let immediatMode = (instr >> 5) & 0x1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `immediat_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `immediatMode` should have a snake case name [INFO] [stdout] --> src/instructions.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let immediatMode = (instr >> 5) & 0x1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `immediat_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseR` should have a snake case name [INFO] [stdout] --> src/instructions.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let baseR = (instr >> 6) & 0x7; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `base_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.43s [INFO] running `Command { std: "docker" "inspect" "b5c592fa00a35edbd94978a90e24bd8c050f06b199ffde8ac437d49d9dac8351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c592fa00a35edbd94978a90e24bd8c050f06b199ffde8ac437d49d9dac8351", kill_on_drop: false }` [INFO] [stdout] b5c592fa00a35edbd94978a90e24bd8c050f06b199ffde8ac437d49d9dac8351