[INFO] crate winrt 0.7.1 is already in cache [INFO] checking winrt-0.7.1 against master#e22b61bff0bdd08be7665607cb7be3748c8a35d2 for pr-74627 [INFO] extracting crate winrt 0.7.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate winrt 0.7.1 on toolchain e22b61bff0bdd08be7665607cb7be3748c8a35d2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate winrt 0.7.1 [INFO] finished tweaking crates.io crate winrt 0.7.1 [INFO] tweaked toml for crates.io crate winrt 0.7.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 600a67441a9a34b2b5c8ae81cba5e8414ba7629d0d53aeeab5fc311c8c699991 [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" "600a67441a9a34b2b5c8ae81cba5e8414ba7629d0d53aeeab5fc311c8c699991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "600a67441a9a34b2b5c8ae81cba5e8414ba7629d0d53aeeab5fc311c8c699991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600a67441a9a34b2b5c8ae81cba5e8414ba7629d0d53aeeab5fc311c8c699991", kill_on_drop: false }` [INFO] [stdout] 600a67441a9a34b2b5c8ae81cba5e8414ba7629d0d53aeeab5fc311c8c699991 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fd089235506848243768d2a6580ab6792e05134e20f9f86e967c5dcc4788d68 [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" "2fd089235506848243768d2a6580ab6792e05134e20f9f86e967c5dcc4788d68", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [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] Checking winrt v0.7.1 (/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/enum.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/debug.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 or module `windows` [INFO] [stdout] --> tests/debug.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::data::xml::dom::XmlDocument; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/interface.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 or module `windows` [INFO] [stdout] --> tests/interface.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::foundation::{IStringable, Uri}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/enum.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::foundation::AsyncStatus; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/debug.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::foundation::Uri; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/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/try_into.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/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 type or module `windows` [INFO] [stdout] --> tests/enum.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use windows::application_model::appointments::AppointmentDaysOfWeek; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/collections.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 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 type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `XmlDocument` [INFO] [stdout] --> tests/debug.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let doc = XmlDocument::new()?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `XmlDocument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stdout] --> tests/debug.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let url = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^ use of undeclared type or module `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/xaml.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/object.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 or module `IStringable` [INFO] [stdout] --> tests/interface.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | IStringable::iid(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `IStringable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/collections.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::foundation::collections::{IIterable, IVectorView, PropertySet}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `IStringable` [INFO] [stdout] --> tests/interface.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let s = IStringable::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `IStringable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stdout] --> tests/interface.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let s: IStringable = Uri::create_uri("http://kennykerr.ca")?.into(); [INFO] [stdout] | ^^^ use of undeclared type or module `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/xaml.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let app = windows::ui::xaml::Application::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stdout] --> tests/interface.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | let s: IStringable = Uri::create_uri("http://kennykerr.ca")?.into(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/collections.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::foundation::{IPropertyValue, IWwwFormUrlDecoderEntry, PropertyValue, Uri}; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/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 or module `AsyncStatus` [INFO] [stdout] --> tests/enum.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(AsyncStatus::default().get_abi() == 0); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [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/guid.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/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 type or module `windows` [INFO] [stdout] --> tests/async.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::storage::streams::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stdout] --> tests/enum.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(AsyncStatus::Canceled.get_abi() == 2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stdout] --> tests/enum.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(AsyncStatus::Completed.get_abi() == 1); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stdout] --> tests/enum.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(AsyncStatus::Error.get_abi() == 3); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stdout] --> tests/enum.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(AsyncStatus::Started.get_abi() == 0); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | assert!(AppointmentDaysOfWeek::default().get_abi() == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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: use of undeclared type or module `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 or module `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::ComInterface` [INFO] [stdout] --> tests/interface.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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 6 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] warning: unused import: `winrt::ComInterface` [INFO] [stdout] --> tests/xaml.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use winrt::ComInterface; [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 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 type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/guid.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::foundation::GuidHelper; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winrt`. [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: 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[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(AppointmentDaysOfWeek::None.get_abi() == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(AppointmentDaysOfWeek::Sunday.get_abi() == 0x1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(AppointmentDaysOfWeek::Monday.get_abi() == 0x2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | assert!(AppointmentDaysOfWeek::Tuesday.get_abi() == 0x4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(AppointmentDaysOfWeek::Wednesday.get_abi() == 0x8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(AppointmentDaysOfWeek::Thursday.get_abi() == 0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(AppointmentDaysOfWeek::Friday.get_abi() == 0x20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(AppointmentDaysOfWeek::Saturday.get_abi() == 0x40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let weekend = AppointmentDaysOfWeek::Sunday | AppointmentDaysOfWeek::Saturday; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] --> tests/enum.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | let weekend = AppointmentDaysOfWeek::Sunday | AppointmentDaysOfWeek::Saturday; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 or module `windows` [INFO] [stdout] --> tests/object.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let uri = windows::foundation::Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 or module `Uri` [INFO] [stdout] --> tests/try_into.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let uri = Uri::default(); [INFO] [stdout] | ^^^ use of undeclared type or module `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[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/object.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let uri = windows::foundation::Uri::create_uri("http://kennykerr.ca")?; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/object.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let stringable: windows::foundation::IStringable = uri.into(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stdout] --> tests/object.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let object = windows::foundation::PropertyValue::create_string("hello")?; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stdout] --> tests/collections.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let uri = Uri::create_uri("http://kennykerr.ca?A=1&B=2&C=3")?; [INFO] [stdout] | ^^^ use of undeclared type or module `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `InMemoryRandomAccessStream` [INFO] [stdout] --> tests/async.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let stream = &InMemoryRandomAccessStream::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `InMemoryRandomAccessStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `DataWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TensorBoolean` [INFO] [stdout] --> tests/namespace.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let tensor = TensorBoolean::create()?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `TensorBoolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `TensorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `XmlDocument` [INFO] [stdout] --> tests/xml.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let doc = XmlDocument::new()?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `XmlDocument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Uri` [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 or module `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 or module `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stdout] --> tests/guid.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(!GuidHelper::equals(&a, &b)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::AbiTransferable` [INFO] [stdout] --> tests/enum.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winrt::AbiTransferable; [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 or module `PropertySet` [INFO] [stdout] --> tests/collections.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let set = PropertySet::new()?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `PropertySet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stdout] --> tests/collections.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | set.insert("A", PropertyValue::create_uint32(1)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stdout] --> tests/collections.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | set.insert("B", PropertyValue::create_uint32(2)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stdout] --> tests/collections.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | set.insert("C", PropertyValue::create_uint32(3)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 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 or module `GuidHelper` [INFO] [stdout] --> tests/guid.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(GuidHelper::equals(&a, &a)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 `IIterable` in this scope [INFO] [stdout] --> tests/collections.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let iterable: IIterable = uri.query_parsed()?.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IWwwFormUrlDecoderEntry` in this scope [INFO] [stdout] --> tests/collections.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn uri() -> winrt::Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | let iterable: IIterable = uri.query_parsed()?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IVectorView` in this scope [INFO] [stdout] --> tests/collections.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let iterable: IVectorView = uri.query_parsed()?.into(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IWwwFormUrlDecoderEntry` in this scope [INFO] [stdout] --> tests/collections.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn uri() -> winrt::Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 57 | let iterable: IVectorView = uri.query_parsed()?.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/collections.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let pv: IPropertyValue = pair.value()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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: 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: 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] 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] [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] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::TryInto` [INFO] [stdout] --> tests/collections.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winrt::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2fd089235506848243768d2a6580ab6792e05134e20f9f86e967c5dcc4788d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd089235506848243768d2a6580ab6792e05134e20f9f86e967c5dcc4788d68", kill_on_drop: false }` [INFO] [stdout] 2fd089235506848243768d2a6580ab6792e05134e20f9f86e967c5dcc4788d68