[INFO] cloning repository https://github.com/PTNobel/RISC-V-Assembler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PTNobel/RISC-V-Assembler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPTNobel%2FRISC-V-Assembler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPTNobel%2FRISC-V-Assembler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18043a60fa86a33fe737f7dd8ff01e638e508cba [INFO] checking PTNobel/RISC-V-Assembler against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPTNobel%2FRISC-V-Assembler" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PTNobel/RISC-V-Assembler on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PTNobel/RISC-V-Assembler [INFO] finished tweaking git repo https://github.com/PTNobel/RISC-V-Assembler [INFO] tweaked toml for git repo https://github.com/PTNobel/RISC-V-Assembler written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/PTNobel/RISC-V-Assembler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 493975603c828b22d0382a52b5ff7749c486529d71a0cc788645251d46176d76 [INFO] running `Command { std: "docker" "start" "-a" "493975603c828b22d0382a52b5ff7749c486529d71a0cc788645251d46176d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "493975603c828b22d0382a52b5ff7749c486529d71a0cc788645251d46176d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493975603c828b22d0382a52b5ff7749c486529d71a0cc788645251d46176d76", kill_on_drop: false }` [INFO] [stdout] 493975603c828b22d0382a52b5ff7749c486529d71a0cc788645251d46176d76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68a714adf7d8ec76eb79cc3b35cec1e44e5844b45de6658fbdbf080a1ff0f406 [INFO] running `Command { std: "docker" "start" "-a" "68a714adf7d8ec76eb79cc3b35cec1e44e5844b45de6658fbdbf080a1ff0f406", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pest v2.0.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Checking riscv_assembler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/instructions.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/instructions.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^ help: try ignoring the field: `rd: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/instructions.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/instructions.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/instructions.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/instructions.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs2` [INFO] [stdout] --> src/instructions.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:123:54 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/instructions.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/instructions.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs2` [INFO] [stdout] --> src/instructions.rs:124:50 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:124:55 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | Instruction::U{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/instructions.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | Instruction::U{opcode, rd, imm} => {}, [INFO] [stdout] | ^^ help: try ignoring the field: `rd: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | Instruction::U{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | Instruction::UJ{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/instructions.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | Instruction::UJ{opcode, rd, imm} => {}, [INFO] [stdout] | ^^ help: try ignoring the field: `rd: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:126:41 [INFO] [stdout] | [INFO] [stdout] 126 | Instruction::UJ{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/instructions.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/instructions.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^ help: try ignoring the field: `rd: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/instructions.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/instructions.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::I{opcode, rd, funct3, rs1, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/instructions.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/instructions.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs2` [INFO] [stdout] --> src/instructions.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:123:54 [INFO] [stdout] | [INFO] [stdout] 123 | Instruction::S{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funct3` [INFO] [stdout] --> src/instructions.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `funct3: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs1` [INFO] [stdout] --> src/instructions.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rs2` [INFO] [stdout] --> src/instructions.rs:124:50 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `rs2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:124:55 [INFO] [stdout] | [INFO] [stdout] 124 | Instruction::SB{opcode, funct3, rs1, rs2, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | Instruction::U{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/instructions.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | Instruction::U{opcode, rd, imm} => {}, [INFO] [stdout] | ^^ help: try ignoring the field: `rd: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | Instruction::U{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/instructions.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | Instruction::UJ{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `opcode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/instructions.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | Instruction::UJ{opcode, rd, imm} => {}, [INFO] [stdout] | ^^ help: try ignoring the field: `rd: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/instructions.rs:126:41 [INFO] [stdout] | [INFO] [stdout] 126 | Instruction::UJ{opcode, rd, imm} => {}, [INFO] [stdout] | ^^^ help: try ignoring the field: `imm: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InstructionLiterals` [INFO] [stdout] --> src/instructions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct InstructionLiterals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instructions.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `I` [INFO] [stdout] --> src/instructions.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | / I { [INFO] [stdout] 53 | | opcode: [bool; 7], [INFO] [stdout] 54 | | rd: Register, [INFO] [stdout] 55 | | funct3: [bool; 3], [INFO] [stdout] ... | [INFO] [stdout] 58 | | [INFO] [stdout] 59 | | }, [INFO] [stdout] | |____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S` [INFO] [stdout] --> src/instructions.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | / S { [INFO] [stdout] 61 | | opcode: [bool; 7], [INFO] [stdout] 62 | | funct3: [bool; 3], [INFO] [stdout] 63 | | rs1: Register, [INFO] [stdout] 64 | | rs2: Register, [INFO] [stdout] 65 | | imm: [bool; 11], [INFO] [stdout] 66 | | }, [INFO] [stdout] | |____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SB` [INFO] [stdout] --> src/instructions.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | / SB { [INFO] [stdout] 68 | | opcode: [bool; 7], [INFO] [stdout] 69 | | funct3: [bool; 3], [INFO] [stdout] 70 | | rs1: Register, [INFO] [stdout] 71 | | rs2: Register, [INFO] [stdout] 72 | | imm: [bool; 12], [INFO] [stdout] 73 | | }, [INFO] [stdout] | |____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U` [INFO] [stdout] --> src/instructions.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | / U { [INFO] [stdout] 75 | | opcode: [bool; 7], [INFO] [stdout] 76 | | rd: Register, [INFO] [stdout] 77 | | imm: [bool; 20] [INFO] [stdout] 78 | | }, [INFO] [stdout] | |____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UJ` [INFO] [stdout] --> src/instructions.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | / UJ { [INFO] [stdout] 80 | | opcode: [bool; 7], [INFO] [stdout] 81 | | rd: Register, [INFO] [stdout] 82 | | imm: [bool; 20] [INFO] [stdout] 83 | | } [INFO] [stdout] | |____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InstructionLiterals` [INFO] [stdout] --> src/instructions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct InstructionLiterals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instructions.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Register` [INFO] [stdout] --> src/instructions.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Register([bool; 5]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instructions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Instruction` [INFO] [stdout] --> src/instructions.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_word` [INFO] [stdout] --> src/instructions.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn to_word(&self) -> [bool; 32] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_bit_array_to_byte_array` [INFO] [stdout] --> src/instructions.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn convert_bit_array_to_byte_array(bit_array: [bool; 32]) -> [u8; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.71s [INFO] running `Command { std: "docker" "inspect" "68a714adf7d8ec76eb79cc3b35cec1e44e5844b45de6658fbdbf080a1ff0f406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a714adf7d8ec76eb79cc3b35cec1e44e5844b45de6658fbdbf080a1ff0f406", kill_on_drop: false }` [INFO] [stdout] 68a714adf7d8ec76eb79cc3b35cec1e44e5844b45de6658fbdbf080a1ff0f406