[INFO] fetching crate mystic_light_sdk 0.4.2... [INFO] checking mystic_light_sdk-0.4.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mystic_light_sdk 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mystic_light_sdk 0.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mystic_light_sdk 0.4.2 [INFO] tweaked toml for crates.io crate mystic_light_sdk 0.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mystic_light_sdk 0.4.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mystic_light_sdk 0.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multer v2.0.2 [INFO] [stderr] Downloaded oaidl v0.2.1 [INFO] [stderr] Downloaded async-graphql-value v4.0.1 [INFO] [stderr] Downloaded rust_decimal v0.10.2 [INFO] [stderr] Downloaded async-graphql-derive v4.0.1 [INFO] [stderr] Downloaded async-graphql v4.0.1 [INFO] [stderr] Downloaded async-graphql-parser v4.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84e3ac8474a6c379255fabf8198351ed2ec0be8e55a50eaf4ae000dcc9766ac3 [INFO] running `Command { std: "docker" "start" "-a" "84e3ac8474a6c379255fabf8198351ed2ec0be8e55a50eaf4ae000dcc9766ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84e3ac8474a6c379255fabf8198351ed2ec0be8e55a50eaf4ae000dcc9766ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e3ac8474a6c379255fabf8198351ed2ec0be8e55a50eaf4ae000dcc9766ac3", kill_on_drop: false }` [INFO] [stdout] 84e3ac8474a6c379255fabf8198351ed2ec0be8e55a50eaf4ae000dcc9766ac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d8252e6fb7f8198aad1cdbb863e6981646c0d3307ab9eb60d0dfae5048e3e7e [INFO] running `Command { std: "docker" "start" "-a" "8d8252e6fb7f8198aad1cdbb863e6981646c0d3307ab9eb60d0dfae5048e3e7e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking custom_error v1.9.2 [INFO] [stderr] Compiling copy_dir v0.1.2 [INFO] [stderr] Compiling mystic_light_sdk v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking rust_decimal v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking oaidl v0.2.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sdk/types.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sdk/types.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sdk/types.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::oaidl::SAFEARRAY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::{shared::wtypes::BSTR, um::oaidl::SAFEARRAY}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapi.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::{shared::wtypes::BSTR, um::oaidl::SAFEARRAY}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `oaidl::BStringExt`, `oaidl::Ptr`, `oaidl::SafeArrayExt` [INFO] [stdout] --> src/winapi.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use oaidl::{BStringExt, Ptr, SafeArrayExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ no `SafeArrayExt` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Ptr` in the root [INFO] [stdout] | no `BStringExt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sdk/types.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sdk/types.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sdk/types.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::oaidl::SAFEARRAY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::{shared::wtypes::BSTR, um::oaidl::SAFEARRAY}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/winapi.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::{shared::wtypes::BSTR, um::oaidl::SAFEARRAY}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `oaidl::BStringExt`, `oaidl::Ptr`, `oaidl::SafeArrayExt` [INFO] [stdout] --> src/winapi.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use oaidl::{BStringExt, Ptr, SafeArrayExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^ no `SafeArrayExt` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Ptr` in the root [INFO] [stdout] | no `BStringExt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 42 | bstr: U16String::new() [INFO] [stdout] | ___________________- [INFO] [stdout] 43 | | .allocate_bstr() [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `UString` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `consume_to_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 57 | bstr: U16String::from_str(s) [INFO] [stdout] | ___________________- [INFO] [stdout] 58 | | .consume_to_bstr() [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `UString` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | bstr: U16String::from_bstr(bstr) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `UString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UString` consider using one of the following associated functions: [INFO] [stdout] UString::::new [INFO] [stdout] UString::::from_vec [INFO] [stdout] UString::::from_ptr [INFO] [stdout] UString::::with_capacity [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-0.4.3/src/ustring.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_vec(raw: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub unsafe fn from_ptr(p: *const C, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 76 - bstr: U16String::from_bstr(bstr) [INFO] [stdout] 76 + bstr: U16String::from_str(bstr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deallocate_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | U16String::deallocate_bstr(self.bstr) [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `UString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UString` consider using one of the following associated functions: [INFO] [stdout] UString::::new [INFO] [stdout] UString::::from_vec [INFO] [stdout] UString::::from_ptr [INFO] [stdout] UString::::with_capacity [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-0.4.3/src/ustring.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_vec(raw: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub unsafe fn from_ptr(p: *const C, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | U16String::from_bstr(self.bstr.as_ptr()).to_string_lossy() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `UString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UString` consider using one of the following associated functions: [INFO] [stdout] UString::::new [INFO] [stdout] UString::::from_vec [INFO] [stdout] UString::::from_ptr [INFO] [stdout] UString::::with_capacity [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-0.4.3/src/ustring.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_vec(raw: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub unsafe fn from_ptr(p: *const C, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 - U16String::from_bstr(self.bstr.as_ptr()).to_string_lossy() [INFO] [stdout] 91 + U16String::from_str(self.bstr.as_ptr()).to_string_lossy() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: a value of type `std::vec::IntoIter>` cannot be built from an iterator over elements of type `String` [INFO] [stdout] --> src/winapi.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | IntoIter::::from_safearray(ptr).expect("Cannot convert from SAFEARRAY"); [INFO] [stdout] | ^^^^^^^^^^^^^^ value of type `std::vec::IntoIter>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut std::vec::IntoIter>: FromIterator` [INFO] [stdout] `&std::vec::IntoIter>: FromIterator` [INFO] [stdout] `std::vec::IntoIter>: FromIterator` [INFO] [stdout] --> src/winapi.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | impl> FromSafeArray for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `FromSafeArray` defines an item `from_safearray`, perhaps you need to implement it [INFO] [stdout] --> src/winapi.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub trait FromSafeArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 42 | bstr: U16String::new() [INFO] [stdout] | ___________________- [INFO] [stdout] 43 | | .allocate_bstr() [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `UString` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `consume_to_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 57 | bstr: U16String::from_str(s) [INFO] [stdout] | ___________________- [INFO] [stdout] 58 | | .consume_to_bstr() [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `UString` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | bstr: U16String::from_bstr(bstr) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `UString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UString` consider using one of the following associated functions: [INFO] [stdout] UString::::new [INFO] [stdout] UString::::from_vec [INFO] [stdout] UString::::from_ptr [INFO] [stdout] UString::::with_capacity [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-0.4.3/src/ustring.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_vec(raw: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub unsafe fn from_ptr(p: *const C, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 76 - bstr: U16String::from_bstr(bstr) [INFO] [stdout] 76 + bstr: U16String::from_str(bstr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deallocate_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | U16String::deallocate_bstr(self.bstr) [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `UString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UString` consider using one of the following associated functions: [INFO] [stdout] UString::::new [INFO] [stdout] UString::::from_vec [INFO] [stdout] UString::::from_ptr [INFO] [stdout] UString::::with_capacity [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-0.4.3/src/ustring.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_vec(raw: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub unsafe fn from_ptr(p: *const C, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bstr` found for struct `UString` in the current scope [INFO] [stdout] --> src/winapi.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | U16String::from_bstr(self.bstr.as_ptr()).to_string_lossy() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `UString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `UString` consider using one of the following associated functions: [INFO] [stdout] UString::::new [INFO] [stdout] UString::::from_vec [INFO] [stdout] UString::::from_ptr [INFO] [stdout] UString::::with_capacity [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-0.4.3/src/ustring.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_vec(raw: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub unsafe fn from_ptr(p: *const C, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 - U16String::from_bstr(self.bstr.as_ptr()).to_string_lossy() [INFO] [stdout] 91 + U16String::from_str(self.bstr.as_ptr()).to_string_lossy() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mystic_light_sdk` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: a value of type `std::vec::IntoIter>` cannot be built from an iterator over elements of type `String` [INFO] [stdout] --> src/winapi.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | IntoIter::::from_safearray(ptr).expect("Cannot convert from SAFEARRAY"); [INFO] [stdout] | ^^^^^^^^^^^^^^ value of type `std::vec::IntoIter>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut std::vec::IntoIter>: FromIterator` [INFO] [stdout] `&std::vec::IntoIter>: FromIterator` [INFO] [stdout] `std::vec::IntoIter>: FromIterator` [INFO] [stdout] --> src/winapi.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | impl> FromSafeArray for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `winapi::FromSafeArray` defines an item `from_safearray`, perhaps you need to implement it [INFO] [stdout] --> src/winapi.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub trait FromSafeArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_safearray` found for struct `std::vec::IntoIter` in the current scope [INFO] [stdout] --> src/winapi.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | let safe_array = v.into_iter().into_safearray().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::vec::IntoIter>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_safearray` found for struct `std::vec::IntoIter` in the current scope [INFO] [stdout] --> src/winapi.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | let safe_array = v.into_iter().into_safearray().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::vec::IntoIter>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mystic_light_sdk` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "8d8252e6fb7f8198aad1cdbb863e6981646c0d3307ab9eb60d0dfae5048e3e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8252e6fb7f8198aad1cdbb863e6981646c0d3307ab9eb60d0dfae5048e3e7e", kill_on_drop: false }` [INFO] [stdout] 8d8252e6fb7f8198aad1cdbb863e6981646c0d3307ab9eb60d0dfae5048e3e7e