[INFO] crate rusty_winapi 0.1.1 is already in cache
[INFO] checking rusty_winapi-0.1.1 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate rusty_winapi 0.1.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate rusty_winapi 0.1.1 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate rusty_winapi 0.1.1
[INFO] finished tweaking crates.io crate rusty_winapi 0.1.1
[INFO] tweaked toml for crates.io crate rusty_winapi 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] eab1435baaf9fa6705dd358a6c6e3174efecc9ba8d7609998349a03cc51cfe35
[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" "eab1435baaf9fa6705dd358a6c6e3174efecc9ba8d7609998349a03cc51cfe35"`
[INFO] [stderr]     Checking rusty_winapi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/auto_bstr.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::ntdef::{NULL, PVOID};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/auto_bstr.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::shared::wtypes::BSTR;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::minwindef::{BOOL, TRUE, UINT};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::shared::ntdef::{NULL, PVOID};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use winapi::shared::wtypes::BSTR;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:65:15
[INFO] [stderr]    |
[INFO] [stderr] 65 |         match winapi::um::oleauto::SysAllocString(src.as_ptr()) as PVOID {
[INFO] [stderr]    |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:123:15
[INFO] [stderr]     |
[INFO] [stderr] 123 |         match winapi::um::oleauto::SysReAllocString(&mut result, src.as_ptr()) as BOOL {
[INFO] [stderr]     |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:166:15
[INFO] [stderr]     |
[INFO] [stderr] 166 |         match winapi::um::oleauto::SysAllocStringLen(src.as_ptr(), len) as PVOID {
[INFO] [stderr]     |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:225:15
[INFO] [stderr]     |
[INFO] [stderr] 225 |         match winapi::um::oleauto::SysReAllocStringLen(&mut result, src.as_ptr(), len) as BOOL {
[INFO] [stderr]     |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/auto_bstr.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::ntdef::{NULL, PVOID};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/auto_bstr.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::shared::wtypes::BSTR;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::minwindef::{BOOL, TRUE, UINT};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::shared::ntdef::{NULL, PVOID};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use winapi::shared::wtypes::BSTR;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:258:14
[INFO] [stderr]     |
[INFO] [stderr] 258 |     unsafe { winapi::um::oleauto::SysStringLen(bstr) }
[INFO] [stderr]     |              ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:288:9
[INFO] [stderr]     |
[INFO] [stderr] 288 |         winapi::um::oleauto::SysFreeString(bstr);
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:26:27
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct AutoBSTR (Cell<BSTR>);
[INFO] [stderr]    |                    -      ^^^^ not found in this scope
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:32:20
[INFO] [stderr]    |
[INFO] [stderr] 32 |         self.0.set(NULL as BSTR);
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:32:28
[INFO] [stderr]    |
[INFO] [stderr] 32 |         self.0.set(NULL as BSTR);
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:37:36
[INFO] [stderr]    |
[INFO] [stderr] 37 |     pub fn as_ptr(&self) -> *const BSTR {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:38:35
[INFO] [stderr]    |
[INFO] [stderr] 38 |         self.0.as_ptr() as *const BSTR
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/safe/bstr.rs:65:15
[INFO] [stderr]    |
[INFO] [stderr] 65 |         match winapi::um::oleauto::SysAllocString(src.as_ptr()) as PVOID {
[INFO] [stderr]    |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:43:42
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn as_mut_ptr(&mut self) -> *mut BSTR {
[INFO] [stderr]    |                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:82:11
[INFO] [stderr]    |
[INFO] [stderr] 82 | impl From<BSTR> for AutoBSTR {
[INFO] [stderr]    |     -     ^^^^ not found in this scope
[INFO] [stderr]    |     |
[INFO] [stderr]    |     help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:85:16
[INFO] [stderr]    |
[INFO] [stderr] 85 |     fn from(x: BSTR) -> Self {
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:90:25
[INFO] [stderr]    |
[INFO] [stderr] 90 | impl From<AutoBSTR> for BSTR {
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:94:17
[INFO] [stderr]    |
[INFO] [stderr] 94 |         x.0.set(NULL as BSTR);
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:94:25
[INFO] [stderr]    |
[INFO] [stderr] 94 |         x.0.set(NULL as BSTR);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/safe/bstr.rs:58:46
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub fn SysAllocString(src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]    |                      -                       ^^^^ not found in this scope
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]   --> src/safe/bstr.rs:65:68
[INFO] [stderr]    |
[INFO] [stderr] 65 |         match winapi::um::oleauto::SysAllocString(src.as_ptr()) as PVOID {
[INFO] [stderr]    |                                                                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/safe/bstr.rs:67:26
[INFO] [stderr]    |
[INFO] [stderr] 67 |             x => Ok(x as BSTR),
[INFO] [stderr]    |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:105:31
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn SysReAllocString(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:105:60
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn SysReAllocString(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                        -                                   ^^^^ not found in this scope
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:107:16
[INFO] [stderr]     |
[INFO] [stderr] 107 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:107:25
[INFO] [stderr]     |
[INFO] [stderr] 107 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:123:83
[INFO] [stderr]     |
[INFO] [stderr] 123 |         match winapi::um::oleauto::SysReAllocString(&mut result, src.as_ptr()) as BOOL {
[INFO] [stderr]     |                                                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:159:49
[INFO] [stderr]     |
[INFO] [stderr] 159 | pub fn SysAllocStringLen(src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                         -                       ^^^^ not found in this scope
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:166:76
[INFO] [stderr]     |
[INFO] [stderr] 166 |         match winapi::um::oleauto::SysAllocStringLen(src.as_ptr(), len) as PVOID {
[INFO] [stderr]     |                                                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:168:26
[INFO] [stderr]     |
[INFO] [stderr] 168 |             x => Ok(x as BSTR),
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:207:34
[INFO] [stderr]     |
[INFO] [stderr] 207 | pub fn SysReAllocStringLen(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:207:63
[INFO] [stderr]     |
[INFO] [stderr] 207 | pub fn SysReAllocStringLen(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                           -                                   ^^^^ not found in this scope
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:214:16
[INFO] [stderr]     |
[INFO] [stderr] 214 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:214:25
[INFO] [stderr]     |
[INFO] [stderr] 214 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:225:91
[INFO] [stderr]     |
[INFO] [stderr] 225 |         match winapi::um::oleauto::SysReAllocStringLen(&mut result, src.as_ptr(), len) as BOOL {
[INFO] [stderr]     |                                                                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:257:27
[INFO] [stderr]     |
[INFO] [stderr] 257 | pub fn SysStringLen(bstr: BSTR) -> UINT {
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:257:36
[INFO] [stderr]     |
[INFO] [stderr] 257 | pub fn SysStringLen(bstr: BSTR) -> UINT {
[INFO] [stderr]     |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:286:28
[INFO] [stderr]     |
[INFO] [stderr] 286 | pub fn SysFreeString(bstr: BSTR) {
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:123:15
[INFO] [stderr]     |
[INFO] [stderr] 123 |         match winapi::um::oleauto::SysReAllocString(&mut result, src.as_ptr()) as BOOL {
[INFO] [stderr]     |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:293:32
[INFO] [stderr]     |
[INFO] [stderr] 293 | fn bstr_src_intersection(bstr: BSTR, src: &[u16]) -> bool {
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:296:72
[INFO] [stderr]     |
[INFO] [stderr] 296 |     if src.len() == 0 || src.len() > std::u32::MAX as usize || bstr as PVOID == NULL { return false }; // src.len() == 0 is equal to NULL pointer by meaning.
[INFO] [stderr]     |                                                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:296:81
[INFO] [stderr]     |
[INFO] [stderr] 296 |     if src.len() == 0 || src.len() > std::u32::MAX as usize || bstr as PVOID == NULL { return false }; // src.len() == 0 is equal to NULL pointer by meaning.
[INFO] [stderr]     |                                                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:166:15
[INFO] [stderr]     |
[INFO] [stderr] 166 |         match winapi::um::oleauto::SysAllocStringLen(src.as_ptr(), len) as PVOID {
[INFO] [stderr]     |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:225:15
[INFO] [stderr]     |
[INFO] [stderr] 225 |         match winapi::um::oleauto::SysReAllocStringLen(&mut result, src.as_ptr(), len) as BOOL {
[INFO] [stderr]     |               ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:258:14
[INFO] [stderr]     |
[INFO] [stderr] 258 |     unsafe { winapi::um::oleauto::SysStringLen(bstr) }
[INFO] [stderr]     |              ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/safe/bstr.rs:288:9
[INFO] [stderr]     |
[INFO] [stderr] 288 |         winapi::um::oleauto::SysFreeString(bstr);
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:26:27
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct AutoBSTR (Cell<BSTR>);
[INFO] [stderr]    |                    -      ^^^^ not found in this scope
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:32:20
[INFO] [stderr]    |
[INFO] [stderr] 32 |         self.0.set(NULL as BSTR);
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:32:28
[INFO] [stderr]    |
[INFO] [stderr] 32 |         self.0.set(NULL as BSTR);
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:37:36
[INFO] [stderr]    |
[INFO] [stderr] 37 |     pub fn as_ptr(&self) -> *const BSTR {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:38:35
[INFO] [stderr]    |
[INFO] [stderr] 38 |         self.0.as_ptr() as *const BSTR
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:43:42
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn as_mut_ptr(&mut self) -> *mut BSTR {
[INFO] [stderr]    |                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:82:11
[INFO] [stderr]    |
[INFO] [stderr] 82 | impl From<BSTR> for AutoBSTR {
[INFO] [stderr]    |     -     ^^^^ not found in this scope
[INFO] [stderr]    |     |
[INFO] [stderr]    |     help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:85:16
[INFO] [stderr]    |
[INFO] [stderr] 85 |     fn from(x: BSTR) -> Self {
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:90:25
[INFO] [stderr]    |
[INFO] [stderr] 90 | impl From<AutoBSTR> for BSTR {
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:94:17
[INFO] [stderr]    |
[INFO] [stderr] 94 |         x.0.set(NULL as BSTR);
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/auto_bstr.rs:94:25
[INFO] [stderr]    |
[INFO] [stderr] 94 |         x.0.set(NULL as BSTR);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/auto_bstr.rs:128:53
[INFO] [stderr]     |
[INFO] [stderr] 128 |             *auto_bstr.as_mut_ptr() = 0xA5A5A5A5 as BSTR; 
[INFO] [stderr]     |                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/auto_bstr.rs:131:19
[INFO] [stderr]     |
[INFO] [stderr] 131 |         let bstr: BSTR = auto_bstr.into();
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/auto_bstr.rs:132:34
[INFO] [stderr]     |
[INFO] [stderr] 132 |         assert_eq!(0xA5A5A5A5 as BSTR, bstr);
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/safe/bstr.rs:58:46
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub fn SysAllocString(src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]    |                      -                       ^^^^ not found in this scope
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]   --> src/safe/bstr.rs:65:68
[INFO] [stderr]    |
[INFO] [stderr] 65 |         match winapi::um::oleauto::SysAllocString(src.as_ptr()) as PVOID {
[INFO] [stderr]    |                                                                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]   --> src/safe/bstr.rs:67:26
[INFO] [stderr]    |
[INFO] [stderr] 67 |             x => Ok(x as BSTR),
[INFO] [stderr]    |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:105:31
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn SysReAllocString(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:105:60
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn SysReAllocString(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                        -                                   ^^^^ not found in this scope
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:107:16
[INFO] [stderr]     |
[INFO] [stderr] 107 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:107:25
[INFO] [stderr]     |
[INFO] [stderr] 107 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:123:83
[INFO] [stderr]     |
[INFO] [stderr] 123 |         match winapi::um::oleauto::SysReAllocString(&mut result, src.as_ptr()) as BOOL {
[INFO] [stderr]     |                                                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:159:49
[INFO] [stderr]     |
[INFO] [stderr] 159 | pub fn SysAllocStringLen(src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                         -                       ^^^^ not found in this scope
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:166:76
[INFO] [stderr]     |
[INFO] [stderr] 166 |         match winapi::um::oleauto::SysAllocStringLen(src.as_ptr(), len) as PVOID {
[INFO] [stderr]     |                                                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:168:26
[INFO] [stderr]     |
[INFO] [stderr] 168 |             x => Ok(x as BSTR),
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:207:34
[INFO] [stderr]     |
[INFO] [stderr] 207 | pub fn SysReAllocStringLen(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:207:63
[INFO] [stderr]     |
[INFO] [stderr] 207 | pub fn SysReAllocStringLen(bstr: BSTR, src: &[u16]) -> Result<BSTR, SysAllocError> {
[INFO] [stderr]     |                           -                                   ^^^^ not found in this scope
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: you might be missing a type parameter: `<BSTR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:214:16
[INFO] [stderr]     |
[INFO] [stderr] 214 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:214:25
[INFO] [stderr]     |
[INFO] [stderr] 214 |     if bstr as PVOID == NULL {
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:225:91
[INFO] [stderr]     |
[INFO] [stderr] 225 |         match winapi::um::oleauto::SysReAllocStringLen(&mut result, src.as_ptr(), len) as BOOL {
[INFO] [stderr]     |                                                                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:257:27
[INFO] [stderr]     |
[INFO] [stderr] 257 | pub fn SysStringLen(bstr: BSTR) -> UINT {
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:257:36
[INFO] [stderr]     |
[INFO] [stderr] 257 | pub fn SysStringLen(bstr: BSTR) -> UINT {
[INFO] [stderr]     |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:286:28
[INFO] [stderr]     |
[INFO] [stderr] 286 | pub fn SysFreeString(bstr: BSTR) {
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:293:32
[INFO] [stderr]     |
[INFO] [stderr] 293 | fn bstr_src_intersection(bstr: BSTR, src: &[u16]) -> bool {
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:296:72
[INFO] [stderr]     |
[INFO] [stderr] 296 |     if src.len() == 0 || src.len() > std::u32::MAX as usize || bstr as PVOID == NULL { return false }; // src.len() == 0 is equal to NULL pointer by meaning.
[INFO] [stderr]     |                                                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:296:81
[INFO] [stderr]     |
[INFO] [stderr] 296 |     if src.len() == 0 || src.len() > std::u32::MAX as usize || bstr as PVOID == NULL { return false }; // src.len() == 0 is equal to NULL pointer by meaning.
[INFO] [stderr]     |                                                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:317:26
[INFO] [stderr]     |
[INFO] [stderr] 317 |     fn bstr2string(bstr: BSTR) -> String {
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:334:19
[INFO] [stderr]     |
[INFO] [stderr] 334 |         let bstr: BSTR = SysAllocString(&zero_length).unwrap();
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:366:20
[INFO] [stderr]     |
[INFO] [stderr] 366 |         let bstr = NULL as BSTR;
[INFO] [stderr]     |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:366:28
[INFO] [stderr]     |
[INFO] [stderr] 366 |         let bstr = NULL as BSTR;
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:403:19
[INFO] [stderr]     |
[INFO] [stderr] 403 |         let bstr: BSTR = SysAllocStringLen(&zero_length).unwrap();
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:440:20
[INFO] [stderr]     |
[INFO] [stderr] 440 |         let bstr = NULL as BSTR;
[INFO] [stderr]     |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:440:28
[INFO] [stderr]     |
[INFO] [stderr] 440 |         let bstr = NULL as BSTR;
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:451:19
[INFO] [stderr]     |
[INFO] [stderr] 451 |         let bstr: BSTR = SysAllocStringLen(&test_line_utf16).unwrap();
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:455:19
[INFO] [stderr]     |
[INFO] [stderr] 455 |         let bstr: BSTR = NULL as BSTR;
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:455:26
[INFO] [stderr]     |
[INFO] [stderr] 455 |         let bstr: BSTR = NULL as BSTR;
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `std::convert::TryFrom<&str>` for type `auto_bstr::AutoBSTR`:
[INFO] [stderr]   --> src/auto_bstr.rs:54:1
[INFO] [stderr]    |
[INFO] [stderr] 54 | impl TryFrom<&str> for AutoBSTR {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: conflicting implementation in crate `core`:
[INFO] [stderr]            - impl<T, U> std::convert::TryFrom<U> for T
[INFO] [stderr]              where U: std::convert::Into<T>;
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BSTR` in this scope
[INFO] [stderr]    --> src/safe/bstr.rs:455:34
[INFO] [stderr]     |
[INFO] [stderr] 455 |         let bstr: BSTR = NULL as BSTR;
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `std::convert::TryFrom<std::string::String>` for type `auto_bstr::AutoBSTR`:
[INFO] [stderr]   --> src/auto_bstr.rs:64:1
[INFO] [stderr]    |
[INFO] [stderr] 64 | impl TryFrom<String> for AutoBSTR {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: conflicting implementation in crate `core`:
[INFO] [stderr]            - impl<T, U> std::convert::TryFrom<U> for T
[INFO] [stderr]              where U: std::convert::Into<T>;
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 46 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0119, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0119`.
[INFO] [stderr] error: could not compile `rusty_winapi`.
[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] error[E0119]: conflicting implementations of trait `std::convert::TryFrom<&str>` for type `auto_bstr::AutoBSTR`:
[INFO] [stderr]   --> src/auto_bstr.rs:54:1
[INFO] [stderr]    |
[INFO] [stderr] 54 | impl TryFrom<&str> for AutoBSTR {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: conflicting implementation in crate `core`:
[INFO] [stderr]            - impl<T, U> std::convert::TryFrom<U> for T
[INFO] [stderr]              where U: std::convert::Into<T>;
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `std::convert::TryFrom<std::string::String>` for type `auto_bstr::AutoBSTR`:
[INFO] [stderr]   --> src/auto_bstr.rs:64:1
[INFO] [stderr]    |
[INFO] [stderr] 64 | impl TryFrom<String> for AutoBSTR {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: conflicting implementation in crate `core`:
[INFO] [stderr]            - impl<T, U> std::convert::TryFrom<U> for T
[INFO] [stderr]              where U: std::convert::Into<T>;
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 60 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0119, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0119`.
[INFO] [stderr] error: could not compile `rusty_winapi`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "eab1435baaf9fa6705dd358a6c6e3174efecc9ba8d7609998349a03cc51cfe35"`
[INFO] running `"docker" "rm" "-f" "eab1435baaf9fa6705dd358a6c6e3174efecc9ba8d7609998349a03cc51cfe35"`
[INFO] [stdout] eab1435baaf9fa6705dd358a6c6e3174efecc9ba8d7609998349a03cc51cfe35
