[INFO] fetching crate webview2 0.1.0-beta.1... [INFO] checking webview2-0.1.0-beta.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate webview2 0.1.0-beta.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate webview2 0.1.0-beta.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate webview2 0.1.0-beta.1 [INFO] finished tweaking crates.io crate webview2 0.1.0-beta.1 [INFO] tweaked toml for crates.io crate webview2 0.1.0-beta.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate webview2 0.1.0-beta.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.1 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded dispatch v0.1.4 [INFO] [stderr] Downloaded webview2-sys v0.1.0-beta.1 [INFO] [stderr] Downloaded winit v0.20.0 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75fc930bbb0fec833feebcbf85603f8555280499187e49be457d48ed4f1d1c32 [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" "75fc930bbb0fec833feebcbf85603f8555280499187e49be457d48ed4f1d1c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75fc930bbb0fec833feebcbf85603f8555280499187e49be457d48ed4f1d1c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75fc930bbb0fec833feebcbf85603f8555280499187e49be457d48ed4f1d1c32", kill_on_drop: false }` [INFO] [stdout] 75fc930bbb0fec833feebcbf85603f8555280499187e49be457d48ed4f1d1c32 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8fe411df67a7047021cf8225a6bbdc24021051489f4af2f7c10a66b2da67186 [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" "c8fe411df67a7047021cf8225a6bbdc24021051489f4af2f7c10a66b2da67186", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling webview2-sys v0.1.0-beta.1 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Compiling com_macros_support v0.2.0 [INFO] [stderr] Compiling com_macros v0.2.0 [INFO] [stderr] Checking com v0.2.0 [INFO] [stderr] Checking webview2 v0.1.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.20.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> examples/host-web-communication.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::*; [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] --> examples/host-web-communication.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> examples/host-web-communication.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> examples/capture-preview.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::*; [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] --> examples/capture-preview.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> examples/capture-preview.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> examples/host-web-communication.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | 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 `Controller` in crate `webview2` [INFO] [stdout] --> examples/host-web-communication.rs:23:57 [INFO] [stdout] | [INFO] [stdout] 23 | let webview_controller: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> examples/host-web-communication.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | let webview: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> examples/host-web-communication.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | let hwnd = window.hwnd() as HWND; [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] --> examples/host-web-communication.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> examples/host-web-communication.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let r = RECT { [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] --> examples/capture-preview.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | 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 `Stream` in `webview2` [INFO] [stdout] --> examples/capture-preview.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | let mut stream = webview2::Stream::from_bytes(&[]); [INFO] [stdout] | ^^^^^^ could not find `Stream` in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CapturePreviewImageFormat` in `webview2` [INFO] [stdout] --> examples/capture-preview.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | ... webview2::CapturePreviewImageFormat::PNG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `CapturePreviewImageFormat` in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Controller` in crate `webview2` [INFO] [stdout] --> examples/capture-preview.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | let webview_host: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebView` in crate `webview2` [INFO] [stdout] --> examples/capture-preview.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | let webview: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | ^^^^^^^ not found in `webview2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> examples/capture-preview.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | let hwnd = window.hwnd() as HWND; [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] --> examples/capture-preview.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> examples/capture-preview.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | let r = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> examples/capture-preview.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | let hwnd = window.hwnd() as HWND; [INFO] [stdout] | ^^^^ method not found in `winit::window::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] --> examples/host-web-communication.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let hwnd = window.hwnd() as HWND; [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> examples/capture-preview.rs:104:61 [INFO] [stdout] | [INFO] [stdout] 104 | ... use std::io::{self, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webview2` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c8fe411df67a7047021cf8225a6bbdc24021051489f4af2f7c10a66b2da67186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fe411df67a7047021cf8225a6bbdc24021051489f4af2f7c10a66b2da67186", kill_on_drop: false }` [INFO] [stdout] c8fe411df67a7047021cf8225a6bbdc24021051489f4af2f7c10a66b2da67186