[INFO] fetching crate better-web-view 0.6.0...
[INFO] checking better-web-view-0.6.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate better-web-view 0.6.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate better-web-view 0.6.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate better-web-view 0.6.0
[INFO] finished tweaking crates.io crate better-web-view 0.6.0
[INFO] tweaked toml for crates.io crate better-web-view 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded webview-sys v0.1.4
[INFO] [stderr]   Downloaded boxfnonce v0.1.1
[INFO] [stderr]   Downloaded urlencoding v1.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12ec1215e8c7f2430ecfd50425db1331a3cd6589308bc63c148f5a99ac773090
[INFO] running `Command { std: "docker" "start" "-a" "12ec1215e8c7f2430ecfd50425db1331a3cd6589308bc63c148f5a99ac773090", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12ec1215e8c7f2430ecfd50425db1331a3cd6589308bc63c148f5a99ac773090", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12ec1215e8c7f2430ecfd50425db1331a3cd6589308bc63c148f5a99ac773090", kill_on_drop: false }`
[INFO] [stdout] 12ec1215e8c7f2430ecfd50425db1331a3cd6589308bc63c148f5a99ac773090
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8a5e64710df9733d3bd901b5edcf0113ca5ea407fae199b9cb3433b8290374e
[INFO] running `Command { std: "docker" "start" "-a" "f8a5e64710df9733d3bd901b5edcf0113ca5ea407fae199b9cb3433b8290374e", kill_on_drop: false }`
[INFO] [stderr]     Checking urlencoding v1.3.3
[INFO] [stderr]     Checking boxfnonce v0.1.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling webview-sys v0.1.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking serde_json v1.0.115
[INFO] [stderr]     Checking better-web-view v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `ffi` is imported redundantly
[INFO] [stdout]   --> src/dialog.rs:1:11
[INFO] [stdout]    |
[INFO] [stdout] 1  | use ffi::{self, DialogFlags, DialogType};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | extern crate webview_sys as ffi;
[INFO] [stdout]    | -------------------------------- the item `ffi` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ffi` is imported redundantly
[INFO] [stdout]   --> src/dialog.rs:1:11
[INFO] [stdout]    |
[INFO] [stdout] 1  | use ffi::{self, DialogFlags, DialogType};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | extern crate webview_sys as ffi;
[INFO] [stdout]    | -------------------------------- the item `ffi` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Custom(Box<CustomError>),
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Custom(Box<dyn CustomError>),
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:241:25
[INFO] [stdout]     |
[INFO] [stdout] 241 |     invoke_handler: Box<FnMut(&mut WebView<T>, &str) -> WVResult + 'a>,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 241 |     invoke_handler: Box<dyn FnMut(&mut WebView<T>, &str) -> WVResult + 'a>,
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Custom(Box<CustomError>),
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Custom(Box<dyn CustomError>),
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:241:25
[INFO] [stdout]     |
[INFO] [stdout] 241 |     invoke_handler: Box<FnMut(&mut WebView<T>, &str) -> WVResult + 'a>,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 241 |     invoke_handler: Box<dyn FnMut(&mut WebView<T>, &str) -> WVResult + 'a>,
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(&self) -> Option<&error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(&self) -> Option<&dyn error::Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(&self) -> Option<&error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(&self) -> Option<&dyn error::Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:287:22
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 Some(ffi_invoke_handler::<T>),
[INFO] [stdout]     |                 ---- ^^^^^^^^^^^^^^^^^^^^^^^ expected "C" fn, found "system" fn
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `extern "C" fn(_, _)`
[INFO] [stdout]                   found fn item `extern "system" fn(_, _) {ffi_invoke_handler::<T>}`
[INFO] [stdout] help: the type constructed contains `extern "system" fn(*mut ffi::CWebView, *const i8) {ffi_invoke_handler::<T>}` due to the type of the argument passed
[INFO] [stdout]    --> src/lib.rs:287:17
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 Some(ffi_invoke_handler::<T>),
[INFO] [stdout]     |                 ^^^^^-----------------------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `extern "system" fn(*mut ffi::CWebView, *mut std::ffi::c_void) {ffi_dispatch_handler::<T>}` as `extern "C" fn(*mut ffi::CWebView, *mut std::ffi::c_void)`
[INFO] [stdout]    --> src/lib.rs:502:22
[INFO] [stdout]     |
[INFO] [stdout] 502 |                 Some(ffi_dispatch_handler::<T> as _),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid cast
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:287:22
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 Some(ffi_invoke_handler::<T>),
[INFO] [stdout]     |                 ---- ^^^^^^^^^^^^^^^^^^^^^^^ expected "C" fn, found "system" fn
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `extern "C" fn(_, _)`
[INFO] [stdout]                   found fn item `extern "system" fn(_, _) {ffi_invoke_handler::<T>}`
[INFO] [stdout] help: the type constructed contains `extern "system" fn(*mut ffi::CWebView, *const i8) {ffi_invoke_handler::<T>}` due to the type of the argument passed
[INFO] [stdout]    --> src/lib.rs:287:17
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 Some(ffi_invoke_handler::<T>),
[INFO] [stdout]     |                 ^^^^^-----------------------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `extern "system" fn(*mut ffi::CWebView, *mut std::ffi::c_void) {ffi_dispatch_handler::<T>}` as `extern "C" fn(*mut ffi::CWebView, *mut std::ffi::c_void)`
[INFO] [stdout]    --> src/lib.rs:502:22
[INFO] [stdout]     |
[INFO] [stdout] 502 |                 Some(ffi_dispatch_handler::<T> as _),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid cast
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `better-web-view` (lib test) due to 3 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `better-web-view` (lib) due to 3 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f8a5e64710df9733d3bd901b5edcf0113ca5ea407fae199b9cb3433b8290374e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8a5e64710df9733d3bd901b5edcf0113ca5ea407fae199b9cb3433b8290374e", kill_on_drop: false }`
[INFO] [stdout] f8a5e64710df9733d3bd901b5edcf0113ca5ea407fae199b9cb3433b8290374e
