Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version
rustc 1.37.0-nightly (37d001e4d 2019-05-29)# docs.rs version
cratesfyi 0.6.0 (be80566 2019-05-06)# build log
Updating crates.io index
Downloading crates ...
Downloaded wmi v0.4.1
Documenting wmi v0.4.1
Running `rustdoc --edition=2018 --crate-name wmi /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20190529-1.37.0-nightly-37d001e4d --static-root-path / --disable-per-crate-search --extern-html-root-url 'chrono=https://docs.rs/chrono/0.4.6' --extern-html-root-url 'criterion=https://docs.rs/criterion/0.2.11' --extern-html-root-url 'failure=https://docs.rs/failure/0.1.5' --extern-html-root-url 'lazy_static=https://docs.rs/lazy_static/1.3.0' --extern-html-root-url 'log=https://docs.rs/log/0.4.6' --extern-html-root-url 'serde=https://docs.rs/serde/1.0.92' --extern-html-root-url 'serde_json=https://docs.rs/serde_json/1.0.39' --extern-html-root-url 'widestring=https://docs.rs/widestring/0.4.0' --extern-html-root-url 'winapi=https://docs.rs/winapi/0.3.7' -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error[E0432]: unresolved import `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:2:5
|
2 | use failure::Error;
| ^^^^^^^ use of undeclared type or module `failure`
error[E0432]: unresolved import `log`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:3:5
|
3 | use log::debug;
| ^^^ use of undeclared type or module `log`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:8:5
|
8 | use winapi::{
| ^^^^^^ use of undeclared type or module `winapi`
error[E0432]: unresolved import `widestring`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:7:5
|
7 | use widestring::WideCString;
| ^^^^^^^^^^ use of undeclared type or module `widestring`
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:1:5
|
1 | use serde::de::{self, Deserialize, Deserializer, Visitor};
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:1:5
|
1 | use serde::de::{self, Deserialize, Deserializer, Visitor};
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:2:5
|
2 | use serde::forward_to_deserialize_any;
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:79:9
|
79 | use serde::Deserialize;
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:6:5
|
6 | use failure::Error;
| ^^^^^^^ use of undeclared type or module `failure`
error[E0432]: unresolved import `log`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:7:5
|
7 | use log::trace;
| ^^^ use of undeclared type or module `log`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:8:5
|
8 | use serde::de;
| ^^^^^ use of undeclared type or module `serde`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:12:5
|
12 | use winapi::um::oaidl::VARIANT;
| ^^^^^^ use of undeclared type or module `winapi`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:13:5
|
13 | use winapi::um::oleauto::VariantClear;
| ^^^^^^ use of undeclared type or module `winapi`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:14:5
|
14 | use winapi::{
| ^^^^^^ use of undeclared type or module `winapi`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:7:5
|
7 | use winapi::{
| ^^^^^^ use of undeclared type or module `winapi`
error[E0433]: failed to resolve: use of undeclared type or module `chrono`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:1:5
|
1 | use chrono::prelude::*;
| ^^^^^^ use of undeclared type or module `chrono`
error[E0432]: unresolved import `widestring`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:11:5
|
11 | use widestring::WideCString;
| ^^^^^^^^^^ use of undeclared type or module `widestring`
error[E0432]: unresolved import `log`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/variant_de.rs:2:5
|
2 | use log::debug;
| ^^^ use of undeclared type or module `log`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/variant_de.rs:3:5
|
3 | use serde::{de, forward_to_deserialize_any, Deserialize};
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:1:5
|
1 | use failure::format_err;
| ^^^^^^^ use of undeclared type or module `failure`
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:2:5
|
2 | use serde::de::{
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:2:5
|
2 | use serde::de::{
| ^^^^^ use of undeclared type or module `serde`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:9:5
|
9 | use winapi::um::oleauto::VariantClear;
| ^^^^^^ use of undeclared type or module `winapi`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:6:5
|
6 | use serde::forward_to_deserialize_any;
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:4:5
|
4 | use serde::de;
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:5:5
|
5 | use serde::ser;
| ^^^^^ use of undeclared type or module `serde`
error[E0432]: unresolved import `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:7:5
|
7 | use failure::format_err;
| ^^^^^^^ use of undeclared type or module `failure`
error[E0432]: unresolved import `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:4:5
|
4 | use failure::{format_err, Error};
| ^^^^^^^ use of undeclared type or module `failure`
error[E0432]: unresolved import `log`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:5:5
|
5 | use log::trace;
| ^^^ use of undeclared type or module `log`
error[E0432]: unresolved import `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:6:5
|
6 | use serde::de;
| ^^^^^ use of undeclared type or module `serde`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:11:5
|
11 | use winapi::um::wbemcli::IWbemClassObject;
| ^^^^^^ use of undeclared type or module `winapi`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:12:5
|
12 | use winapi::{
| ^^^^^^ use of undeclared type or module `winapi`
error[E0432]: unresolved import `widestring`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:10:5
|
10 | use widestring::WideCString;
| ^^^^^^^^^^ use of undeclared type or module `widestring`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/utils.rs:2:5
|
2 | use winapi::shared::ntdef::HRESULT;
| ^^^^^^ use of undeclared type or module `winapi`
error[E0433]: failed to resolve: use of undeclared type or module `winapi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:4:5
|
4 | use winapi::{
| ^^^^^^ use of undeclared type or module `winapi`
error[E0432]: unresolved import `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/utils.rs:1:5
|
1 | use failure::Fail;
| ^^^^^^^ use of undeclared type or module `failure`
error: cannot determine resolution for the macro `debug`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:118:9
|
118 | debug!("Calling CoCreateInstance for CLSID_WbemLocator");
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `debug`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:134:9
|
134 | debug!("Got locator {:?}", self.p_loc);
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `debug`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:140:9
|
140 | debug!("Calling ConnectServer");
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `debug`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:162:9
|
162 | debug!("Got service {:?}", self.p_svc);
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `debug`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:168:9
|
168 | debug!("Calling CoSetProxyBlanket");
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot find macro `bail!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:17:13
|
17 | bail!("Expected {:?} to be at least 21 chars", s)
| ^^^^
error[E0433]: failed to resolve: use of undeclared type or module `de`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:34:11
|
34 | impl<'de> de::Visitor<'de> for DateTimeVisitor {
| ^^ use of undeclared type or module `de`
error[E0433]: failed to resolve: use of undeclared type or module `de`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:43:12
|
43 | E: de::Error,
| ^^ use of undeclared type or module `de`
error[E0433]: failed to resolve: use of undeclared type or module `de`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:49:11
|
49 | impl<'de> de::Deserialize<'de> for WMIDateTime {
| ^^ use of undeclared type or module `de`
error[E0433]: failed to resolve: use of undeclared type or module `de`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:52:12
|
52 | D: de::Deserializer<'de>,
| ^^ use of undeclared type or module `de`
error[E0433]: failed to resolve: use of undeclared type or module `ser`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:58:6
|
58 | impl ser::Serialize for WMIDateTime {
| ^^^ use of undeclared type or module `ser`
error[E0433]: failed to resolve: use of undeclared type or module `ser`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:61:12
|
61 | S: ser::Serializer,
| ^^^ use of undeclared type or module `ser`
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:8:54
|
8 | ) -> Result<(&'static str, &'static [&'static str]), serde::de::value::Error>
| ^^^^^ use of undeclared type or module `serde`
error: cannot determine resolution for the macro `forward_to_deserialize_any`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:52:9
|
52 | forward_to_deserialize_any! {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:18:22
|
18 | type Error = serde::de::value::Error;
| ^^^^^ use of undeclared type or module `serde`
error: cannot determine resolution for the macro `forward_to_deserialize_any`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/variant_de.rs:63:5
|
63 | forward_to_deserialize_any! {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/variant_de.rs:26:11
|
26 | impl<'de> serde::Deserializer<'de> for Variant {
| ^^^^^ use of undeclared type or module `serde`
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/variant_de.rs:74:12
|
74 | D: serde::Deserializer<'de>,
| ^^^^^ use of undeclared type or module `serde`
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/variant_de.rs:108:20
|
108 | E: serde::de::Error,
| ^^^^^ use of undeclared type or module `serde`
error[E0433]: failed to resolve: use of undeclared type or module `serde`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/variant_de.rs:126:20
|
126 | D: serde::Deserializer<'de>,
| ^^^^^ use of undeclared type or module `serde`
error: cannot determine resolution for the macro `format_err`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:145:20
|
145 | .ok_or(format_err!("Expected current field to not be None"))?;
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_err`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:164:29
|
164 | Err(Error::from_err(format_err!(
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `forward_to_deserialize_any`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:223:5
|
223 | forward_to_deserialize_any! {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_err`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:15:20
|
15 | Self::from(format_err!("{:?}", err))
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_err`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:48:21
|
48 | Error::from(format_err!("{}", msg))
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_err`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:55:21
|
55 | Error::from(format_err!("{}", msg))
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0433]: failed to resolve: use of undeclared type or module `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:10:10
|
10 | err: failure::Error,
| ^^^^^^^ use of undeclared type or module `failure`
error[E0433]: failed to resolve: use of undeclared type or module `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:59:25
|
59 | impl std::convert::From<failure::Error> for Error {
| ^^^^^^^ use of undeclared type or module `failure`
error[E0433]: failed to resolve: use of undeclared type or module `failure`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/error.rs:60:18
|
60 | fn from(err: failure::Error) -> Self {
| ^^^^^^^ use of undeclared type or module `failure`
error: cannot determine resolution for the macro `format_err`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:250:28
|
250 | .ok_or_else(|| format_err!("No results returned"))
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `trace`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/query.rs:149:9
|
149 | trace!("Got enumerator {:?}", p_enumerator);
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `trace`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:169:9
|
169 | trace!(
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the derive macro `Fail`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/utils.rs:4:17
|
4 | #[derive(Debug, Fail)]
| ^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot find macro `bail!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:89:26
|
89 | _ => bail!("Invalid bool value: {:#X}", value),
| ^^^^
error: cannot find macro `bail!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:114:18
|
114 | _ => bail!(
| ^^^^
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
139 | impl_try_from_variant!(String, String);
| --------------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
140 | impl_try_from_variant!(i8, I1);
| ------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
141 | impl_try_from_variant!(i16, I2);
| -------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
142 | impl_try_from_variant!(i32, I4);
| -------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
143 | impl_try_from_variant!(i64, I8);
| -------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
144 | impl_try_from_variant!(u8, UI1);
| -------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
145 | impl_try_from_variant!(u16, UI2);
| --------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
146 | impl_try_from_variant!(u32, UI4);
| --------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
147 | impl_try_from_variant!(u64, UI8);
| --------------------------------- in this macro invocation
error: cannot find macro `format_err!` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:132:34
|
132 | other => Err(format_err!("Variant {:?} cannot be turned into a {}", &other, stringify!($target_type)))
| ^^^^^^^^^^ help: you could try the macro: `format_args`
...
148 | impl_try_from_variant!(bool, Bool);
| ----------------------------------- in this macro invocation
error[E0412]: cannot find type `IWbemLocator` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:84:26
|
84 | p_loc: Option<Unique<IWbemLocator>>,
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `IWbemServices` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:85:26
|
85 | p_svc: Option<Unique<IWbemServices>>,
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `IWbemServices` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:109:31
|
109 | pub fn svc(&self) -> *mut IWbemServices {
| ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `IWbemLocator` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/connection.rs:113:27
|
113 | fn loc(&self) -> *mut IWbemLocator {
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `DateTime` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:10:28
|
10 | pub struct WMIDateTime(pub DateTime<FixedOffset>);
| ^^^^^^^^ not found in this scope
error[E0412]: cannot find type `FixedOffset` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:10:37
|
10 | pub struct WMIDateTime(pub DateTime<FixedOffset>);
| ^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/datetime.rs:13:16
|
13 | type Err = Error;
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0405]: cannot find trait `Deserialize` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:10:8
|
10 | T: Deserialize<'de>,
| ^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Deserializer` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:17:19
|
17 | impl<'de, 'a> Deserializer<'de> for StructNameAndFieldsDeserializer<'a> {
| ^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:22:16
|
22 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:33:16
|
33 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/meta.rs:45:16
|
45 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `DeserializeOwned` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:28:8
|
28 | T: DeserializeOwned,
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `EnumAccess` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:46:15
|
46 | impl<'de, 'a> EnumAccess<'de> for WMIEnum<'a, 'de> {
| ^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `DeserializeSeed` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:52:12
|
52 | V: DeserializeSeed<'de>,
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `VariantAccess` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:59:15
|
59 | impl<'de, 'a> VariantAccess<'de> for WMIEnum<'a, 'de> {
| ^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `DeserializeSeed` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:65:12
|
65 | T: DeserializeSeed<'de>,
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:78:12
|
78 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:90:12
|
90 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `MapAccess` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:119:21
|
119 | impl<'de, 'a, S, I> MapAccess<'de> for WMIMapAccess<'a, 'de, S, I>
| ^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `DeserializeSeed` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:128:12
|
128 | K: DeserializeSeed<'de>,
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `DeserializeSeed` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:140:12
|
140 | V: DeserializeSeed<'de>,
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:162:12
|
162 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:176:12
|
176 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:184:12
|
184 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:197:12
|
197 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:204:12
|
204 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Visitor` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/de/wbem_class_de.rs:218:12
|
218 | V: Visitor<'de>,
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `IWbemClassObject` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:31:30
|
31 | pub inner: Option<Unique<IWbemClassObject>>,
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `IWbemClassObject` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:35:35
|
35 | pub fn new(ptr: Option<Unique<IWbemClassObject>>) -> Self {
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `IEnumWbemClassObject` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:117:33
|
117 | p_enumerator: Option<Unique<IEnumWbemClassObject>>,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `IEnumWbemClassObject` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/result_enumerator.rs:121:63
|
121 | pub fn new(wmi_con: &'a WMIConnection, p_enumerator: *mut IEnumWbemClassObject) -> Self {
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `SAFEARRAY` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:25:15
|
25 | arr: *mut SAFEARRAY,
| ^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `SAFEARRAY` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:51:33
|
51 | pub unsafe fn new(arr: *mut SAFEARRAY) -> Result<Self, Error> {
| ^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:51:60
|
51 | pub unsafe fn new(arr: *mut SAFEARRAY) -> Result<Self, Error> {
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `SAFEARRAY` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:89:47
|
89 | pub fn safe_array_to_vec_of_strings(arr: *mut SAFEARRAY) -> Result<Vec<String>, Error> {
| ^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:89:81
|
89 | pub fn safe_array_to_vec_of_strings(arr: *mut SAFEARRAY) -> Result<Vec<String>, Error> {
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `SAFEARRAY` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:103:36
|
103 | pub fn safe_array_to_vec(arr: *mut SAFEARRAY, item_type: u32) -> Result<Vec<Variant>, Error> {
| ^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/safearray.rs:103:87
|
103 | pub fn safe_array_to_vec(arr: *mut SAFEARRAY, item_type: u32) -> Result<Vec<Variant>, Error> {
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `HRESULT` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/utils.rs:7:26
|
7 | HResultError { hres: HRESULT },
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `HRESULT` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/utils.rs:10:25
|
10 | pub fn check_hres(hres: HRESULT) -> Result<(), WMIError> {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `VARIANT` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:36:29
|
36 | pub fn from_variant(vt: VARIANT) -> Result<Variant, Error> {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:36:57
|
36 | pub fn from_variant(vt: VARIANT) -> Result<Variant, Error> {
| ^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
139 | impl_try_from_variant!(String, String);
| --------------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
140 | impl_try_from_variant!(i8, I1);
| ------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
141 | impl_try_from_variant!(i16, I2);
| -------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
142 | impl_try_from_variant!(i32, I4);
| -------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
143 | impl_try_from_variant!(i64, I8);
| -------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
144 | impl_try_from_variant!(u8, UI1);
| -------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
145 | impl_try_from_variant!(u16, UI2);
| --------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
146 | impl_try_from_variant!(u32, UI4);
| --------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
147 | impl_try_from_variant!(u64, UI8);
| --------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error[E0412]: cannot find type `Error` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/variant.rs:127:26
|
127 | type Error = Error;
| ^^^^^
...
148 | impl_try_from_variant!(bool, Bool);
| ----------------------------------- in this macro invocation
help: try
|
127 | type Error = Self::Error;
| ^^^^^^^^^^^
help: possible candidates are found in other modules, you can import them into scope
|
1 | use core::fmt::Error;
|
1 | use crate::error::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 1 other candidates
error: Compilation failed, aborting rustdoc
error: aborting due to 135 previous errors
Some errors have detailed explanations: E0405, E0412, E0432, E0433.
For more information about an error, try `rustc --explain E0405`.
thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `rustdoc --edition=2018 --crate-name wmi /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/wmi-0.4.1/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20190529-1.37.0-nightly-37d001e4d --static-root-path / --disable-per-crate-search --extern-html-root-url \'chrono=https://docs.rs/chrono/0.4.6\' --extern-html-root-url \'criterion=https://docs.rs/criterion/0.2.11\' --extern-html-root-url \'failure=https://docs.rs/failure/0.1.5\' --extern-html-root-url \'lazy_static=https://docs.rs/lazy_static/1.3.0\' --extern-html-root-url \'log=https://docs.rs/log/0.4.6\' --extern-html-root-url \'serde=https://docs.rs/serde/1.0.92\' --extern-html-root-url \'serde_json=https://docs.rs/serde_json/1.0.39\' --extern-html-root-url \'widestring=https://docs.rs/widestring/0.4.0\' --extern-html-root-url \'winapi=https://docs.rs/winapi/0.3.7\' -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 1)", exit: Some(ExitStatus(ExitStatus(256))), output: None }
Could not document `wmi`.', src/bin/cratesfyi.rs:160:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.