[INFO] cloning repository https://github.com/Hagb/giuroll-injector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hagb/giuroll-injector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHagb%2Fgiuroll-injector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHagb%2Fgiuroll-injector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71750027f435f553c11471283e8ed65173036376 [INFO] checking Hagb/giuroll-injector against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHagb%2Fgiuroll-injector" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hagb/giuroll-injector [INFO] finished tweaking git repo https://github.com/Hagb/giuroll-injector [INFO] tweaked toml for git repo https://github.com/Hagb/giuroll-injector written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hagb/giuroll-injector on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hagb/giuroll-injector 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834e33490308a7cac71a50b4ee13748de4437775c6183065fe181b5d73d8aab2 [INFO] running `Command { std: "docker" "start" "-a" "834e33490308a7cac71a50b4ee13748de4437775c6183065fe181b5d73d8aab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834e33490308a7cac71a50b4ee13748de4437775c6183065fe181b5d73d8aab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834e33490308a7cac71a50b4ee13748de4437775c6183065fe181b5d73d8aab2", kill_on_drop: false }` [INFO] [stdout] 834e33490308a7cac71a50b4ee13748de4437775c6183065fe181b5d73d8aab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bf3a561d270529ae812dc3f5ec93808d1d40dfd331a8e9070091b9cf3ee51d2 [INFO] running `Command { std: "docker" "start" "-a" "9bf3a561d270529ae812dc3f5ec93808d1d40dfd331a8e9070091b9cf3ee51d2", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking giuroll-injector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/giuroll_loader_dll.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{os::windows::ffi::OsStringExt, path::Path, ptr::null_mut, thread}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/giuroll_loader_dll.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{FARPROC, HMODULE}; [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/giuroll_loader_dll.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::{FreeLibrary, FreeLibraryAndExitThread}; [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/giuroll_loader_dll.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::minwindef::{DWORD, HINSTANCE, LPVOID}, [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/giuroll_loader_dll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/giuroll_loader_dll.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{os::windows::ffi::OsStringExt, path::Path, ptr::null_mut, thread}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/giuroll_loader_dll.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{FARPROC, HMODULE}; [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/giuroll_loader_dll.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::{FreeLibrary, FreeLibraryAndExitThread}; [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/giuroll_loader_dll.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::minwindef::{DWORD, HINSTANCE, LPVOID}, [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/giuroll_loader_dll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [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/injection.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/giuroll_loader_dll.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe extern "stdcall" fn DllMain(module: HINSTANCE, reason: DWORD, _: LPVOID) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injection.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::WAIT_TIMEOUT; [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/injection.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::errhandlingapi::GetLastError; [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/injection.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::CloseHandle; [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/injection.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::GetModuleHandleA; [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/injection.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::memoryapi::VirtualAllocEx; [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/injection.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::processthreadsapi::{CreateRemoteThread, GetExitCodeThread, 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/injection.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::synchapi::WaitForSingleObject; [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/injection.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winbase::INFINITE; [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/injection.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, PAGE_READWRITE, PROCESS_ALL_ACCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/giuroll_loader_dll.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe extern "stdcall" fn DllMain(module: HINSTANCE, reason: DWORD, _: LPVOID) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injection.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/injection.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::WAIT_TIMEOUT; [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/injection.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::errhandlingapi::GetLastError; [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/injection.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::CloseHandle; [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/injection.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::GetModuleHandleA; [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/injection.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::memoryapi::VirtualAllocEx; [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/injection.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::processthreadsapi::{CreateRemoteThread, GetExitCodeThread, 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/injection.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::synchapi::WaitForSingleObject; [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/injection.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winbase::INFINITE; [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/injection.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, PAGE_READWRITE, PROCESS_ALL_ACCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/injection.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Result<*mut winapi::ctypes::c_void, String> { [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/injection.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | if winapi::um::memoryapi::WriteProcessMemory( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/giuroll_loader_dll.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | let path_ = std::ffi::OsString::from_wide(&dat[0..null_pos]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 55 - let path_ = std::ffi::OsString::from_wide(&dat[0..null_pos]); [INFO] [stdout] 55 + let path_ = std::ffi::OsString::from_iter(&dat[0..null_pos]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/injection.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::libloaderapi::GetProcAddress(h_kernel32, loadlibraryw.as_ptr()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/giuroll_loader_dll.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe extern "cdecl" fn CheckVersion(_a: *const [u8; 16]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0570, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/giuroll_loader_dll.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | let path_ = std::ffi::OsString::from_wide(&dat[0..null_pos]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 55 - let path_ = std::ffi::OsString::from_wide(&dat[0..null_pos]); [INFO] [stdout] 55 + let path_ = std::ffi::OsString::from_iter(&dat[0..null_pos]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/injection.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Result<*mut winapi::ctypes::c_void, String> { [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/injection.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | if winapi::um::memoryapi::WriteProcessMemory( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: "cdecl" is not a supported ABI for the current target [INFO] [stdout] --> src/giuroll_loader_dll.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe extern "cdecl" fn CheckVersion(_a: *const [u8; 16]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/injection.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::libloaderapi::GetProcAddress(h_kernel32, loadlibraryw.as_ptr()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0570, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `giuroll-injector` (lib) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `giuroll-injector` (lib test) due to 7 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `giuroll-injector` (bin "giuroll_loader" test) due to 13 previous errors [INFO] [stderr] error: could not compile `giuroll-injector` (bin "giuroll_loader") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "9bf3a561d270529ae812dc3f5ec93808d1d40dfd331a8e9070091b9cf3ee51d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf3a561d270529ae812dc3f5ec93808d1d40dfd331a8e9070091b9cf3ee51d2", kill_on_drop: false }` [INFO] [stdout] 9bf3a561d270529ae812dc3f5ec93808d1d40dfd331a8e9070091b9cf3ee51d2