[INFO] cloning repository https://github.com/ludde127/Risc-v-compiler-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ludde127/Risc-v-compiler-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fludde127%2FRisc-v-compiler-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fludde127%2FRisc-v-compiler-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fd78795e335a1e58db2180aaf13b40fe39b57cb [INFO] checking ludde127/Risc-v-compiler-lang against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fludde127%2FRisc-v-compiler-lang" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ludde127/Risc-v-compiler-lang on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ludde127/Risc-v-compiler-lang [INFO] finished tweaking git repo https://github.com/ludde127/Risc-v-compiler-lang [INFO] tweaked toml for git repo https://github.com/ludde127/Risc-v-compiler-lang written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ludde127/Risc-v-compiler-lang 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: symlink ../c1cdc943cab566756f8100e1412fd1cc11bd6b7411c1f1bce88809b2c1d40a99-init/diff /var/lib/docker/overlay2/l/MHUC2WIQQUAGOFYFLYPV6GMETL: no space left on device [INFO] checking ludde127/Risc-v-compiler-lang against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fludde127%2FRisc-v-compiler-lang" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ludde127/Risc-v-compiler-lang on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ludde127/Risc-v-compiler-lang [INFO] finished tweaking git repo https://github.com/ludde127/Risc-v-compiler-lang [INFO] tweaked toml for git repo https://github.com/ludde127/Risc-v-compiler-lang written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ludde127/Risc-v-compiler-lang 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f36083eb48ba965a454416e3065e1ff06b15ed9f04c2abbb20fd2473db81d676 [INFO] running `Command { std: "docker" "start" "-a" "f36083eb48ba965a454416e3065e1ff06b15ed9f04c2abbb20fd2473db81d676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f36083eb48ba965a454416e3065e1ff06b15ed9f04c2abbb20fd2473db81d676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36083eb48ba965a454416e3065e1ff06b15ed9f04c2abbb20fd2473db81d676", kill_on_drop: false }` [INFO] [stdout] f36083eb48ba965a454416e3065e1ff06b15ed9f04c2abbb20fd2473db81d676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1f8672fab5381501d8f8c7d3b1e187e1d5dbf33bd59980c3a0a9ae5379bf119 [INFO] running `Command { std: "docker" "start" "-a" "a1f8672fab5381501d8f8c7d3b1e187e1d5dbf33bd59980c3a0a9ae5379bf119", kill_on_drop: false }` [INFO] [stderr] Checking Risc-v-compiler-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/instructions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/instructions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/instructions.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 98 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 99 | Some(code) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/instructions.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 98 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 99 | Some(code) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result_len` is never read [INFO] [stdout] --> src/instructions.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | result_len = code.len(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result_len` is never read [INFO] [stdout] --> src/instructions.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | result_len = code.len(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splat` [INFO] [stdout] --> src/instructions.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let splat = string.split(" "); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_splat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splat` [INFO] [stdout] --> src/instructions.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let splat = string.split(" "); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_splat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/instructions.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | _ => todo!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/instructions.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 198 | DestinationRegister => assert!(match data { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 202 | InputRegister => assert!(match data { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 206 | ImmediateValue12 => assert!(match data { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 210 | ImmediateValue20 => assert!(match data { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 214 | _ => todo!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/instructions.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | _ => todo!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/instructions.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 198 | DestinationRegister => assert!(match data { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 202 | InputRegister => assert!(match data { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 206 | ImmediateValue12 => assert!(match data { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 210 | ImmediateValue20 => assert!(match data { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 214 | _ => todo!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_instruction_name` is never used [INFO] [stdout] --> src/instructions.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait InstructionTrait { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 7 | //fn new(name: &str, args: &[&str]) -> Self; [INFO] [stdout] 8 | fn get_instruction_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Input` is never used [INFO] [stdout] --> src/instructions.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputType` is never used [INFO] [stdout] --> src/instructions.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum InputType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_instruction_name` is never used [INFO] [stdout] --> src/instructions.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait InstructionTrait { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 7 | //fn new(name: &str, args: &[&str]) -> Self; [INFO] [stdout] 8 | fn get_instruction_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Input` is never used [INFO] [stdout] --> src/instructions.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | Funct3(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtraInstructionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Funct3(String), [INFO] [stdout] 31 + Funct3(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputType` is never used [INFO] [stdout] --> src/instructions.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum InputType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Funct7(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtraInstructionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - Funct7(String) [INFO] [stdout] 32 + Funct7(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | Funct3(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtraInstructionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Funct3(String), [INFO] [stdout] 31 + Funct3(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `input_types` and `format_machine_instruction` are never used [INFO] [stdout] --> src/instructions.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl InstructionType { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn input_types(instruction_type: &InstructionType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn format_machine_instruction(instruction: &FilledInstruction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Funct7(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtraInstructionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - Funct7(String) [INFO] [stdout] 32 + Funct7(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/instructions.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl InputType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 113 | fn from_string(string: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilledInstruction` is never constructed [INFO] [stdout] --> src/instructions.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct FilledInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `input_types` and `format_machine_instruction` are never used [INFO] [stdout] --> src/instructions.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl InstructionType { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn input_types(instruction_type: &InstructionType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn format_machine_instruction(instruction: &FilledInstruction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/instructions.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl InputType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 113 | fn from_string(string: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `args_and_data` are never used [INFO] [stdout] --> src/instructions.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 185 | impl FilledInstruction { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 186 | fn new(instruction: Instruction, data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn args_and_data(&self) -> Vec<(InputType, Input)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilledInstruction` is never constructed [INFO] [stdout] --> src/instructions.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct FilledInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_instructions` and `add_instruction` are never used [INFO] [stdout] --> src/instruction_set.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait InstructionSet { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 6 | fn new() -> Self; [INFO] [stdout] 7 | fn get_instructions(&self) -> &Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn add_instruction(&mut self, instruction: Instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved_registers` is never read [INFO] [stdout] --> src/instruction_set.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RiscVInstructionSet { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 13 | instructions: Vec, [INFO] [stdout] 14 | reserved_registers: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `args_and_data` are never used [INFO] [stdout] --> src/instructions.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 185 | impl FilledInstruction { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 186 | fn new(instruction: Instruction, data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn args_and_data(&self) -> Vec<(InputType, Input)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionStack` is never constructed [INFO] [stdout] --> src/instruction_set.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct InstructionStack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_binary_codes` is never used [INFO] [stdout] --> src/instruction_set.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl InstructionStack { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 42 | fn to_binary_codes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_instructions` and `add_instruction` are never used [INFO] [stdout] --> src/instruction_set.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait InstructionSet { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 6 | fn new() -> Self; [INFO] [stdout] 7 | fn get_instructions(&self) -> &Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn add_instruction(&mut self, instruction: Instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved_registers` is never read [INFO] [stdout] --> src/instruction_set.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RiscVInstructionSet { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 13 | instructions: Vec, [INFO] [stdout] 14 | reserved_registers: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionStack` is never constructed [INFO] [stdout] --> src/instruction_set.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct InstructionStack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_binary_codes` is never used [INFO] [stdout] --> src/instruction_set.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl InstructionStack { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 42 | fn to_binary_codes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instruction_set.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | write!(f, "Instructions:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instruction_set.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | write!(f, "Instructions:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instruction_set.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "---{}\n", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instruction_set.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "---{}\n", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "a1f8672fab5381501d8f8c7d3b1e187e1d5dbf33bd59980c3a0a9ae5379bf119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f8672fab5381501d8f8c7d3b1e187e1d5dbf33bd59980c3a0a9ae5379bf119", kill_on_drop: false }` [INFO] [stdout] a1f8672fab5381501d8f8c7d3b1e187e1d5dbf33bd59980c3a0a9ae5379bf119