[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fwebviewbuilder_win-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ciantic/webviewbuilder_win-rs on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-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" "+506512391b1a75ae450d36c9420978402a91abcc" "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 com v0.2.0 [INFO] [stderr] Downloaded com_macros_support v0.2.0 [INFO] [stderr] Downloaded com_macros v0.2.0 [INFO] [stderr] Downloaded mio-misc v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0095119f6eaed320292b7f5ac9138c1fe9d9fe55a49e6cc6d8ab33f823feb763 [INFO] running `Command { std: "docker" "start" "-a" "0095119f6eaed320292b7f5ac9138c1fe9d9fe55a49e6cc6d8ab33f823feb763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0095119f6eaed320292b7f5ac9138c1fe9d9fe55a49e6cc6d8ab33f823feb763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0095119f6eaed320292b7f5ac9138c1fe9d9fe55a49e6cc6d8ab33f823feb763", kill_on_drop: false }` [INFO] [stdout] 0095119f6eaed320292b7f5ac9138c1fe9d9fe55a49e6cc6d8ab33f823feb763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d22d7e8432b7314ffa90e2bc670f8719e411269ef4f9d52db8d8000672a8f6c [INFO] running `Command { std: "docker" "start" "-a" "1d22d7e8432b7314ffa90e2bc670f8719e411269ef4f9d52db8d8000672a8f6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling webview2-sys v0.1.0 (https://github.com/sopium/webview2#751bc324) [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking lock_api v0.4.4 [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 itoa v0.4.7 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling com_macros_support v0.2.0 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking calloop v0.6.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 wayland-cursor v0.28.5 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [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] [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] [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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 `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::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 `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::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 `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[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::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::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 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 `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" "1d22d7e8432b7314ffa90e2bc670f8719e411269ef4f9d52db8d8000672a8f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d22d7e8432b7314ffa90e2bc670f8719e411269ef4f9d52db8d8000672a8f6c", kill_on_drop: false }` [INFO] [stdout] 1d22d7e8432b7314ffa90e2bc670f8719e411269ef4f9d52db8d8000672a8f6c [INFO] checking Ciantic/webviewbuilder_win-rs against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fwebviewbuilder_win-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ciantic/webviewbuilder_win-rs on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a59254271ac533202ef695d91b2c3b0ee41414ad72114e26233e729a26113b7 [INFO] running `Command { std: "docker" "start" "-a" "1a59254271ac533202ef695d91b2c3b0ee41414ad72114e26233e729a26113b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a59254271ac533202ef695d91b2c3b0ee41414ad72114e26233e729a26113b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a59254271ac533202ef695d91b2c3b0ee41414ad72114e26233e729a26113b7", kill_on_drop: false }` [INFO] [stdout] 1a59254271ac533202ef695d91b2c3b0ee41414ad72114e26233e729a26113b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a52f41f13f71fa72d5073266978e5a251ce52e6b83c6eba03195feb04d63bd [INFO] running `Command { std: "docker" "start" "-a" "e6a52f41f13f71fa72d5073266978e5a251ce52e6b83c6eba03195feb04d63bd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "e6a52f41f13f71fa72d5073266978e5a251ce52e6b83c6eba03195feb04d63bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a52f41f13f71fa72d5073266978e5a251ce52e6b83c6eba03195feb04d63bd", kill_on_drop: false }` [INFO] [stdout] e6a52f41f13f71fa72d5073266978e5a251ce52e6b83c6eba03195feb04d63bd