[INFO] cloning repository https://github.com/Ciantic/webviewbuilder_win-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ciantic/webviewbuilder_win-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fwebviewbuilder_win-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fwebviewbuilder_win-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcf9fe67906afd604eebb392afefa26ef5c4fe32 [INFO] checking Ciantic/webviewbuilder_win-rs/fcf9fe67906afd604eebb392afefa26ef5c4fe32 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fwebviewbuilder_win-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ciantic/webviewbuilder_win-rs 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/Ciantic/webviewbuilder_win-rs [INFO] finished tweaking git repo https://github.com/Ciantic/webviewbuilder_win-rs [INFO] tweaked toml for git repo https://github.com/Ciantic/webviewbuilder_win-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ciantic/webviewbuilder_win-rs 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 git repository `https://github.com/sopium/webview2` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio-misc v1.0.0 [INFO] [stderr] Downloaded com_macros_support v0.2.0 [INFO] [stderr] Downloaded com_macros v0.2.0 [INFO] [stderr] Downloaded com v0.2.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e9ad10da72929b25f31194b9d99a3f3b83aca444c1001f429a420804e32112f [INFO] running `Command { std: "docker" "start" "-a" "8e9ad10da72929b25f31194b9d99a3f3b83aca444c1001f429a420804e32112f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e9ad10da72929b25f31194b9d99a3f3b83aca444c1001f429a420804e32112f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9ad10da72929b25f31194b9d99a3f3b83aca444c1001f429a420804e32112f", kill_on_drop: false }` [INFO] [stdout] 8e9ad10da72929b25f31194b9d99a3f3b83aca444c1001f429a420804e32112f [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b13fedbd20a9e3264936d08706bee95856cf14576a62cbfb53543cf2d86f42ce [INFO] running `Command { std: "docker" "start" "-a" "b13fedbd20a9e3264936d08706bee95856cf14576a62cbfb53543cf2d86f42ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling webview2-sys v0.1.0 (https://github.com/sopium/webview2#751bc324) [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking mio-misc v1.0.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Compiling com_macros_support v0.2.0 [INFO] [stderr] Compiling com_macros v0.2.0 [INFO] [stderr] Checking com v0.2.0 [INFO] [stderr] Checking webview2 v0.1.0 (https://github.com/sopium/webview2#751bc324) [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking webviewbuilder_win v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | shared::windef::{HWND, RECT}, [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/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | shared::windef::{HWND, RECT}, [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/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | um::winuser::{GetClientRect, SetForegroundWindow}, [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/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | um::winuser::{GetClientRect, SetForegroundWindow}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webview2::Settings` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use webview2::Settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Settings` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webview2::Settings` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use webview2::Settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Settings` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/lib.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.25.0/src/platform/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.25.0/src/platform/windows.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/lib.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.25.0/src/platform/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.25.0/src/platform/windows.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EnvironmentBuilder` in `webview2` [INFO] [stdout] --> src/lib.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | webview2::EnvironmentBuilder::new().build(move |env| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `EnvironmentBuilder` in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EnvironmentBuilder` in `webview2` [INFO] [stdout] --> src/lib.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | webview2::EnvironmentBuilder::new().build(move |env| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `EnvironmentBuilder` in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | WebView2Error(webview2::Error), [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - WebView2Error(webview2::Error), [INFO] [stdout] 42 + WebView2Error(Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | WebView2Error(webview2::Error), [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - WebView2Error(webview2::Error), [INFO] [stdout] 42 + WebView2Error(Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | impl From for Error { [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - impl From for Error { [INFO] [stdout] 46 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | impl From for Error { [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - impl From for Error { [INFO] [stdout] 46 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(er: webview2::Error) -> Self { [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - fn from(er: webview2::Error) -> Self { [INFO] [stdout] 47 + fn from(er: Error) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(er: webview2::Error) -> Self { [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - fn from(er: webview2::Error) -> Self { [INFO] [stdout] 47 + fn from(er: Error) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | settings_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - settings_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] 82 + settings_fn: Option Result<(), Error>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | settings_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - settings_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] 82 + settings_fn: Option Result<(), Error>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | webview_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | webview_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:85:71 [INFO] [stdout] | [INFO] [stdout] 85 | webview_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - webview_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] 85 + webview_fn: Option Result<(), Error>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:85:71 [INFO] [stdout] | [INFO] [stdout] 85 | webview_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - webview_fn: Option Result<(), webview2::Error>>, [INFO] [stdout] 85 + webview_fn: Option Result<(), Error>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:150:65 [INFO] [stdout] | [INFO] [stdout] 150 | settings_closure: fn(&Settings) -> Result<(), webview2::Error>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 150 - settings_closure: fn(&Settings) -> Result<(), webview2::Error>, [INFO] [stdout] 150 + settings_closure: fn(&Settings) -> Result<(), Error>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | webview_closure: fn(&webview2::WebView) -> Result<(), webview2::Error>, [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:150:65 [INFO] [stdout] | [INFO] [stdout] 150 | settings_closure: fn(&Settings) -> Result<(), webview2::Error>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 150 - settings_closure: fn(&Settings) -> Result<(), webview2::Error>, [INFO] [stdout] 150 + settings_closure: fn(&Settings) -> Result<(), Error>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | webview_closure: fn(&webview2::WebView) -> Result<(), webview2::Error>, [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:165:73 [INFO] [stdout] | [INFO] [stdout] 165 | webview_closure: fn(&webview2::WebView) -> Result<(), webview2::Error>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 165 - webview_closure: fn(&webview2::WebView) -> Result<(), webview2::Error>, [INFO] [stdout] 165 + webview_closure: fn(&webview2::WebView) -> Result<(), Error>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Controller` in crate `webview2` [INFO] [stdout] --> src/lib.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | controller: Rc>>, [INFO] [stdout] | ^^^^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `webview2` [INFO] [stdout] --> src/lib.rs:165:73 [INFO] [stdout] | [INFO] [stdout] 165 | webview_closure: fn(&webview2::WebView) -> Result<(), webview2::Error>, [INFO] [stdout] | ^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 165 - webview_closure: fn(&webview2::WebView) -> Result<(), webview2::Error>, [INFO] [stdout] 165 + webview_closure: fn(&webview2::WebView) -> Result<(), Error>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:345:62 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn webview_with(&self, mut cb: impl FnMut(&webview2::WebView)) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Controller` in crate `webview2` [INFO] [stdout] --> src/lib.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | controller: Rc>>, [INFO] [stdout] | ^^^^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:436:58 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn webview_with(&self, cb: impl FnMut(&webview2::WebView)) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:345:62 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn webview_with(&self, mut cb: impl FnMut(&webview2::WebView)) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> src/lib.rs:436:58 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn webview_with(&self, cb: impl FnMut(&webview2::WebView)) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/lib.rs:192:34 [INFO] [stdout] | [INFO] [stdout] 192 | let parent_hwnd = window.hwnd() as u32; [INFO] [stdout] | ^^^^ method not found in `Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/lib.rs:192:34 [INFO] [stdout] | [INFO] [stdout] 192 | let parent_hwnd = window.hwnd() as u32; [INFO] [stdout] | ^^^^ method not found in `Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::rc::Weak<_, _>` [INFO] [stdout] --> src/lib.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let controller_weak = Rc::downgrade(&webview.controller); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | if let Some(controller) = controller_rc.borrow().as_ref() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `controller_weak` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 201 | let controller_weak: std::rc::Weak = Rc::downgrade(&webview.controller); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::rc::Weak<_, _>` [INFO] [stdout] --> src/lib.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let controller_weak = Rc::downgrade(&webview.controller); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | if let Some(controller) = controller_rc.borrow().as_ref() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `controller_weak` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 201 | let controller_weak: std::rc::Weak = Rc::downgrade(&webview.controller); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `Rc` in the current scope [INFO] [stdout] --> src/lib.rs:456:62 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { SetForegroundWindow(instance.window.hwnd() as HWND) }; [INFO] [stdout] | ^^^^ method not found in `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `Rc` in the current scope [INFO] [stdout] --> src/lib.rs:456:62 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { SetForegroundWindow(instance.window.hwnd() as HWND) }; [INFO] [stdout] | ^^^^ method not found in `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, 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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, 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 `webviewbuilder_win` (lib) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `webviewbuilder_win` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "b13fedbd20a9e3264936d08706bee95856cf14576a62cbfb53543cf2d86f42ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13fedbd20a9e3264936d08706bee95856cf14576a62cbfb53543cf2d86f42ce", kill_on_drop: false }` [INFO] [stdout] b13fedbd20a9e3264936d08706bee95856cf14576a62cbfb53543cf2d86f42ce