[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 try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryone9re%2Fzdbg" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryone9re/zdbg on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c97aa59989038b6497ffe72bbfc29457af3c4eca514562675cd1e2ce00a8e273 [INFO] running `Command { std: "docker" "start" "-a" "c97aa59989038b6497ffe72bbfc29457af3c4eca514562675cd1e2ce00a8e273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c97aa59989038b6497ffe72bbfc29457af3c4eca514562675cd1e2ce00a8e273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97aa59989038b6497ffe72bbfc29457af3c4eca514562675cd1e2ce00a8e273", kill_on_drop: false }` [INFO] [stdout] c97aa59989038b6497ffe72bbfc29457af3c4eca514562675cd1e2ce00a8e273 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4a3e54630831d8be1f77603df1e2069c61ae6519f0b0b8aae244639a278596 [INFO] running `Command { std: "docker" "start" "-a" "7e4a3e54630831d8be1f77603df1e2069c61ae6519f0b0b8aae244639a278596", 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 linux-raw-sys v0.4.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [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 home v0.5.5 [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[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[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[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[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` in the current scope [INFO] [stdout] --> src/dbg.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ZDbg { [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` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `ZDbg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `do_break` found for struct `ZDbg` in the current scope [INFO] [stdout] --> src/dbg.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ZDbg { [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` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `ZDbg` [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[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 { [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` [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 {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result>` [INFO] [stdout] found unit type `()` [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 { [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` [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 {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result>` [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 { [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[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 { [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] [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") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zdbg` (bin "zdbg" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "7e4a3e54630831d8be1f77603df1e2069c61ae6519f0b0b8aae244639a278596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4a3e54630831d8be1f77603df1e2069c61ae6519f0b0b8aae244639a278596", kill_on_drop: false }` [INFO] [stdout] 7e4a3e54630831d8be1f77603df1e2069c61ae6519f0b0b8aae244639a278596