[INFO] fetching crate winrt 0.7.0... [INFO] testing winrt-0.7.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate winrt 0.7.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate winrt 0.7.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate winrt 0.7.0 [INFO] finished tweaking crates.io crate winrt 0.7.0 [INFO] tweaked toml for crates.io crate winrt 0.7.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winrt_macros v0.7.0 [INFO] running `"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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a2f716f6323e4cd713b9707b67a399a7aef3acf59ba431b45f0d8441158f551 [INFO] running `"docker" "start" "-a" "0a2f716f6323e4cd713b9707b67a399a7aef3acf59ba431b45f0d8441158f551"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling winrt_gen_macros v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling winrt_gen v0.7.0 [INFO] [stderr] Compiling winrt_macros v0.7.0 [INFO] [stderr] Compiling winrt v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.42s [INFO] running `"docker" "inspect" "0a2f716f6323e4cd713b9707b67a399a7aef3acf59ba431b45f0d8441158f551"` [INFO] running `"docker" "rm" "-f" "0a2f716f6323e4cd713b9707b67a399a7aef3acf59ba431b45f0d8441158f551"` [INFO] [stdout] 0a2f716f6323e4cd713b9707b67a399a7aef3acf59ba431b45f0d8441158f551 [INFO] running `"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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] 565a7cd4b6685d6466fa5d467fcab788ba8024120df75ad78a88738ec524b6a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "565a7cd4b6685d6466fa5d467fcab788ba8024120df75ad78a88738ec524b6a6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winrt v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/media.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::media::speech_synthesis::SpeechSynthesisStream [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/guid.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::GuidHelper [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/guid.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use windows::foundation::GuidHelper; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> tests/guid.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | let a = GuidHelper::create_new_guid()?; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> tests/guid.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let b = GuidHelper::create_new_guid()?; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/collections.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::* [INFO] [stderr] 6 | | windows::foundation::collections::* [INFO] [stderr] 7 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> tests/guid.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | assert!(!GuidHelper::equals(&a, &b)?); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> tests/guid.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | assert!(GuidHelper::equals(&a, &a)?); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/generic_guids.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] ... | [INFO] [stderr] 7 | | windows::foundation::numerics::* [INFO] [stderr] 8 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/collections.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use windows::foundation::collections::{IIterable, IVectorView, PropertySet}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/collections.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use windows::foundation::{IPropertyValue, IWwwFormUrlDecoderEntry, PropertyValue, Uri}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | type A = windows::foundation::collections::IIterable; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:14:58 [INFO] [stderr] | [INFO] [stderr] 14 | type A = windows::foundation::collections::IIterable; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | type B = windows::foundation::collections::IKeyValuePair< [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | windows::foundation::IAsyncOperationWithProgress, [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | windows::foundation::IAsyncActionWithProgress::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | windows::foundation::IAsyncOperationWithProgress::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | windows::foundation::IAsyncOperation::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | windows::foundation::IReferenceArray::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | windows::foundation::AsyncActionProgressHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | windows::foundation::AsyncActionWithProgressCompletedHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | windows::foundation::AsyncOperationCompletedHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | windows::foundation::AsyncOperationProgressHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | windows::foundation::AsyncOperationWithProgressCompletedHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | windows::foundation::EventHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | windows::foundation::TypedEventHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | windows::foundation::collections::IIterable::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | windows::foundation::collections::IIterator::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | windows::foundation::collections::IKeyValuePair::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | windows::foundation::collections::IMapChangedEventArgs::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | windows::foundation::collections::IMapView::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | windows::foundation::collections::IMap::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | windows::foundation::collections::IObservableMap::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | windows::foundation::collections::IObservableVector::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | windows::foundation::collections::IVectorView::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | windows::foundation::collections::IVector::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | windows::foundation::collections::MapChangedEventHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | windows::foundation::collections::VectorChangedEventHandler::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:188:9 [INFO] [stderr] | [INFO] [stderr] 188 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 193 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/generic_guids.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | windows::foundation::IReference::::iid(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/collections.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | let uri = Uri::create_uri("http://kennykerr.ca?A=1&B=2&C=3")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [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] [stderr] warning: unused import: `winrt::ComInterface` [INFO] [stderr] --> tests/generic_guids.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | use winrt::ComInterface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/error.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::Uri [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertySet` [INFO] [stderr] --> tests/collections.rs:75:15 [INFO] [stderr] | [INFO] [stderr] 75 | let set = PropertySet::new()?; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PropertySet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> tests/collections.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | set.insert("A", PropertyValue::create_uint32(1)?)?; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> tests/collections.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | set.insert("B", PropertyValue::create_uint32(2)?)?; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> tests/collections.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | set.insert("C", PropertyValue::create_uint32(3)?)?; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IIterable` in this scope [INFO] [stderr] --> tests/collections.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let iterable: IIterable = uri.query_parsed()?.into(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IWwwFormUrlDecoderEntry` in this scope [INFO] [stderr] --> tests/collections.rs:44:29 [INFO] [stderr] | [INFO] [stderr] 15 | fn uri() -> winrt::Result<()> { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 44 | let iterable: IIterable = uri.query_parsed()?.into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IVectorView` in this scope [INFO] [stderr] --> tests/collections.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | let iterable: IVectorView = uri.query_parsed()?.into(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IWwwFormUrlDecoderEntry` in this scope [INFO] [stderr] --> tests/collections.rs:57:31 [INFO] [stderr] | [INFO] [stderr] 15 | fn uri() -> winrt::Result<()> { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 57 | let iterable: IVectorView = uri.query_parsed()?.into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stderr] --> tests/collections.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | let pv: IPropertyValue = pair.value()?.try_into()?; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/error.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | let result = windows::foundation::Uri::create_uri("INVALID"); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/uri.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::Uri [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/uri.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use windows::foundation::Uri; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/uri.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use windows::foundation::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | assert_eq!(Uri::NAME, "Windows.Foundation.Uri"); [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | Uri::iid(), [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let null_uri = Uri::default(); [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | let uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/uri.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | let default: windows::foundation::IUriRuntimeClass = uri.into(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/uri.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | let stringable: windows::foundation::IStringable = uri.into(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:46:20 [INFO] [stderr] | [INFO] [stderr] 46 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:56:20 [INFO] [stderr] | [INFO] [stderr] 56 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/object.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::{Uri, IStringable, PropertyValue} [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/object.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | let uri = windows::foundation::Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/object.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | let uri = windows::foundation::Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/object.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | let stringable: windows::foundation::IStringable = uri.into(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/object.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | let object = windows::foundation::PropertyValue::create_string("hello")?; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/uri.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Uri` in this scope [INFO] [stderr] --> tests/uri.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUriRuntimeClass` in this scope [INFO] [stderr] --> tests/uri.rs:47:18 [INFO] [stderr] | [INFO] [stderr] 47 | let default: IUriRuntimeClass = uri.into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Uri` in this scope [INFO] [stderr] --> tests/uri.rs:51:15 [INFO] [stderr] | [INFO] [stderr] 51 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUriRuntimeClass` in this scope [INFO] [stderr] --> tests/uri.rs:52:18 [INFO] [stderr] | [INFO] [stderr] 52 | let default: IUriRuntimeClass = uri.into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Uri` in this scope [INFO] [stderr] --> tests/uri.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | let uri: Uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stderr] --> tests/uri.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | let default: IStringable = uri.into(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Uri` in this scope [INFO] [stderr] --> tests/uri.rs:61:15 [INFO] [stderr] | [INFO] [stderr] 61 | let uri: &Uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stderr] --> tests/uri.rs:62:18 [INFO] [stderr] | [INFO] [stderr] 62 | let default: IStringable = uri.into(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::RuntimeName` [INFO] [stderr] --> tests/uri.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::RuntimeName; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::TryInto` [INFO] [stderr] --> tests/collections.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winrt::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/com_interface.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::{IStringable, IUriRuntimeClass, Uri} [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/com_interface.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use windows::foundation::IStringable; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/com_interface.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | use windows::foundation::IUriRuntimeClass; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/com_interface.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use windows::foundation::Uri; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/delegates.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::* [INFO] [stderr] 6 | | windows::foundation::collections::* [INFO] [stderr] 7 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/com_interface.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | let uri = &Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/delegates.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | use windows::foundation::{AsyncStatus, IAsyncAction}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/delegates.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | use windows::foundation::Uri; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/delegates.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | use windows::foundation::collections::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/delegates.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | use windows::foundation::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `windows::foundation::collections::*`, `windows::foundation::*` [INFO] [stderr] --> tests/delegates.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | use windows::foundation::collections::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 78 | use windows::foundation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/delegates.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | type Handler = windows::foundation::AsyncActionCompletedHandler; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stderr] --> tests/delegates.rs:30:27 [INFO] [stderr] | [INFO] [stderr] 30 | assert!(status == AsyncStatus::Completed); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IAsyncAction` [INFO] [stderr] --> tests/delegates.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | d.invoke(IAsyncAction::default(), AsyncStatus::Completed)?; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `IAsyncAction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stderr] --> tests/delegates.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 36 | d.invoke(IAsyncAction::default(), AsyncStatus::Completed)?; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/delegates.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | type Handler = windows::foundation::TypedEventHandler; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/com_interface.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | let other = &Uri::create_uri("http://microsoft.com")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/com_interface.rs:36:15 [INFO] [stderr] | [INFO] [stderr] 36 | let uri = Uri::default(); [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUriRuntimeClass` in this scope [INFO] [stderr] --> tests/com_interface.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | let u: IUriRuntimeClass = uri.into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stderr] --> tests/com_interface.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | let s: IStringable = uri.into(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/try_into.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::{IClosable, IStringable, Uri} [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/delegates.rs:54:15 [INFO] [stderr] | [INFO] [stderr] 54 | let uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertySet` [INFO] [stderr] --> tests/delegates.rs:80:15 [INFO] [stderr] | [INFO] [stderr] 80 | let set = PropertySet::new()?; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PropertySet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MapChangedEventHandler` [INFO] [stderr] --> tests/delegates.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | MapChangedEventHandler::::new(move |sender, args| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `MapChangedEventHandler` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CollectionChange` [INFO] [stderr] --> tests/delegates.rs:93:50 [INFO] [stderr] | [INFO] [stderr] 93 | assert!(args.collection_change()? == CollectionChange::ItemInserted); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `CollectionChange` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> tests/delegates.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | set.insert("A", PropertyValue::create_uint32(1)?)?; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Uri` in this scope [INFO] [stderr] --> tests/delegates.rs:47:59 [INFO] [stderr] | [INFO] [stderr] 47 | type Handler = windows::foundation::TypedEventHandler; [INFO] [stderr] | - ^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IObservableMap` in this scope [INFO] [stderr] --> tests/delegates.rs:90:22 [INFO] [stderr] | [INFO] [stderr] 90 | let map: IObservableMap = set.into(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/enum.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::* [INFO] [stderr] 6 | | windows::application_model::appointments::AppointmentDaysOfWeek [INFO] [stderr] 7 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/try_into.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use windows::foundation::{IClosable, IStringable, Uri}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/enum.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use windows::foundation::AsyncStatus; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/namespace.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | / winrt::import!( [INFO] [stderr] 6 | | dependencies [INFO] [stderr] 7 | | os [INFO] [stderr] 8 | | types [INFO] [stderr] 9 | | windows::foundation::* [INFO] [stderr] 10 | | windows::ai::machine_learning::* [INFO] [stderr] 11 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/enum.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | use windows::application_model::appointments::AppointmentDaysOfWeek; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stderr] --> tests/enum.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | assert!(AsyncStatus::default().get_abi() == 0); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stderr] --> tests/enum.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | assert!(AsyncStatus::Canceled.get_abi() == 2); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stderr] --> tests/enum.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | assert!(AsyncStatus::Completed.get_abi() == 1); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stderr] --> tests/enum.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | assert!(AsyncStatus::Error.get_abi() == 3); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AsyncStatus` [INFO] [stderr] --> tests/enum.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | assert!(AsyncStatus::Started.get_abi() == 0); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AsyncStatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | assert!(AppointmentDaysOfWeek::default().get_abi() == 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | assert!(AppointmentDaysOfWeek::None.get_abi() == 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | assert!(AppointmentDaysOfWeek::Sunday.get_abi() == 0x1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | assert!(AppointmentDaysOfWeek::Monday.get_abi() == 0x2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | assert!(AppointmentDaysOfWeek::Tuesday.get_abi() == 0x4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | assert!(AppointmentDaysOfWeek::Wednesday.get_abi() == 0x8); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | assert!(AppointmentDaysOfWeek::Thursday.get_abi() == 0x10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | assert!(AppointmentDaysOfWeek::Friday.get_abi() == 0x20); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | assert!(AppointmentDaysOfWeek::Saturday.get_abi() == 0x40); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | let weekend = AppointmentDaysOfWeek::Sunday | AppointmentDaysOfWeek::Saturday; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] --> tests/enum.rs:37:51 [INFO] [stderr] | [INFO] [stderr] 37 | let weekend = AppointmentDaysOfWeek::Sunday | AppointmentDaysOfWeek::Saturday; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `AppointmentDaysOfWeek` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/try_into.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | let uri = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error: aborting due to 42 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `generated` [INFO] [stderr] --> tests/namespace.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | use generated::windows::ai::machine_learning::{TensorBoolean, TensorKind}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `generated` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/debug.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::data::xml::dom::XmlDocument [INFO] [stderr] 6 | | windows::foundation::Uri [INFO] [stderr] 7 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TensorBoolean` [INFO] [stderr] --> tests/namespace.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | let tensor = TensorBoolean::create()?; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `TensorBoolean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TensorKind` [INFO] [stderr] --> tests/namespace.rs:19:38 [INFO] [stderr] | [INFO] [stderr] 19 | assert!(tensor.tensor_kind()? == TensorKind::Boolean); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `TensorKind` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/xml.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::data::xml::dom::* [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::AbiTransferable` [INFO] [stderr] --> tests/com_interface.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::AbiTransferable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::ComInterface` [INFO] [stderr] --> tests/com_interface.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | use winrt::ComInterface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/xml.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use windows::data::xml::dom::XmlDocument; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/debug.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use windows::data::xml::dom::XmlDocument; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/debug.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use windows::foundation::Uri; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> tests/boxing.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / winrt::import!( [INFO] [stderr] 2 | | dependencies [INFO] [stderr] 3 | | os [INFO] [stderr] 4 | | types [INFO] [stderr] 5 | | windows::foundation::{IPropertyValue, PropertyValue} [INFO] [stderr] 6 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: No `windir` environment variable found [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `XmlDocument` [INFO] [stderr] --> tests/xml.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | let doc = XmlDocument::new()?; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `XmlDocument` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `XmlDocument` [INFO] [stderr] --> tests/debug.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | let doc = XmlDocument::new()?; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `XmlDocument` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/debug.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | let url = Uri::create_uri("http://kennykerr.ca")?; [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> tests/try_into.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | let uri = Uri::default(); [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stderr] --> tests/try_into.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | let s: IStringable = uri.try_into().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IClosable` in this scope [INFO] [stderr] --> tests/try_into.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn try_into() -> winrt::Result<()> { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 22 | let c: winrt::Result = uri.try_into(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Uri` in this scope [INFO] [stderr] --> tests/try_into.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | let uri: Uri = s.try_into().unwrap(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stderr] --> tests/try_into.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | let s: IStringable = uri.try_into().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::AbiTransferable` [INFO] [stderr] --> tests/enum.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::AbiTransferable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] warning: unused import: `winrt::ComInterface` [INFO] [stderr] --> tests/uri.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::ComInterface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `windows` [INFO] [stderr] --> tests/boxing.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use windows::foundation::{IPropertyValue, PropertyValue}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `windows` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> tests/boxing.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | let object = PropertyValue::create_string("hello")?; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> tests/boxing.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | let object = PropertyValue::create_uint32_array(&[1, 2, 3])?; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::AbiTransferable` [INFO] [stderr] --> tests/delegates.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::AbiTransferable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::ComInterface` [INFO] [stderr] --> tests/delegates.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::ComInterface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stderr] --> tests/boxing.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | let pv: IPropertyValue = object.try_into()?; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stderr] --> tests/boxing.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let pv: IPropertyValue = object.try_into()?; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] warning: unused import: `winrt::ComInterface` [INFO] [stderr] --> tests/try_into.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::ComInterface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::TryInto` [INFO] [stderr] --> tests/try_into.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | use winrt::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] warning: unused import: `winrt::TryInto` [INFO] [stderr] --> tests/boxing.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.winrt.8spmpi02-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032" "/opt/rustwide/target/debug/deps/winrt-0329bf13881d3032.4gsywg2sp2rortdm.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lkernel32" "-lwindowsapp" "-loleaut32" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsha1-ddde088204eab677.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-0a07979da1fa7aa2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-171ede43b21d034c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-ea69ac8b5a0936d1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-6be6d4d5d08eb152.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c718480fe68c7cec.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-44f8eb3d0b2fad61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-abc626f09920d361.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-546e83c8973f1a65.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-12768dfc68674934.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e06867e4497f2ee8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cbc579f43f6df57b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7abd6d5a7ebf9a23.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-46423c7bc03bd327.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc3773ed7bc68f07.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-9cdc98176efd27e2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-02d88502a763e06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8cdc9d38dd6cd3ce.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-336f7d63e72901ef.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-57917b1be5233117.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lkernel32 [INFO] [stderr] /usr/bin/ld: cannot find -lwindowsapp [INFO] [stderr] /usr/bin/ld: cannot find -loleaut32 [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "565a7cd4b6685d6466fa5d467fcab788ba8024120df75ad78a88738ec524b6a6"` [INFO] running `"docker" "rm" "-f" "565a7cd4b6685d6466fa5d467fcab788ba8024120df75ad78a88738ec524b6a6"` [INFO] [stdout] 565a7cd4b6685d6466fa5d467fcab788ba8024120df75ad78a88738ec524b6a6