[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 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fwebviewbuilder_win-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ciantic/webviewbuilder_win-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-4/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: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/sopium/webview2` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36361964a7e29484976208b7e00b4d5a566ea61564aa3894d5f5f63b1081034b [INFO] running `Command { std: "docker" "start" "-a" "36361964a7e29484976208b7e00b4d5a566ea61564aa3894d5f5f63b1081034b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36361964a7e29484976208b7e00b4d5a566ea61564aa3894d5f5f63b1081034b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36361964a7e29484976208b7e00b4d5a566ea61564aa3894d5f5f63b1081034b", kill_on_drop: false }` [INFO] [stdout] 36361964a7e29484976208b7e00b4d5a566ea61564aa3894d5f5f63b1081034b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f9b1a748ad3888e1d67929e71d0deb525bbef30ac62b1cf9c34ca3c29818e0d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f9b1a748ad3888e1d67929e71d0deb525bbef30ac62b1cf9c34ca3c29818e0d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling webview2-sys v0.1.0 (https://github.com/sopium/webview2#751bc324) [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking mio-misc v1.0.0 [INFO] [stderr] Checking xcursor v0.3.3 [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] Checking wayland-cursor v0.28.5 [INFO] [stderr] Compiling com_macros v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking com v0.2.0 [INFO] [stderr] Checking webview2 v0.1.0 (https://github.com/sopium/webview2#751bc324) [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [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 `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 `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] [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[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] [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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: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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:210:51 [INFO] [stdout] | [INFO] [stdout] 210 | env?.create_controller(parent_hwnd as HWND, move |host| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/lib.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | GetClientRect(parent_hwnd as HWND, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:220:50 [INFO] [stdout] | [INFO] [stdout] 220 | GetClientRect(parent_hwnd as HWND, &mut rect); [INFO] [stdout] | ^^^^ not found in this scope [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: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[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/lib.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | let r = RECT { [INFO] [stdout] | ^^^^ not found in this scope [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[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/lib.rs:456:26 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { SetForegroundWindow(instance.window.hwnd() as HWND) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:456:72 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { SetForegroundWindow(instance.window.hwnd() as HWND) }; [INFO] [stdout] | ^^^^ not found in this scope [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [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 core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:210:51 [INFO] [stdout] | [INFO] [stdout] 210 | env?.create_controller(parent_hwnd as HWND, move |host| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/lib.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | GetClientRect(parent_hwnd as HWND, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:220:50 [INFO] [stdout] | [INFO] [stdout] 220 | GetClientRect(parent_hwnd as HWND, &mut rect); [INFO] [stdout] | ^^^^ not found in this scope [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: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[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/lib.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | let r = RECT { [INFO] [stdout] | ^^^^ not found in this scope [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[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/lib.rs:456:26 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { SetForegroundWindow(instance.window.hwnd() as HWND) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:456:72 [INFO] [stdout] | [INFO] [stdout] 456 | unsafe { SetForegroundWindow(instance.window.hwnd() as HWND) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | webview_fn: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | webview_fn: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [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 `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let title = args.get_document_title()?; [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | let title = args.get_document_title()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:227:62 [INFO] [stdout] | [INFO] [stdout] 227 | let title = args.get_document_title()?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `Rc<_>` in the current scope [INFO] [stdout] --> src/lib.rs:239:65 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(controller) = controller_rc.borrow().as_ref() { [INFO] [stdout] | ^^^^^^ method not found in `Rc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `controller_rc` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let message = args.try_get_web_message_as_string()?; [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [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 `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:269:35 [INFO] [stdout] | [INFO] [stdout] 269 | let message = args.try_get_web_message_as_string()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:269:71 [INFO] [stdout] | [INFO] [stdout] 269 | let message = args.try_get_web_message_as_string()?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | / ... println!( [INFO] [stdout] 277 | | ... "Webview gave unparseable result: {:?}, error: {:?}", [INFO] [stdout] 278 | | ... message, _err [INFO] [stdout] 279 | | ... ); [INFO] [stdout] | |________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `Rc<_>` in the current scope [INFO] [stdout] --> src/lib.rs:291:61 [INFO] [stdout] | [INFO] [stdout] 291 | let mut controller_cell = controller_rc.borrow_mut(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Rc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `controller_rc` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let title = args.get_document_title()?; [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | let title = args.get_document_title()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:227:62 [INFO] [stdout] | [INFO] [stdout] 227 | let title = args.get_document_title()?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Break` [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 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `Rc<_>` in the current scope [INFO] [stdout] --> src/lib.rs:239:65 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(controller) = controller_rc.borrow().as_ref() { [INFO] [stdout] | ^^^^^^ method not found in `Rc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `controller_rc` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let message = args.try_get_web_message_as_string()?; [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:269:35 [INFO] [stdout] | [INFO] [stdout] 269 | let message = args.try_get_web_message_as_string()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webviewbuilder_win` due to 36 previous errors [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:269:71 [INFO] [stdout] | [INFO] [stdout] 269 | let message = args.try_get_web_message_as_string()?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | / ... println!( [INFO] [stdout] 277 | | ... "Webview gave unparseable result: {:?}, error: {:?}", [INFO] [stdout] 278 | | ... message, _err [INFO] [stdout] 279 | | ... ); [INFO] [stdout] | |________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_mut` found for struct `Rc<_>` in the current scope [INFO] [stdout] --> src/lib.rs:291:61 [INFO] [stdout] | [INFO] [stdout] 291 | let mut controller_cell = controller_rc.borrow_mut(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Rc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `controller_rc` is a function, perhaps you wish to call it [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 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6f9b1a748ad3888e1d67929e71d0deb525bbef30ac62b1cf9c34ca3c29818e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9b1a748ad3888e1d67929e71d0deb525bbef30ac62b1cf9c34ca3c29818e0d", kill_on_drop: false }` [INFO] [stdout] 6f9b1a748ad3888e1d67929e71d0deb525bbef30ac62b1cf9c34ca3c29818e0d