[INFO] fetching crate win-win 0.1.1... [INFO] checking win-win-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate win-win 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate win-win 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 win-win 0.1.1 [INFO] finished tweaking crates.io crate win-win 0.1.1 [INFO] tweaked toml for crates.io crate win-win 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate win-win 0.1.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ed3b9e96777037160e92a75731e3c30bcd03539f46728412fdd9aac9ee6fb89f [INFO] running `Command { std: "docker" "start" "-a" "ed3b9e96777037160e92a75731e3c30bcd03539f46728412fdd9aac9ee6fb89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed3b9e96777037160e92a75731e3c30bcd03539f46728412fdd9aac9ee6fb89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3b9e96777037160e92a75731e3c30bcd03539f46728412fdd9aac9ee6fb89f", kill_on_drop: false }` [INFO] [stdout] ed3b9e96777037160e92a75731e3c30bcd03539f46728412fdd9aac9ee6fb89f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d98069badcb4eea5c5745a0b6e0a24b6ae5c95eb3690a61fd5afff868aa8cdf8 [INFO] running `Command { std: "docker" "start" "-a" "d98069badcb4eea5c5745a0b6e0a24b6ae5c95eb3690a61fd5afff868aa8cdf8", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Checking win-win v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::HRESULT; [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/runloop.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::BOOL; [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/runloop.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::HACCEL; [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/runloop.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::{DispatchMessageW, GetMessageW, TranslateAcceleratorW, TranslateMessage}; [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/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{ATOM, DWORD, HINSTANCE, LPARAM, LPVOID, LRESULT, UINT, WPARAM}; [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/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::{HBRUSH, HCURSOR, HICON, HMENU, HWND}; [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/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::LPCWSTR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::wide` [INFO] [stdout] --> src/window.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | use wio::wide::ToWide; [INFO] [stdout] | ^^^^ could not find `wide` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::HRESULT; [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/runloop.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::BOOL; [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/runloop.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::HACCEL; [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/runloop.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::{DispatchMessageW, GetMessageW, TranslateAcceleratorW, TranslateMessage}; [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/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{ATOM, DWORD, HINSTANCE, LPARAM, LPVOID, LRESULT, UINT, WPARAM}; [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/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::{HBRUSH, HCURSOR, HICON, HMENU, HWND}; [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/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::LPCWSTR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::wide` [INFO] [stdout] --> src/window.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | use wio::wide::ToWide; [INFO] [stdout] | ^^^^ could not find `wide` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | type WindowLongPtr = winapi::shared::basetsd::LONG_PTR; [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/window.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | type WindowLongPtr = winapi::shared::basetsd::LONG_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn name(mut self, name: impl AsRef) -> Self { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 153 | self.window_name = name.to_wide_null(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn name(mut self, name: impl AsRef) -> Self { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 153 | self.window_name = name.to_wide_null(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Rc<_>` [INFO] [stdout] --> src/window.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let reference = Rc::from_raw(window_proc_ptr); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 291 | mem::forget(reference.clone()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `reference` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 290 | let reference: Rc = Rc::from_raw(window_proc_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Rc<_>` [INFO] [stdout] --> src/window.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let reference = Rc::from_raw(window_proc_ptr); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 291 | mem::forget(reference.clone()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `reference` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 290 | let reference: Rc = Rc::from_raw(window_proc_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn builder(class_name: impl AsRef) -> WindowClassBuilder { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 308 | WindowClassBuilder { [INFO] [stdout] 309 | class_name: class_name.to_wide_null(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn builder(class_name: impl AsRef) -> WindowClassBuilder { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 308 | WindowClassBuilder { [INFO] [stdout] 309 | class_name: class_name.to_wide_null(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn from_name(class_name: impl AsRef) -> WindowClass { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 326 | WindowClass::Name(class_name.to_wide_null()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn from_name(class_name: impl AsRef) -> WindowClass { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 326 | WindowClass::Name(class_name.to_wide_null()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:511:36 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn menu_name(mut self, menu_name: impl AsRef) -> Self { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 511 | self.menu_name = menu_name.to_wide_null(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef` in the current scope [INFO] [stdout] --> src/window.rs:511:36 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn menu_name(mut self, menu_name: impl AsRef) -> Self { [INFO] [stdout] | ----------------- method `to_wide_null` not found for this type parameter [INFO] [stdout] 511 | self.menu_name = menu_name.to_wide_null(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-win` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `win-win` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "d98069badcb4eea5c5745a0b6e0a24b6ae5c95eb3690a61fd5afff868aa8cdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98069badcb4eea5c5745a0b6e0a24b6ae5c95eb3690a61fd5afff868aa8cdf8", kill_on_drop: false }` [INFO] [stdout] d98069badcb4eea5c5745a0b6e0a24b6ae5c95eb3690a61fd5afff868aa8cdf8