[INFO] fetching crate webview 0.1.1... [INFO] documenting webview-0.1.1 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate webview 0.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate webview 0.1.1 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 649081065d69fcad619eea408cb221def9b59df9a467ecf695ef2a1872884403 [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" "649081065d69fcad619eea408cb221def9b59df9a467ecf695ef2a1872884403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "649081065d69fcad619eea408cb221def9b59df9a467ecf695ef2a1872884403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649081065d69fcad619eea408cb221def9b59df9a467ecf695ef2a1872884403", kill_on_drop: false }` [INFO] [stdout] 649081065d69fcad619eea408cb221def9b59df9a467ecf695ef2a1872884403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bd410a9d014f271bf2c458c5c5d6ac4ea7b591692fa39cb1f445d4e49fb9081 [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" "0bd410a9d014f271bf2c458c5c5d6ac4ea7b591692fa39cb1f445d4e49fb9081", kill_on_drop: false }` [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] [stderr] Documenting webview v0.1.1 (/opt/rustwide/workdir) [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: `extern` block uses type `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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 `std::vec::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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "0bd410a9d014f271bf2c458c5c5d6ac4ea7b591692fa39cb1f445d4e49fb9081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd410a9d014f271bf2c458c5c5d6ac4ea7b591692fa39cb1f445d4e49fb9081", kill_on_drop: false }` [INFO] [stdout] 0bd410a9d014f271bf2c458c5c5d6ac4ea7b591692fa39cb1f445d4e49fb9081