[INFO] cloning repository https://github.com/sharmachait/rdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sharmachait/rdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharmachait%2Frdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharmachait%2Frdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a18b11af111deddec885c7f732b4ef7ba5b8acc8 [INFO] checking sharmachait/rdb/a18b11af111deddec885c7f732b4ef7ba5b8acc8 against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharmachait%2Frdb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/sharmachait/rdb [INFO] finished tweaking git repo https://github.com/sharmachait/rdb [INFO] tweaked toml for git repo https://github.com/sharmachait/rdb written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sharmachait/rdb on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sharmachait/rdb 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded f128_internal v0.2.2 [INFO] [stderr] Downloaded f128_input v0.2.1 [INFO] [stderr] Downloaded f128 v0.2.9 [INFO] [stderr] Downloaded rustyline v17.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09e873453e774278c4251632be9fdaf29c9a89ba1d92cce23783c9044588079e [INFO] running `Command { std: "docker" "start" "-a" "09e873453e774278c4251632be9fdaf29c9a89ba1d92cce23783c9044588079e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09e873453e774278c4251632be9fdaf29c9a89ba1d92cce23783c9044588079e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e873453e774278c4251632be9fdaf29c9a89ba1d92cce23783c9044588079e", kill_on_drop: false }` [INFO] [stdout] 09e873453e774278c4251632be9fdaf29c9a89ba1d92cce23783c9044588079e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eff699cf2d7e856c7c682440b14331a3f1af6d4f1826df4da0df89ef8f81196 [INFO] running `Command { std: "docker" "start" "-a" "8eff699cf2d7e856c7c682440b14331a3f1af6d4f1826df4da0df89ef8f81196", kill_on_drop: false }` [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling f128_internal v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Compiling f128_input v0.2.1 [INFO] [stderr] Checking f128 v0.2.9 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking rustyline v17.0.2 [INFO] [stderr] Checking rdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PTRACE_POKEUSER` and `PTRACE_SETFPREGS` [INFO] [stdout] --> src/rdb/process.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use nix::libc::{ptrace, PTRACE_PEEKUSER, PTRACE_POKEUSER, PTRACE_SETFPREGS}; [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: `std::any::TypeId` [INFO] [stdout] --> src/rdb/process_registers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PTRACE_POKEUSER` and `PTRACE_SETFPREGS` [INFO] [stdout] --> src/rdb/process.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use nix::libc::{ptrace, PTRACE_PEEKUSER, PTRACE_POKEUSER, PTRACE_SETFPREGS}; [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: `std::any::TypeId` [INFO] [stdout] --> src/rdb/process_registers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process::Process::attach` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/attach.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Process::attach(&args[2]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/attach.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub unsafe fn attach(args: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::register_info::User::default_user` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let data = User::default_user(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub unsafe fn attach(pid_arg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/rdb/process.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | if let Err(e) = exec_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rdb/process.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | if let Err(e) = self.wait_on_signal(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::ProcRegisters::write_register` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | let user_bytes = self.proc_registers.write_register( [INFO] [stdout] | __________________________^ [INFO] [stdout] 211 | | register, [INFO] [stdout] 212 | | val [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / pub unsafe fn write_to_user_by_register_id( [INFO] [stdout] 205 | | &mut self, [INFO] [stdout] 206 | | id: RegisterId, [INFO] [stdout] 207 | | val: RegisterValue [INFO] [stdout] 208 | | ){ [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | let bytes = RegisterValue::from_bytes::(user_bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process::Process::attach` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/attach.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Process::attach(&args[2]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/attach.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub unsafe fn attach(args: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::register_info::User::default_user` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let data = User::default_user(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub unsafe fn attach(pid_arg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:221:58 [INFO] [stdout] | [INFO] [stdout] 221 | let bytes = RegisterValue::from_bytes::(user_bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/rdb/process.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | if let Err(e) = exec_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rdb/process.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let mut fpregs: UserFpRegsStruct = unsafe {std::mem::zeroed()}; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/register_info.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | std::mem::zeroed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/register_info.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub unsafe fn default_user() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rdb/process.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | if let Err(e) = self.wait_on_signal(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::ProcRegisters::write_register` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | let user_bytes = self.proc_registers.write_register( [INFO] [stdout] | __________________________^ [INFO] [stdout] 211 | | register, [INFO] [stdout] 212 | | val [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / pub unsafe fn write_to_user_by_register_id( [INFO] [stdout] 205 | | &mut self, [INFO] [stdout] 206 | | id: RegisterId, [INFO] [stdout] 207 | | val: RegisterValue [INFO] [stdout] 208 | | ){ [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | let bytes = RegisterValue::from_bytes::(user_bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process.rs:221:58 [INFO] [stdout] | [INFO] [stdout] 221 | let bytes = RegisterValue::from_bytes::(user_bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::ProcRegisters::get_register_val` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | self.get_register_val(register) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / pub unsafe fn get_register_val_by_id( [INFO] [stdout] 16 | | &mut self, [INFO] [stdout] 17 | | id: RegisterId [INFO] [stdout] 18 | | ) -> Result { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe fn get_register_val(&mut self, register: &Register) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 40 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let val = RegisterValue::from_bytes::<[u8;8]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:54:60 [INFO] [stdout] | [INFO] [stdout] 54 | let val = RegisterValue::from_bytes::<[u8;8]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let val = RegisterValue::from_bytes::<[u8;16]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | let val = RegisterValue::from_bytes::<[u8;16]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | RegisterValue::U8(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / pub unsafe fn write_register( [INFO] [stdout] 62 | | &mut self, [INFO] [stdout] 63 | | register: &Register, [INFO] [stdout] 64 | | val :RegisterValue [INFO] [stdout] 65 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | RegisterValue::U16(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | RegisterValue::U32(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | RegisterValue::U64(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | RegisterValue::I8(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | RegisterValue::I16(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | RegisterValue::I32(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | RegisterValue::I64(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | RegisterValue::Float(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | RegisterValue::Double(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | RegisterValue::LongDouble(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | RegisterValue::Byte64(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | RegisterValue::Byte128(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / std::ptr::copy_nonoverlapping( [INFO] [stdout] 87 | | val_bytes.as_ptr(), [INFO] [stdout] 88 | | user_bytes.add(reg_offset), [INFO] [stdout] 89 | | reg_size [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | user_bytes.add(reg_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | let mut ret :To = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub unsafe fn from_bytes(bytes: *const u8) -> To { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / std::ptr::copy_nonoverlapping( [INFO] [stdout] 121 | | bytes, [INFO] [stdout] 122 | | &mut ret as *mut To as *mut u8, [INFO] [stdout] 123 | | size_of::() [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub unsafe fn widen(register: &Register, t: From) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rdb/process.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let mut fpregs: UserFpRegsStruct = unsafe {std::mem::zeroed()}; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | RegisterValue::to_byte128(t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | RegisterValue::to_byte128(t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | RegisterValue::to_byte128(t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | / std::ptr::copy_nonoverlapping( [INFO] [stdout] 172 | | ptr, [INFO] [stdout] 173 | | result.as_mut_ptr(), [INFO] [stdout] 174 | | size.min(16) [INFO] [stdout] 175 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | unsafe fn to_byte128(bytes: From) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_gprs` is never used [INFO] [stdout] --> src/rdb/process.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Process { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | fn write_gprs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/register_info.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | std::mem::zeroed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/register_info.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub unsafe fn default_user() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rdb/process.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ptrace::detach(self.pid, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = ptrace::detach(self.pid, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rdb/process.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | kill(self.pid, Signal::SIGCONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = kill(self.pid, Signal::SIGCONT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rdb/process.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | waitpid(self.pid, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = waitpid(self.pid, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::ProcRegisters::get_register_val` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | self.get_register_val(register) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / pub unsafe fn get_register_val_by_id( [INFO] [stdout] 16 | | &mut self, [INFO] [stdout] 17 | | id: RegisterId [INFO] [stdout] 18 | | ) -> Result { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe fn get_register_val(&mut self, register: &Register) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 40 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | let val = RegisterValue::from_bytes::(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let val = RegisterValue::from_bytes::<[u8;8]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:54:60 [INFO] [stdout] | [INFO] [stdout] 54 | let val = RegisterValue::from_bytes::<[u8;8]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::from_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let val = RegisterValue::from_bytes::<[u8;16]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | let val = RegisterValue::from_bytes::<[u8;16]>(bytes.add(offset)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | RegisterValue::U8(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / pub unsafe fn write_register( [INFO] [stdout] 62 | | &mut self, [INFO] [stdout] 63 | | register: &Register, [INFO] [stdout] 64 | | val :RegisterValue [INFO] [stdout] 65 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | RegisterValue::U16(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | RegisterValue::U32(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | RegisterValue::U64(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | RegisterValue::I8(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | RegisterValue::I16(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | RegisterValue::I32(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | RegisterValue::I64(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | RegisterValue::Float(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | RegisterValue::Double(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | RegisterValue::LongDouble(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | RegisterValue::Byte64(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::widen` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | RegisterValue::Byte128(v) => {RegisterValue::widen(register, v)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / std::ptr::copy_nonoverlapping( [INFO] [stdout] 87 | | val_bytes.as_ptr(), [INFO] [stdout] 88 | | user_bytes.add(reg_offset), [INFO] [stdout] 89 | | reg_size [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | user_bytes.add(reg_offset), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | let mut ret :To = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub unsafe fn from_bytes(bytes: *const u8) -> To { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / std::ptr::copy_nonoverlapping( [INFO] [stdout] 121 | | bytes, [INFO] [stdout] 122 | | &mut ret as *mut To as *mut u8, [INFO] [stdout] 123 | | size_of::() [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub unsafe fn widen(register: &Register, t: From) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | RegisterValue::to_byte128(t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::transmute_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | let val = std::mem::transmute_copy::(&t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | RegisterValue::to_byte128(val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | RegisterValue::to_byte128(t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rdb::process_registers::RegisterValue::to_byte128` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | RegisterValue::to_byte128(t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/rdb/process_registers.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | / std::ptr::copy_nonoverlapping( [INFO] [stdout] 172 | | ptr, [INFO] [stdout] 173 | | result.as_mut_ptr(), [INFO] [stdout] 174 | | size.min(16) [INFO] [stdout] 175 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/rdb/process_registers.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | unsafe fn to_byte128(bytes: From) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_gprs` is never used [INFO] [stdout] --> src/rdb/process.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Process { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | fn write_gprs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rdb/process.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ptrace::detach(self.pid, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = ptrace::detach(self.pid, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rdb/process.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | kill(self.pid, Signal::SIGCONT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = kill(self.pid, Signal::SIGCONT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rdb/process.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | waitpid(self.pid, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = waitpid(self.pid, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdb::rdb::process_registers::RegisterValue` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rdb::rdb::process_registers::RegisterValue; [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: `rdb::rdb::register_info::RegisterId` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rdb::rdb::register_info::RegisterId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdb::rdb::process_registers::RegisterValue` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rdb::rdb::process_registers::RegisterValue; [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: `rdb::rdb::register_info::RegisterId` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rdb::rdb::register_info::RegisterId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = rl.load_history(".history"){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> tests/rdb_integ_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process; [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: `nix::libc::pid_t` [INFO] [stdout] --> tests/rdb_integ_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::libc::pid_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::ptrace` [INFO] [stdout] --> tests/rdb_integ_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nix::sys::ptrace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::wait::waitpid` [INFO] [stdout] --> tests/rdb_integ_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use nix::sys::wait::waitpid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = rl.load_history(".history"){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> tests/rdb_integ_test.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | if let Err(e) = exec_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "8eff699cf2d7e856c7c682440b14331a3f1af6d4f1826df4da0df89ef8f81196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eff699cf2d7e856c7c682440b14331a3f1af6d4f1826df4da0df89ef8f81196", kill_on_drop: false }` [INFO] [stdout] 8eff699cf2d7e856c7c682440b14331a3f1af6d4f1826df4da0df89ef8f81196