[INFO] cloning repository https://github.com/JayGLXR/RustyMirage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JayGLXR/RustyMirage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayGLXR%2FRustyMirage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayGLXR%2FRustyMirage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af81d871d35d9162eb423ff6d7c18618d40f1476 [INFO] checking JayGLXR/RustyMirage against try#26ad8a85dc4eed299af809e52f278da81e284602 for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayGLXR%2FRustyMirage" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JayGLXR/RustyMirage on toolchain 26ad8a85dc4eed299af809e52f278da81e284602 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JayGLXR/RustyMirage [INFO] finished tweaking git repo https://github.com/JayGLXR/RustyMirage [INFO] tweaked toml for git repo https://github.com/JayGLXR/RustyMirage written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JayGLXR/RustyMirage 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" "+26ad8a85dc4eed299af809e52f278da81e284602" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70d1a19525d3ff7ce92e9702eb5c7bd8fadf053fac78ad11ce6ba84f55c12e42 [INFO] running `Command { std: "docker" "start" "-a" "70d1a19525d3ff7ce92e9702eb5c7bd8fadf053fac78ad11ce6ba84f55c12e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70d1a19525d3ff7ce92e9702eb5c7bd8fadf053fac78ad11ce6ba84f55c12e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d1a19525d3ff7ce92e9702eb5c7bd8fadf053fac78ad11ce6ba84f55c12e42", kill_on_drop: false }` [INFO] [stdout] 70d1a19525d3ff7ce92e9702eb5c7bd8fadf053fac78ad11ce6ba84f55c12e42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8642984dbbf5337b8c9711aa01c903485c831b7df630e9384b1d54f0ebc62be1 [INFO] running `Command { std: "docker" "start" "-a" "8642984dbbf5337b8c9711aa01c903485c831b7df630e9384b1d54f0ebc62be1", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Checking rusty_mirage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CloseHandle` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::{CloseHandle, GetLastError, BOOL, HANDLE, HMODULE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CloseHandle` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::{CloseHandle, GetLastError, BOOL, HANDLE, HMODULE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PAGE_PROTECTION_FLAGS` and `VIRTUAL_ALLOCATION_TYPE` [INFO] [stdout] --> src/main.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | VirtualAlloc, MEM_COMMIT, PAGE_EXECUTE_READWRITE, VIRTUAL_ALLOCATION_TYPE, PAGE_PROTECTION_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PAGE_PROTECTION_FLAGS` and `VIRTUAL_ALLOCATION_TYPE` [INFO] [stdout] --> src/main.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | VirtualAlloc, MEM_COMMIT, PAGE_EXECUTE_READWRITE, VIRTUAL_ALLOCATION_TYPE, PAGE_PROTECTION_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PROCESS_ACCESS_RIGHTS` [INFO] [stdout] --> src/main.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Threading::{GetCurrentProcess, PROCESS_ACCESS_RIGHTS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PROCESS_ACCESS_RIGHTS` [INFO] [stdout] --> src/main.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Threading::{GetCurrentProcess, PROCESS_ACCESS_RIGHTS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `INIT_TAG` should have an upper camel case name [INFO] [stdout] --> src/main.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | type INIT_TAG = *mut c_void; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `InitTag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `INIT_TAG` should have an upper camel case name [INFO] [stdout] --> src/main.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | type INIT_TAG = *mut c_void; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `InitTag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 110 | kernel32, [INFO] [stdout] 111 | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 110 | kernel32, [INFO] [stdout] 111 | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 110 | kernel32, [INFO] [stdout] 111 | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 110 | kernel32, [INFO] [stdout] 111 | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 110 | kernel32, [INFO] [stdout] 111 | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 110 | kernel32, [INFO] [stdout] 111 | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 115 | kernel32, [INFO] [stdout] 116 | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 115 | kernel32, [INFO] [stdout] 116 | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 115 | kernel32, [INFO] [stdout] 116 | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 120 | kernel32, [INFO] [stdout] 121 | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 115 | kernel32, [INFO] [stdout] 116 | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 115 | kernel32, [INFO] [stdout] 116 | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 115 | kernel32, [INFO] [stdout] 116 | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 120 | kernel32, [INFO] [stdout] 121 | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 120 | kernel32, [INFO] [stdout] 121 | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 120 | kernel32, [INFO] [stdout] 121 | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 120 | kernel32, [INFO] [stdout] 121 | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 125 | kernel32, [INFO] [stdout] 126 | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 125 | kernel32, [INFO] [stdout] 126 | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 120 | kernel32, [INFO] [stdout] 121 | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 125 | kernel32, [INFO] [stdout] 126 | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 125 | kernel32, [INFO] [stdout] 126 | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 125 | kernel32, [INFO] [stdout] 126 | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 125 | kernel32, [INFO] [stdout] 126 | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(u32) -> BOOL` [INFO] [stdout] --> src/main.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 110 | | kernel32, [INFO] [stdout] 111 | | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] 112 | | ).expect("Failed to get IsEnclaveTypeSupported") as FnIsEnclaveTypeSupported; [INFO] [stdout] | |____________________________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(u32) -> BOOL` [INFO] [stdout] --> src/main.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let is_enclave_type_supported_fn = GetProcAddress( [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 110 | | kernel32, [INFO] [stdout] 111 | | "IsEnclaveTypeSupported\0".as_ptr() as *const i8 [INFO] [stdout] 112 | | ).expect("Failed to get IsEnclaveTypeSupported") as FnIsEnclaveTypeSupported; [INFO] [stdout] | |____________________________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(HANDLE, *mut c_void, usize, usize, u32, *const c_void, u32, *mut u32) -> *mut c_void` [INFO] [stdout] --> src/main.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 115 | | kernel32, [INFO] [stdout] 116 | | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 117 | | ).expect("Failed to get CreateEnclave") as FnCreateEnclave; [INFO] [stdout] | |__________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(HANDLE, *mut c_void, usize, usize, u32, *const c_void, u32, *mut u32) -> *mut c_void` [INFO] [stdout] --> src/main.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | let create_enclave_fn = GetProcAddress( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 115 | | kernel32, [INFO] [stdout] 116 | | "CreateEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 117 | | ).expect("Failed to get CreateEnclave") as FnCreateEnclave; [INFO] [stdout] | |__________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, PCWSTR) -> BOOL` [INFO] [stdout] --> src/main.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 120 | | kernel32, [INFO] [stdout] 121 | | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] 122 | | ).expect("Failed to get LoadEnclaveImageW") as FnLoadEnclaveImageW; [INFO] [stdout] | |__________________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, PCWSTR) -> BOOL` [INFO] [stdout] --> src/main.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | let load_enclave_image_w_fn = GetProcAddress( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 120 | | kernel32, [INFO] [stdout] 121 | | "LoadEnclaveImageW\0".as_ptr() as *const i8 [INFO] [stdout] 122 | | ).expect("Failed to get LoadEnclaveImageW") as FnLoadEnclaveImageW; [INFO] [stdout] | |__________________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(HANDLE, *mut c_void, *const c_void, u32, *mut u32) -> BOOL` [INFO] [stdout] --> src/main.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 125 | | kernel32, [INFO] [stdout] 126 | | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 127 | | ).expect("Failed to get InitializeEnclave") as FnInitializeEnclave; [INFO] [stdout] | |__________________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(HANDLE, *mut c_void, *const c_void, u32, *mut u32) -> BOOL` [INFO] [stdout] --> src/main.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | let initialize_enclave_fn = GetProcAddress( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 125 | | kernel32, [INFO] [stdout] 126 | | "InitializeEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 127 | | ).expect("Failed to get InitializeEnclave") as FnInitializeEnclave; [INFO] [stdout] | |__________________________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 195 | kernel32, [INFO] [stdout] 196 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 195 | kernel32, [INFO] [stdout] 196 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 195 | kernel32, [INFO] [stdout] 196 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 200 | let init_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] 202 | "Init\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 200 | let init_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] 202 | "Init\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 195 | kernel32, [INFO] [stdout] 196 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 195 | kernel32, [INFO] [stdout] 196 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 195 | kernel32, [INFO] [stdout] 196 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 200 | let init_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] 202 | "Init\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 200 | let init_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] 202 | "Init\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 200 | let init_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] 202 | "Init\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 200 | let init_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] 202 | "Init\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, *mut c_void, BOOL, *mut *mut c_void) -> BOOL` [INFO] [stdout] --> src/main.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 195 | | kernel32, [INFO] [stdout] 196 | | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 197 | | ).expect("Failed to get CallEnclave") as FnCallEnclave; [INFO] [stdout] | |______________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `*mut c_void` as `HMODULE` [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 235 | kernel32, [INFO] [stdout] 236 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, *mut c_void, BOOL, *mut *mut c_void) -> BOOL` [INFO] [stdout] --> src/main.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 195 | | kernel32, [INFO] [stdout] 196 | | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 197 | | ).expect("Failed to get CallEnclave") as FnCallEnclave; [INFO] [stdout] | |______________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `*mut c_void` as `HMODULE` [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | enclave as HMODULE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 235 | kernel32, [INFO] [stdout] 236 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 235 | kernel32, [INFO] [stdout] 236 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 235 | kernel32, [INFO] [stdout] 236 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 235 | kernel32, [INFO] [stdout] 236 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 240 | let seal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] 242 | "SealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 235 | kernel32, [INFO] [stdout] 236 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 240 | let seal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] 242 | "SealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 240 | let seal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] 242 | "SealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 240 | let seal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] 242 | "SealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 240 | let seal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] 242 | "SealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, *mut c_void, BOOL, *mut *mut c_void) -> BOOL` [INFO] [stdout] --> src/main.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 235 | | kernel32, [INFO] [stdout] 236 | | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 237 | | ).expect("Failed to get CallEnclave") as FnCallEnclave; [INFO] [stdout] | |______________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `*mut c_void` as `HMODULE` [INFO] [stdout] --> src/main.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 240 | let seal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] 242 | "SealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 292 | kernel32, [INFO] [stdout] 293 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, *mut c_void, BOOL, *mut *mut c_void) -> BOOL` [INFO] [stdout] --> src/main.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 235 | | kernel32, [INFO] [stdout] 236 | | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 237 | | ).expect("Failed to get CallEnclave") as FnCallEnclave; [INFO] [stdout] | |______________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `*mut c_void` as `HMODULE` [INFO] [stdout] --> src/main.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | enclave as HMODULE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 292 | kernel32, [INFO] [stdout] 293 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 292 | kernel32, [INFO] [stdout] 293 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 292 | kernel32, [INFO] [stdout] 293 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 297 | let unseal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] 299 | "UnsealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 297 | let unseal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] 299 | "UnsealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 292 | kernel32, [INFO] [stdout] 293 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 292 | kernel32, [INFO] [stdout] 293 | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<*const i8 as TypeKind>::TypeKind == CopyType` [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 297 | let unseal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] 299 | "UnsealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CopyType`, found `ReferenceType` [INFO] [stdout] | [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 297 | let unseal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] 299 | "UnsealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, *mut c_void, BOOL, *mut *mut c_void) -> BOOL` [INFO] [stdout] --> src/main.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 292 | | kernel32, [INFO] [stdout] 293 | | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 294 | | ).expect("Failed to get CallEnclave") as FnCallEnclave; [INFO] [stdout] | |______________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 297 | let unseal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] 299 | "UnsealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CanInto` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CanInto`: [INFO] [stdout] `HINSTANCE` implements `CanInto` [INFO] [stdout] `HMODULE` implements `CanInto` [INFO] [stdout] `HWND` implements `CanInto` [INFO] [stdout] `IAgileObject` implements `CanInto` [INFO] [stdout] `IAgileReference` implements `CanInto` [INFO] [stdout] `ICameraUIControl` implements `CanInto` [INFO] [stdout] `ICameraUIControlEventCallback` implements `CanInto` [INFO] [stdout] `IClipServiceNotificationHelper` implements `CanInto` [INFO] [stdout] and 42 others [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const i8: IntoParam` is not satisfied [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 297 | let unseal_function = GetProcAddress( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] 299 | "UnsealSettings\0".as_ptr() as *const i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Interface` is not implemented for `*const i8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Interface`: [INFO] [stdout] IAgileObject [INFO] [stdout] IAgileReference [INFO] [stdout] ICameraUIControl [INFO] [stdout] ICameraUIControlEventCallback [INFO] [stdout] IClipServiceNotificationHelper [INFO] [stdout] IContainerActivationHelper [INFO] [stdout] IDebugExtendedProperty [INFO] [stdout] IDebugProperty [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `*const i8` to implement `TypeKind` [INFO] [stdout] = note: required for `*const i8` to implement `IntoParam` [INFO] [stdout] note: required by a bound in `LibraryLoader::GetProcAddress` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/LibraryLoader/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 342 | pub unsafe fn GetProcAddress(hmodule: P0, lpprocname: P1) -> super::super::Foundation::FARPROC [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 345 | P1: ::windows_core::IntoParam<::windows_core::PCSTR>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GetProcAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `unsafe extern "system" fn() -> isize` as `unsafe extern "system" fn(*mut c_void, *mut c_void, BOOL, *mut *mut c_void) -> BOOL` [INFO] [stdout] --> src/main.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 291 | let call_enclave_fn = GetProcAddress( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 292 | | kernel32, [INFO] [stdout] 293 | | "CallEnclave\0".as_ptr() as *const i8 [INFO] [stdout] 294 | | ).expect("Failed to get CallEnclave") as FnCallEnclave; [INFO] [stdout] | |______________________________________________________________^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `*mut c_void` as `HMODULE` [INFO] [stdout] --> src/main.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `*mut c_void` as `HMODULE` [INFO] [stdout] --> src/main.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | enclave as HMODULE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:327:32 [INFO] [stdout] | [INFO] [stdout] 327 | let shellcode: [u8; 271] = [ [INFO] [stdout] | ____________________---------___^ [INFO] [stdout] | | | | [INFO] [stdout] | | | help: consider specifying the actual array length: `212` [INFO] [stdout] | | expected due to this [INFO] [stdout] 328 | | 0x49, 0x89, 0xE7, 0x48, 0x31, 0xff, 0x48, 0xf7, 0xe7, 0x65, 0x48, 0x8b, 0x58, 0x60, 0x48, 0x8b, [INFO] [stdout] 329 | | 0x5b, 0x18, 0x48, 0x8b, 0x5b, 0x20, 0x48, 0x8b, 0x1b, 0x48, 0x8b, 0x1b, 0x48, 0x8b, 0x5b, 0x20, [INFO] [stdout] 330 | | 0x49, 0x89, 0xd8, 0x8b, 0x5b, 0x3c, 0x4c, 0x01, 0xc3, 0x48, 0x31, 0xc9, 0x66, 0x81, 0xc1, 0xff, [INFO] [stdout] ... | [INFO] [stdout] 341 | | 0x4C, 0x89, 0xFC, 0xC3, [INFO] [stdout] 342 | | ]; [INFO] [stdout] | |_____^ expected an array with a size of 271, found one with a size of 212 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:327:32 [INFO] [stdout] | [INFO] [stdout] 327 | let shellcode: [u8; 271] = [ [INFO] [stdout] | ____________________---------___^ [INFO] [stdout] | | | | [INFO] [stdout] | | | help: consider specifying the actual array length: `212` [INFO] [stdout] | | expected due to this [INFO] [stdout] 328 | | 0x49, 0x89, 0xE7, 0x48, 0x31, 0xff, 0x48, 0xf7, 0xe7, 0x65, 0x48, 0x8b, 0x58, 0x60, 0x48, 0x8b, [INFO] [stdout] 329 | | 0x5b, 0x18, 0x48, 0x8b, 0x5b, 0x20, 0x48, 0x8b, 0x1b, 0x48, 0x8b, 0x1b, 0x48, 0x8b, 0x5b, 0x20, [INFO] [stdout] 330 | | 0x49, 0x89, 0xd8, 0x8b, 0x5b, 0x3c, 0x4c, 0x01, 0xc3, 0x48, 0x31, 0xc9, 0x66, 0x81, 0xc1, 0xff, [INFO] [stdout] ... | [INFO] [stdout] 341 | | 0x4C, 0x89, 0xFC, 0xC3, [INFO] [stdout] 342 | | ]; [INFO] [stdout] | |_____^ expected an array with a size of 271, found one with a size of 212 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_mirage` (bin "rusty_mirage" test) due to 41 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusty_mirage` (bin "rusty_mirage") due to 41 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8642984dbbf5337b8c9711aa01c903485c831b7df630e9384b1d54f0ebc62be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8642984dbbf5337b8c9711aa01c903485c831b7df630e9384b1d54f0ebc62be1", kill_on_drop: false }` [INFO] [stdout] 8642984dbbf5337b8c9711aa01c903485c831b7df630e9384b1d54f0ebc62be1