[INFO] fetching crate winrt 0.7.2... [INFO] checking winrt-0.7.2 against try#8b72f65b805cbe4c261de45030d663f524f27376 for pr-78991 [INFO] extracting crate winrt 0.7.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate winrt 0.7.2 on toolchain 8b72f65b805cbe4c261de45030d663f524f27376 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winrt_macros v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+8b72f65b805cbe4c261de45030d663f524f27376" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d7678bf50bdcbf3fc1f0e569701ac97ca18f3d753a3e76e5f1027ada3b89ce0b [INFO] running `Command { std: "docker" "start" "-a" "d7678bf50bdcbf3fc1f0e569701ac97ca18f3d753a3e76e5f1027ada3b89ce0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7678bf50bdcbf3fc1f0e569701ac97ca18f3d753a3e76e5f1027ada3b89ce0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7678bf50bdcbf3fc1f0e569701ac97ca18f3d753a3e76e5f1027ada3b89ce0b", kill_on_drop: false }` [INFO] [stdout] d7678bf50bdcbf3fc1f0e569701ac97ca18f3d753a3e76e5f1027ada3b89ce0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+8b72f65b805cbe4c261de45030d663f524f27376" "check" "--frozen" "--all" "--all-targets" "--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] a83a9d6e612dec5aa8a255406bd6c447f09e41827fc4041d5d40c3c66a759ee9 [INFO] running `Command { std: "docker" "start" "-a" "a83a9d6e612dec5aa8a255406bd6c447f09e41827fc4041d5d40c3c66a759ee9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking memchr v2.3.4 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling winrt_gen_macros v0.7.2 [INFO] [stderr] Compiling winrt_gen v0.7.2 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling winrt_macros v0.7.2 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking 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/xaml.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/xaml.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::ui::xaml::*; [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/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/object.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: '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: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> tests/escaped.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/debug.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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 crate or module `windows` [INFO] [stdout] --> tests/debug.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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: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 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/static_class.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | 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 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/xml.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os [INFO] [stdout] | ^^ [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: 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] error[E0433]: failed to resolve: use of undeclared type `Application` [INFO] [stdout] --> tests/xaml.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let app = Application::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Application` [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/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 `XmlDocument` [INFO] [stdout] --> tests/debug.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let doc = XmlDocument::new()?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `XmlDocument` [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/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 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 type `Application` [INFO] [stdout] --> tests/xaml.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let app = Application::new()?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Application` [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] 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] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataTemplateKey` [INFO] [stdout] --> tests/xaml.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | DataTemplateKey::new().unwrap_err().code(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DataTemplateKey` [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 type `DataTemplateKey` [INFO] [stdout] --> tests/xaml.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | DataTemplateKey::create_instance_with_type(winrt::Object::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DataTemplateKey` [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[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: aborting due to 3 previous errors; 1 warning emitted [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 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `windows` [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/object.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let uri = windows::foundation::Uri::create_uri("http://kennykerr.ca")?; [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/object.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | 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 crate 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 crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winrt::ComInterface` [INFO] [stdout] --> tests/xaml.rs:9:5 [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: aborting due to 6 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 `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: 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[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 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 `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 `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 `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] 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[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 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[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 `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: aborting due to 3 previous errors [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] For more information about this error, try `rustc --explain E0433`. [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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[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: 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: 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[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 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 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[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[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/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: 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] 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[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[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 `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[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[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] 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] 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] 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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a83a9d6e612dec5aa8a255406bd6c447f09e41827fc4041d5d40c3c66a759ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83a9d6e612dec5aa8a255406bd6c447f09e41827fc4041d5d40c3c66a759ee9", kill_on_drop: false }` [INFO] [stdout] a83a9d6e612dec5aa8a255406bd6c447f09e41827fc4041d5d40c3c66a759ee9