[INFO] fetching crate mcom 0.1.1... [INFO] checking mcom-0.1.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate mcom 0.1.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate mcom 0.1.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mcom 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mcom 0.1.1 [INFO] tweaked toml for crates.io crate mcom 0.1.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate mcom 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wio v0.2.2 [INFO] [stderr] Downloaded com_macros v0.3.0 [INFO] [stderr] Downloaded com_macros_support v0.3.0 [INFO] [stderr] Downloaded com v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b7f7fefeaa5c6010044ccb004157a53d9847f53f64daa8f347388206e7c6195e [INFO] running `Command { std: "docker" "start" "-a" "b7f7fefeaa5c6010044ccb004157a53d9847f53f64daa8f347388206e7c6195e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7f7fefeaa5c6010044ccb004157a53d9847f53f64daa8f347388206e7c6195e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7f7fefeaa5c6010044ccb004157a53d9847f53f64daa8f347388206e7c6195e", kill_on_drop: false }` [INFO] [stdout] b7f7fefeaa5c6010044ccb004157a53d9847f53f64daa8f347388206e7c6195e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91436a0c44ba18bb039ca7256421dc4c0817d2e2bb3b5f83e0607ba6dabf5f36 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "91436a0c44ba18bb039ca7256421dc4c0817d2e2bb3b5f83e0607ba6dabf5f36", kill_on_drop: false }` [INFO] [stderr] Compiling mcom v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/interface.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/interface.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/agile.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::combaseapi::{AGILEREFERENCE_DEFAULT, AGILEREFERENCE_DELAYEDMARSHAL, AgileReferenceOptions, RoGetAgileReference}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/agile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::objidlbase::IAgileReference; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/agile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/git.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::cguid::CLSID_StdGlobalInterfaceTable; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/git.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::objidlbase::IGlobalInterfaceTable; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::winerror::{HRESULT, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::winerror::{S_OK, S_FALSE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, CoIncrementMTAUsage, CoDecrementMTAUsage, CO_MTA_USAGE_COOKIE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::objbase::{COINIT, COINIT_APARTMENTTHREADED, COINIT_MULTITHREADED, COINIT_DISABLE_OLE1DDE, COINIT_SPEED_OVER_MEMORY}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/git.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::wtypesbase::{CLSCTX, CLSCTX_INPROC_SERVER}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::combaseapi::{CoCreateInstance, CoCreateInstanceFromApp}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::objidlbase::MULTI_QI; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::guiddef::GUID`, `winapi::shared::wtypesbase::CLSCTX`, `winapi::shared::wtypesbase::CLSCTX_INPROC_SERVER`, `winapi::um::combaseapi::CoCreateInstance`, `winapi::um::combaseapi::CoCreateInstanceFromApp`, `winapi::um::objidlbase::MULTI_QI`, `winapi::um::unknwnbase::IUnknown` [INFO] [stdout] --> src/rc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::{Interface}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] 5 | use winapi::shared::winerror::*; [INFO] [stdout] 6 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use winapi::shared::wtypesbase::{CLSCTX, CLSCTX_INPROC_SERVER}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use winapi::um::combaseapi::{CoCreateInstance, CoCreateInstanceFromApp}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use winapi::um::objidlbase::MULTI_QI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/interface.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/interface.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/agile.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::combaseapi::{AGILEREFERENCE_DEFAULT, AGILEREFERENCE_DELAYEDMARSHAL, AgileReferenceOptions, RoGetAgileReference}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/agile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::objidlbase::IAgileReference; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/agile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/git.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::cguid::CLSID_StdGlobalInterfaceTable; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/git.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::objidlbase::IGlobalInterfaceTable; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::winerror::{HRESULT, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::winerror::{S_OK, S_FALSE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, CoIncrementMTAUsage, CoDecrementMTAUsage, CO_MTA_USAGE_COOKIE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/init.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::objbase::{COINIT, COINIT_APARTMENTTHREADED, COINIT_MULTITHREADED, COINIT_DISABLE_OLE1DDE, COINIT_SPEED_OVER_MEMORY}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/git.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::wtypesbase::{CLSCTX, CLSCTX_INPROC_SERVER}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::combaseapi::{CoCreateInstance, CoCreateInstanceFromApp}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::objidlbase::MULTI_QI; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/rc.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::guiddef::GUID`, `winapi::shared::wtypesbase::CLSCTX`, `winapi::shared::wtypesbase::CLSCTX_INPROC_SERVER`, `winapi::um::combaseapi::CoCreateInstance`, `winapi::um::combaseapi::CoCreateInstanceFromApp`, `winapi::um::objidlbase::MULTI_QI`, `winapi::um::unknwnbase::IUnknown` [INFO] [stdout] --> src/rc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::{Interface}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] 5 | use winapi::shared::winerror::*; [INFO] [stdout] 6 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use winapi::shared::wtypesbase::{CLSCTX, CLSCTX_INPROC_SERVER}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use winapi::um::combaseapi::{CoCreateInstance, CoCreateInstanceFromApp}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use winapi::um::objidlbase::MULTI_QI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAgileReference` in this scope [INFO] [stdout] --> src/agile.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Agile { [INFO] [stdout] | - help: you might be missing a type parameter: `, IAgileReference` [INFO] [stdout] 21 | agile: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RoGetAgileReference` in this scope [INFO] [stdout] --> src/agile.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let hr = unsafe { RoGetAgileReference(ro, &I::uuidof(), unk, &mut agile) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AGILEREFERENCE_DEFAULT` in this scope [INFO] [stdout] --> src/agile.rs:123:71 [INFO] [stdout] | [INFO] [stdout] 123 | pub const DEFAULT : ReferenceOptions = ReferenceOptions(AGILEREFERENCE_DEFAULT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AGILEREFERENCE_DELAYEDMARSHAL` in this scope [INFO] [stdout] --> src/agile.rs:124:71 [INFO] [stdout] | [INFO] [stdout] 124 | pub const DELAYED_MARSHAL : ReferenceOptions = ReferenceOptions(AGILEREFERENCE_DELAYEDMARSHAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AgileReferenceOptions` in this scope [INFO] [stdout] --> src/agile.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct ReferenceOptions(u32); [INFO] [stdout] | --------------------------------- similarly named struct `ReferenceOptions` defined here [INFO] [stdout] ... [INFO] [stdout] 141 | impl From for AgileReferenceOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ReferenceOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/git.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(SUCCEEDED(hr), "IGlobalInterfaceTable::RevokeInterfaceFromGlobal failed with HRESULT == 0x{:08x}", hr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IGlobalInterfaceTable` in this scope [INFO] [stdout] --> src/git.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | static GIT : mcom::Rc = create_thread_git(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IGlobalInterfaceTable` in this scope [INFO] [stdout] --> src/git.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | fn create_thread_git() -> mcom::Rc { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_StdGlobalInterfaceTable` in this scope [INFO] [stdout] --> src/git.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { mcom::Rc::co_create(CLSID_StdGlobalInterfaceTable, None) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn co_create(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:93:60 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn co_create(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn co_create(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn co_create_impl(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:98:61 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn co_create_impl(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn co_create_impl(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stdout] --> src/rc.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | Self::co_create_instance(clsid, outer, CLSCTX_INPROC_SERVER) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CLSCTX` in this scope [INFO] [stdout] --> src/rc.rs:109:85 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/rc.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let hr = CoCreateInstance(&clsid, outer, clsctx, &I::uuidof(), &mut ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:121:50 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, reserved: ()) -> Result src/rc.rs:121:74 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, reserved: ()) -> Result>, clsctx: CLSCTX, reserved: ()) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CLSCTX` in this scope [INFO] [stdout] --> src/rc.rs:121:94 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, reserved: ()) -> Result src/rc.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let mut mqi = [MULTI_QI { pIID: &clsid, pItf: null_mut(), hr: 0 }]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/rc.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | if !SUCCEEDED(hr) { return None; } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> ... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:243:70 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> Result<(), MethodHResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> Result<(), MethodHResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CLSCTX` in this scope [INFO] [stdout] --> src/rc.rs:243:90 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> ... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MULTI_QI` in this scope [INFO] [stdout] --> src/rc.rs:243:124 [INFO] [stdout] | [INFO] [stdout] 243 | ...known>>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> Result<(), MethodHResult> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKE_HRESULT` in this scope [INFO] [stdout] --> src/rc.rs:244:101 [INFO] [stdout] | [INFO] [stdout] 244 | ...|_| MethodHResult("co_create_instance_from_app", MAKE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/rc.rs:244:114 [INFO] [stdout] | [INFO] [stdout] 244 | ...ult("co_create_instance_from_app", MAKE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FACILITY_NULL` in this scope [INFO] [stdout] --> src/rc.rs:244:130 [INFO] [stdout] | [INFO] [stdout] 244 | ...nstance_from_app", MAKE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_ARITHMETIC_OVERFLOW` in this scope [INFO] [stdout] --> src/rc.rs:244:145 [INFO] [stdout] | [INFO] [stdout] 244 | ...KE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstanceFromApp` in this scope [INFO] [stdout] --> src/rc.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | let hr = CoCreateInstanceFromApp(&clsid, outer, clsctx, null_mut(), count, out.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MethodHResult(pub(crate) &'static str, pub(crate) HRESULT); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn check(method: &'static str, hr: HRESULT) -> Result<(), Self> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/errors.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn hresult(&self) -> HRESULT { self.1 } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/init.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let hr = unsafe { CoInitializeEx(reserved, coinit) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/init.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | CoUninitialize(); // no hresult to check [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/init.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct CoInitializeExReserved<'p>(*mut c_void, PhantomData<&'p ()>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COINIT` in this scope [INFO] [stdout] --> src/init.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct CoInit(COINIT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/init.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | pub const APARTMENT_THREADED : CoInit = CoInit(COINIT_APARTMENTTHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_MULTITHREADED` in this scope [INFO] [stdout] --> src/init.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | pub const MULTI_THREADED : CoInit = CoInit(COINIT_MULTITHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COINIT` in this scope [INFO] [stdout] --> src/init.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct CoInitFlag(COINIT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/init.rs:152:63 [INFO] [stdout] | [INFO] [stdout] 152 | pub const DISABLE_OLE1DDE : CoInitFlag = CoInitFlag(COINIT_DISABLE_OLE1DDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_SPEED_OVER_MEMORY` in this scope [INFO] [stdout] --> src/init.rs:155:63 [INFO] [stdout] | [INFO] [stdout] 155 | pub const SPEED_OVER_MEMORY : CoInitFlag = CoInitFlag(COINIT_SPEED_OVER_MEMORY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CO_MTA_USAGE_COOKIE` in this scope [INFO] [stdout] --> src/init.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct MTAUsageScope(CO_MTA_USAGE_COOKIE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoIncrementMTAUsage` in this scope [INFO] [stdout] --> src/init.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | let hr = CoIncrementMTAUsage(&mut cookie); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoDecrementMTAUsage` in this scope [INFO] [stdout] --> src/init.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | let hr = unsafe { CoDecrementMTAUsage(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | fn as_iunknown(&self) -> &IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | fn as_iunknown_ptr(&self) -> *mut IUnknown { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | self.as_iunknown() as *const IUnknown as *mut IUnknown [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | self.as_iunknown() as *const IUnknown as *mut IUnknown [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] ... [INFO] [stdout] 18 | fn as_iunknown(&self) -> &IUnknown { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `AsIUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] ... [INFO] [stdout] 19 | unsafe { &*(self as *const Self as *const IUnknown) } [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `AsIUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcom` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `IAgileReference` in this scope [INFO] [stdout] --> src/agile.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Agile { [INFO] [stdout] | - help: you might be missing a type parameter: `, IAgileReference` [INFO] [stdout] 21 | agile: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RoGetAgileReference` in this scope [INFO] [stdout] --> src/agile.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let hr = unsafe { RoGetAgileReference(ro, &I::uuidof(), unk, &mut agile) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AGILEREFERENCE_DEFAULT` in this scope [INFO] [stdout] --> src/agile.rs:123:71 [INFO] [stdout] | [INFO] [stdout] 123 | pub const DEFAULT : ReferenceOptions = ReferenceOptions(AGILEREFERENCE_DEFAULT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AGILEREFERENCE_DELAYEDMARSHAL` in this scope [INFO] [stdout] --> src/agile.rs:124:71 [INFO] [stdout] | [INFO] [stdout] 124 | pub const DELAYED_MARSHAL : ReferenceOptions = ReferenceOptions(AGILEREFERENCE_DELAYEDMARSHAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AgileReferenceOptions` in this scope [INFO] [stdout] --> src/agile.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct ReferenceOptions(u32); [INFO] [stdout] | --------------------------------- similarly named struct `ReferenceOptions` defined here [INFO] [stdout] ... [INFO] [stdout] 141 | impl From for AgileReferenceOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ReferenceOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/git.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(SUCCEEDED(hr), "IGlobalInterfaceTable::RevokeInterfaceFromGlobal failed with HRESULT == 0x{:08x}", hr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IGlobalInterfaceTable` in this scope [INFO] [stdout] --> src/git.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | static GIT : mcom::Rc = create_thread_git(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IGlobalInterfaceTable` in this scope [INFO] [stdout] --> src/git.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | fn create_thread_git() -> mcom::Rc { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_StdGlobalInterfaceTable` in this scope [INFO] [stdout] --> src/git.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { mcom::Rc::co_create(CLSID_StdGlobalInterfaceTable, None) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn co_create(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:93:60 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn co_create(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn co_create(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn co_create_impl(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:98:61 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn co_create_impl(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn co_create_impl(clsid: GUID, outer: Option<&Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_INPROC_SERVER` in this scope [INFO] [stdout] --> src/rc.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | Self::co_create_instance(clsid, outer, CLSCTX_INPROC_SERVER) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CLSCTX` in this scope [INFO] [stdout] --> src/rc.rs:109:85 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe fn co_create_instance(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/rc.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let hr = CoCreateInstance(&clsid, outer, clsctx, &I::uuidof(), &mut ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:121:50 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, reserved: ()) -> Result src/rc.rs:121:74 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, reserved: ()) -> Result>, clsctx: CLSCTX, reserved: ()) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | impl Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CLSCTX` in this scope [INFO] [stdout] --> src/rc.rs:121:94 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, reserved: ()) -> Result src/rc.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let mut mqi = [MULTI_QI { pIID: &clsid, pItf: null_mut(), hr: 0 }]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/rc.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | if !SUCCEEDED(hr) { return None; } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/rc.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> ... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:243:70 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> Result<(), MethodHResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> Result<(), MethodHResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CLSCTX` in this scope [INFO] [stdout] --> src/rc.rs:243:90 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe fn co_create_instance_from_app(clsid: GUID, outer: Option<&Rc>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> ... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MULTI_QI` in this scope [INFO] [stdout] --> src/rc.rs:243:124 [INFO] [stdout] | [INFO] [stdout] 243 | ...known>>, clsctx: CLSCTX, _reserved: (), out: &mut [MULTI_QI]) -> Result<(), MethodHResult> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKE_HRESULT` in this scope [INFO] [stdout] --> src/rc.rs:244:101 [INFO] [stdout] | [INFO] [stdout] 244 | ...|_| MethodHResult("co_create_instance_from_app", MAKE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/rc.rs:244:114 [INFO] [stdout] | [INFO] [stdout] 244 | ...ult("co_create_instance_from_app", MAKE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FACILITY_NULL` in this scope [INFO] [stdout] --> src/rc.rs:244:130 [INFO] [stdout] | [INFO] [stdout] 244 | ...nstance_from_app", MAKE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_ARITHMETIC_OVERFLOW` in this scope [INFO] [stdout] --> src/rc.rs:244:145 [INFO] [stdout] | [INFO] [stdout] 244 | ...KE_HRESULT(SEVERITY_ERROR, FACILITY_NULL, ERROR_ARITHMETIC_OVERFLOW as _)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstanceFromApp` in this scope [INFO] [stdout] --> src/rc.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | let hr = CoCreateInstanceFromApp(&clsid, outer, clsctx, null_mut(), count, out.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:255:59 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(align_of::<*const c_void>(), align_of::>()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(align_of::<*const c_void>(), align_of::>()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 251 | #[test] fn layout() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:256:66 [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(align_of::<*const c_void>(), align_of::>>()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(align_of::<*const c_void>(), align_of::>>()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 251 | #[test] fn layout() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:257:67 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(align_of::<*const c_void>(), align_of::<&Option>>()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(align_of::<*const c_void>(), align_of::<&Option>>()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 251 | #[test] fn layout() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:259:57 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(size_of::<*const c_void>(), size_of::>()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(size_of::<*const c_void>(), size_of::>()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 251 | #[test] fn layout() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:260:64 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(size_of::<*const c_void>(), size_of::>>()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(size_of::<*const c_void>(), size_of::>>()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 251 | #[test] fn layout() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/rc.rs:261:65 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(size_of::<*const c_void>(), size_of::<&Option>>()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/interface.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(size_of::<*const c_void>(), size_of::<&Option>>()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 251 | #[test] fn layout() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MethodHResult(pub(crate) &'static str, pub(crate) HRESULT); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn check(method: &'static str, hr: HRESULT) -> Result<(), Self> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/errors.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | if SUCCEEDED(hr) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/errors.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn hresult(&self) -> HRESULT { self.1 } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/init.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let hr = unsafe { CoInitializeEx(reserved, coinit) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/init.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | CoUninitialize(); // no hresult to check [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/init.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct CoInitializeExReserved<'p>(*mut c_void, PhantomData<&'p ()>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COINIT` in this scope [INFO] [stdout] --> src/init.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct CoInit(COINIT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/init.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | pub const APARTMENT_THREADED : CoInit = CoInit(COINIT_APARTMENTTHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_MULTITHREADED` in this scope [INFO] [stdout] --> src/init.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | pub const MULTI_THREADED : CoInit = CoInit(COINIT_MULTITHREADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COINIT` in this scope [INFO] [stdout] --> src/init.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct CoInitFlag(COINIT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/init.rs:152:63 [INFO] [stdout] | [INFO] [stdout] 152 | pub const DISABLE_OLE1DDE : CoInitFlag = CoInitFlag(COINIT_DISABLE_OLE1DDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_SPEED_OVER_MEMORY` in this scope [INFO] [stdout] --> src/init.rs:155:63 [INFO] [stdout] | [INFO] [stdout] 155 | pub const SPEED_OVER_MEMORY : CoInitFlag = CoInitFlag(COINIT_SPEED_OVER_MEMORY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CO_MTA_USAGE_COOKIE` in this scope [INFO] [stdout] --> src/init.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct MTAUsageScope(CO_MTA_USAGE_COOKIE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoIncrementMTAUsage` in this scope [INFO] [stdout] --> src/init.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | let hr = CoIncrementMTAUsage(&mut cookie); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoDecrementMTAUsage` in this scope [INFO] [stdout] --> src/init.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | let hr = unsafe { CoDecrementMTAUsage(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | fn as_iunknown(&self) -> &IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | fn as_iunknown_ptr(&self) -> *mut IUnknown { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | self.as_iunknown() as *const IUnknown as *mut IUnknown [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | self.as_iunknown() as *const IUnknown as *mut IUnknown [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] ... [INFO] [stdout] 18 | fn as_iunknown(&self) -> &IUnknown { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `AsIUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/interface.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe trait AsIUnknown { [INFO] [stdout] | --------------------------- similarly named trait `AsIUnknown` defined here [INFO] [stdout] ... [INFO] [stdout] 19 | unsafe { &*(self as *const Self as *const IUnknown) } [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `AsIUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "91436a0c44ba18bb039ca7256421dc4c0817d2e2bb3b5f83e0607ba6dabf5f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91436a0c44ba18bb039ca7256421dc4c0817d2e2bb3b5f83e0607ba6dabf5f36", kill_on_drop: false }` [INFO] [stdout] 91436a0c44ba18bb039ca7256421dc4c0817d2e2bb3b5f83e0607ba6dabf5f36