[INFO] cloning repository https://github.com/paroxysms/megahack-extension-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paroxysms/megahack-extension-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparoxysms%2Fmegahack-extension-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparoxysms%2Fmegahack-extension-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa1f39667ca399ea59e5ef7720acaf55de912e56 [INFO] checking paroxysms/megahack-extension-rs against master#43d9f3859e0204e764161ee085a360274b5f3e9a for pr-97346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparoxysms%2Fmegahack-extension-rs" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paroxysms/megahack-extension-rs on toolchain 43d9f3859e0204e764161ee085a360274b5f3e9a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-35/source/.cargo/config [INFO] started tweaking git repo https://github.com/paroxysms/megahack-extension-rs [INFO] finished tweaking git repo https://github.com/paroxysms/megahack-extension-rs [INFO] tweaked toml for git repo https://github.com/paroxysms/megahack-extension-rs written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/paroxysms/megahack-extension-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffbe75f80b81b8d01428a9ac807606619637ec2a9fc837d69e35bb37338c5d31 [INFO] running `Command { std: "docker" "start" "-a" "ffbe75f80b81b8d01428a9ac807606619637ec2a9fc837d69e35bb37338c5d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffbe75f80b81b8d01428a9ac807606619637ec2a9fc837d69e35bb37338c5d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbe75f80b81b8d01428a9ac807606619637ec2a9fc837d69e35bb37338c5d31", kill_on_drop: false }` [INFO] [stdout] ffbe75f80b81b8d01428a9ac807606619637ec2a9fc837d69e35bb37338c5d31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8cece1c89a50921f330516263b4d23c48998652aa17b8a08e0b89242a79e879 [INFO] running `Command { std: "docker" "start" "-a" "c8cece1c89a50921f330516263b4d23c48998652aa17b8a08e0b89242a79e879", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking slice-pool v0.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking getfn v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Checking mmap-fixed v0.1.5 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking detour v0.8.0 (https://github.com/darfink/detour-rs#3b6f17a8) [INFO] [stderr] Compiling winwrap-derive v0.1.0 [INFO] [stderr] Checking winwrap v0.1.1 [INFO] [stderr] Checking megahack-extension-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use winwrap::winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use winwrap::winapi::shared::minwindef::{FALSE, TRUE}; // override ntdef [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use winwrap::winapi::shared::ntdef::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use winwrap::winapi::um::wincon::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use winwrap::winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `winwrap` [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use winwrap::raw::um::consoleapi::*; [INFO] [stdout] | ^^^ could not find `raw` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `winwrap` [INFO] [stdout] --> src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use winwrap::raw::um::libloaderapi::*; [INFO] [stdout] | ^^^ could not find `raw` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `winwrap` [INFO] [stdout] --> src/lib.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use winwrap::raw::um::processthreadsapi::*; [INFO] [stdout] | ^^^ could not find `raw` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use winwrap::winapi::um::libloaderapi::GetModuleHandleA; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winwrap::winapi`, `crate::extension` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use winwrap::winapi as __getfn_winapi__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `winapi` in the root [INFO] [stdout] | [INFO] [stdout] ::: src/mhv6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use winwrap::winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use winwrap::winapi::shared::minwindef::{FALSE, TRUE}; // override ntdef [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use winwrap::winapi::shared::ntdef::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use winwrap::winapi::um::wincon::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use winwrap::winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `winwrap` [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use winwrap::raw::um::consoleapi::*; [INFO] [stdout] | ^^^ could not find `raw` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `winwrap` [INFO] [stdout] --> src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use winwrap::raw::um::libloaderapi::*; [INFO] [stdout] | ^^^ could not find `raw` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `winwrap` [INFO] [stdout] --> src/lib.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use winwrap::raw::um::processthreadsapi::*; [INFO] [stdout] | ^^^ could not find `raw` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `winwrap` [INFO] [stdout] --> src/lib.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use winwrap::winapi::um::libloaderapi::GetModuleHandleA; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `winwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winwrap::winapi`, `crate::extension` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use winwrap::winapi as __getfn_winapi__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `winapi` in the root [INFO] [stdout] | [INFO] [stdout] ::: src/mhv6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:41:74 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:41:85 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DLL_PROCESS_ATTACH` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | if reason == DLL_PROCESS_ATTACH { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateThread` in this scope [INFO] [stdout] --> src/lib.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let result = CreateThread(0 as _, 0, Some(extension_main), dll as _, 0, 0 as _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe extern "system" fn extension_main(dll: LPVOID) -> DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe extern "system" fn extension_main(dll: LPVOID) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/mhv6.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, fs, ptr}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/extension.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// [INFO] [stdout] 4 | | /// **EXTENSION.RS** [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This file contains all the necessary functions to create a working MHV6 GUI. [INFO] [stdout] 7 | | /// It's implemented in the file MHV6.RS, you can see my examples there. [INFO] [stdout] 8 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/mhv6.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | while !extension::is_ready() { thread::sleep_ms(100); } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern "stdcall" fn button_cb(ext: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | extern "stdcall" fn checkbox_checked_cb(ext: *mut ()) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern "stdcall" fn checkbox_unchecked_cb(ext: *mut ()) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:41:74 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:41:85 [INFO] [stdout] | [INFO] [stdout] 41 | pub extern "system" fn DllMain(dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DLL_PROCESS_ATTACH` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | if reason == DLL_PROCESS_ATTACH { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern "stdcall" fn combobox_cb(ext: *mut (), option_number: i32, name_of_option: *const u8) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateThread` in this scope [INFO] [stdout] --> src/lib.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let result = CreateThread(0 as _, 0, Some(extension_main), dll as _, 0, 0 as _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe extern "system" fn extension_main(dll: LPVOID) -> DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe extern "system" fn extension_main(dll: LPVOID) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | extern "stdcall" fn textbox_cb(ext: *mut ()) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/mhv6.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, fs, ptr}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/extension.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// [INFO] [stdout] 4 | | /// **EXTENSION.RS** [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This file contains all the necessary functions to create a working MHV6 GUI. [INFO] [stdout] 7 | | /// It's implemented in the file MHV6.RS, you can see my examples there. [INFO] [stdout] 8 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `megahack-extension-rs` due to 19 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/mhv6.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | while !extension::is_ready() { thread::sleep_ms(100); } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern "stdcall" fn button_cb(ext: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | extern "stdcall" fn checkbox_checked_cb(ext: *mut ()) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern "stdcall" fn checkbox_unchecked_cb(ext: *mut ()) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern "stdcall" fn combobox_cb(ext: *mut (), option_number: i32, name_of_option: *const u8) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/mhv6.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | extern "stdcall" fn textbox_cb(ext: *mut ()) { [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 #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `megahack-extension-rs` due to 19 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c8cece1c89a50921f330516263b4d23c48998652aa17b8a08e0b89242a79e879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8cece1c89a50921f330516263b4d23c48998652aa17b8a08e0b89242a79e879", kill_on_drop: false }` [INFO] [stdout] c8cece1c89a50921f330516263b4d23c48998652aa17b8a08e0b89242a79e879