[INFO] cloning repository https://github.com/IsmaelBortoluzzi/Risc-V-Interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IsmaelBortoluzzi/Risc-V-Interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsmaelBortoluzzi%2FRisc-V-Interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsmaelBortoluzzi%2FRisc-V-Interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d23843351b158bd3356637f0ebe59834d95f73a9 [INFO] checking IsmaelBortoluzzi/Risc-V-Interpreter/d23843351b158bd3356637f0ebe59834d95f73a9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsmaelBortoluzzi%2FRisc-V-Interpreter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IsmaelBortoluzzi/Risc-V-Interpreter on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IsmaelBortoluzzi/Risc-V-Interpreter [INFO] finished tweaking git repo https://github.com/IsmaelBortoluzzi/Risc-V-Interpreter [INFO] tweaked toml for git repo https://github.com/IsmaelBortoluzzi/Risc-V-Interpreter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/IsmaelBortoluzzi/Risc-V-Interpreter 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38632989c4304be1457b1d483e1dae3331dc65a7cbf98d710f7dae4d5e6e48a4 [INFO] running `Command { std: "docker" "start" "-a" "38632989c4304be1457b1d483e1dae3331dc65a7cbf98d710f7dae4d5e6e48a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38632989c4304be1457b1d483e1dae3331dc65a7cbf98d710f7dae4d5e6e48a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38632989c4304be1457b1d483e1dae3331dc65a7cbf98d710f7dae4d5e6e48a4", kill_on_drop: false }` [INFO] [stdout] 38632989c4304be1457b1d483e1dae3331dc65a7cbf98d710f7dae4d5e6e48a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6975934a1319b92431c613e09a2bb062981b834fb99673c76d1d9bd188f5e2c8 [INFO] running `Command { std: "docker" "start" "-a" "6975934a1319b92431c613e09a2bb062981b834fb99673c76d1d9bd188f5e2c8", kill_on_drop: false }` [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/instructions/I_type/load_utils.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | instruction: &Vec<&str>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instructions/I_type/load_utils.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | registers: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instructions/I_type/load_utils.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | data: &mut HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instructions/S_type/utils.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn exec_sb(instr: &mut SType, data: &mut HashMap, stack: &mut Stack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/instructions/S_type/utils.rs:98:80 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn exec_sb(instr: &mut SType, data: &mut HashMap, stack: &mut Stack) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instructions/pseudo/pseudo.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | data: &mut HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/instructions/pseudo/pseudo.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | labels: &mut HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/instructions/B_type/B_type.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub label: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `R_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod R_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `r_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `I_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod I_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `i_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `B_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod B_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `b_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `J_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod J_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `j_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `S_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod S_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `s_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `R_type` should have a snake case name [INFO] [stdout] --> src/instructions/R_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod R_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `r_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `I_type` should have a snake case name [INFO] [stdout] --> src/instructions/I_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod I_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `i_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `B_type` should have a snake case name [INFO] [stdout] --> src/instructions/B_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod B_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `b_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `J_type` should have a snake case name [INFO] [stdout] --> src/instructions/J_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod J_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `j_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `S_type` should have a snake case name [INFO] [stdout] --> src/instructions/S_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod S_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `s_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `J_type_pseudo` should have a snake case name [INFO] [stdout] --> src/instructions/pseudo/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod J_type_pseudo; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `j_type_pseudo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `I_type_pseudo` should have a snake case name [INFO] [stdout] --> src/instructions/pseudo/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod I_type_pseudo; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `i_type_pseudo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `R_type_pseudo` should have a snake case name [INFO] [stdout] --> src/instructions/pseudo/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod R_type_pseudo; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `r_type_pseudo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/instructions/I_type/load_utils.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | instruction: &Vec<&str>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instructions/I_type/load_utils.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | registers: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instructions/I_type/load_utils.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | data: &mut HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instructions/S_type/utils.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn exec_sb(instr: &mut SType, data: &mut HashMap, stack: &mut Stack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/instructions/S_type/utils.rs:98:80 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn exec_sb(instr: &mut SType, data: &mut HashMap, stack: &mut Stack) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/instructions/pseudo/pseudo.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | data: &mut HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/instructions/pseudo/pseudo.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | labels: &mut HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/instructions/B_type/B_type.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BType { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub label: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `R_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod R_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `r_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `I_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod I_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `i_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `B_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod B_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `b_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `J_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod J_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `j_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `S_type` should have a snake case name [INFO] [stdout] --> src/instructions/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod S_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `s_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `R_type` should have a snake case name [INFO] [stdout] --> src/instructions/R_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod R_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `r_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `I_type` should have a snake case name [INFO] [stdout] --> src/instructions/I_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod I_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `i_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `B_type` should have a snake case name [INFO] [stdout] --> src/instructions/B_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod B_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `b_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `J_type` should have a snake case name [INFO] [stdout] --> src/instructions/J_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod J_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `j_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `S_type` should have a snake case name [INFO] [stdout] --> src/instructions/S_type/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod S_type; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `s_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `J_type_pseudo` should have a snake case name [INFO] [stdout] --> src/instructions/pseudo/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod J_type_pseudo; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `j_type_pseudo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `I_type_pseudo` should have a snake case name [INFO] [stdout] --> src/instructions/pseudo/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod I_type_pseudo; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `i_type_pseudo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `R_type_pseudo` should have a snake case name [INFO] [stdout] --> src/instructions/pseudo/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod R_type_pseudo; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `r_type_pseudo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "6975934a1319b92431c613e09a2bb062981b834fb99673c76d1d9bd188f5e2c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6975934a1319b92431c613e09a2bb062981b834fb99673c76d1d9bd188f5e2c8", kill_on_drop: false }` [INFO] [stdout] 6975934a1319b92431c613e09a2bb062981b834fb99673c76d1d9bd188f5e2c8