[INFO] fetching crate webview 0.1.1... [INFO] checking webview-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate webview 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate webview 0.1.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 webview 0.1.1 [INFO] finished tweaking crates.io crate webview 0.1.1 [INFO] tweaked toml for crates.io crate webview 0.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 0f1ac7eea394277c4a9399652174b70cb4ed318ddc7e16891e4b5ac18eb43f30 [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" "0f1ac7eea394277c4a9399652174b70cb4ed318ddc7e16891e4b5ac18eb43f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f1ac7eea394277c4a9399652174b70cb4ed318ddc7e16891e4b5ac18eb43f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1ac7eea394277c4a9399652174b70cb4ed318ddc7e16891e4b5ac18eb43f30", kill_on_drop: false }` [INFO] [stdout] 0f1ac7eea394277c4a9399652174b70cb4ed318ddc7e16891e4b5ac18eb43f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] c61e35a9bd89c03efafddb1054f4fb99abb1af16b9d10e7768f0297eff810623 [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" "c61e35a9bd89c03efafddb1054f4fb99abb1af16b9d10e7768f0297eff810623", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Compiling webview v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: In file included from library/webview.c:1: [INFO] [stderr] warning: library/webview.h: In function 'external_message_received_cb': [INFO] [stderr] warning: library/webview.h:216:5: warning: 'webkit_javascript_result_get_global_context' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: 216 | JSGlobalContextRef context = webkit_javascript_result_get_global_context(r); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:57, [INFO] [stderr] warning: from library/webview.h:14, [INFO] [stderr] warning: from library/webview.c:1: [INFO] [stderr] warning: /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:49:1: note: declared here [INFO] [stderr] warning: 49 | webkit_javascript_result_get_global_context (WebKitJavascriptResult *js_result); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from library/webview.c:1: [INFO] [stderr] warning: library/webview.h:217:5: warning: 'webkit_javascript_result_get_value' is deprecated: Use 'webkit_javascript_result_get_js_value' instead [-Wdeprecated-declarations] [INFO] [stderr] warning: 217 | JSValueRef value = webkit_javascript_result_get_value(r); [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:57, [INFO] [stderr] warning: from library/webview.h:14, [INFO] [stderr] warning: from library/webview.c:1: [INFO] [stderr] warning: /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:52:1: note: declared here [INFO] [stderr] warning: 52 | webkit_javascript_result_get_value (WebKitJavascriptResult *js_result); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: library/webview.c: In function 'r_webview_eval': [INFO] [stderr] warning: library/webview.c:25:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] warning: 25 | } [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: library/webview.c: In function 'r_webview_inject_css': [INFO] [stderr] warning: library/webview.c:30:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] warning: 30 | } [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from library/webview.c:1: [INFO] [stderr] warning: At top level: [INFO] [stderr] warning: library/webview.h:157:13: warning: 'webview_debug' defined but not used [-Wunused-function] [INFO] [stderr] warning: 157 | static void webview_debug(const char *format, ...) [INFO] [stderr] warning: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: library/webview.h:138:12: warning: 'webview' defined but not used [-Wunused-function] [INFO] [stderr] warning: 138 | static int webview(const char *title, const char *url, int w, int h, [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub callback: Box ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&WebView) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | pub const WEBVIEW_DIALOG_FLAG_FILE: c_int = (0 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | pub const WEBVIEW_DIALOG_FLAG_DIRECTORY: c_int = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | pub const WEBVIEW_DIALOG_FLAG_INFO: c_int = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | pub const WEBVIEW_DIALOG_FLAG_WARNING: c_int = (2 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | pub const WEBVIEW_DIALOG_FLAG_ERROR: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | pub const WEBVIEW_DIALOG_FLAG_ALERT_MASK: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub callback: Box ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&WebView) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | pub const WEBVIEW_DIALOG_FLAG_FILE: c_int = (0 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | pub const WEBVIEW_DIALOG_FLAG_DIRECTORY: c_int = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | pub const WEBVIEW_DIALOG_FLAG_INFO: c_int = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | pub const WEBVIEW_DIALOG_FLAG_WARNING: c_int = (2 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | pub const WEBVIEW_DIALOG_FLAG_ERROR: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | pub const WEBVIEW_DIALOG_FLAG_ALERT_MASK: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/ffi.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub extern "C" fn dispatcher(window: &Window, data: *mut DispatchUserData) -> () { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DialogType` [INFO] [stdout] --> src/ffi.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DialogType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_FILE` [INFO] [stdout] --> src/ffi.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub const WEBVIEW_DIALOG_FLAG_FILE: c_int = (0 << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_DIRECTORY` [INFO] [stdout] --> src/ffi.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub const WEBVIEW_DIALOG_FLAG_DIRECTORY: c_int = (1 << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_INFO` [INFO] [stdout] --> src/ffi.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub const WEBVIEW_DIALOG_FLAG_INFO: c_int = (1 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_WARNING` [INFO] [stdout] --> src/ffi.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub const WEBVIEW_DIALOG_FLAG_WARNING: c_int = (2 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_ERROR` [INFO] [stdout] --> src/ffi.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub const WEBVIEW_DIALOG_FLAG_ERROR: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_ALERT_MASK` [INFO] [stdout] --> src/ffi.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub const WEBVIEW_DIALOG_FLAG_ALERT_MASK: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_URL` [INFO] [stdout] --> src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub const DEFAULT_URL: &str = "data:text/html,%3Cbody%3E%3C%2Fbody%3E"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `r_webview_set_fullscreen` [INFO] [stdout] --> src/ffi.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn r_webview_set_fullscreen(webview: &Window, fullscreen: c_int) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `r_webview_dialog` [INFO] [stdout] --> src/ffi.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / pub fn r_webview_dialog( [INFO] [stdout] 61 | | webview: &Window, [INFO] [stdout] 62 | | dlgtype: DialogType, [INFO] [stdout] 63 | | flags: c_int, [INFO] [stdout] ... | [INFO] [stdout] 67 | | resultsz: isize, [INFO] [stdout] 68 | | ) -> (); [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/ffi.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub extern "C" fn dispatcher(window: &Window, data: *mut DispatchUserData) -> () { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DialogType` [INFO] [stdout] --> src/ffi.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DialogType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_FILE` [INFO] [stdout] --> src/ffi.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub const WEBVIEW_DIALOG_FLAG_FILE: c_int = (0 << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_DIRECTORY` [INFO] [stdout] --> src/ffi.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub const WEBVIEW_DIALOG_FLAG_DIRECTORY: c_int = (1 << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_INFO` [INFO] [stdout] --> src/ffi.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub const WEBVIEW_DIALOG_FLAG_INFO: c_int = (1 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_WARNING` [INFO] [stdout] --> src/ffi.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub const WEBVIEW_DIALOG_FLAG_WARNING: c_int = (2 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_ERROR` [INFO] [stdout] --> src/ffi.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub const WEBVIEW_DIALOG_FLAG_ERROR: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEBVIEW_DIALOG_FLAG_ALERT_MASK` [INFO] [stdout] --> src/ffi.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub const WEBVIEW_DIALOG_FLAG_ALERT_MASK: c_int = (3 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_URL` [INFO] [stdout] --> src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub const DEFAULT_URL: &str = "data:text/html,%3Cbody%3E%3C%2Fbody%3E"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `r_webview_set_fullscreen` [INFO] [stdout] --> src/ffi.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn r_webview_set_fullscreen(webview: &Window, fullscreen: c_int) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `r_webview_dialog` [INFO] [stdout] --> src/ffi.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / pub fn r_webview_dialog( [INFO] [stdout] 61 | | webview: &Window, [INFO] [stdout] 62 | | dlgtype: DialogType, [INFO] [stdout] 63 | | flags: c_int, [INFO] [stdout] ... | [INFO] [stdout] 67 | | resultsz: isize, [INFO] [stdout] 68 | | ) -> (); [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn r_webview_init(webview: &Window) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn r_webview_loop(webview: &Window, blocking: c_int) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn r_webview_exit(webview: &Window); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn r_webview_eval(webview: &Window, js: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r_webview_inject_css(webview: &Window, css: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn r_webview_set_title(webview: &Window, title: *const c_char) -> (); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn r_webview_set_fullscreen(webview: &Window, fullscreen: c_int) -> (); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | webview: &Window, [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | webview: &Window, [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | cb: extern "C" fn(window: &Window, arg: *mut DispatchUserData) -> (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn r_webview_terminate(window: &Window) -> (); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn r_webview_init(webview: &Window) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn r_webview_loop(webview: &Window, blocking: c_int) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn r_webview_exit(webview: &Window); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn r_webview_eval(webview: &Window, js: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r_webview_inject_css(webview: &Window, css: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn r_webview_set_title(webview: &Window, title: *const c_char) -> (); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn r_webview_set_fullscreen(webview: &Window, fullscreen: c_int) -> (); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | webview: &Window, [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | webview: &Window, [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | cb: extern "C" fn(window: &Window, arg: *mut DispatchUserData) -> (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn r_webview_terminate(window: &Window) -> (); [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "c61e35a9bd89c03efafddb1054f4fb99abb1af16b9d10e7768f0297eff810623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61e35a9bd89c03efafddb1054f4fb99abb1af16b9d10e7768f0297eff810623", kill_on_drop: false }` [INFO] [stdout] c61e35a9bd89c03efafddb1054f4fb99abb1af16b9d10e7768f0297eff810623