[INFO] cloning repository https://github.com/iammadab/lc3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iammadab/lc3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiammadab%2Flc3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiammadab%2Flc3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3dadaf4cb5f3296f5c8e800813d09bd6d50d09d [INFO] checking iammadab/lc3 against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiammadab%2Flc3" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iammadab/lc3 on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iammadab/lc3 [INFO] finished tweaking git repo https://github.com/iammadab/lc3 [INFO] tweaked toml for git repo https://github.com/iammadab/lc3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iammadab/lc3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c8ed19278ce6f049fde7a8964ff63629a2f0e299037324b7eab97a02fedb741 [INFO] running `Command { std: "docker" "start" "-a" "2c8ed19278ce6f049fde7a8964ff63629a2f0e299037324b7eab97a02fedb741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c8ed19278ce6f049fde7a8964ff63629a2f0e299037324b7eab97a02fedb741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8ed19278ce6f049fde7a8964ff63629a2f0e299037324b7eab97a02fedb741", kill_on_drop: false }` [INFO] [stdout] 2c8ed19278ce6f049fde7a8964ff63629a2f0e299037324b7eab97a02fedb741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19550329311cf6742cb2267d588eddd4cd77ff4dd6d34c2af27107a1d53519ad [INFO] running `Command { std: "docker" "start" "-a" "19550329311cf6742cb2267d588eddd4cd77ff4dd6d34c2af27107a1d53519ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking lc3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Register` [INFO] [stdout] --> src/decode_instruction.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vm::{sext, Opcode, Register}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/decode_instruction.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/display.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{format, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Register` [INFO] [stdout] --> src/decode_instruction.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vm::{sext, Opcode, Register}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/decode_instruction.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/display.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{format, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/display.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{format, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `decode_instruction` [INFO] [stdout] --> src/decode_instruction.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn decode_instruction(instruction: u16) -> DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `decode_instruction` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `add_opcode` [INFO] [stdout] --> src/opcodes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn add_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `add_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `ldi_opcode` [INFO] [stdout] --> src/opcodes.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn ldi_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `ldi_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `br_opcode` [INFO] [stdout] --> src/opcodes.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn br_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `br_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `ld_opcode` [INFO] [stdout] --> src/opcodes.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn ld_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `ld_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `ldr_opcode` [INFO] [stdout] --> src/opcodes.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn ldr_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `ldr_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `lea_opcode` [INFO] [stdout] --> src/opcodes.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn lea_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `lea_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `st_opcode` [INFO] [stdout] --> src/opcodes.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn st_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `st_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `sti_opcode` [INFO] [stdout] --> src/opcodes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn sti_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `sti_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `str_opcode` [INFO] [stdout] --> src/opcodes.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn str_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `str_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `and_opcode` [INFO] [stdout] --> src/opcodes.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn and_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `and_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `not_opcode` [INFO] [stdout] --> src/opcodes.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn not_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `not_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `jmp_opcode` [INFO] [stdout] --> src/opcodes.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn jmp_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `jmp_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `jsr_opcode` [INFO] [stdout] --> src/opcodes.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn jsr_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `jsr_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `trap_opcode` [INFO] [stdout] --> src/opcodes.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn trap_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `trap_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/display.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{format, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `decode_instruction` [INFO] [stdout] --> src/decode_instruction.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn decode_instruction(instruction: u16) -> DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `decode_instruction` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `add_opcode` [INFO] [stdout] --> src/opcodes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn add_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `add_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `ldi_opcode` [INFO] [stdout] --> src/opcodes.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn ldi_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `ldi_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `br_opcode` [INFO] [stdout] --> src/opcodes.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn br_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `br_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `ld_opcode` [INFO] [stdout] --> src/opcodes.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn ld_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `ld_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `ldr_opcode` [INFO] [stdout] --> src/opcodes.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn ldr_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `ldr_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `lea_opcode` [INFO] [stdout] --> src/opcodes.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn lea_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `lea_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `st_opcode` [INFO] [stdout] --> src/opcodes.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn st_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `st_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `sti_opcode` [INFO] [stdout] --> src/opcodes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn sti_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `sti_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `str_opcode` [INFO] [stdout] --> src/opcodes.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn str_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `str_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `and_opcode` [INFO] [stdout] --> src/opcodes.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn and_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `and_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `not_opcode` [INFO] [stdout] --> src/opcodes.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn not_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `not_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `jmp_opcode` [INFO] [stdout] --> src/opcodes.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn jmp_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `jmp_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `jsr_opcode` [INFO] [stdout] --> src/opcodes.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn jsr_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `jsr_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecodedInstruction` is more private than the item `trap_opcode` [INFO] [stdout] --> src/opcodes.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn trap_opcode(vm: &mut VM, instruction: DecodedInstruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `trap_opcode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecodedInstruction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/decode_instruction.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct DecodedInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.49s [INFO] running `Command { std: "docker" "inspect" "19550329311cf6742cb2267d588eddd4cd77ff4dd6d34c2af27107a1d53519ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19550329311cf6742cb2267d588eddd4cd77ff4dd6d34c2af27107a1d53519ad", kill_on_drop: false }` [INFO] [stdout] 19550329311cf6742cb2267d588eddd4cd77ff4dd6d34c2af27107a1d53519ad