[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 master#b44e14f762fd4062faeba97f8f2bc470298ec1ac for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fbuilding-lc3" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bajpai244/building-lc3 on toolchain b44e14f762fd4062faeba97f8f2bc470298ec1ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 531a09b6a334d7cf31cafb114f2f63654011546996f0c9ce1c2252eeb30aaa71 [INFO] running `Command { std: "docker" "start" "-a" "531a09b6a334d7cf31cafb114f2f63654011546996f0c9ce1c2252eeb30aaa71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531a09b6a334d7cf31cafb114f2f63654011546996f0c9ce1c2252eeb30aaa71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531a09b6a334d7cf31cafb114f2f63654011546996f0c9ce1c2252eeb30aaa71", kill_on_drop: false }` [INFO] [stdout] 531a09b6a334d7cf31cafb114f2f63654011546996f0c9ce1c2252eeb30aaa71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf555b7ca68e7e62495db058008b911217d01b4f669f558ff219bc09bdc89217 [INFO] running `Command { std: "docker" "start" "-a" "bf555b7ca68e7e62495db058008b911217d01b4f669f558ff219bc09bdc89217", 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: 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) -> 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] [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) -> 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "bf555b7ca68e7e62495db058008b911217d01b4f669f558ff219bc09bdc89217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf555b7ca68e7e62495db058008b911217d01b4f669f558ff219bc09bdc89217", kill_on_drop: false }` [INFO] [stdout] bf555b7ca68e7e62495db058008b911217d01b4f669f558ff219bc09bdc89217