[INFO] fetching crate webview2 0.1.0-beta.1... [INFO] checking webview2-0.1.0-beta.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate webview2 0.1.0-beta.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate webview2 0.1.0-beta.1 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 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-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded andrew v0.2.1 [INFO] [stderr] Downloaded winapi-util v0.1.4 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded rusttype v0.8.3 [INFO] [stderr] Downloaded rusttype v0.7.9 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.6 [INFO] [stderr] Downloaded wayland-scanner v0.23.6 [INFO] [stderr] Downloaded wayland-protocols v0.23.6 [INFO] [stderr] Downloaded core-video-sys v0.1.3 [INFO] [stderr] Downloaded once_cell v1.3.1 [INFO] [stderr] Downloaded cocoa v0.19.1 [INFO] [stderr] Downloaded dispatch v0.1.4 [INFO] [stderr] Downloaded stb_truetype v0.3.1 [INFO] [stderr] Downloaded core-graphics v0.17.3 [INFO] [stderr] Downloaded webview2-sys v0.1.0-beta.1 [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded parking_lot_core v0.7.1 [INFO] [stderr] Downloaded line_drawing v0.7.0 [INFO] [stderr] Downloaded wayland-client v0.23.6 [INFO] [stderr] Downloaded winit v0.20.0 [INFO] [stderr] Downloaded wayland-sys v0.23.6 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded wayland-commons v0.23.6 [INFO] [stderr] Downloaded xml-rs v0.8.2 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] 2de17d46053a335e31884a1b5fe484beefd53785e3d000d7014bfa9e7c5fa9ce [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" "2de17d46053a335e31884a1b5fe484beefd53785e3d000d7014bfa9e7c5fa9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2de17d46053a335e31884a1b5fe484beefd53785e3d000d7014bfa9e7c5fa9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de17d46053a335e31884a1b5fe484beefd53785e3d000d7014bfa9e7c5fa9ce", kill_on_drop: false }` [INFO] [stdout] 2de17d46053a335e31884a1b5fe484beefd53785e3d000d7014bfa9e7c5fa9ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] f8ab82deb943c6da250d57ad6dec2b83c47acc28b1a8a8ab32d506d0ee4f3d56 [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" "f8ab82deb943c6da250d57ad6dec2b83c47acc28b1a8a8ab32d506d0ee4f3d56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling webview2-sys v0.1.0-beta.1 [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 lock_api v0.3.4 [INFO] [stderr] Checking log v0.4.8 [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 wayland-sys v0.23.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols 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 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/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 `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[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[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] | ^^^^^^ not found in `webview2` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 1 | use std::stream::Stream; [INFO] [stdout] | [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[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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f8ab82deb943c6da250d57ad6dec2b83c47acc28b1a8a8ab32d506d0ee4f3d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ab82deb943c6da250d57ad6dec2b83c47acc28b1a8a8ab32d506d0ee4f3d56", kill_on_drop: false }` [INFO] [stdout] f8ab82deb943c6da250d57ad6dec2b83c47acc28b1a8a8ab32d506d0ee4f3d56