[INFO] fetching crate webview2 0.1.0-beta.1... [INFO] checking webview2-0.1.0-beta.1 against beta for pr-78714 [INFO] extracting crate webview2 0.1.0-beta.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate webview2 0.1.0-beta.1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-6/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 316962738c70c5bf57487f2a90bd5655dadfa9ef1c31f7217b39f28194b158bf [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" "316962738c70c5bf57487f2a90bd5655dadfa9ef1c31f7217b39f28194b158bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "316962738c70c5bf57487f2a90bd5655dadfa9ef1c31f7217b39f28194b158bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "316962738c70c5bf57487f2a90bd5655dadfa9ef1c31f7217b39f28194b158bf", kill_on_drop: false }` [INFO] [stdout] 316962738c70c5bf57487f2a90bd5655dadfa9ef1c31f7217b39f28194b158bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5351d4ff0302a3939a20de37b898f8805db92a2013f249efae026d20be92a66 [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" "c5351d4ff0302a3939a20de37b898f8805db92a2013f249efae026d20be92a66", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling webview2-sys v0.1.0-beta.1 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [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 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 `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 `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/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/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] 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] [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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c5351d4ff0302a3939a20de37b898f8805db92a2013f249efae026d20be92a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5351d4ff0302a3939a20de37b898f8805db92a2013f249efae026d20be92a66", kill_on_drop: false }` [INFO] [stdout] c5351d4ff0302a3939a20de37b898f8805db92a2013f249efae026d20be92a66