[INFO] cloning repository https://github.com/ryone9re/zdbg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryone9re/zdbg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryone9re%2Fzdbg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryone9re%2Fzdbg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 870b8cda6da7ffb54e3b5ca221e62da7c2d2fafc
[INFO] checking ryone9re/zdbg against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryone9re%2Fzdbg" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ryone9re/zdbg
[INFO] finished tweaking git repo https://github.com/ryone9re/zdbg
[INFO] tweaked toml for git repo https://github.com/ryone9re/zdbg written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ryone9re/zdbg on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ryone9re/zdbg 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustix v0.38.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7a60a4f595f139cc11fe3984a1ee6a454a7cd61f2e391a4f136e3d912310d8eb
[INFO] running `Command { std: "docker" "start" "-a" "7a60a4f595f139cc11fe3984a1ee6a454a7cd61f2e391a4f136e3d912310d8eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a60a4f595f139cc11fe3984a1ee6a454a7cd61f2e391a4f136e3d912310d8eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a60a4f595f139cc11fe3984a1ee6a454a7cd61f2e391a4f136e3d912310d8eb", kill_on_drop: false }`
[INFO] [stdout] 7a60a4f595f139cc11fe3984a1ee6a454a7cd61f2e391a4f136e3d912310d8eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86a1027c0b5e8f9bb2fbe28ff7bca700aa777ddc9d031af40e0f474d441977fa
[INFO] running `Command { std: "docker" "start" "-a" "86a1027c0b5e8f9bb2fbe28ff7bca700aa777ddc9d031af40e0f474d441977fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling rustix v0.38.1
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking home v0.5.5
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]     Checking fd-lock v3.0.13
[INFO] [stderr]     Checking rustyline v12.0.0
[INFO] [stderr]     Checking zdbg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `?`
[INFO] [stdout]    --> src/dbg.rs:168:30
[INFO] [stdout]     |
[INFO] [stdout] 168 |             self.set_break()>?;
[INFO] [stdout]     |                              ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `?`
[INFO] [stdout]    --> src/dbg.rs:168:30
[INFO] [stdout]     |
[INFO] [stdout] 168 |             self.set_break()>?;
[INFO] [stdout]     |                              ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `personality`
[INFO] [stdout]    --> src/dbg.rs:112:25
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 let p = personality::get().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ use of unresolved module or unlinked crate `personality`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `personality`, use `cargo add personality` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::personality;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `personality`
[INFO] [stdout]    --> src/dbg.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 personality::set(p | Persona::ADDR_NO_RANDOMIZE).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of unresolved module or unlinked crate `personality`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `personality`, use `cargo add personality` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::personality;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Persona`
[INFO] [stdout]    --> src/dbg.rs:113:38
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 personality::set(p | Persona::ADDR_NO_RANDOMIZE).unwrap();
[INFO] [stdout]     |                                      ^^^^^^^ use of undeclared type `Persona`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::personality::Persona;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getregs` in this scope
[INFO] [stdout]    --> src/dbg.rs:253:20
[INFO] [stdout]     |
[INFO] [stdout] 253 |         let regs = getregs(self.info.pid)?;
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 1   + use crate::dbg::ptrace::getregs;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::ptrace::getregs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_break_addr` in this scope
[INFO] [stdout]   --> src/dbg.rs:52:36
[INFO] [stdout]    |
[INFO] [stdout] 52 |         } else if let Some(addr) = get_break_addr(cmd) {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the method on `Self`
[INFO] [stdout]    |
[INFO] [stdout] 52 |         } else if let Some(addr) = self.get_break_addr(cmd) {
[INFO] [stdout]    |                                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/dbg.rs:61:46
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn get_break_addr(self, cmd: &[&str]) -> Option<*mut c_void> {}
[INFO] [stdout]    |        --------------                        ^^^^^^^^^^^^^^^^^^^ expected `Option<*mut c_void>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<*mut c_void>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_help` in this scope
[INFO] [stdout]   --> src/dbg.rs:66:29
[INFO] [stdout]    |
[INFO] [stdout] 66 |             "help" | "h" => do_help(),
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `do_break` found for struct `ZDbg<NotRunning>` in the current scope
[INFO] [stdout]   --> src/dbg.rs:93:35
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ZDbg<T> {
[INFO] [stdout]    | ------------------ method `do_break` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |             "break" | "b" => self.do_break(cmd),
[INFO] [stdout]    |                                   ^^^^^^^^ method not found in `ZDbg<NotRunning>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for
[INFO] [stdout]            - `ZDbg<Running>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `print_regs` in this scope
[INFO] [stdout]    --> src/dbg.rs:152:17
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 print_regs(&args);
[INFO] [stdout]     |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_child` found for struct `ZDbg` in the current scope
[INFO] [stdout]    --> src/dbg.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 23  | pub struct ZDbg<T> {
[INFO] [stdout]     | ------------------ method `wait_child` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 180 |                 r.wait_child()
[INFO] [stdout]     |                   ^^^^^^^^^^ method not found in `ZDbg<Running>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/dbg.rs:186:26
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn do_stepi(self) -> Result<State, DynError> {}
[INFO] [stdout]     |        --------          ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<State, Box<...>>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<State, Box<(dyn std::error::Error + Send + Sync + 'static)>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/dbg.rs:208:53
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let val = match ptrace::read(self.info.pid, addr as *mut c_char) {
[INFO] [stdout]     |                         ------------                ^^^^^^^^^^^^^^^^^^^ expected `*mut c_void`, found `*mut i8`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*mut c_void`
[INFO] [stdout]                found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.26.2/src/sys/ptrace/linux.rs:521:8
[INFO] [stdout]     |
[INFO] [stdout] 521 | pub fn read(pid: Pid, addr: AddressType) -> Result<c_long> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/dbg.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |             ptrace::write(self.info.pid, addr as *mut c_char, val_int3)
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `*mut c_void`, found `*mut i8`
[INFO] [stdout]    --> src/dbg.rs:236:42
[INFO] [stdout]     |
[INFO] [stdout] 236 |             ptrace::write(self.info.pid, addr as *mut c_char, val_int3)
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected raw pointer `*mut c_void`
[INFO] [stdout]                found raw pointer `*mut i8`
[INFO] [stdout] note: expected `*mut c_void`, found `i64`
[INFO] [stdout]    --> src/dbg.rs:236:63
[INFO] [stdout]     |
[INFO] [stdout] 236 |             ptrace::write(self.info.pid, addr as *mut c_char, val_int3)
[INFO] [stdout]     |                                                               ^^^^^^^^
[INFO] [stdout]     = note: expected raw pointer `*mut c_void`
[INFO] [stdout]                       found type `i64`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.26.2/src/sys/ptrace/linux.rs:531:15
[INFO] [stdout]     |
[INFO] [stdout] 531 | pub unsafe fn write(
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `personality`
[INFO] [stdout]    --> src/dbg.rs:112:25
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 let p = personality::get().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ use of unresolved module or unlinked crate `personality`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `personality`, use `cargo add personality` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::personality;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `personality`
[INFO] [stdout]    --> src/dbg.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 personality::set(p | Persona::ADDR_NO_RANDOMIZE).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of unresolved module or unlinked crate `personality`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `personality`, use `cargo add personality` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::personality;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Persona`
[INFO] [stdout]    --> src/dbg.rs:113:38
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 personality::set(p | Persona::ADDR_NO_RANDOMIZE).unwrap();
[INFO] [stdout]     |                                      ^^^^^^^ use of undeclared type `Persona`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::personality::Persona;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getregs` in this scope
[INFO] [stdout]    --> src/dbg.rs:253:20
[INFO] [stdout]     |
[INFO] [stdout] 253 |         let regs = getregs(self.info.pid)?;
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 1   + use crate::dbg::ptrace::getregs;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use nix::sys::ptrace::getregs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_break_addr` in this scope
[INFO] [stdout]   --> src/dbg.rs:52:36
[INFO] [stdout]    |
[INFO] [stdout] 52 |         } else if let Some(addr) = get_break_addr(cmd) {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the method on `Self`
[INFO] [stdout]    |
[INFO] [stdout] 52 |         } else if let Some(addr) = self.get_break_addr(cmd) {
[INFO] [stdout]    |                                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zdbg` (bin "zdbg") due to 14 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/dbg.rs:61:46
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn get_break_addr(self, cmd: &[&str]) -> Option<*mut c_void> {}
[INFO] [stdout]    |        --------------                        ^^^^^^^^^^^^^^^^^^^ expected `Option<*mut c_void>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<*mut c_void>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_help` in this scope
[INFO] [stdout]   --> src/dbg.rs:66:29
[INFO] [stdout]    |
[INFO] [stdout] 66 |             "help" | "h" => do_help(),
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `do_break` found for struct `ZDbg<NotRunning>` in the current scope
[INFO] [stdout]   --> src/dbg.rs:93:35
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ZDbg<T> {
[INFO] [stdout]    | ------------------ method `do_break` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |             "break" | "b" => self.do_break(cmd),
[INFO] [stdout]    |                                   ^^^^^^^^ method not found in `ZDbg<NotRunning>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for
[INFO] [stdout]            - `ZDbg<Running>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `print_regs` in this scope
[INFO] [stdout]    --> src/dbg.rs:152:17
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 print_regs(&args);
[INFO] [stdout]     |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_child` found for struct `ZDbg` in the current scope
[INFO] [stdout]    --> src/dbg.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 23  | pub struct ZDbg<T> {
[INFO] [stdout]     | ------------------ method `wait_child` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 180 |                 r.wait_child()
[INFO] [stdout]     |                   ^^^^^^^^^^ method not found in `ZDbg<Running>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/dbg.rs:186:26
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn do_stepi(self) -> Result<State, DynError> {}
[INFO] [stdout]     |        --------          ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<State, Box<...>>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<State, Box<(dyn std::error::Error + Send + Sync + 'static)>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/dbg.rs:208:53
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let val = match ptrace::read(self.info.pid, addr as *mut c_char) {
[INFO] [stdout]     |                         ------------                ^^^^^^^^^^^^^^^^^^^ expected `*mut c_void`, found `*mut i8`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*mut c_void`
[INFO] [stdout]                found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.26.2/src/sys/ptrace/linux.rs:521:8
[INFO] [stdout]     |
[INFO] [stdout] 521 | pub fn read(pid: Pid, addr: AddressType) -> Result<c_long> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/dbg.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |             ptrace::write(self.info.pid, addr as *mut c_char, val_int3)
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `*mut c_void`, found `*mut i8`
[INFO] [stdout]    --> src/dbg.rs:236:42
[INFO] [stdout]     |
[INFO] [stdout] 236 |             ptrace::write(self.info.pid, addr as *mut c_char, val_int3)
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected raw pointer `*mut c_void`
[INFO] [stdout]                found raw pointer `*mut i8`
[INFO] [stdout] note: expected `*mut c_void`, found `i64`
[INFO] [stdout]    --> src/dbg.rs:236:63
[INFO] [stdout]     |
[INFO] [stdout] 236 |             ptrace::write(self.info.pid, addr as *mut c_char, val_int3)
[INFO] [stdout]     |                                                               ^^^^^^^^
[INFO] [stdout]     = note: expected raw pointer `*mut c_void`
[INFO] [stdout]                       found type `i64`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.26.2/src/sys/ptrace/linux.rs:531:15
[INFO] [stdout]     |
[INFO] [stdout] 531 | pub unsafe fn write(
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zdbg` (bin "zdbg" test) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "86a1027c0b5e8f9bb2fbe28ff7bca700aa777ddc9d031af40e0f474d441977fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86a1027c0b5e8f9bb2fbe28ff7bca700aa777ddc9d031af40e0f474d441977fa", kill_on_drop: false }`
[INFO] [stdout] 86a1027c0b5e8f9bb2fbe28ff7bca700aa777ddc9d031af40e0f474d441977fa
