[INFO] cloning repository https://github.com/zinstack625/mtemu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zinstack625/mtemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzinstack625%2Fmtemu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzinstack625%2Fmtemu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae4853958c4deeb88327728394cdfd77ab5fe3d7
[INFO] checking zinstack625/mtemu against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzinstack625%2Fmtemu" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/zinstack625/mtemu
[INFO] finished tweaking git repo https://github.com/zinstack625/mtemu
[INFO] tweaked toml for git repo https://github.com/zinstack625/mtemu written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zinstack625/mtemu on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zinstack625/mtemu 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gsk4-sys v0.7.3
[INFO] [stderr]   Downloaded temp-dir v0.1.11
[INFO] [stderr]   Downloaded cairo-sys-rs v0.18.2
[INFO] [stderr]   Downloaded gdk-pixbuf-sys v0.18.0
[INFO] [stderr]   Downloaded graphene-sys v0.18.1
[INFO] [stderr]   Downloaded locale_config v0.3.0
[INFO] [stderr]   Downloaded gobject-sys v0.18.0
[INFO] [stderr]   Downloaded gdk-pixbuf v0.18.0
[INFO] [stderr]   Downloaded gettext-rs v0.7.0
[INFO] [stderr]   Downloaded semver v1.0.19
[INFO] [stderr]   Downloaded glib-sys v0.18.1
[INFO] [stderr]   Downloaded gdk4 v0.7.3
[INFO] [stderr]   Downloaded gtk4-sys v0.7.3
[INFO] [stderr]   Downloaded libadwaita v0.5.3
[INFO] [stderr]   Downloaded hashbrown v0.14.1
[INFO] [stderr]   Downloaded aho-corasick v1.1.1
[INFO] [stderr]   Downloaded winnow v0.5.16
[INFO] [stderr]   Downloaded gio-sys v0.18.1
[INFO] [stderr]   Downloaded regex v1.9.6
[INFO] [stderr]   Downloaded gio v0.18.2
[INFO] [stderr]   Downloaded glib-macros v0.18.2
[INFO] [stderr]   Downloaded glib v0.18.2
[INFO] [stderr]   Downloaded toml_edit v0.20.2
[INFO] [stderr]   Downloaded indexmap v2.0.2
[INFO] [stderr]   Downloaded cairo-rs v0.18.2
[INFO] [stderr]   Downloaded graphene-rs v0.18.1
[INFO] [stderr]   Downloaded gsk4 v0.7.3
[INFO] [stderr]   Downloaded gdk4-sys v0.7.2
[INFO] [stderr]   Downloaded pango v0.18.0
[INFO] [stderr]   Downloaded libadwaita-sys v0.5.3
[INFO] [stderr]   Downloaded cfg-expr v0.15.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.68
[INFO] [stderr]   Downloaded gtk4 v0.7.3
[INFO] [stderr]   Downloaded gtk4-macros v0.7.2
[INFO] [stderr]   Downloaded target-lexicon v0.12.11
[INFO] [stderr]   Downloaded toml v0.8.2
[INFO] [stderr]   Downloaded system-deps v6.1.2
[INFO] [stderr]   Downloaded pango-sys v0.18.0
[INFO] [stderr]   Downloaded gettext-sys v0.21.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 055c759fcd7a9bb03e459d0849cc99abf715807b9e5a0b86713097df3fc67475
[INFO] running `Command { std: "docker" "start" "-a" "055c759fcd7a9bb03e459d0849cc99abf715807b9e5a0b86713097df3fc67475", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "055c759fcd7a9bb03e459d0849cc99abf715807b9e5a0b86713097df3fc67475", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "055c759fcd7a9bb03e459d0849cc99abf715807b9e5a0b86713097df3fc67475", kill_on_drop: false }`
[INFO] [stdout] 055c759fcd7a9bb03e459d0849cc99abf715807b9e5a0b86713097df3fc67475
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 14daeaf150a24397268828634470b77d82105ca5f500ae2453bab11380c05e40
[INFO] running `Command { std: "docker" "start" "-a" "14daeaf150a24397268828634470b77d82105ca5f500ae2453bab11380c05e40", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling hashbrown v0.14.1
[INFO] [stderr]    Compiling winnow v0.5.16
[INFO] [stderr]    Compiling target-lexicon v0.12.11
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.68
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]    Compiling gio v0.18.2
[INFO] [stderr]    Compiling semver v1.0.19
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking regex-syntax v0.7.5
[INFO] [stderr]    Compiling temp-dir v0.1.11
[INFO] [stderr]     Checking futures-channel v0.3.28
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking aho-corasick v1.1.1
[INFO] [stderr]    Compiling mtemu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling field-offset v0.3.6
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling cfg-expr v0.15.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling gettext-sys v0.21.3
[INFO] [stderr]     Checking regex-automata v0.3.9
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.3
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking regex v1.9.6
[INFO] [stderr]    Compiling glib-macros v0.18.2
[INFO] [stderr]    Compiling gtk4-macros v0.7.2
[INFO] [stderr]     Checking locale_config v0.3.0
[INFO] [stderr]     Checking gettext-rs v0.7.0
[INFO] [stderr]    Compiling toml v0.8.2
[INFO] [stderr]    Compiling system-deps v6.1.2
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]    Compiling glib-sys v0.18.1
[INFO] [stderr]    Compiling gobject-sys v0.18.0
[INFO] [stderr]    Compiling gio-sys v0.18.1
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.18.0
[INFO] [stderr]    Compiling pango-sys v0.18.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.18.2
[INFO] [stderr]    Compiling gdk4-sys v0.7.2
[INFO] [stderr]    Compiling graphene-sys v0.18.1
[INFO] [stderr]    Compiling gsk4-sys v0.7.3
[INFO] [stderr]    Compiling gtk4-sys v0.7.3
[INFO] [stderr]    Compiling libadwaita-sys v0.5.3
[INFO] [stderr]     Checking glib v0.18.2
[INFO] [stderr]     Checking cairo-rs v0.18.2
[INFO] [stderr]     Checking graphene-rs v0.18.1
[INFO] [stderr]     Checking pango v0.18.0
[INFO] [stderr]     Checking gdk-pixbuf v0.18.0
[INFO] [stderr]     Checking gdk4 v0.7.3
[INFO] [stderr]     Checking gsk4 v0.7.3
[INFO] [stderr]     Checking gtk4 v0.7.3
[INFO] [stderr]     Checking libadwaita v0.5.3
[INFO] [stdout] warning: unused import: `glib::closure_local`
[INFO] [stdout]   --> src/ui/code_view_pane/editor.rs:29:68
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use gtk::{prelude::ObjectExt, traits::{EntryExt, EditableExt}, glib::closure_local};
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glib::closure_local`
[INFO] [stdout]   --> src/ui/code_view_pane/editor.rs:29:68
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use gtk::{prelude::ObjectExt, traits::{EntryExt, EditableExt}, glib::closure_local};
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RefCell`
[INFO] [stdout]   --> src/ui/line_builder_pane/mod.rs:78:50
[INFO] [stdout]    |
[INFO] [stdout] 78 |     use std::{collections::HashMap, cell::{Cell, RefCell}};
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RefCell`
[INFO] [stdout]   --> src/ui/line_builder_pane/mod.rs:78:50
[INFO] [stdout]    |
[INFO] [stdout] 78 |     use std::{collections::HashMap, cell::{Cell, RefCell}};
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/emulator/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `c_char`
[INFO] [stdout]   --> src/emulator/mod.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | use libc::{self, c_char};
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/emulator/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `c_char`
[INFO] [stdout]   --> src/emulator/mod.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | use libc::{self, c_char};
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]     --> src/application.rs:1609:34
[INFO] [stdout]      |
[INFO] [stdout] 1609 |     fn paste_metacommands(&self, window: &command_view::CommandWindow, data: Option<GString>) {
[INFO] [stdout]      |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]     --> src/application.rs:1609:72
[INFO] [stdout]      |
[INFO] [stdout] 1609 |     fn paste_metacommands(&self, window: &command_view::CommandWindow, data: Option<GString>) {
[INFO] [stdout]      |                                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]     --> src/application.rs:1609:34
[INFO] [stdout]      |
[INFO] [stdout] 1609 |     fn paste_metacommands(&self, window: &command_view::CommandWindow, data: Option<GString>) {
[INFO] [stdout]      |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]     --> src/application.rs:1609:72
[INFO] [stdout]      |
[INFO] [stdout] 1609 |     fn paste_metacommands(&self, window: &command_view::CommandWindow, data: Option<GString>) {
[INFO] [stdout]      |                                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Port` is never constructed
[INFO] [stdout]    --> src/emulator/mod.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct Port {}
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SerialPort` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:161:7
[INFO] [stdout]     |
[INFO] [stdout] 161 | trait SerialPort {}
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/emulator/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub trait MT1804Emulator {
[INFO] [stdout]     |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn update_command(&mut self, index: usize, cmd: &Command);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 168 |     fn last_command(&self) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 169 |     fn remove_command(&mut self, index: usize);
[INFO] [stdout] 170 |     fn move_command(&mut self, index: usize, new_pos: usize);
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 171 |     fn commands_count(&self) -> usize;
[INFO] [stdout] 172 |     fn executed_command(&self) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn exec_all(&mut self);
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 176 |     fn get_next_index(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 177 |     fn get_prev_index(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn set_pc(&mut self, index: usize);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 181 |     fn get_sp(&self) -> usize;
[INFO] [stdout] 182 |     fn set_sp(&mut self, index: usize);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn get_port(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 186 |     fn get_mem_value(&self, index: usize) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 187 |     fn get_mem_length(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn get_prev_reg_q(&self) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 194 |     fn get_prev_reg_a(&self) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 195 |     fn get_prev_reg_b(&self) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 196 |     fn get_r(&self) -> u8;
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 197 |     fn get_s(&self) -> u8;
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     fn update_map_call(&mut self, libcall: &LibCall);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 212 |     fn get_map_calls(&self) -> Vec<LibCall>;
[INFO] [stdout] 213 |     fn last_call(&self) -> Call;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_update_command` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn emulator_update_command(_: *mut Emulator, _: i32, _: Command) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_last_command` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn emulator_last_command(_: *mut Emulator) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_executed_command` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn emulator_executed_command(_: *mut Emulator) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_exec_all` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn emulator_exec_all(_: *mut Emulator) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_next_index` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn emulator_get_next_index(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_index` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn emulator_get_prev_index(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_set_pc` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn emulator_set_pc(_: *mut Emulator, _: i32) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_set_sp` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn emulator_set_sp(_: *mut Emulator, _: i32) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_port` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn emulator_get_port(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_mem_value` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn emulator_get_mem_value(_: *mut Emulator, _: i32) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_mem_length` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn emulator_get_mem_length(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_reg_q` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 |     fn emulator_get_prev_reg_q(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_reg_a` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn emulator_get_prev_reg_a(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_reg_b` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn emulator_get_prev_reg_b(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_r` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn emulator_get_r(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_s` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn emulator_get_s(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_update_map_call` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn emulator_update_map_call(_: *mut Emulator, _: i32, _: *const libc::c_char, _: i32) -> bool;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_last_call` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn emulator_last_call(_: *mut Emulator) -> Call;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isOffset` should have a snake case name
[INFO] [stdout]   --> src/emulator/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     isOffset: i32,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `is_offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Port` is never constructed
[INFO] [stdout]    --> src/emulator/mod.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct Port {}
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SerialPort` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:161:7
[INFO] [stdout]     |
[INFO] [stdout] 161 | trait SerialPort {}
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/emulator/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub trait MT1804Emulator {
[INFO] [stdout]     |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn update_command(&mut self, index: usize, cmd: &Command);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 168 |     fn last_command(&self) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 169 |     fn remove_command(&mut self, index: usize);
[INFO] [stdout] 170 |     fn move_command(&mut self, index: usize, new_pos: usize);
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 171 |     fn commands_count(&self) -> usize;
[INFO] [stdout] 172 |     fn executed_command(&self) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn exec_all(&mut self);
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 176 |     fn get_next_index(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 177 |     fn get_prev_index(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn set_pc(&mut self, index: usize);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 181 |     fn get_sp(&self) -> usize;
[INFO] [stdout] 182 |     fn set_sp(&mut self, index: usize);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn get_port(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 186 |     fn get_mem_value(&self, index: usize) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 187 |     fn get_mem_length(&self) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn get_prev_reg_q(&self) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 194 |     fn get_prev_reg_a(&self) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 195 |     fn get_prev_reg_b(&self) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 196 |     fn get_r(&self) -> u8;
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 197 |     fn get_s(&self) -> u8;
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     fn update_map_call(&mut self, libcall: &LibCall);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 212 |     fn get_map_calls(&self) -> Vec<LibCall>;
[INFO] [stdout] 213 |     fn last_call(&self) -> Call;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_update_command` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn emulator_update_command(_: *mut Emulator, _: i32, _: Command) -> u8;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_last_command` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn emulator_last_command(_: *mut Emulator) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_executed_command` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn emulator_executed_command(_: *mut Emulator) -> Command;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_exec_all` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn emulator_exec_all(_: *mut Emulator) -> usize;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_next_index` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn emulator_get_next_index(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_index` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn emulator_get_prev_index(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_set_pc` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn emulator_set_pc(_: *mut Emulator, _: i32) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_set_sp` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn emulator_set_sp(_: *mut Emulator, _: i32) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_port` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn emulator_get_port(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_mem_value` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn emulator_get_mem_value(_: *mut Emulator, _: i32) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_mem_length` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn emulator_get_mem_length(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_reg_q` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 |     fn emulator_get_prev_reg_q(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_reg_a` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn emulator_get_prev_reg_a(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_prev_reg_b` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn emulator_get_prev_reg_b(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_r` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn emulator_get_r(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_get_s` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn emulator_get_s(_: *mut Emulator) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_update_map_call` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn emulator_update_map_call(_: *mut Emulator, _: i32, _: *const libc::c_char, _: i32) -> bool;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `emulator_last_call` is never used
[INFO] [stdout]    --> src/emulator/mod.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn emulator_last_call(_: *mut Emulator) -> Call;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isOffset` should have a snake case name
[INFO] [stdout]   --> src/emulator/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     isOffset: i32,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `is_offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "14daeaf150a24397268828634470b77d82105ca5f500ae2453bab11380c05e40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14daeaf150a24397268828634470b77d82105ca5f500ae2453bab11380c05e40", kill_on_drop: false }`
[INFO] [stdout] 14daeaf150a24397268828634470b77d82105ca5f500ae2453bab11380c05e40
