[INFO] fetching crate tauriless 0.2.4... [INFO] testing tauriless-0.2.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate tauriless 0.2.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tauriless 0.2.4 [INFO] finished tweaking crates.io crate tauriless 0.2.4 [INFO] tweaked toml for crates.io crate tauriless 0.2.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tauriless 0.2.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 289 packages to latest compatible versions [INFO] [stderr] Adding toml v0.8.2 (available: v0.8.23) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.11) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tauriless_serde v0.2.1 [INFO] [stderr] Downloaded pot v3.0.1 [INFO] [stderr] Downloaded tauriless_common v0.2.0 [INFO] [stderr] Downloaded tauriless_macro v0.2.1 [INFO] [stderr] Downloaded typenum v1.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9c14895e78273f941bbf27e9dfd6a0ee3593035e1ceaa7d718b2d7487356ccf [INFO] running `Command { std: "docker" "start" "-a" "c9c14895e78273f941bbf27e9dfd6a0ee3593035e1ceaa7d718b2d7487356ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9c14895e78273f941bbf27e9dfd6a0ee3593035e1ceaa7d718b2d7487356ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c14895e78273f941bbf27e9dfd6a0ee3593035e1ceaa7d718b2d7487356ccf", kill_on_drop: false }` [INFO] [stdout] c9c14895e78273f941bbf27e9dfd6a0ee3593035e1ceaa7d718b2d7487356ccf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59d5664785d8bf14ee3f8d85f1e34105054d5721b9940f7b561ff16ce5cc300c [INFO] running `Command { std: "docker" "start" "-a" "59d5664785d8bf14ee3f8d85f1e34105054d5721b9940f7b561ff16ce5cc300c", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling wry v0.53.3 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling tauriless_common v0.2.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tauriless_macro v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling pot v3.0.1 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling tauriless_serde v0.2.1 [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling atk v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs v1.1.2 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [INFO] [stderr] Compiling pango v0.18.3 [INFO] [stderr] Compiling soup3 v0.5.0 [INFO] [stderr] Compiling gdk v0.18.2 [INFO] [stderr] Compiling gdkx11 v0.18.2 [INFO] [stderr] Compiling webkit2gtk v2.0.1 [INFO] [stderr] Compiling tauriless v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "59d5664785d8bf14ee3f8d85f1e34105054d5721b9940f7b561ff16ce5cc300c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d5664785d8bf14ee3f8d85f1e34105054d5721b9940f7b561ff16ce5cc300c", kill_on_drop: false }` [INFO] [stdout] 59d5664785d8bf14ee3f8d85f1e34105054d5721b9940f7b561ff16ce5cc300c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f587d320845aeb2a31425fbdf7464a08c285cd823f270a46d3b9aa924172aaa [INFO] running `Command { std: "docker" "start" "-a" "2f587d320845aeb2a31425fbdf7464a08c285cd823f270a46d3b9aa924172aaa", kill_on_drop: false }` [INFO] [stderr] Compiling tauriless v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "2f587d320845aeb2a31425fbdf7464a08c285cd823f270a46d3b9aa924172aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f587d320845aeb2a31425fbdf7464a08c285cd823f270a46d3b9aa924172aaa", kill_on_drop: false }` [INFO] [stdout] 2f587d320845aeb2a31425fbdf7464a08c285cd823f270a46d3b9aa924172aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8597196f5971a800bc25487523dc1c946b3e7e038f4f88fe6d152ee8449cf592 [INFO] running `Command { std: "docker" "start" "-a" "8597196f5971a800bc25487523dc1c946b3e7e038f4f88fe6d152ee8449cf592", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tauriless-bc6b53417423af90) [INFO] [stderr] Doc-tests tauriless [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 20) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tao` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tao::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tao` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tao`, use `cargo add tao` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 40 | .with_tauriless_commands(commands![argsless_sync_command, async_command_with_args]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 22 | let rt = tokio::runtime::Builder::new_multi_thread() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - let rt = tokio::runtime::Builder::new_multi_thread() [INFO] [stdout] 22 + let rt = Builder::new_multi_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 38 | let _webview = WebViewBuilder::new(&window) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wry-0.53.3/src/lib.rs:855:10 [INFO] [stdout] | [INFO] [stdout] 855 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 38 - let _webview = WebViewBuilder::new(&window) [INFO] [stdout] 38 + let _webview = WebViewBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 41 | .build()?; [INFO] [stdout] | ^^^^^-- argument #1 of type `&_` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wry-0.53.3/src/lib.rs:1424:10 [INFO] [stdout] | [INFO] [stdout] 1424 | pub fn build(self, window: &'a W) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 41 | .build(/* window */)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> wry::Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), wry::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/lib.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 40 | .with_tauriless_commands(commands![argsless_sync_command, async_command_with_args]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 3 arguments [INFO] [stdout] | takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0593. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8597196f5971a800bc25487523dc1c946b3e7e038f4f88fe6d152ee8449cf592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8597196f5971a800bc25487523dc1c946b3e7e038f4f88fe6d152ee8449cf592", kill_on_drop: false }` [INFO] [stdout] 8597196f5971a800bc25487523dc1c946b3e7e038f4f88fe6d152ee8449cf592