[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] 44b2b4999ca635544d1a5116adfd2ad1946393d5 [INFO] checking Ciantic/webviewbuilder_win-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fwebviewbuilder_win-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ciantic/webviewbuilder_win-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded com_macros v0.2.0 [INFO] [stderr] Downloaded com_macros_support v0.2.0 [INFO] [stderr] Downloaded com v0.2.0 [INFO] [stderr] Downloaded webview2 v0.1.0-beta.1 [INFO] [stderr] Downloaded syn v1.0.35 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded webview2-sys v0.1.0-beta.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] ec4059ea44b6da316678dd84ec9eb201f74b14a607dc98bb5b5851f4f3133267 [INFO] running `Command { std: "docker" "start" "-a" "ec4059ea44b6da316678dd84ec9eb201f74b14a607dc98bb5b5851f4f3133267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec4059ea44b6da316678dd84ec9eb201f74b14a607dc98bb5b5851f4f3133267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec4059ea44b6da316678dd84ec9eb201f74b14a607dc98bb5b5851f4f3133267", kill_on_drop: false }` [INFO] [stdout] ec4059ea44b6da316678dd84ec9eb201f74b14a607dc98bb5b5851f4f3133267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 44a3dc1da40b54f3bdb8414cf0f26c020f7eef5eb57219d3759047c573ea4948 [INFO] running `Command { std: "docker" "start" "-a" "44a3dc1da40b54f3bdb8414cf0f26c020f7eef5eb57219d3759047c573ea4948", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling webview2-sys v0.1.0-beta.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking widestring v0.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [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 smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking webview2 v0.1.0-beta.1 [INFO] [stderr] Checking winit v0.22.2 [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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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[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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [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[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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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 crate::mem::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::value::Error; [INFO] [stdout] | [INFO] [stdout] and 7 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[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 `Err` [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[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 `Err` [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 a macro (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: could not compile `webviewbuilder_win` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `Err` [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[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 `Err` [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 a macro (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" "44a3dc1da40b54f3bdb8414cf0f26c020f7eef5eb57219d3759047c573ea4948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a3dc1da40b54f3bdb8414cf0f26c020f7eef5eb57219d3759047c573ea4948", kill_on_drop: false }` [INFO] [stdout] 44a3dc1da40b54f3bdb8414cf0f26c020f7eef5eb57219d3759047c573ea4948