[INFO] cloning repository https://github.com/Vlad-Shcherbina/win-win-reent-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vlad-Shcherbina/win-win-reent-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVlad-Shcherbina%2Fwin-win-reent-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVlad-Shcherbina%2Fwin-win-reent-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19bdfe9afc00475ef85cfe2ec548bdc5a5c30e6f [INFO] checking Vlad-Shcherbina/win-win-reent-demo/19bdfe9afc00475ef85cfe2ec548bdc5a5c30e6f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVlad-Shcherbina%2Fwin-win-reent-demo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vlad-Shcherbina/win-win-reent-demo 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 git repo https://github.com/Vlad-Shcherbina/win-win-reent-demo [INFO] finished tweaking git repo https://github.com/Vlad-Shcherbina/win-win-reent-demo [INFO] tweaked toml for git repo https://github.com/Vlad-Shcherbina/win-win-reent-demo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Vlad-Shcherbina/win-win-reent-demo 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded win-win v0.1.1 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e67d3c622e4296b7302fa0c7309d86e8cfff353b3ffd49e0b7f9de410e96d86 [INFO] running `Command { std: "docker" "start" "-a" "5e67d3c622e4296b7302fa0c7309d86e8cfff353b3ffd49e0b7f9de410e96d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e67d3c622e4296b7302fa0c7309d86e8cfff353b3ffd49e0b7f9de410e96d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e67d3c622e4296b7302fa0c7309d86e8cfff353b3ffd49e0b7f9de410e96d86", kill_on_drop: false }` [INFO] [stdout] 5e67d3c622e4296b7302fa0c7309d86e8cfff353b3ffd49e0b7f9de410e96d86 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c22f79c6eadf37baa046847399f08cf6608e1d1325ab7eb0a490cf01716bd97 [INFO] running `Command { std: "docker" "start" "-a" "5c22f79c6eadf37baa046847399f08cf6608e1d1325ab7eb0a490cf01716bd97", 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 [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/win-win-0.1.1/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] [stderr] error: could not compile `win-win` (lib) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "5c22f79c6eadf37baa046847399f08cf6608e1d1325ab7eb0a490cf01716bd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c22f79c6eadf37baa046847399f08cf6608e1d1325ab7eb0a490cf01716bd97", kill_on_drop: false }` [INFO] [stdout] 5c22f79c6eadf37baa046847399f08cf6608e1d1325ab7eb0a490cf01716bd97