# rustc version rustc 1.86.0-nightly (92bedea1c 2025-02-11)
# docs.rs version docsrs 0.6.0 (35977596 2025-02-09)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/webview-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/webview-0.1.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250211-1.86.0-nightly-92bedea1c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 51db689f4f73eaa9f9b4c0fbe714a12119fc4e2bbee93dcf9bac20c31c019a34 [INFO] running `Command { std: "docker" "start" "-a" "51db689f4f73eaa9f9b4c0fbe714a12119fc4e2bbee93dcf9bac20c31c019a34", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] warning: webview@0.1.1: In file included from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: library/webview.h: In function 'external_message_received_cb': [INFO] [stderr] warning: webview@0.1.1: library/webview.h:216:5: warning: 'webkit_javascript_result_get_global_context' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: webview@0.1.1: 216 | JSGlobalContextRef context = webkit_javascript_result_get_global_context(r); [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:58, [INFO] [stderr] warning: webview@0.1.1: from library/webview.h:14, [INFO] [stderr] warning: webview@0.1.1: from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: /usr/include/webkitgtk-4.0/webkit/WebKitJavascriptResult.h:51:1: note: declared here [INFO] [stderr] warning: webview@0.1.1: 51 | webkit_javascript_result_get_global_context (WebKitJavascriptResult *js_result); [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: In file included from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: 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: webview@0.1.1: 217 | JSValueRef value = webkit_javascript_result_get_value(r); [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:58, [INFO] [stderr] warning: webview@0.1.1: from library/webview.h:14, [INFO] [stderr] warning: webview@0.1.1: from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: /usr/include/webkitgtk-4.0/webkit/WebKitJavascriptResult.h:54:1: note: declared here [INFO] [stderr] warning: webview@0.1.1: 54 | webkit_javascript_result_get_value (WebKitJavascriptResult *js_result); [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: In file included from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: library/webview.h: In function 'webview_init': [INFO] [stderr] warning: webview@0.1.1: library/webview.h:305:5: warning: 'webkit_web_view_run_javascript' is deprecated: Use 'webkit_web_view_evaluate_javascript' instead [-Wdeprecated-declarations] [INFO] [stderr] warning: webview@0.1.1: 305 | webkit_web_view_run_javascript( [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: In file included from /usr/include/webkitgtk-4.0/webkit/WebKitPrintOperation.h:29, [INFO] [stderr] warning: webview@0.1.1: from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:74, [INFO] [stderr] warning: webview@0.1.1: from library/webview.h:14, [INFO] [stderr] warning: webview@0.1.1: from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: /usr/include/webkitgtk-4.0/webkit/WebKitWebView.h:529:1: note: declared here [INFO] [stderr] warning: webview@0.1.1: 529 | webkit_web_view_run_javascript (WebKitWebView *web_view, [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: In file included from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: library/webview.h: In function 'webview_eval': [INFO] [stderr] warning: webview@0.1.1: library/webview.h:395:5: warning: 'webkit_web_view_run_javascript' is deprecated: Use 'webkit_web_view_evaluate_javascript' instead [-Wdeprecated-declarations] [INFO] [stderr] warning: webview@0.1.1: 395 | webkit_web_view_run_javascript(WEBKIT_WEB_VIEW(w->priv.webview), js, NULL, [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: In file included from /usr/include/webkitgtk-4.0/webkit/WebKitPrintOperation.h:29, [INFO] [stderr] warning: webview@0.1.1: from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:74, [INFO] [stderr] warning: webview@0.1.1: from library/webview.h:14, [INFO] [stderr] warning: webview@0.1.1: from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: /usr/include/webkitgtk-4.0/webkit/WebKitWebView.h:529:1: note: declared here [INFO] [stderr] warning: webview@0.1.1: 529 | webkit_web_view_run_javascript (WebKitWebView *web_view, [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: library/webview.c: In function 'r_webview_eval': [INFO] [stderr] warning: webview@0.1.1: library/webview.c:25:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] warning: webview@0.1.1: 25 | } [INFO] [stderr] warning: webview@0.1.1: | ^ [INFO] [stderr] warning: webview@0.1.1: library/webview.c: In function 'r_webview_inject_css': [INFO] [stderr] warning: webview@0.1.1: library/webview.c:30:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] warning: webview@0.1.1: 30 | } [INFO] [stderr] warning: webview@0.1.1: | ^ [INFO] [stderr] warning: webview@0.1.1: In file included from library/webview.c:1: [INFO] [stderr] warning: webview@0.1.1: At top level: [INFO] [stderr] warning: webview@0.1.1: library/webview.h:157:13: warning: 'webview_debug' defined but not used [-Wunused-function] [INFO] [stderr] warning: webview@0.1.1: 157 | static void webview_debug(const char *format, ...) [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: webview@0.1.1: library/webview.h:138:12: warning: 'webview' defined but not used [-Wunused-function] [INFO] [stderr] warning: webview@0.1.1: 138 | static int webview(const char *title, const char *url, int w, int h, [INFO] [stderr] warning: webview@0.1.1: | ^~~~~~~ [INFO] [stderr] Documenting webview v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi.rs:43:45 [INFO] [stderr] | [INFO] [stderr] 43 | pub const WEBVIEW_DIALOG_FLAG_FILE: c_int = (0 << 0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 43 - pub const WEBVIEW_DIALOG_FLAG_FILE: c_int = (0 << 0); [INFO] [stderr] 43 + pub const WEBVIEW_DIALOG_FLAG_FILE: c_int = 0 << 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi.rs:44:50 [INFO] [stderr] | [INFO] [stderr] 44 | pub const WEBVIEW_DIALOG_FLAG_DIRECTORY: c_int = (1 << 0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 44 - pub const WEBVIEW_DIALOG_FLAG_DIRECTORY: c_int = (1 << 0); [INFO] [stderr] 44 + pub const WEBVIEW_DIALOG_FLAG_DIRECTORY: c_int = 1 << 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi.rs:45:45 [INFO] [stderr] | [INFO] [stderr] 45 | pub const WEBVIEW_DIALOG_FLAG_INFO: c_int = (1 << 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 45 - pub const WEBVIEW_DIALOG_FLAG_INFO: c_int = (1 << 1); [INFO] [stderr] 45 + pub const WEBVIEW_DIALOG_FLAG_INFO: c_int = 1 << 1; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi.rs:46:48 [INFO] [stderr] | [INFO] [stderr] 46 | pub const WEBVIEW_DIALOG_FLAG_WARNING: c_int = (2 << 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 46 - pub const WEBVIEW_DIALOG_FLAG_WARNING: c_int = (2 << 1); [INFO] [stderr] 46 + pub const WEBVIEW_DIALOG_FLAG_WARNING: c_int = 2 << 1; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi.rs:47:46 [INFO] [stderr] | [INFO] [stderr] 47 | pub const WEBVIEW_DIALOG_FLAG_ERROR: c_int = (3 << 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 47 - pub const WEBVIEW_DIALOG_FLAG_ERROR: c_int = (3 << 1); [INFO] [stderr] 47 + pub const WEBVIEW_DIALOG_FLAG_ERROR: c_int = 3 << 1; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi.rs:48:51 [INFO] [stderr] | [INFO] [stderr] 48 | pub const WEBVIEW_DIALOG_FLAG_ALERT_MASK: c_int = (3 << 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 48 - pub const WEBVIEW_DIALOG_FLAG_ALERT_MASK: c_int = (3 << 1); [INFO] [stderr] 48 + pub const WEBVIEW_DIALOG_FLAG_ALERT_MASK: c_int = 3 << 1; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `webview` (lib doc) generated 6 warnings (run `cargo fix --lib -p webview` to apply 6 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/webview/index.html [INFO] running `Command { std: "docker" "inspect" "51db689f4f73eaa9f9b4c0fbe714a12119fc4e2bbee93dcf9bac20c31c019a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51db689f4f73eaa9f9b4c0fbe714a12119fc4e2bbee93dcf9bac20c31c019a34", kill_on_drop: false }` [INFO] [stdout] 51db689f4f73eaa9f9b4c0fbe714a12119fc4e2bbee93dcf9bac20c31c019a34