[INFO] cloning repository https://github.com/catfoot-dev/emul-4leaf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/catfoot-dev/emul-4leaf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatfoot-dev%2Femul-4leaf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatfoot-dev%2Femul-4leaf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7050ac0d78669b079baf0ea0788ffdd2fe34585a [INFO] testing catfoot-dev/emul-4leaf against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatfoot-dev%2Femul-4leaf" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/catfoot-dev/emul-4leaf [INFO] finished tweaking git repo https://github.com/catfoot-dev/emul-4leaf [INFO] tweaked toml for git repo https://github.com/catfoot-dev/emul-4leaf written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/catfoot-dev/emul-4leaf on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/catfoot-dev/emul-4leaf 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded drm-sys v0.8.0 [INFO] [stderr] Downloaded ctor-lite v0.1.0 [INFO] [stderr] Downloaded drm-ffi v0.9.0 [INFO] [stderr] Downloaded tiny-xlib v0.2.4 [INFO] [stderr] Downloaded drm-fourcc v2.2.0 [INFO] [stderr] Downloaded unicorn-engine v2.1.5 [INFO] [stderr] Downloaded scroll_derive v0.12.1 [INFO] [stderr] Downloaded scroll v0.12.0 [INFO] [stderr] Downloaded cmake v0.1.55 [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded drm v0.14.1 [INFO] [stderr] Downloaded goblin v0.8.2 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded linux-raw-sys v0.6.5 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] [stderr] Downloaded unicorn-engine-sys v2.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb0b6d37c4c231bdda2f6963477e7e471a5b5650cc9ed20a5346ecdfdbffea45 [INFO] running `Command { std: "docker" "start" "-a" "bb0b6d37c4c231bdda2f6963477e7e471a5b5650cc9ed20a5346ecdfdbffea45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb0b6d37c4c231bdda2f6963477e7e471a5b5650cc9ed20a5346ecdfdbffea45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0b6d37c4c231bdda2f6963477e7e471a5b5650cc9ed20a5346ecdfdbffea45", kill_on_drop: false }` [INFO] [stdout] bb0b6d37c4c231bdda2f6963477e7e471a5b5650cc9ed20a5346ecdfdbffea45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dfbb9fe16ce377746c9089327a1035970d06103b0f88fa73c0d1cb0e47f2a2b [INFO] running `Command { std: "docker" "start" "-a" "8dfbb9fe16ce377746c9089327a1035970d06103b0f88fa73c0d1cb0e47f2a2b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling drm-sys v0.8.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.6.5 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling cmake v0.1.55 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling ctor-lite v0.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling embedded-graphics v0.8.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling drm-ffi v0.9.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling scroll_derive v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Compiling goblin v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling drm v0.14.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling unicorn-engine-sys v2.1.5 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling softbuffer v0.4.8 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling unicorn-engine v2.1.5 [INFO] [stderr] Compiling emul-4leaf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `winit::error::EventLoopError` [INFO] [stdout] --> src/debug/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::error::EventLoopError; [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: `KeyEvent` [INFO] [stdout] --> src/debug/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::event::{ElementState, KeyEvent, WindowEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayHandle` [INFO] [stdout] --> src/debug/mod.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use winit::raw_window_handle::{HasDisplayHandle, DisplayHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/debug/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/debug/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `goblin::pe::PE` [INFO] [stdout] --> src/debug/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use goblin::pe::PE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/debug/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/debug/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/debug/mod.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/debug/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/debug/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrimitiveStyle` and `Rectangle` [INFO] [stdout] --> src/debug/mod.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | primitives::{PrimitiveStyle, Rectangle}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dump_mem` [INFO] [stdout] --> src/helper.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! dump_mem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dump_stack` [INFO] [stdout] --> src/helper.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | macro_rules! dump_stack { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dump_regs` [INFO] [stdout] --> src/helper.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | macro_rules! dump_regs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ios_base` should have an upper camel case name [INFO] [stdout] --> src/win32/dll_msvcp60/std/ios_base.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ios_base {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `IosBase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ios_base::*` [INFO] [stdout] --> src/win32/dll_msvcp60/std/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use ios_base::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::debug::{Debug, create_debug_window}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/helper.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | |uc, access, addr, size, value| [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_advapi32.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_comctl32.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_gdi32.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_imm32.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_kernel32.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_msvcp60/mod.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_msvcrt.rs:389:19 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_ole32.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_shell32.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_user32.rs:498:19 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_winmm.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_ws2_32.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> src/debug/common.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DebugCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 12 | Step, [INFO] [stdout] 13 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_hexdump` is never used [INFO] [stdout] --> src/helper.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn print_hexdump(uc: &Unicorn, address: u64, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_arg` and `pop_u32` are never used [INFO] [stdout] --> src/helper.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait UnicornHelper { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 150 | fn read_arg(&self, index: usize) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn pop_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_se_translator` is never used [INFO] [stdout] --> src/win32/dll_msvcp60/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DllMSVCP60 { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub fn set_se_translator() -> Option<(usize, Option)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ios_base` is never constructed [INFO] [stdout] --> src/win32/dll_msvcp60/std/ios_base.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ios_base {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/win32/dll_msvcp60/std/ios_base.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl ios_base { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 5 | pub fn init() -> Option<(usize, Option)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 20s [INFO] running `Command { std: "docker" "inspect" "8dfbb9fe16ce377746c9089327a1035970d06103b0f88fa73c0d1cb0e47f2a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dfbb9fe16ce377746c9089327a1035970d06103b0f88fa73c0d1cb0e47f2a2b", kill_on_drop: false }` [INFO] [stdout] 8dfbb9fe16ce377746c9089327a1035970d06103b0f88fa73c0d1cb0e47f2a2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9b92dbcfb5257ef07c8ee30aa1ba260c4ce7c48580c37e900a842550e2bc99c [INFO] running `Command { std: "docker" "start" "-a" "f9b92dbcfb5257ef07c8ee30aa1ba260c4ce7c48580c37e900a842550e2bc99c", kill_on_drop: false }` [INFO] [stderr] Compiling emul-4leaf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `winit::error::EventLoopError` [INFO] [stdout] --> src/debug/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::error::EventLoopError; [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: `KeyEvent` [INFO] [stdout] --> src/debug/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::event::{ElementState, KeyEvent, WindowEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayHandle` [INFO] [stdout] --> src/debug/mod.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use winit::raw_window_handle::{HasDisplayHandle, DisplayHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/debug/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/debug/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `goblin::pe::PE` [INFO] [stdout] --> src/debug/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use goblin::pe::PE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/debug/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/debug/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/debug/mod.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/debug/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/debug/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrimitiveStyle` and `Rectangle` [INFO] [stdout] --> src/debug/mod.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | primitives::{PrimitiveStyle, Rectangle}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dump_mem` [INFO] [stdout] --> src/helper.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! dump_mem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dump_stack` [INFO] [stdout] --> src/helper.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | macro_rules! dump_stack { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dump_regs` [INFO] [stdout] --> src/helper.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | macro_rules! dump_regs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ios_base` should have an upper camel case name [INFO] [stdout] --> src/win32/dll_msvcp60/std/ios_base.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ios_base {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `IosBase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ios_base::*` [INFO] [stdout] --> src/win32/dll_msvcp60/std/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use ios_base::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::debug::{Debug, create_debug_window}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/helper.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | |uc, access, addr, size, value| [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_advapi32.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_comctl32.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_gdi32.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_imm32.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_kernel32.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_msvcp60/mod.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_msvcrt.rs:389:19 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_ole32.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_shell32.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_user32.rs:498:19 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_winmm.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uc` [INFO] [stdout] --> src/win32/dll_ws2_32.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> src/debug/common.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DebugCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 12 | Step, [INFO] [stdout] 13 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_hexdump` is never used [INFO] [stdout] --> src/helper.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn print_hexdump(uc: &Unicorn, address: u64, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_arg` and `pop_u32` are never used [INFO] [stdout] --> src/helper.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait UnicornHelper { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 150 | fn read_arg(&self, index: usize) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn pop_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_se_translator` is never used [INFO] [stdout] --> src/win32/dll_msvcp60/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DllMSVCP60 { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub fn set_se_translator() -> Option<(usize, Option)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ios_base` is never constructed [INFO] [stdout] --> src/win32/dll_msvcp60/std/ios_base.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ios_base {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/win32/dll_msvcp60/std/ios_base.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl ios_base { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 5 | pub fn init() -> Option<(usize, Option)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "f9b92dbcfb5257ef07c8ee30aa1ba260c4ce7c48580c37e900a842550e2bc99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b92dbcfb5257ef07c8ee30aa1ba260c4ce7c48580c37e900a842550e2bc99c", kill_on_drop: false }` [INFO] [stdout] f9b92dbcfb5257ef07c8ee30aa1ba260c4ce7c48580c37e900a842550e2bc99c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bcd950b10d94f92140cf9f0a38eab251604dfd690aad160dffe1a249d0de8ed7 [INFO] running `Command { std: "docker" "start" "-a" "bcd950b10d94f92140cf9f0a38eab251604dfd690aad160dffe1a249d0de8ed7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `winit::error::EventLoopError` [INFO] [stderr] --> src/debug/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winit::error::EventLoopError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `KeyEvent` [INFO] [stderr] --> src/debug/mod.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | use winit::event::{ElementState, KeyEvent, WindowEvent}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DisplayHandle` [INFO] [stderr] --> src/debug/mod.rs:8:50 [INFO] [stderr] | [INFO] [stderr] 8 | use winit::raw_window_handle::{HasDisplayHandle, DisplayHandle}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/debug/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/debug/mod.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `goblin::pe::PE` [INFO] [stderr] --> src/debug/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use goblin::pe::PE; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/debug/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/debug/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `channel` [INFO] [stderr] --> src/debug/mod.rs:17:23 [INFO] [stderr] | [INFO] [stderr] 17 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/debug/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/debug/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PrimitiveStyle` and `Rectangle` [INFO] [stderr] --> src/debug/mod.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 28 | primitives::{PrimitiveStyle, Rectangle}, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `dump_mem` [INFO] [stderr] --> src/helper.rs:73:14 [INFO] [stderr] | [INFO] [stderr] 73 | macro_rules! dump_mem { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `dump_stack` [INFO] [stderr] --> src/helper.rs:87:14 [INFO] [stderr] | [INFO] [stderr] 87 | macro_rules! dump_stack { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `dump_regs` [INFO] [stderr] --> src/helper.rs:114:14 [INFO] [stderr] | [INFO] [stderr] 114 | macro_rules! dump_regs { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ios_base` should have an upper camel case name [INFO] [stderr] --> src/win32/dll_msvcp60/std/ios_base.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct ios_base {} [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `IosBase` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ios_base::*` [INFO] [stderr] --> src/win32/dll_msvcp60/std/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use ios_base::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Debug` [INFO] [stderr] --> src/main.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::debug::{Debug, create_debug_window}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/helper.rs:359:14 [INFO] [stderr] | [INFO] [stderr] 359 | |uc, access, addr, size, value| [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_advapi32.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_comctl32.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_gdi32.rs:209:19 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_imm32.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_kernel32.rs:329:19 [INFO] [stderr] | [INFO] [stderr] 329 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_msvcp60/mod.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_msvcrt.rs:389:19 [INFO] [stderr] | [INFO] [stderr] 389 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_ole32.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_shell32.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_user32.rs:498:19 [INFO] [stderr] | [INFO] [stderr] 498 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_winmm.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uc` [INFO] [stderr] --> src/win32/dll_ws2_32.rs:158:19 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn handle(uc: &mut Unicorn, func_name: &str) -> Option<(usize, Option)> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uc` [INFO] [stderr] [INFO] [stderr] warning: variant `Stop` is never constructed [INFO] [stderr] --> src/debug/common.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum DebugCommand { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 12 | Step, [INFO] [stderr] 13 | Stop, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `print_hexdump` is never used [INFO] [stderr] --> src/helper.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn print_hexdump(uc: &Unicorn, address: u64, size: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `read_arg` and `pop_u32` are never used [INFO] [stderr] --> src/helper.rs:150:8 [INFO] [stderr] | [INFO] [stderr] 136 | pub trait UnicornHelper { [INFO] [stderr] | ------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 150 | fn read_arg(&self, index: usize) -> u32; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | fn pop_u32(&mut self) -> u32; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `set_se_translator` is never used [INFO] [stderr] --> src/win32/dll_msvcp60/mod.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl DllMSVCP60 { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 10 | [INFO] [stderr] 11 | pub fn set_se_translator() -> Option<(usize, Option)>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ios_base` is never constructed [INFO] [stderr] --> src/win32/dll_msvcp60/std/ios_base.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct ios_base {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `init` is never used [INFO] [stderr] --> src/win32/dll_msvcp60/std/ios_base.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 4 | impl ios_base { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 5 | pub fn init() -> Option<(usize, Option)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `emul-4leaf` (bin "emul-4leaf" test) generated 37 warnings (run `cargo fix --bin "emul-4leaf" -p emul-4leaf --tests` to apply 27 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/emul_4leaf-401409f02803b93d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bcd950b10d94f92140cf9f0a38eab251604dfd690aad160dffe1a249d0de8ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd950b10d94f92140cf9f0a38eab251604dfd690aad160dffe1a249d0de8ed7", kill_on_drop: false }` [INFO] [stdout] bcd950b10d94f92140cf9f0a38eab251604dfd690aad160dffe1a249d0de8ed7