[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] building PTNobel/RISC-V-Assembler against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPTNobel%2FRISC-V-Assembler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PTNobel/RISC-V-Assembler on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha-1 v0.7.0 [INFO] [stderr] Downloaded pest v2.0.1 [INFO] [stderr] Downloaded pest_meta v2.0.3 [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded pest_generator v2.0.0 [INFO] [stderr] Downloaded pest_derive v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22d9cb46121ed6d50728795420cf84c09e57a59ddb5eccb0bc377ec8e852881c [INFO] running `Command { std: "docker" "start" "-a" "22d9cb46121ed6d50728795420cf84c09e57a59ddb5eccb0bc377ec8e852881c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22d9cb46121ed6d50728795420cf84c09e57a59ddb5eccb0bc377ec8e852881c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d9cb46121ed6d50728795420cf84c09e57a59ddb5eccb0bc377ec8e852881c", kill_on_drop: false }` [INFO] [stdout] 22d9cb46121ed6d50728795420cf84c09e57a59ddb5eccb0bc377ec8e852881c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18630e245caf797934543457145899bcad3c38ee951a238ebe65e3d19f1b5190 [INFO] running `Command { std: "docker" "start" "-a" "18630e245caf797934543457145899bcad3c38ee951a238ebe65e3d19f1b5190", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [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] Compiling 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: struct `GrammarParser` is never constructed [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct GrammarParser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionLiterals` is never constructed [INFO] [stdout] --> src/instructions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct InstructionLiterals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instructions.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl InstructionLiterals { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 9 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [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 `new` is never used [INFO] [stdout] --> src/instructions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Register { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instructions.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_word` is never used [INFO] [stdout] --> src/instructions.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 87 | pub fn to_word(&self) -> [bool; 32] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bit_array_to_byte_array` is never used [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "18630e245caf797934543457145899bcad3c38ee951a238ebe65e3d19f1b5190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18630e245caf797934543457145899bcad3c38ee951a238ebe65e3d19f1b5190", kill_on_drop: false }` [INFO] [stdout] 18630e245caf797934543457145899bcad3c38ee951a238ebe65e3d19f1b5190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5a2f84512624cafd7b46496eed271ab7d24bc7607c28f3a2c9541001237ac97 [INFO] running `Command { std: "docker" "start" "-a" "e5a2f84512624cafd7b46496eed271ab7d24bc7607c28f3a2c9541001237ac97", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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: struct `GrammarParser` is never constructed [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct GrammarParser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionLiterals` is never constructed [INFO] [stdout] --> src/instructions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct InstructionLiterals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instructions.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl InstructionLiterals { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 9 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I`, `S`, `SB`, `U`, and `UJ` are never constructed [INFO] [stdout] --> src/instructions.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | I { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 60 | S { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | SB { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 74 | U { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 79 | UJ { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e5a2f84512624cafd7b46496eed271ab7d24bc7607c28f3a2c9541001237ac97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a2f84512624cafd7b46496eed271ab7d24bc7607c28f3a2c9541001237ac97", kill_on_drop: false }` [INFO] [stdout] e5a2f84512624cafd7b46496eed271ab7d24bc7607c28f3a2c9541001237ac97