[INFO] fetching crate winrt 0.7.2... [INFO] testing winrt-0.7.2 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate winrt 0.7.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate winrt 0.7.2 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate winrt 0.7.2 [INFO] finished tweaking crates.io crate winrt 0.7.2 [INFO] tweaked toml for crates.io crate winrt 0.7.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c0683718040da7e10b9529726642ad77e268cc6674b1e3f86762224e5eddb3f [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" "8c0683718040da7e10b9529726642ad77e268cc6674b1e3f86762224e5eddb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c0683718040da7e10b9529726642ad77e268cc6674b1e3f86762224e5eddb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0683718040da7e10b9529726642ad77e268cc6674b1e3f86762224e5eddb3f", kill_on_drop: false }` [INFO] [stdout] 8c0683718040da7e10b9529726642ad77e268cc6674b1e3f86762224e5eddb3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 104b67c80297f6800fa2864c2bc66c91e2c1b794945786cb2c767c6b3336c28a [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" "104b67c80297f6800fa2864c2bc66c91e2c1b794945786cb2c767c6b3336c28a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling winrt_gen_macros v0.7.2 [INFO] [stderr] Compiling winrt_gen v0.7.2 [INFO] [stderr] Compiling winrt_macros v0.7.2 [INFO] [stderr] Compiling winrt v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.88s [INFO] running `Command { std: "docker" "inspect" "104b67c80297f6800fa2864c2bc66c91e2c1b794945786cb2c767c6b3336c28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104b67c80297f6800fa2864c2bc66c91e2c1b794945786cb2c767c6b3336c28a", kill_on_drop: false }` [INFO] [stdout] 104b67c80297f6800fa2864c2bc66c91e2c1b794945786cb2c767c6b3336c28a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", 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] 23e952c43712435fc962b8f3ba0c00202d007cf3a16eb289e65db37aa0ce9fad [INFO] running `Command { std: "docker" "start" "-a" "23e952c43712435fc962b8f3ba0c00202d007cf3a16eb289e65db37aa0ce9fad", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling winrt v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/guid.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/guid.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::foundation::GuidHelper; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/send_sync.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/send_sync.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::foundation::Uri; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/composition.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/composition.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use windows::ui::composition::{Compositor, SpriteVisual, Visual}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/composition.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use windows::foundation::numerics::Vector3; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/composition.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use windows::ui::composition::{CompositionColorBrush, Compositor}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/composition.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | use windows::ui::{Color, Colors}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/error.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/send_sync.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let url = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/uri.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/media.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/namespace.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `generated` [INFO] [stdout] --> tests/namespace.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use generated::windows::ai::machine_learning::{TensorBoolean, TensorKind}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/boxing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/boxing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::foundation::{IPropertyValue, PropertyValue}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winrt_gen` [INFO] [stdout] --> tests/custom_attribute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winrt_gen::{load_winmd, AttributeArg, TypeReader}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `winrt_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/uri.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::foundation::Uri; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/uri.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use windows::foundation::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(Uri::NAME, "Windows.Foundation.Uri"); [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/static_class.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/static_class.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::foundation::PropertyValue; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PropertyValue` [INFO] [stdout] --> tests/static_class.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(PropertyValue::NAME, "Windows.Foundation.PropertyValue"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PropertyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::RuntimeName` [INFO] [stdout] --> tests/static_class.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winrt::RuntimeName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winrt` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type `PropertyValue` [INFO] [stdout] --> tests/boxing.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let object = PropertyValue::create_string("hello")?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PropertyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TensorBoolean` [INFO] [stdout] --> tests/namespace.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let tensor = TensorBoolean::create()?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TensorBoolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PropertyValue` [INFO] [stdout] --> tests/boxing.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let object = PropertyValue::create_uint32_array(&[1, 2, 3])?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PropertyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TensorKind` [INFO] [stdout] --> tests/namespace.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(tensor.tensor_kind()? == TensorKind::Boolean); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TensorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PropertyValue` [INFO] [stdout] --> tests/boxing.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | PropertyValue::create_string_array(&["Hello".into(), "Rust".into(), "WinRT".into()])?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PropertyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stdout] --> tests/boxing.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let pv: IPropertyValue = object.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stdout] --> tests/boxing.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let pv: IPropertyValue = object.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stdout] --> tests/boxing.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let pv: IPropertyValue = object.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/generic_guids.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GuidHelper` [INFO] [stdout] --> tests/guid.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let a = GuidHelper::create_new_guid()?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GuidHelper` [INFO] [stdout] --> tests/guid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let b = GuidHelper::create_new_guid()?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/async.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/async.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use windows::storage::streams::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/async.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::storage::streams::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GuidHelper` [INFO] [stdout] --> tests/guid.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(!GuidHelper::equals(&a, &b)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::TryInto` [INFO] [stdout] --> tests/boxing.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winrt::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GuidHelper` [INFO] [stdout] --> tests/guid.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(GuidHelper::equals(&a, &a)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | type A = windows::foundation::collections::IIterable; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Uri::iid(), [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | type A = windows::foundation::collections::IIterable; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/try_into.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | type B = windows::foundation::collections::IKeyValuePair< [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | windows::foundation::IAsyncOperationWithProgress, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let null_uri = Uri::default(); [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/try_into.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::foundation::{IClosable, IStringable, Uri}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compositor` [INFO] [stdout] --> tests/composition.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let compositor = Compositor::new()?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Compositor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/uri.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let default: windows::foundation::IUriRuntimeClass = uri.into(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/uri.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let stringable: windows::foundation::IStringable = uri.into(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compositor` [INFO] [stdout] --> tests/composition.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let compositor = Compositor::new()?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Compositor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/uri.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] --> tests/async.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let stream = &InMemoryRandomAccessStream::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Colors` [INFO] [stdout] --> tests/composition.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | let red = Colors::red()?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Colors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uri` in this scope [INFO] [stdout] --> tests/uri.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUriRuntimeClass` in this scope [INFO] [stdout] --> tests/uri.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let default: IUriRuntimeClass = uri.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uri` in this scope [INFO] [stdout] --> tests/uri.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUriRuntimeClass` in this scope [INFO] [stdout] --> tests/uri.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let default: IUriRuntimeClass = uri.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uri` in this scope [INFO] [stdout] --> tests/uri.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stdout] --> tests/uri.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let default: IStringable = uri.into(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uri` in this scope [INFO] [stdout] --> tests/uri.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stdout] --> tests/uri.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let default: IStringable = uri.into(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataWriter` [INFO] [stdout] --> tests/async.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let writer = DataWriter::create_data_writer(stream)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::RuntimeName` [INFO] [stdout] --> tests/uri.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winrt::RuntimeName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataReader` [INFO] [stdout] --> tests/async.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let reader = DataReader::create_data_reader(stream)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] --> tests/async.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let stream = &InMemoryRandomAccessStream::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/xml.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataWriter` [INFO] [stdout] --> tests/async.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let writer = DataWriter::create_data_writer(stream)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/xml.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::data::xml::dom::XmlDocument; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataReader` [INFO] [stdout] --> tests/async.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let reader = DataReader::create_data_reader(stream)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpriteVisual` in this scope [INFO] [stdout] --> tests/composition.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let sprite: SpriteVisual = compositor.create_sprite_visual()?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Visual` in this scope [INFO] [stdout] --> tests/composition.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let visual: Visual = sprite.into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpriteVisual` in this scope [INFO] [stdout] --> tests/composition.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let sprite: &SpriteVisual = &compositor.create_sprite_visual()?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Visual` in this scope [INFO] [stdout] --> tests/composition.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let visual: Visual = sprite.into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpriteVisual` in this scope [INFO] [stdout] --> tests/composition.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let sprite: SpriteVisual = compositor.create_sprite_visual()?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpriteVisual` in this scope [INFO] [stdout] --> tests/composition.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let sprite: &SpriteVisual = &compositor.create_sprite_visual()?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/composition.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | red == Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompositionColorBrush` in this scope [INFO] [stdout] --> tests/composition.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | let brush: CompositionColorBrush = visual.brush()?.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | visual.set_offset(Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | == Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | child.set_offset(Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | child.set_offset(Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | child.set_offset(Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | == Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | == Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vector3` in this scope [INFO] [stdout] --> tests/composition.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | == Vector3 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/error.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let result = windows::foundation::Uri::create_uri("INVALID"); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | windows::foundation::IAsyncActionWithProgress::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | windows::foundation::IAsyncOperationWithProgress::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | windows::foundation::IAsyncOperation::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | windows::foundation::IReferenceArray::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | windows::foundation::AsyncActionProgressHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | windows::foundation::AsyncActionWithProgressCompletedHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | windows::foundation::AsyncOperationCompletedHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | windows::foundation::AsyncOperationProgressHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | windows::foundation::AsyncOperationWithProgressCompletedHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | windows::foundation::EventHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | windows::foundation::TypedEventHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | windows::foundation::collections::IIterable::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | windows::foundation::collections::IIterator::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | windows::foundation::collections::IKeyValuePair::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | windows::foundation::collections::IMapChangedEventArgs::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | windows::foundation::collections::IMapView::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | windows::foundation::collections::IMap::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | windows::foundation::collections::IObservableMap::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | windows::foundation::collections::IObservableVector::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | windows::foundation::collections::IVectorView::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | windows::foundation::collections::IVector::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | windows::foundation::collections::MapChangedEventHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | windows::foundation::collections::VectorChangedEventHandler::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> tests/generic_guids.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | windows::foundation::IReference::::iid(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::ComInterface` [INFO] [stdout] --> tests/generic_guids.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use winrt::ComInterface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::ComInterface` [INFO] [stdout] --> tests/uri.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winrt::ComInterface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XmlDocument` [INFO] [stdout] --> tests/xml.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let doc = XmlDocument::new()?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `XmlDocument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/try_into.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/try_into.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let uri = Uri::default(); [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stdout] --> tests/try_into.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | let s: IStringable = uri.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IClosable` in this scope [INFO] [stdout] --> tests/try_into.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn try_into() -> winrt::Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 22 | let c: winrt::Result = uri.try_into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uri` in this scope [INFO] [stdout] --> tests/try_into.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let uri: Uri = s.try_into().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stdout] --> tests/try_into.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | let s: IStringable = uri.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/async.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | reader.load_async(3)?.await?; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/async.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | reader.load_async(3)?.await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::TryInto` [INFO] [stdout] --> tests/composition.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use winrt::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::ComInterface` [INFO] [stdout] --> tests/try_into.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use winrt::ComInterface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::TryInto` [INFO] [stdout] --> tests/try_into.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use winrt::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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" "23e952c43712435fc962b8f3ba0c00202d007cf3a16eb289e65db37aa0ce9fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e952c43712435fc962b8f3ba0c00202d007cf3a16eb289e65db37aa0ce9fad", kill_on_drop: false }` [INFO] [stdout] 23e952c43712435fc962b8f3ba0c00202d007cf3a16eb289e65db37aa0ce9fad