[INFO] fetching crate rusty_winapi 0.1.1... [INFO] checking rusty_winapi-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rusty_winapi 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rusty_winapi 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98bb86fb8730fef086fcdaaf007386c40a68c4c0c1630fce12c0b171164d4621 [INFO] running `Command { std: "docker" "start" "-a" "98bb86fb8730fef086fcdaaf007386c40a68c4c0c1630fce12c0b171164d4621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98bb86fb8730fef086fcdaaf007386c40a68c4c0c1630fce12c0b171164d4621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98bb86fb8730fef086fcdaaf007386c40a68c4c0c1630fce12c0b171164d4621", kill_on_drop: false }` [INFO] [stdout] 98bb86fb8730fef086fcdaaf007386c40a68c4c0c1630fce12c0b171164d4621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d3f9453b3ab611f3478ef002e78032252cb5813cb359bb56eeb2f86144a3614 [INFO] running `Command { std: "docker" "start" "-a" "6d3f9453b3ab611f3478ef002e78032252cb5813cb359bb56eeb2f86144a3614", kill_on_drop: false }` [INFO] [stderr] Checking rusty_winapi v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/auto_bstr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::ntdef::{NULL, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/auto_bstr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{BOOL, TRUE, UINT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::{NULL, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/auto_bstr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::ntdef::{NULL, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/auto_bstr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{BOOL, TRUE, UINT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::{NULL, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | match winapi::um::oleauto::SysAllocString(src.as_ptr()) as PVOID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | match winapi::um::oleauto::SysAllocString(src.as_ptr()) as PVOID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | match winapi::um::oleauto::SysReAllocString(&mut result, src.as_ptr()) as BOOL { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | match winapi::um::oleauto::SysReAllocString(&mut result, src.as_ptr()) as BOOL { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | match winapi::um::oleauto::SysAllocStringLen(src.as_ptr(), len) as PVOID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | match winapi::um::oleauto::SysAllocStringLen(src.as_ptr(), len) as PVOID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | match winapi::um::oleauto::SysReAllocStringLen(&mut result, src.as_ptr(), len) as BOOL { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | match winapi::um::oleauto::SysReAllocStringLen(&mut result, src.as_ptr(), len) as BOOL { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | unsafe { winapi::um::oleauto::SysStringLen(bstr) } [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | unsafe { winapi::um::oleauto::SysStringLen(bstr) } [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | winapi::um::oleauto::SysFreeString(bstr); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | winapi::um::oleauto::SysFreeString(bstr); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u16]: From<&AutoBSTR>` is not satisfied [INFO] [stdout] --> src/auto_bstr.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | String::from_utf16_lossy(x.into()) [INFO] [stdout] | ^^^^ the trait `From<&AutoBSTR>` is not implemented for `&[u16]`, which is required by `&AutoBSTR: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is implemented for `&[u16]` [INFO] [stdout] = help: for that trait implementation, expected `AutoBSTR`, found `&AutoBSTR` [INFO] [stdout] = note: required for `&AutoBSTR` to implement `Into<&[u16]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u16]: From<&auto_bstr::AutoBSTR>` is not satisfied [INFO] [stdout] --> src/auto_bstr.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | String::from_utf16_lossy(x.into()) [INFO] [stdout] | ^^^^ the trait `From<&auto_bstr::AutoBSTR>` is not implemented for `&[u16]`, which is required by `&auto_bstr::AutoBSTR: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is implemented for `&[u16]` [INFO] [stdout] = help: for that trait implementation, expected `auto_bstr::AutoBSTR`, found `&auto_bstr::AutoBSTR` [INFO] [stdout] = note: required for `&auto_bstr::AutoBSTR` to implement `Into<&[u16]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_winapi` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_winapi` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "6d3f9453b3ab611f3478ef002e78032252cb5813cb359bb56eeb2f86144a3614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3f9453b3ab611f3478ef002e78032252cb5813cb359bb56eeb2f86144a3614", kill_on_drop: false }` [INFO] [stdout] 6d3f9453b3ab611f3478ef002e78032252cb5813cb359bb56eeb2f86144a3614