[INFO] cloning repository https://github.com/bajpai244/building-lc3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bajpai244/building-lc3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c266f76043346cad6af4552db6dbaee199ead99d
[INFO] checking bajpai244/building-lc3 against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] error: unable to write file src/interpreter/interpreter.rs
[INFO] [stderr] error: unable to write file src/interpreter/mod.rs
[INFO] [stderr] error: unable to write file src/interpreter/utils.rs
[INFO] [stderr] fatal: cannot create directory at 'src/machine': No space left on device
[INFO] [stderr] warning: Clone succeeded, but checkout failed.
[INFO] [stderr] You can inspect what was checked out with 'git status'
[INFO] [stderr] and retry with 'git restore --source=HEAD :/'
[INFO] [stderr] 
[INFO] checking bajpai244/building-lc3 against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] error: unable to write file Cargo.lock
[INFO] [stderr] error: unable to write file Cargo.toml
[INFO] [stderr] error: unable to write file README.md
[INFO] [stderr] error: unable to write file main.obj
[INFO] [stderr] fatal: cannot create directory at 'src': No space left on device
[INFO] [stderr] warning: Clone succeeded, but checkout failed.
[INFO] [stderr] You can inspect what was checked out with 'git status'
[INFO] [stderr] and retry with 'git restore --source=HEAD :/'
[INFO] [stderr] 
[INFO] checking bajpai244/building-lc3 against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] error: unable to write file src/lc3.rs
[INFO] [stderr] fatal: cannot create directory at 'src/machine': No space left on device
[INFO] [stderr] warning: Clone succeeded, but checkout failed.
[INFO] [stderr] You can inspect what was checked out with 'git status'
[INFO] [stderr] and retry with 'git restore --source=HEAD :/'
[INFO] [stderr] 
[INFO] checking bajpai244/building-lc3 against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] error: unable to write file main.obj
[INFO] [stderr] fatal: cannot create directory at 'src': No space left on device
[INFO] [stderr] warning: Clone succeeded, but checkout failed.
[INFO] [stderr] You can inspect what was checked out with 'git status'
[INFO] [stderr] and retry with 'git restore --source=HEAD :/'
[INFO] [stderr] 
[INFO] checking bajpai244/building-lc3 against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bajpai244/building-lc3
[INFO] finished tweaking git repo https://github.com/bajpai244/building-lc3
[INFO] tweaked toml for git repo https://github.com/bajpai244/building-lc3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bajpai244/building-lc3 on toolchain 987a165cfab916796a8315782b83ac460a651ce2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bajpai244/building-lc3 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e4d23d52268869bf8fad6604a63f43e463f38c3956263645fe3790543cd3430
[INFO] running `Command { std: "docker" "start" "-a" "2e4d23d52268869bf8fad6604a63f43e463f38c3956263645fe3790543cd3430", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e4d23d52268869bf8fad6604a63f43e463f38c3956263645fe3790543cd3430", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e4d23d52268869bf8fad6604a63f43e463f38c3956263645fe3790543cd3430", kill_on_drop: false }`
[INFO] [stdout] 2e4d23d52268869bf8fad6604a63f43e463f38c3956263645fe3790543cd3430
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e670c9099c5acdd5ddb58888e265dee67e0eac6e35de860765d6491ab63f382e
[INFO] running `Command { std: "docker" "start" "-a" "e670c9099c5acdd5ddb58888e265dee67e0eac6e35de860765d6491ab63f382e", kill_on_drop: false }`
[INFO] [stderr]     Checking building-lc3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/interpreter/interpreter.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 |     machine::{self, Machine},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/interpreter/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/interpreter/utils.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 |     if (num == 0) {
[INFO] [stdout]    |        ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -     if (num == 0) {
[INFO] [stdout] 51 +     if num == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/interpreter/interpreter.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 |     machine::{self, Machine},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/interpreter/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/interpreter/utils.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 |     if (num == 0) {
[INFO] [stdout]    |        ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -     if (num == 0) {
[INFO] [stdout] 51 +     if num == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/interpreter/interpreter.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Instructions::ADD => self.execute_add(next_instruction),
[INFO] [stdout]    |             ----------------- matches all the relevant values
[INFO] [stdout] 32 |             _ => panic!("Instruction not supported"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/interpreter/interpreter.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Instructions::ADD => self.execute_add(next_instruction),
[INFO] [stdout]    |             ----------------- matches all the relevant values
[INFO] [stdout] 32 |             _ => panic!("Instruction not supported"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vec`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let vec: Vec<&str> = object_code.split_whitespace().collect();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_vec`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instructions` is never used
[INFO] [stdout]  --> src/interpreter/interpreter.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Instructions {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interpreter` is never constructed
[INFO] [stdout]   --> src/interpreter/interpreter.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Interpreter {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `fetch`, `decode_instruction_type`, and `execute_add` are never used
[INFO] [stdout]   --> src/interpreter/interpreter.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Interpreter {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new(instruction: Vec<u16>) -> Interpreter {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn run(self: &mut Interpreter) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn fetch(self: &mut Interpreter) -> u16 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn decode_instruction_type(&self, instruction: u16) -> Instructions {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn execute_add(&mut self, instruction: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_left_right` is never used
[INFO] [stdout]  --> src/interpreter/utils.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn bits_left_right(instruction: u16, left: u16, right: u16) -> u16 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bit` is never used
[INFO] [stdout]   --> src/interpreter/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn bit(instruction: u16, idx: u16) -> u16 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_negative` is never used
[INFO] [stdout]   --> src/interpreter/utils.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn is_negative(value: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `num_of_bits` is never used
[INFO] [stdout]   --> src/interpreter/utils.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn num_of_bits(num: u16) -> u16 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign_extend` is never used
[INFO] [stdout]   --> src/interpreter/utils.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn sign_extend(num: u16) -> u16 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Machine` is never constructed
[INFO] [stdout]  --> src/machine/machine.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Machine {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/machine/machine.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Machine {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Machine {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memory` is never constructed
[INFO] [stdout]  --> src/machine/memory.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Memory {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used
[INFO] [stdout]   --> src/machine/memory.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Memory {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new() -> Memory {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn read(&self, address: u16) -> u16 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn write(&mut self, address: u16, value: u16) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GeneralPurposeRegister` is never used
[INFO] [stdout]  --> src/machine/registers.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum GeneralPurposeRegister {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u16` is never used
[INFO] [stdout]   --> src/machine/registers.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl GeneralPurposeRegister {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn from_u16(value: u16) -> GeneralPurposeRegister {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterSet` is never constructed
[INFO] [stdout]   --> src/machine/registers.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct RegisterSet {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write_to_general_purpose`, `read_general_purpose`, `set_condition_code_negative`, `set_condition_code_zero`, and `set_condition_code_positive` are never used
[INFO] [stdout]   --> src/machine/registers.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl RegisterSet {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 41 |     pub fn new() -> RegisterSet {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn write_to_general_purpose(&mut self, register: &GeneralPurposeRegister, value: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn read_general_purpose(&self, register: &GeneralPurposeRegister) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn set_condition_code_negative(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn set_condition_code_zero(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn set_condition_code_positive(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vec`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let vec: Vec<&str> = object_code.split_whitespace().collect();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_vec`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instructions` is never used
[INFO] [stdout]  --> src/interpreter/interpreter.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Instructions {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interpreter` is never constructed
[INFO] [stdout]   --> src/interpreter/interpreter.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Interpreter {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `fetch`, `decode_instruction_type`, and `execute_add` are never used
[INFO] [stdout]   --> src/interpreter/interpreter.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Interpreter {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new(instruction: Vec<u16>) -> Interpreter {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn run(self: &mut Interpreter) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn fetch(self: &mut Interpreter) -> u16 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn decode_instruction_type(&self, instruction: u16) -> Instructions {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn execute_add(&mut self, instruction: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_left_right` is never used
[INFO] [stdout]  --> src/interpreter/utils.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn bits_left_right(instruction: u16, left: u16, right: u16) -> u16 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bit` is never used
[INFO] [stdout]   --> src/interpreter/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn bit(instruction: u16, idx: u16) -> u16 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_negative` is never used
[INFO] [stdout]   --> src/interpreter/utils.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn is_negative(value: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Machine` is never constructed
[INFO] [stdout]  --> src/machine/machine.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Machine {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/machine/machine.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Machine {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Machine {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memory` is never constructed
[INFO] [stdout]  --> src/machine/memory.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Memory {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used
[INFO] [stdout]   --> src/machine/memory.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Memory {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new() -> Memory {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn read(&self, address: u16) -> u16 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn write(&mut self, address: u16, value: u16) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GeneralPurposeRegister` is never used
[INFO] [stdout]  --> src/machine/registers.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum GeneralPurposeRegister {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u16` is never used
[INFO] [stdout]   --> src/machine/registers.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl GeneralPurposeRegister {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn from_u16(value: u16) -> GeneralPurposeRegister {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterSet` is never constructed
[INFO] [stdout]   --> src/machine/registers.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct RegisterSet {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write_to_general_purpose`, `read_general_purpose`, `set_condition_code_negative`, `set_condition_code_zero`, and `set_condition_code_positive` are never used
[INFO] [stdout]   --> src/machine/registers.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl RegisterSet {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 41 |     pub fn new() -> RegisterSet {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn write_to_general_purpose(&mut self, register: &GeneralPurposeRegister, value: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn read_general_purpose(&self, register: &GeneralPurposeRegister) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn set_condition_code_negative(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn set_condition_code_zero(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn set_condition_code_positive(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "e670c9099c5acdd5ddb58888e265dee67e0eac6e35de860765d6491ab63f382e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e670c9099c5acdd5ddb58888e265dee67e0eac6e35de860765d6491ab63f382e", kill_on_drop: false }`
[INFO] [stdout] e670c9099c5acdd5ddb58888e265dee67e0eac6e35de860765d6491ab63f382e
