[INFO] cloning repository https://github.com/Mrack/rust_cheatengine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mrack/rust_cheatengine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrack%2Frust_cheatengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrack%2Frust_cheatengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cef55db6d0ecbc841f30bd72ed8ab6778861b0b9 [INFO] checking Mrack/rust_cheatengine against master#9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrack%2Frust_cheatengine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mrack/rust_cheatengine on toolchain 9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mrack/rust_cheatengine [INFO] finished tweaking git repo https://github.com/Mrack/rust_cheatengine [INFO] tweaked toml for git repo https://github.com/Mrack/rust_cheatengine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mrack/rust_cheatengine 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" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Mrack/rust_cheatengine against try#2e5b7739e5167b731ad5eb628f04a54f932f1fe2 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrack%2Frust_cheatengine" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mrack/rust_cheatengine on toolchain 2e5b7739e5167b731ad5eb628f04a54f932f1fe2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mrack/rust_cheatengine [INFO] finished tweaking git repo https://github.com/Mrack/rust_cheatengine [INFO] tweaked toml for git repo https://github.com/Mrack/rust_cheatengine written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mrack/rust_cheatengine 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" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c6c0872b6dd952083a1cb047fbb90ebae8470af2fd54d1a35169c3626913da3 [INFO] running `Command { std: "docker" "start" "-a" "2c6c0872b6dd952083a1cb047fbb90ebae8470af2fd54d1a35169c3626913da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c6c0872b6dd952083a1cb047fbb90ebae8470af2fd54d1a35169c3626913da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6c0872b6dd952083a1cb047fbb90ebae8470af2fd54d1a35169c3626913da3", kill_on_drop: false }` [INFO] [stdout] 2c6c0872b6dd952083a1cb047fbb90ebae8470af2fd54d1a35169c3626913da3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8791d28212e9bf7d2b313a4a07071466f89ad9fbc79c87eca702b424fd5acfad [INFO] running `Command { std: "docker" "start" "-a" "8791d28212e9bf7d2b313a4a07071466f89ad9fbc79c87eca702b424fd5acfad", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking rust_cheatengine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{DWORD, FALSE, HMODULE, LPCVOID, LPVOID, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::MEMORY_BASIC_INFORMATION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{DWORD, FALSE, HMODULE, LPCVOID, LPVOID, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::MEMORY_BASIC_INFORMATION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::MEMORY_BASIC_INFORMATION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::MEMORY_BASIC_INFORMATION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | winapi::um::psapi::EnumProcesses( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | winapi::um::psapi::EnumProcesses( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | winapi::um::memoryapi::VirtualProtectEx( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | winapi::um::memoryapi::VirtualProtectEx( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | winapi::um::memoryapi::WriteProcessMemory( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | winapi::um::memoryapi::WriteProcessMemory( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::memoryapi::ReadProcessMemory( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::memoryapi::ReadProcessMemory( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | winapi::um::memoryapi::VirtualQueryEx( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | winapi::um::memoryapi::VirtualQueryEx( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | winapi::um::psapi::EnumProcessModules( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | winapi::um::psapi::EnumProcessModules( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | winapi::um::psapi::GetModuleBaseNameA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | winapi::um::psapi::GetModuleBaseNameA( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | winapi::um::processthreadsapi::OpenProcess( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | winapi::um::processthreadsapi::OpenProcess( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | let ret = unsafe { winapi::um::handleapi::CloseHandle(self.handle.as_mut()) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | let ret = unsafe { winapi::um::handleapi::CloseHandle(self.handle.as_mut()) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ok_or_else` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/process.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Process { [INFO] [stdout] | ------------------ doesn't satisfy `Process: Sized` [INFO] [stdout] ... [INFO] [stdout] 184 | / NonNull::new(unsafe { [INFO] [stdout] 185 | | [INFO] [stdout] 186 | | winapi::um::processthreadsapi::OpenProcess( [INFO] [stdout] 187 | | winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] ... | [INFO] [stdout] 195 | | .map(|handle| Self { pid, handle }) [INFO] [stdout] 196 | | .ok_or_else(io::Error::last_os_error) [INFO] [stdout] | | -^^^^^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Process: Sized` [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/core/src/marker.rs:145:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ok_or_else` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/process.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Process { [INFO] [stdout] | ------------------ doesn't satisfy `Process: Sized` [INFO] [stdout] ... [INFO] [stdout] 184 | / NonNull::new(unsafe { [INFO] [stdout] 185 | | [INFO] [stdout] 186 | | winapi::um::processthreadsapi::OpenProcess( [INFO] [stdout] 187 | | winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] ... | [INFO] [stdout] 195 | | .map(|handle| Self { pid, handle }) [INFO] [stdout] 196 | | .ok_or_else(io::Error::last_os_error) [INFO] [stdout] | | -^^^^^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Process: Sized` [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/core/src/marker.rs:145:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not an iterator [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | .flat_map(Process::open) [INFO] [stdout] | ^^^^^^^^ `Result` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a Result [INFO] [stdout] &'a mut Result [INFO] [stdout] Result [INFO] [stdout] note: required by a bound in `flat_map` [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/core/src/iter/traits/iterator.rs:1456:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not an iterator [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | .flat_map(Process::open) [INFO] [stdout] | ^^^^^^^^ `Result` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a Result [INFO] [stdout] &'a mut Result [INFO] [stdout] Result [INFO] [stdout] note: required by a bound in `flat_map` [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/core/src/iter/traits/iterator.rs:1456:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `flat_map` exists for struct `FlatMap, Result, fn(u32) -> Result {Process::open}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 9 | let pids = enum_proc() [INFO] [stdout] | ________________- [INFO] [stdout] 10 | | .unwrap() [INFO] [stdout] 11 | | .into_iter() [INFO] [stdout] 12 | | .flat_map(Process::open) [INFO] [stdout] 13 | | .flat_map(|proc| match proc.name() { [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: IntoIterator` [INFO] [stdout] which is required by `FlatMap, Result, fn(u32) -> Result {Process::open}>: Iterator` [INFO] [stdout] `FlatMap, Result, fn(u32) -> Result {Process::open}>: Iterator` [INFO] [stdout] which is required by `&mut FlatMap, Result, fn(u32) -> Result {Process::open}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `flat_map` exists for struct `FlatMap, Result, fn(u32) -> Result {Process::open}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 9 | let pids = enum_proc() [INFO] [stdout] | ________________- [INFO] [stdout] 10 | | .unwrap() [INFO] [stdout] 11 | | .into_iter() [INFO] [stdout] 12 | | .flat_map(Process::open) [INFO] [stdout] 13 | | .flat_map(|proc| match proc.name() { [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: IntoIterator` [INFO] [stdout] which is required by `FlatMap, Result, fn(u32) -> Result {Process::open}>: Iterator` [INFO] [stdout] `FlatMap, Result, fn(u32) -> Result {Process::open}>: Iterator` [INFO] [stdout] which is required by `&mut FlatMap, Result, fn(u32) -> Result {Process::open}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let process = Process::open(pid).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/process.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Process { [INFO] [stdout] | ------------------ doesn't satisfy `Process: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Process: Sized` [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/core/src/marker.rs:145:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let process = Process::open(pid).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/process.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Process { [INFO] [stdout] | ------------------ doesn't satisfy `Process: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Process: Sized` [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/core/src/marker.rs:145:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_cheatengine` (bin "rust_cheatengine" test) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_cheatengine` (bin "rust_cheatengine") due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "8791d28212e9bf7d2b313a4a07071466f89ad9fbc79c87eca702b424fd5acfad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8791d28212e9bf7d2b313a4a07071466f89ad9fbc79c87eca702b424fd5acfad", kill_on_drop: false }` [INFO] [stdout] 8791d28212e9bf7d2b313a4a07071466f89ad9fbc79c87eca702b424fd5acfad