[INFO] cloning repository https://github.com/JonasKruckenberg/tauri-sys
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonasKruckenberg/tauri-sys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasKruckenberg%2Ftauri-sys", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasKruckenberg%2Ftauri-sys'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 315683cc4a74c3d20a050c86fbe36ac4d2ef62e3
[INFO] testing JonasKruckenberg/tauri-sys against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasKruckenberg%2Ftauri-sys" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JonasKruckenberg/tauri-sys
[INFO] finished tweaking git repo https://github.com/JonasKruckenberg/tauri-sys
[INFO] tweaked toml for git repo https://github.com/JonasKruckenberg/tauri-sys written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JonasKruckenberg/tauri-sys on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JonasKruckenberg/tauri-sys already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b907acc5f53153164c6220e9787f31f17723b5472781cbdeacdf337334f137c5
[INFO] running `Command { std: "docker" "start" "-a" "b907acc5f53153164c6220e9787f31f17723b5472781cbdeacdf337334f137c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b907acc5f53153164c6220e9787f31f17723b5472781cbdeacdf337334f137c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b907acc5f53153164c6220e9787f31f17723b5472781cbdeacdf337334f137c5", kill_on_drop: false }`
[INFO] [stdout] b907acc5f53153164c6220e9787f31f17723b5472781cbdeacdf337334f137c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 145fb0f6cf9f925686febfadf4363e6d84cc16caf54a5bf2ceeae3ce0b02f126
[INFO] running `Command { std: "docker" "start" "-a" "145fb0f6cf9f925686febfadf4363e6d84cc16caf54a5bf2ceeae3ce0b02f126", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.105
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling bumpalo v3.11.1
[INFO] [stderr]    Compiling once_cell v1.16.0
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling wasm-bindgen v0.2.105
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.105
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling serde_repr v0.1.17
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.105
[INFO] [stderr]    Compiling js-sys v0.3.82
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.6.3
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.55
[INFO] [stderr]    Compiling tauri-sys v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]    --> src/lib.rs:152:17
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub(crate) type Result<T> = core::result::Result<T, Error>;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.10s
[INFO] running `Command { std: "docker" "inspect" "145fb0f6cf9f925686febfadf4363e6d84cc16caf54a5bf2ceeae3ce0b02f126", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "145fb0f6cf9f925686febfadf4363e6d84cc16caf54a5bf2ceeae3ce0b02f126", kill_on_drop: false }`
[INFO] [stdout] 145fb0f6cf9f925686febfadf4363e6d84cc16caf54a5bf2ceeae3ce0b02f126
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cba3e2b354ce5aa9652f6732cb4b460ee519e3a5c0d04992c4b2cfc7cfbdf4ec
[INFO] running `Command { std: "docker" "start" "-a" "cba3e2b354ce5aa9652f6732cb4b460ee519e3a5c0d04992c4b2cfc7cfbdf4ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling futures-sink v0.3.29
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.29
[INFO] [stderr]    Compiling semver v1.0.20
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling futures-macro v0.3.29
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.55
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.55
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling futures-executor v0.3.29
[INFO] [stderr]    Compiling futures v0.3.29
[INFO] [stderr]    Compiling tauri-sys v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/dialog.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 175 |         if let Ok(files) = Array::try_from(raw) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/dialog.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 |         if let Ok(files) = Array::try_from(raw) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FsTextFileOption` is never constructed
[INFO] [stdout]   --> src/fs.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct FsTextFileOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/dialog.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 175 |         if let Ok(files) = Array::try_from(raw) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/dialog.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 |         if let Ok(files) = Array::try_from(raw) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FsTextFileOption` is never constructed
[INFO] [stdout]   --> src/fs.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct FsTextFileOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.54s
[INFO] running `Command { std: "docker" "inspect" "cba3e2b354ce5aa9652f6732cb4b460ee519e3a5c0d04992c4b2cfc7cfbdf4ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cba3e2b354ce5aa9652f6732cb4b460ee519e3a5c0d04992c4b2cfc7cfbdf4ec", kill_on_drop: false }`
[INFO] [stdout] cba3e2b354ce5aa9652f6732cb4b460ee519e3a5c0d04992c4b2cfc7cfbdf4ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 970ffd2d557ef94acf79bcd42c5301629276f5f1379b934149b3ab7669a14141
[INFO] running `Command { std: "docker" "start" "-a" "970ffd2d557ef94acf79bcd42c5301629276f5f1379b934149b3ab7669a14141", kill_on_drop: false }`
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/dialog.rs:175:12
[INFO] [stderr]     |
[INFO] [stderr] 175 |         if let Ok(files) = Array::try_from(raw) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/dialog.rs:227:12
[INFO] [stderr]     |
[INFO] [stderr] 227 |         if let Ok(files) = Array::try_from(raw) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FsTextFileOption` is never constructed
[INFO] [stderr]   --> src/fs.rs:81:8
[INFO] [stderr]    |
[INFO] [stderr] 81 | struct FsTextFileOption {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tauri-sys` (lib) generated 3 warnings
[INFO] [stderr] warning: `tauri-sys` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tauri_sys-07570d45a4a81528)
[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] [stderr]      Running tests/web.rs (/opt/rustwide/target/debug/deps/web-aa09c951abef8bd6)
[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] [stderr]    Doc-tests tauri_sys
[INFO] [stdout] 
[INFO] [stdout] running 87 tests
[INFO] [stdout] test src/app.rs - app::hide (line 88) - compile ... FAILED
[INFO] [stdout] test src/app.rs - app::get_tauri_version (line 56) - compile ... FAILED
[INFO] [stdout] test src/clipboard.rs - clipboard::write_text (line 41) - compile ... FAILED
[INFO] [stdout] test src/clipboard.rs - clipboard::read_text (line 23) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_file (line 140) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::save (line 247) - compile ... FAILED
[INFO] [stdout] test src/app.rs - app::get_version (line 40) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_folder (line 189) - compile ... FAILED
[INFO] [stdout] test src/app.rs - app::show (line 72) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::MessageDialogBuilder<'a>::ask (line 345) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_folders (line 211) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::MessageDialogBuilder<'a>::message (line 327) - compile ... FAILED
[INFO] [stdout] test src/event.rs - event::once (line 115) - compile ... FAILED
[INFO] [stdout] test src/event.rs - event::emit (line 28) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::MessageDialogBuilder<'a>::confirm (line 365) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::add_filters (line 115) ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_files (line 160) - compile ... FAILED
[INFO] [stdout] test src/event.rs - event::listen (line 56) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::MessageDialogBuilder<'a>::set_kind (line 310) ... ok
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::add_filter (line 98) ... ok
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::set_title (line 81) ... ok
[INFO] [stdout] test src/fs.rs - fs::copy_file (line 90) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::FileDialogBuilder<'a>::set_recursive (line 64) ... ok
[INFO] [stdout] test src/fs.rs - fs::create_dir (line 121) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::read_text_file (line 285) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::rename_file (line 388) - compile ... FAILED
[INFO] [stdout] test src/global_shortcut.rs - global_shortcut::inner (line 125) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::write_binary_file (line 420) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::create_dir_all (line 149) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::read_dir_all (line 256) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::remove_dir (line 311) - compile ... FAILED
[INFO] [stdout] test src/dialog.rs - dialog::MessageDialogBuilder<'a>::set_title (line 293) ... ok
[INFO] [stdout] test src/notification.rs - notification::Notification<'a>::show (line 104) - compile ... FAILED
[INFO] [stdout] test src/notification.rs - notification::is_permission_granted (line 24) - compile ... FAILED
[INFO] [stdout] test src/global_shortcut.rs - global_shortcut (line 7) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 106) ... FAILED
[INFO] [stdout] test src/fs.rs - fs::exists (line 177) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::read_dir (line 227) - compile ... FAILED
[INFO] [stdout] test src/global_shortcut.rs - global_shortcut::register (line 70) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::read_binary_file (line 202) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::remove_file (line 365) - compile ... FAILED
[INFO] [stdout] test src/fs.rs - fs::remove_dir_all (line 338) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::app_local_data_dir (line 68) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::app_data_dir (line 47) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::cache_dir (line 139) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::audio_dir (line 114) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 63) ... FAILED
[INFO] [stdout] test src/path.rs - path::executable_dir (line 289) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::app_log_dir (line 556) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::data_dir (line 189) - compile ... FAILED
[INFO] [stdout] test src/global_shortcut.rs - global_shortcut::is_registered (line 49) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::extname (line 661) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::home_dir (line 339) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::local_data_dir (line 364) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] test src/fs.rs - fs::write_text_file (line 448) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::app_cache_dir (line 89) - compile ... FAILED
[INFO] [stdout] test src/notification.rs - notification::request_permission (line 43) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::app_config_dir (line 26) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::font_dir (line 314) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::download_dir (line 264) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::desktop_dir (line 214) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::is_absolute (line 709) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::document_dir (line 239) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::dirname (line 640) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::config_dir (line 164) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::basename (line 684) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::resolve_resource (line 456) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::runtime_dir (line 481) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::template_dir (line 506) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::public_dir (line 414) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::resolve (line 575) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::picture_dir (line 389) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::video_dir (line 531) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::normalize (line 597) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::join (line 618) - compile ... FAILED
[INFO] [stdout] test src/window.rs - window::current_monitor (line 1067) - compile ... FAILED
[INFO] [stdout] test src/tauri.rs - tauri::invoke (line 52) - compile ... FAILED
[INFO] [stdout] test src/path.rs - path::resource_dir (line 435) - compile ... FAILED
[INFO] [stdout] test src/window.rs - window::current_window (line 1026) - compile ... FAILED
[INFO] [stdout] test src/window.rs - window::available_monitors (line 1113) - compile ... FAILED
[INFO] [stdout] test src/tauri.rs - tauri::convert_file_src (line 19) - compile ... FAILED
[INFO] [stdout] test src/window.rs - window::primary_monitor (line 1091) - compile ... FAILED
[INFO] [stdout] test src/window.rs - window::all_windows (line 1042) - compile ... FAILED
[INFO] [stdout] test src/updater.rs - updater::updater_events (line 88) - compile ... FAILED
[INFO] [stdout] test src/updater.rs - updater::check_update (line 42) - compile ... FAILED
[INFO] [stdout] test src/updater.rs - updater::install_update (line 62) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/app.rs - app::hide (line 88) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/app.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | use tauri_api::app::hide;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 89 - use tauri_api::app::hide;
[INFO] [stdout] 89 + use tauri_sys::app::hide;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/app.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_app_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 91 | hide().await;
[INFO] [stdout]    |        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/app.rs - app::get_tauri_version (line 56) stdout ----
[INFO] [stdout] error: expected `::`, found `:`
[INFO] [stdout]   --> src/app.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 | use tauri_app::app:get_tauri_version;
[INFO] [stdout]    |                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import paths are delimited using `::`
[INFO] [stdout] help: use double colon
[INFO] [stdout]    |
[INFO] [stdout] 57 | use tauri_app::app::get_tauri_version;
[INFO] [stdout]    |                    +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_app` in this scope
[INFO] [stdout]   --> src/app.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | use tauri_app::app:get_tauri_version;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_app`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 57 - use tauri_app::app:get_tauri_version;
[INFO] [stdout] 57 + use tauri_sys::app:get_tauri_version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/app.rs:59:35
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_app_rs_56_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 59 | let version = get_tauri_version().await;
[INFO] [stdout]    |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clipboard.rs - clipboard::write_text (line 41) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/clipboard.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use tauri_api::clipboard::{write_text, read_text};
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 42 - use tauri_api::clipboard::{write_text, read_text};
[INFO] [stdout] 42 + use tauri_sys::clipboard::{write_text, read_text};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/clipboard.rs:44:33
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clipboard_rs_41_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 44 | write_text("Tauri is awesome!").await;
[INFO] [stdout]    |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/clipboard.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clipboard_rs_41_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 45 | assert_eq!(read_text().await, "Tauri is awesome!");
[INFO] [stdout]    |                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clipboard.rs - clipboard::read_text (line 23) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/clipboard.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use tauri_api::clipboard::read_text;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 24 - use tauri_api::clipboard::read_text;
[INFO] [stdout] 24 + use tauri_sys::clipboard::read_text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/clipboard.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clipboard_rs_23_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 26 | let clipboard_text = read_text().await;
[INFO] [stdout]    |                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_file (line 140) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:144:1
[INFO] [stdout]     |
[INFO] [stdout] 144 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::FileDialogBuilder<'a>::save (line 247) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:251:1
[INFO] [stdout]     |
[INFO] [stdout] 251 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/app.rs - app::get_version (line 40) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/app.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use tauri_api::app::get_version;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 - use tauri_api::app::get_version;
[INFO] [stdout] 41 + use tauri_sys::app::get_version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/app.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_app_rs_40_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 43 | let version = get_version().await;
[INFO] [stdout]    |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_folder (line 189) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/app.rs - app::show (line 72) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/app.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | use tauri_api::app::show;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 - use tauri_api::app::show;
[INFO] [stdout] 73 + use tauri_sys::app::show;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/app.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_app_rs_72_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 75 | show().await;
[INFO] [stdout]    |        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::MessageDialogBuilder<'a>::ask (line 345) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:349:1
[INFO] [stdout]     |
[INFO] [stdout] 349 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_folders (line 211) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:215:1
[INFO] [stdout]     |
[INFO] [stdout] 215 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::MessageDialogBuilder<'a>::message (line 327) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:331:1
[INFO] [stdout]     |
[INFO] [stdout] 331 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/event.rs - event::once (line 115) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `LoadedPayload`
[INFO] [stdout]    --> src/event.rs:121:11
[INFO] [stdout]     |
[INFO] [stdout] 121 | interface LoadedPayload {
[INFO] [stdout]     |           ^^^^^^^^^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/event.rs - event::emit (line 28) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/event.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tauri_api::event::emit;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 29 - use tauri_api::event::emit;
[INFO] [stdout] 29 + use tauri_sys::event::emit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/event.rs:38:75
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_event_rs_28_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 38 | emit("frontend-loaded", &Payload { logged_in: true, token: "authToken" }).await;
[INFO] [stdout]    |                                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event.rs:38:60
[INFO] [stdout]    |
[INFO] [stdout] 38 | emit("frontend-loaded", &Payload { logged_in: true, token: "authToken" }).await;
[INFO] [stdout]    |                                                            ^^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]    |
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]    |
[INFO] [stdout] 38 | emit("frontend-loaded", &Payload { logged_in: true, token: "authToken".to_string() }).await;
[INFO] [stdout]    |                                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::MessageDialogBuilder<'a>::confirm (line 365) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:369:1
[INFO] [stdout]     |
[INFO] [stdout] 369 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::FileDialogBuilder<'a>::add_filters (line 115) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/dialog.rs:120:93
[INFO] [stdout]     |
[INFO] [stdout] 120 | let _builder = FileDialogBuilder::new().add_filters(&[("Image", &["png", "jpeg"]),("Video", &["mp4"])]);
[INFO] [stdout]     |                                                                                             ^^^^^^^^ expected an array with a size of 2, found one with a size of 1
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<&[(&str, &[&str; 2]); 2] as IntoIterator>::Item == (&str, &[&str])`
[INFO] [stdout]    --> src/dialog.rs:120:53
[INFO] [stdout]     |
[INFO] [stdout] 120 | let _builder = FileDialogBuilder::new().add_filters(&[("Image", &["png", "jpeg"]),("Video", &["mp4"])]);
[INFO] [stdout]     |                                         ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(&str, &[&str])`, found `&(&str, &[&str; 2])`
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note:  expected tuple `(&_, &[&str])`
[INFO] [stdout]             found reference `&(&_, &[&str; 2])`
[INFO] [stdout] note: required by a bound in `FileDialogBuilder::<'a>::add_filters`
[INFO] [stdout]    --> src/dialog.rs:125:36
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn add_filters(
[INFO] [stdout]     |            ----------- required by a bound in this associated function
[INFO] [stdout] 124 |         &mut self,
[INFO] [stdout] 125 |         filters: impl IntoIterator<Item = (&'a str, &'a [&'a str])>,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FileDialogBuilder::<'a>::add_filters`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0308.
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_files (line 160) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/dialog.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/event.rs - event::listen (line 56) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/event.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | use tauri_api::event::listen;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 57 - use tauri_api::event::listen;
[INFO] [stdout] 57 + use tauri_sys::event::listen;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]   --> src/event.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | use web_sys::console;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/event.rs:62:39
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_event_rs_56_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 62 | while let Some(event) = events.next().await {
[INFO] [stdout]    |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::copy_file (line 90) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `source` in this scope
[INFO] [stdout]   --> src/fs.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 | fs::copy_file(source, destination, BaseDirectory::Download).expect("could not copy file");
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `destination` in this scope
[INFO] [stdout]   --> src/fs.rs:94:23
[INFO] [stdout]    |
[INFO] [stdout] 94 | fs::copy_file(source, destination, BaseDirectory::Download).expect("could not copy file");
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]   --> src/fs.rs:94:36
[INFO] [stdout]    |
[INFO] [stdout] 94 | fs::copy_file(source, destination, BaseDirectory::Download).expect("could not copy file");
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 89 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]   --> src/fs.rs:94:61
[INFO] [stdout]    |
[INFO] [stdout] 94 | fs::copy_file(source, destination, BaseDirectory::Download).expect("could not copy file");
[INFO] [stdout]    |                                                             ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]    |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]    |
[INFO] [stdout] 94 | fs::copy_file(source, destination, BaseDirectory::Download).await.expect("could not copy file");
[INFO] [stdout]    |                                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::create_dir (line 121) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `dir` in this scope
[INFO] [stdout]    --> src/fs.rs:125:16
[INFO] [stdout]     |
[INFO] [stdout] 125 | fs::create_dir(dir, BaseDirectory::Download).expect("could not create directory");
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 | fs::create_dir(dir, BaseDirectory::Download).expect("could not create directory");
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 120 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:125:46
[INFO] [stdout]     |
[INFO] [stdout] 125 | fs::create_dir(dir, BaseDirectory::Download).expect("could not create directory");
[INFO] [stdout]     |                                              ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 125 | fs::create_dir(dir, BaseDirectory::Download).await.expect("could not create directory");
[INFO] [stdout]     |                                              ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::read_text_file (line 285) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `readTextFile` in module `fs`
[INFO] [stdout]    --> src/fs.rs:289:20
[INFO] [stdout]     |
[INFO] [stdout] 289 | let contents = fs::readTextFile(path, BaseDirectory::Download).expect("could not read file as text");
[INFO] [stdout]     |                    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/fs.rs:292:1
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub async fn read_text_file(path: &Path, dir: BaseDirectory) -> crate::Result<String> {
[INFO] [stdout]     | ------------------------------------------------------------------------------------- similarly named function `read_text_file` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 289 - let contents = fs::readTextFile(path, BaseDirectory::Download).expect("could not read file as text");
[INFO] [stdout] 289 + let contents = fs::read_text_file(path, BaseDirectory::Download).expect("could not read file as text");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:289:33
[INFO] [stdout]     |
[INFO] [stdout] 289 | let contents = fs::readTextFile(path, BaseDirectory::Download).expect("could not read file as text");
[INFO] [stdout]     |                                 ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:289:39
[INFO] [stdout]     |
[INFO] [stdout] 289 | let contents = fs::readTextFile(path, BaseDirectory::Download).expect("could not read file as text");
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 284 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::rename_file (line 388) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `old_path` in this scope
[INFO] [stdout]    --> src/fs.rs:392:17
[INFO] [stdout]     |
[INFO] [stdout] 392 | fs::rename_file(old_path, new_path, BaseDirectory::Download).expect("could not rename file");
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new_path` in this scope
[INFO] [stdout]    --> src/fs.rs:392:27
[INFO] [stdout]     |
[INFO] [stdout] 392 | fs::rename_file(old_path, new_path, BaseDirectory::Download).expect("could not rename file");
[INFO] [stdout]     |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:392:37
[INFO] [stdout]     |
[INFO] [stdout] 392 | fs::rename_file(old_path, new_path, BaseDirectory::Download).expect("could not rename file");
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 387 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:392:62
[INFO] [stdout]     |
[INFO] [stdout] 392 | fs::rename_file(old_path, new_path, BaseDirectory::Download).expect("could not rename file");
[INFO] [stdout]     |                                                              ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 392 | fs::rename_file(old_path, new_path, BaseDirectory::Download).await.expect("could not rename file");
[INFO] [stdout]     |                                                              ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/global_shortcut.rs - global_shortcut::inner (line 125) stdout ----
[INFO] [stdout] error: expected one of `=` or `|`, found keyword `in`
[INFO] [stdout]    --> src/global_shortcut.rs:133:26
[INFO] [stdout]     |
[INFO] [stdout] 133 | while let Some(shortcut) in events.next().await {
[INFO] [stdout]     | -----                    ^^ expected one of `=` or `|`
[INFO] [stdout]     | |
[INFO] [stdout]     | while parsing the condition of this `while` expression
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]    --> src/global_shortcut.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 128 | use web_sys::console;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `register_all` in this scope
[INFO] [stdout]    --> src/global_shortcut.rs:131:14
[INFO] [stdout]     |
[INFO] [stdout] 131 | let events = register_all(["CommandOrControl+Shift+C", "Ctrl+Alt+F12"]).await?;
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/global_shortcut.rs:83:1
[INFO] [stdout]     |
[INFO] [stdout]  83 | pub async fn register(shortcut: &str) -> crate::Result<impl Stream<Item = ()>> {
[INFO] [stdout]     | ------------------------------------------------------------------------------ similarly named function `register` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 131 - let events = register_all(["CommandOrControl+Shift+C", "Ctrl+Alt+F12"]).await?;
[INFO] [stdout] 131 + let events = register(["CommandOrControl+Shift+C", "Ctrl+Alt+F12"]).await?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/global_shortcut.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::write_binary_file (line 420) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:424:23
[INFO] [stdout]     |
[INFO] [stdout] 424 | fs::write_binary_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                       ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `contents` in this scope
[INFO] [stdout]    --> src/fs.rs:424:29
[INFO] [stdout]     |
[INFO] [stdout] 424 | fs::write_binary_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:424:39
[INFO] [stdout]     |
[INFO] [stdout] 424 | fs::write_binary_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 419 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:424:64
[INFO] [stdout]     |
[INFO] [stdout] 424 | fs::write_binary_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                                                                ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 424 | fs::write_binary_file(path, contents, BaseDirectory::Download).await.expect("could not writes binary file");
[INFO] [stdout]     |                                                                ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::create_dir_all (line 149) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `dir` in this scope
[INFO] [stdout]    --> src/fs.rs:153:20
[INFO] [stdout]     |
[INFO] [stdout] 153 | fs::create_dir_all(dir, BaseDirectory::Download).expect("could not create directory");
[INFO] [stdout]     |                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 | fs::create_dir_all(dir, BaseDirectory::Download).expect("could not create directory");
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 148 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:153:50
[INFO] [stdout]     |
[INFO] [stdout] 153 | fs::create_dir_all(dir, BaseDirectory::Download).expect("could not create directory");
[INFO] [stdout]     |                                                  ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 153 | fs::create_dir_all(dir, BaseDirectory::Download).await.expect("could not create directory");
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::read_dir_all (line 256) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:260:30
[INFO] [stdout]     |
[INFO] [stdout] 260 | let files = fs::read_dir_all(path, BaseDirectory::Download).expect("could not read directory");
[INFO] [stdout]     |                              ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:260:36
[INFO] [stdout]     |
[INFO] [stdout] 260 | let files = fs::read_dir_all(path, BaseDirectory::Download).expect("could not read directory");
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 255 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<Vec<FileEntry>, tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:260:61
[INFO] [stdout]     |
[INFO] [stdout] 260 | let files = fs::read_dir_all(path, BaseDirectory::Download).expect("could not read directory");
[INFO] [stdout]     |                                                             ^^^^^^ method not found in `impl Future<Output = Result<Vec<FileEntry>, tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 260 | let files = fs::read_dir_all(path, BaseDirectory::Download).await.expect("could not read directory");
[INFO] [stdout]     |                                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::remove_dir (line 311) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:315:16
[INFO] [stdout]     |
[INFO] [stdout] 315 | fs::remove_dir(path, BaseDirectory::Download).expect("could not remove directory");
[INFO] [stdout]     |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:315:22
[INFO] [stdout]     |
[INFO] [stdout] 315 | fs::remove_dir(path, BaseDirectory::Download).expect("could not remove directory");
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 310 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:315:47
[INFO] [stdout]     |
[INFO] [stdout] 315 | fs::remove_dir(path, BaseDirectory::Download).expect("could not remove directory");
[INFO] [stdout]     |                                               ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 315 | fs::remove_dir(path, BaseDirectory::Download).await.expect("could not remove directory");
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/notification.rs - notification::Notification<'a>::show (line 104) stdout ----
[INFO] [stdout] error[E0599]: no method named `set_body` found for unit type `()` in the current scope
[INFO] [stdout]    --> src/notification.rs:111:6
[INFO] [stdout]     |
[INFO] [stdout] 109 |   Notification::new()
[INFO] [stdout]     |   -------------------
[INFO] [stdout]     |   |
[INFO] [stdout]     |  _method `set_body` is available on `&mut Notification<'_>`
[INFO] [stdout]     | |
[INFO] [stdout] 110 | |     .set_title("Tauri")
[INFO] [stdout] 111 | |     .set_body("Tauri is awesome!")
[INFO] [stdout]     | |     -^^^^^^^^ method not found in `()`
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout] note: method `set_title` modifies its receiver in-place
[INFO] [stdout]    --> src/notification.rs:110:6
[INFO] [stdout]     |
[INFO] [stdout] 110 |     .set_title("Tauri")
[INFO] [stdout]     |      ^^^^^^^^^ this call modifies its receiver in-place
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/notification.rs - notification::is_permission_granted (line 24) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/notification.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/global_shortcut.rs - global_shortcut (line 7) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `global_shortcut` in this scope
[INFO] [stdout]   --> src/global_shortcut.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let stream = global_shortcut::register(s).await?;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `global_shortcut`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/global_shortcut.rs, use `mod global_shortcut` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout]  8 + mod global_shortcut;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  8 + use tauri_sys::global_shortcut;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]   --> src/global_shortcut.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     anyhow::Ok(stream.map(move |_| s))
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next` found for struct `futures::stream::SelectAll<St>` in the current scope
[INFO] [stdout]    --> src/global_shortcut.rs:20:35
[INFO] [stdout]     |
[INFO] [stdout]  20 | while let Some(shortcut) = events.next().await {
[INFO] [stdout]     |                                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.29/src/stream/stream/mod.rs:273:8
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn next(&mut self) -> Next<'_, Self>
[INFO] [stdout]     |        ---- the method is available for `futures::stream::SelectAll<_>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `StreamExt` which provides `next` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   8 + use futures::StreamExt;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_next` with a similar name
[INFO] [stdout]     |
[INFO] [stdout]  20 | while let Some(shortcut) = events.try_next().await {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/global_shortcut.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 106) stdout ----
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]    --> src/lib.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | let (events, abort_handle) = futures::stream::abortable(events);
[INFO] [stdout]     | ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> src/lib.rs:110:47
[INFO] [stdout]     |
[INFO] [stdout] 110 | let events = listen::<()>("rust-event").await?
[INFO] [stdout]     |                                               ^ help: add `;` here
[INFO] [stdout] 111 | // abort handle behaves identical to the JavaScript `unlisten` function
[INFO] [stdout] 112 | let (events, abort_handle) = futures::stream::abortable(events);
[INFO] [stdout]     | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_106_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 110 | let events = listen::<()>("rust-event").await?
[INFO] [stdout]     |                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:114:35
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_106_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 114 | while let Some(_) = events.next().await {
[INFO] [stdout]     |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::exists (line 177) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:181:30
[INFO] [stdout]     |
[INFO] [stdout] 181 | let file_exists = fs::exists(path, BaseDirectory::Download).expect("could not check if path exists");
[INFO] [stdout]     |                              ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:181:36
[INFO] [stdout]     |
[INFO] [stdout] 181 | let file_exists = fs::exists(path, BaseDirectory::Download).expect("could not check if path exists");
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 176 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<bool, tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:181:61
[INFO] [stdout]     |
[INFO] [stdout] 181 | let file_exists = fs::exists(path, BaseDirectory::Download).expect("could not check if path exists");
[INFO] [stdout]     |                                                             ^^^^^^ method not found in `impl Future<Output = Result<bool, tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 181 | let file_exists = fs::exists(path, BaseDirectory::Download).await.expect("could not check if path exists");
[INFO] [stdout]     |                                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::read_dir (line 227) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:231:26
[INFO] [stdout]     |
[INFO] [stdout] 231 | let files = fs::read_dir(path, BaseDirectory::Download).expect("could not read directory");
[INFO] [stdout]     |                          ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:231:32
[INFO] [stdout]     |
[INFO] [stdout] 231 | let files = fs::read_dir(path, BaseDirectory::Download).expect("could not read directory");
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 226 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<Vec<FileEntry>, tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:231:57
[INFO] [stdout]     |
[INFO] [stdout] 231 | let files = fs::read_dir(path, BaseDirectory::Download).expect("could not read directory");
[INFO] [stdout]     |                                                         ^^^^^^ method not found in `impl Future<Output = Result<Vec<FileEntry>, tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 231 | let files = fs::read_dir(path, BaseDirectory::Download).await.expect("could not read directory");
[INFO] [stdout]     |                                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/global_shortcut.rs - global_shortcut::register (line 70) stdout ----
[INFO] [stdout] error: expected one of `=` or `|`, found keyword `in`
[INFO] [stdout]   --> src/global_shortcut.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 | while let Some(_) in events.next().await {
[INFO] [stdout]    | -----             ^^ expected one of `=` or `|`
[INFO] [stdout]    | |
[INFO] [stdout]    | while parsing the condition of this `while` expression
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]   --> src/global_shortcut.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | use web_sys::console;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/global_shortcut.rs:75:1
[INFO] [stdout]    |
[INFO] [stdout] 75 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::read_binary_file (line 202) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `filePath` in this scope
[INFO] [stdout]    --> src/fs.rs:206:37
[INFO] [stdout]     |
[INFO] [stdout] 206 | let contents = fs::read_binary_file(filePath, BaseDirectory::Download).expect("could not read file contents");
[INFO] [stdout]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:206:47
[INFO] [stdout]     |
[INFO] [stdout] 206 | let contents = fs::read_binary_file(filePath, BaseDirectory::Download).expect("could not read file contents");
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 201 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<Vec<u8>, tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:206:72
[INFO] [stdout]     |
[INFO] [stdout] 206 | let contents = fs::read_binary_file(filePath, BaseDirectory::Download).expect("could not read file contents");
[INFO] [stdout]     |                                                                        ^^^^^^ method not found in `impl Future<Output = Result<Vec<u8>, tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 206 | let contents = fs::read_binary_file(filePath, BaseDirectory::Download).await.expect("could not read file contents");
[INFO] [stdout]     |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::remove_file (line 365) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:369:17
[INFO] [stdout]     |
[INFO] [stdout] 369 | fs::remove_file(path, BaseDirectory::Download).expect("could not remove file");
[INFO] [stdout]     |                 ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:369:23
[INFO] [stdout]     |
[INFO] [stdout] 369 | fs::remove_file(path, BaseDirectory::Download).expect("could not remove file");
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 364 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:369:48
[INFO] [stdout]     |
[INFO] [stdout] 369 | fs::remove_file(path, BaseDirectory::Download).expect("could not remove file");
[INFO] [stdout]     |                                                ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 369 | fs::remove_file(path, BaseDirectory::Download).await.expect("could not remove file");
[INFO] [stdout]     |                                                ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::remove_dir_all (line 338) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:342:20
[INFO] [stdout]     |
[INFO] [stdout] 342 | fs::remove_dir_all(path, BaseDirectory::Download).expect("could not remove directory");
[INFO] [stdout]     |                    ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:342:26
[INFO] [stdout]     |
[INFO] [stdout] 342 | fs::remove_dir_all(path, BaseDirectory::Download).expect("could not remove directory");
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 337 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:342:51
[INFO] [stdout]     |
[INFO] [stdout] 342 | fs::remove_dir_all(path, BaseDirectory::Download).expect("could not remove directory");
[INFO] [stdout]     |                                                   ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 342 | fs::remove_dir_all(path, BaseDirectory::Download).await.expect("could not remove directory");
[INFO] [stdout]     |                                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::app_local_data_dir (line 68) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/path.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 72 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::app_data_dir (line 47) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/path.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::cache_dir (line 139) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::audio_dir (line 114) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 63) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `WebviewWindow` in this scope
[INFO] [stdout]   --> src/lib.rs:65:15
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let win = WebviewWindow::get_by_label("main").unwrap();
[INFO] [stdout]    |               ^^^^^^^^^^^^^ use of undeclared type `WebviewWindow`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 63 + use tauri_sys::window::WebviewWindow;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:67:51
[INFO] [stdout]    |
[INFO] [stdout] 64 |   async fn process_some_errors() {
[INFO] [stdout]    |  ________________________________-
[INFO] [stdout] 65 | |     let win = WebviewWindow::get_by_label("main").unwrap();
[INFO] [stdout] 66 | |
[INFO] [stdout] 67 | |     let errors = win.listen("tauri://error").await?
[INFO] [stdout]    | |                                                   ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::executable_dir (line 289) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:293:1
[INFO] [stdout]     |
[INFO] [stdout] 293 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::app_log_dir (line 556) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:560:1
[INFO] [stdout]     |
[INFO] [stdout] 560 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::data_dir (line 189) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/global_shortcut.rs - global_shortcut::is_registered (line 49) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/global_shortcut.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::extname (line 661) stdout ----
[INFO] [stdout] error: incorrect use of `await`
[INFO] [stdout]    --> src/path.rs:666:21
[INFO] [stdout]     |
[INFO] [stdout] 666 | let resource_path = await resolve_resource("app.conf").await?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: `await` is a postfix operation
[INFO] [stdout]     |
[INFO] [stdout] 666 - let resource_path = await resolve_resource("app.conf").await?;
[INFO] [stdout] 666 + let resource_path = resolve_resource("app.conf").await?.await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `PathBuf` with `&str`
[INFO] [stdout]    --> src/path.rs:668:1
[INFO] [stdout]     |
[INFO] [stdout] 668 | assert_eq!(ext, "conf");
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `PathBuf == &str`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<&str>` is not implemented for `PathBuf`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:665:1
[INFO] [stdout]     |
[INFO] [stdout] 665 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::home_dir (line 339) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:343:1
[INFO] [stdout]     |
[INFO] [stdout] 343 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::local_data_dir (line 364) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:368:1
[INFO] [stdout]     |
[INFO] [stdout] 368 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `gloo_timers` in this scope
[INFO] [stdout]   --> src/lib.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let timeout = gloo_timers::future::sleep(Duration::from_secs(20));
[INFO] [stdout]    |                   ^^^^^^^^^^^ use of unresolved module or unlinked crate `gloo_timers`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `gloo_timers`, use `cargo add gloo_timers` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:48:84
[INFO] [stdout]    |
[INFO] [stdout] 42 |   async fn register_all() {
[INFO] [stdout]    |  _________________________-
[INFO] [stdout] 43 | |     let shortcuts = ["CommandOrControl+Shift+C", "Ctrl+Alt+F12"];
[INFO] [stdout] 44 | |
[INFO] [stdout] 45 | |     let timeout = gloo_timers::future::sleep(Duration::from_secs(20));
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |     let streams = future::try_join_all(shortcuts.map(register_with_shortcut)).await?;
[INFO] [stdout]    | |                                                                                    ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]   --> src/lib.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> anyhow::Result<impl Stream<Item = &'a str>> {
[INFO] [stdout]    |      ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs.rs - fs::write_text_file (line 448) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]    --> src/fs.rs:452:21
[INFO] [stdout]     |
[INFO] [stdout] 452 | fs::write_text_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                     ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `contents` in this scope
[INFO] [stdout]    --> src/fs.rs:452:27
[INFO] [stdout]     |
[INFO] [stdout] 452 | fs::write_text_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BaseDirectory` in this scope
[INFO] [stdout]    --> src/fs.rs:452:37
[INFO] [stdout]     |
[INFO] [stdout] 452 | fs::write_text_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 447 + use tauri_sys::fs::BaseDirectory;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<(), tauri_sys::Error>>` in the current scope
[INFO] [stdout]    --> src/fs.rs:452:62
[INFO] [stdout]     |
[INFO] [stdout] 452 | fs::write_text_file(path, contents, BaseDirectory::Download).expect("could not writes binary file");
[INFO] [stdout]     |                                                              ^^^^^^ method not found in `impl Future<Output = Result<(), tauri_sys::Error>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 452 | fs::write_text_file(path, contents, BaseDirectory::Download).await.expect("could not writes binary file");
[INFO] [stdout]     |                                                              ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::app_cache_dir (line 89) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/path.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 93 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/notification.rs - notification::request_permission (line 43) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/notification.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::app_config_dir (line 26) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/path.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::font_dir (line 314) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:318:1
[INFO] [stdout]     |
[INFO] [stdout] 318 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::download_dir (line 264) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:268:1
[INFO] [stdout]     |
[INFO] [stdout] 268 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::desktop_dir (line 214) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:218:1
[INFO] [stdout]     |
[INFO] [stdout] 218 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::is_absolute (line 709) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:713:1
[INFO] [stdout]     |
[INFO] [stdout] 713 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::document_dir (line 239) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:243:1
[INFO] [stdout]     |
[INFO] [stdout] 243 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::dirname (line 640) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/path.rs:647:19
[INFO] [stdout]     |
[INFO] [stdout] 647 | let dir = dirname(app_data_dir_path).await?;
[INFO] [stdout]     |           ------- ^^^^^^^^^^^^^^^^^ expected `&str`, found `PathBuf`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/path.rs:651:14
[INFO] [stdout]     |
[INFO] [stdout] 651 | pub async fn dirname(path: &str) -> crate::Result<PathBuf> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:644:1
[INFO] [stdout]     |
[INFO] [stdout] 644 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::config_dir (line 164) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:168:1
[INFO] [stdout]     |
[INFO] [stdout] 168 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::basename (line 684) stdout ----
[INFO] [stdout] error: incorrect use of `await`
[INFO] [stdout]    --> src/path.rs:689:21
[INFO] [stdout]     |
[INFO] [stdout] 689 | let resource_path = await resolve_resource("app.conf").await?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: `await` is a postfix operation
[INFO] [stdout]     |
[INFO] [stdout] 689 - let resource_path = await resolve_resource("app.conf").await?;
[INFO] [stdout] 689 + let resource_path = resolve_resource("app.conf").await?.await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/path.rs:690:11
[INFO] [stdout]     |
[INFO] [stdout] 690 | let ext = basename(resource_path).await?;
[INFO] [stdout]     |           ^^^^^^^^--------------- argument #2 of type `Option<&str>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/path.rs:695:14
[INFO] [stdout]     |
[INFO] [stdout] 695 | pub async fn basename(path: &str, ext: Option<&str>) -> crate::Result<PathBuf> {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 690 | let ext = basename(resource_path, /* Option<&str> */).await?;
[INFO] [stdout]     |                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `PathBuf` with `&str`
[INFO] [stdout]    --> src/path.rs:691:1
[INFO] [stdout]     |
[INFO] [stdout] 691 | assert_eq!(ext, "app");
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ no implementation for `PathBuf == &str`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<&str>` is not implemented for `PathBuf`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:688:1
[INFO] [stdout]     |
[INFO] [stdout] 688 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::resolve_resource (line 456) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:460:1
[INFO] [stdout]     |
[INFO] [stdout] 460 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::runtime_dir (line 481) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:485:1
[INFO] [stdout]     |
[INFO] [stdout] 485 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::template_dir (line 506) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:510:1
[INFO] [stdout]     |
[INFO] [stdout] 510 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::public_dir (line 414) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:418:1
[INFO] [stdout]     |
[INFO] [stdout] 418 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::resolve (line 575) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/path.rs:582:40
[INFO] [stdout]     |
[INFO] [stdout] 582 | let path = resolve([app_data_dir_path, "..", "users", "tauri", "avatar.png"]).await?;
[INFO] [stdout]     |                                        ^^^^ expected `PathBuf`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] 582 | let path = resolve([app_data_dir_path, "..".into(), "users", "tauri", "avatar.png"]).await?;
[INFO] [stdout]     |                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:579:1
[INFO] [stdout]     |
[INFO] [stdout] 579 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::picture_dir (line 389) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:393:1
[INFO] [stdout]     |
[INFO] [stdout] 393 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::video_dir (line 531) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:535:1
[INFO] [stdout]     |
[INFO] [stdout] 535 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::normalize (line 597) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/path.rs:604:42
[INFO] [stdout]     |
[INFO] [stdout] 604 | let path = normalize([app_data_dir_path, "..", "users", "tauri", "avatar.png"]).await?;
[INFO] [stdout]     |                                          ^^^^ expected `PathBuf`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] 604 | let path = normalize([app_data_dir_path, "..".into(), "users", "tauri", "avatar.png"]).await?;
[INFO] [stdout]     |                                              +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:601:1
[INFO] [stdout]     |
[INFO] [stdout] 601 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::join (line 618) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/path.rs:625:37
[INFO] [stdout]     |
[INFO] [stdout] 625 | let path = join([app_data_dir_path, "..", "users", "tauri", "avatar.png"]).await?;
[INFO] [stdout]     |                                     ^^^^ expected `PathBuf`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] 625 | let path = join([app_data_dir_path, "..".into(), "users", "tauri", "avatar.png"]).await?;
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:622:1
[INFO] [stdout]     |
[INFO] [stdout] 622 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/window.rs - window::current_monitor (line 1067) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]     --> src/window.rs:1071:1
[INFO] [stdout]      |
[INFO] [stdout] 1071 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tauri.rs - tauri::invoke (line 52) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/tauri.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use tauri_api::tauri::invoke;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 53 - use tauri_api::tauri::invoke;
[INFO] [stdout] 53 + use tauri_sys::tauri::invoke;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/tauri.rs:60:78
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tauri_rs_52_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 60 | invoke("login", &User { user: "tauri", password: "poiwe3h4r5ip3yrhtew9ty" }).await;
[INFO] [stdout]    |                                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/path.rs - path::resource_dir (line 435) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/path.rs:439:1
[INFO] [stdout]     |
[INFO] [stdout] 439 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/window.rs - window::current_window (line 1026) stdout ----
[INFO] [stdout] error[E0277]: `WebviewWindow` is not a future
[INFO] [stdout]     --> src/window.rs:1031:28
[INFO] [stdout]      |
[INFO] [stdout] 1031 | let win = current_window().await?;
[INFO] [stdout]      |           ---------------- ^^^^^ `WebviewWindow` is not a future
[INFO] [stdout]      |           |
[INFO] [stdout]      |           this call returns `WebviewWindow`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Future` is not implemented for `WebviewWindow`
[INFO] [stdout]      = note: WebviewWindow must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]      = note: required for `WebviewWindow` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]      |
[INFO] [stdout] 1031 - let win = current_window().await?;
[INFO] [stdout] 1031 + let win = current_window()?;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]     --> src/window.rs:1030:1
[INFO] [stdout]      |
[INFO] [stdout] 1030 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/window.rs - window::available_monitors (line 1113) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]     --> src/window.rs:1116:5
[INFO] [stdout]      |
[INFO] [stdout] 1116 | use web_sys::console;
[INFO] [stdout]      |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]     --> src/window.rs:1118:1
[INFO] [stdout]      |
[INFO] [stdout] 1118 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tauri.rs - tauri::convert_file_src (line 19) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/tauri.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tauri_api::path::{app_data_dir, join};
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 20 - use tauri_api::path::{app_data_dir, join};
[INFO] [stdout] 20 + use tauri_sys::path::{app_data_dir, join};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tauri_api` in this scope
[INFO] [stdout]   --> src/tauri.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tauri_api::tauri::convert_file_src;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `tauri_api`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 - use tauri_api::tauri::convert_file_src;
[INFO] [stdout] 21 + use tauri_sys::tauri::convert_file_src;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `val` in this scope
[INFO] [stdout]   --> src/tauri.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 | video.append_child(&val)?;
[INFO] [stdout]    |                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/tauri.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 | const app_data_dir_path = app_data_dir().await;
[INFO] [stdout]    |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/tauri.rs:24:63
[INFO] [stdout]    |
[INFO] [stdout] 24 | const file_path = join(app_data_dir_path, "assets/video.mp4").await;
[INFO] [stdout]    |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: missing type for `const` item
[INFO] [stdout]   --> src/tauri.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 | const app_data_dir_path = app_data_dir().await;
[INFO] [stdout]    |                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: provide a type for the item
[INFO] [stdout]    |
[INFO] [stdout] 23 | const app_data_dir_path: <type> = app_data_dir().await;
[INFO] [stdout]    |                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] error: missing type for `const` item
[INFO] [stdout]   --> src/tauri.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | const file_path = join(app_data_dir_path, "assets/video.mp4").await;
[INFO] [stdout]    |                ^
[INFO] [stdout]    |
[INFO] [stdout] help: provide a type for the item
[INFO] [stdout]    |
[INFO] [stdout] 24 | const file_path: <type> = join(app_data_dir_path, "assets/video.mp4").await;
[INFO] [stdout]    |                ++++++++
[INFO] [stdout] 
[INFO] [stdout] error: missing type for `const` item
[INFO] [stdout]   --> src/tauri.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 | const asset_url = convert_file_src(file_path);
[INFO] [stdout]    |                ^
[INFO] [stdout]    |
[INFO] [stdout] help: provide a type for the item
[INFO] [stdout]    |
[INFO] [stdout] 25 | const asset_url: <type> = convert_file_src(file_path);
[INFO] [stdout]    |                ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `web_sys` in this scope
[INFO] [stdout]   --> src/tauri.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | let window = web_sys::window().expect("no global `window` exists");
[INFO] [stdout]    |              ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/window.rs - window::primary_monitor (line 1091) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]     --> src/window.rs:1095:1
[INFO] [stdout]      |
[INFO] [stdout] 1095 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/window.rs - window::all_windows (line 1042) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]     --> src/window.rs:1045:5
[INFO] [stdout]      |
[INFO] [stdout] 1045 | use web_sys::console;
[INFO] [stdout]      |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `impl IntoIterator<Item = WebviewWindow>` is not a future
[INFO] [stdout]     --> src/window.rs:1048:29
[INFO] [stdout]      |
[INFO] [stdout] 1048 | let windows = all_windows().await?;
[INFO] [stdout]      |               ------------- ^^^^^ `impl IntoIterator<Item = WebviewWindow>` is not a future
[INFO] [stdout]      |               |
[INFO] [stdout]      |               this call returns `impl IntoIterator<Item = WebviewWindow>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Future` is not implemented for `impl IntoIterator<Item = WebviewWindow>`
[INFO] [stdout]      = note: impl IntoIterator<Item = WebviewWindow> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]      = note: required for `impl IntoIterator<Item = WebviewWindow>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]      |
[INFO] [stdout] 1048 - let windows = all_windows().await?;
[INFO] [stdout] 1048 + let windows = all_windows()?;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]     --> src/window.rs:1047:1
[INFO] [stdout]      |
[INFO] [stdout] 1047 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/updater.rs - updater::updater_events (line 88) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]   --> src/updater.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | use web_sys::console;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next` found for opaque type `impl Future<Output = Result<impl Stream<Item = ...>, ...>>` in the current scope
[INFO] [stdout]   --> src/updater.rs:96:32
[INFO] [stdout]    |
[INFO] [stdout] 96 | while let Some(event) = events.next().await {
[INFO] [stdout]    |                                ^^^^ method not found in `impl Future<Output = Result<impl Stream<Item = ...>, ...>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestlzhop9/rust_out.long-type-14335883677495584694.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/updater.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 93 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/updater.rs - updater::check_update (line 42) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/updater.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/updater.rs - updater::install_update (line 62) stdout ----
[INFO] [stdout] error[E0423]: expected function, found macro `log::info`
[INFO] [stdout]   --> src/updater.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     log::info("Installing update {:?}", update.manifest);
[INFO] [stdout]    |     ^^^^^^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 70 |     log::info!("Installing update {:?}", update.manifest);
[INFO] [stdout]    |              +
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/updater.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/app.rs - app::get_tauri_version (line 56)
[INFO] [stdout]     src/app.rs - app::get_version (line 40)
[INFO] [stdout]     src/app.rs - app::hide (line 88)
[INFO] [stdout]     src/app.rs - app::show (line 72)
[INFO] [stdout]     src/clipboard.rs - clipboard::read_text (line 23)
[INFO] [stdout]     src/clipboard.rs - clipboard::write_text (line 41)
[INFO] [stdout]     src/dialog.rs - dialog::FileDialogBuilder<'a>::add_filters (line 115)
[INFO] [stdout]     src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_file (line 140)
[INFO] [stdout]     src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_files (line 160)
[INFO] [stdout]     src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_folder (line 189)
[INFO] [stdout]     src/dialog.rs - dialog::FileDialogBuilder<'a>::pick_folders (line 211)
[INFO] [stdout]     src/dialog.rs - dialog::FileDialogBuilder<'a>::save (line 247)
[INFO] [stdout]     src/dialog.rs - dialog::MessageDialogBuilder<'a>::ask (line 345)
[INFO] [stdout]     src/dialog.rs - dialog::MessageDialogBuilder<'a>::confirm (line 365)
[INFO] [stdout]     src/dialog.rs - dialog::MessageDialogBuilder<'a>::message (line 327)
[INFO] [stdout]     src/event.rs - event::emit (line 28)
[INFO] [stdout]     src/event.rs - event::listen (line 56)
[INFO] [stdout]     src/event.rs - event::once (line 115)
[INFO] [stdout]     src/fs.rs - fs::copy_file (line 90)
[INFO] [stdout]     src/fs.rs - fs::create_dir (line 121)
[INFO] [stdout]     src/fs.rs - fs::create_dir_all (line 149)
[INFO] [stdout]     src/fs.rs - fs::exists (line 177)
[INFO] [stdout]     src/fs.rs - fs::read_binary_file (line 202)
[INFO] [stdout]     src/fs.rs - fs::read_dir (line 227)
[INFO] [stdout]     src/fs.rs - fs::read_dir_all (line 256)
[INFO] [stdout]     src/fs.rs - fs::read_text_file (line 285)
[INFO] [stdout]     src/fs.rs - fs::remove_dir (line 311)
[INFO] [stdout]     src/fs.rs - fs::remove_dir_all (line 338)
[INFO] [stdout]     src/fs.rs - fs::remove_file (line 365)
[INFO] [stdout]     src/fs.rs - fs::rename_file (line 388)
[INFO] [stdout]     src/fs.rs - fs::write_binary_file (line 420)
[INFO] [stdout]     src/fs.rs - fs::write_text_file (line 448)
[INFO] [stdout]     src/global_shortcut.rs - global_shortcut (line 7)
[INFO] [stdout]     src/global_shortcut.rs - global_shortcut::inner (line 125)
[INFO] [stdout]     src/global_shortcut.rs - global_shortcut::is_registered (line 49)
[INFO] [stdout]     src/global_shortcut.rs - global_shortcut::register (line 70)
[INFO] [stdout]     src/lib.rs - (line 106)
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 63)
[INFO] [stdout]     src/notification.rs - notification::Notification<'a>::show (line 104)
[INFO] [stdout]     src/notification.rs - notification::is_permission_granted (line 24)
[INFO] [stdout]     src/notification.rs - notification::request_permission (line 43)
[INFO] [stdout]     src/path.rs - path::app_cache_dir (line 89)
[INFO] [stdout]     src/path.rs - path::app_config_dir (line 26)
[INFO] [stdout]     src/path.rs - path::app_data_dir (line 47)
[INFO] [stdout]     src/path.rs - path::app_local_data_dir (line 68)
[INFO] [stdout]     src/path.rs - path::app_log_dir (line 556)
[INFO] [stdout]     src/path.rs - path::audio_dir (line 114)
[INFO] [stdout]     src/path.rs - path::basename (line 684)
[INFO] [stdout]     src/path.rs - path::cache_dir (line 139)
[INFO] [stdout]     src/path.rs - path::config_dir (line 164)
[INFO] [stdout]     src/path.rs - path::data_dir (line 189)
[INFO] [stdout]     src/path.rs - path::desktop_dir (line 214)
[INFO] [stdout]     src/path.rs - path::dirname (line 640)
[INFO] [stdout]     src/path.rs - path::document_dir (line 239)
[INFO] [stdout]     src/path.rs - path::download_dir (line 264)
[INFO] [stdout]     src/path.rs - path::executable_dir (line 289)
[INFO] [stdout]     src/path.rs - path::extname (line 661)
[INFO] [stdout]     src/path.rs - path::font_dir (line 314)
[INFO] [stdout]     src/path.rs - path::home_dir (line 339)
[INFO] [stdout]     src/path.rs - path::is_absolute (line 709)
[INFO] [stdout]     src/path.rs - path::join (line 618)
[INFO] [stdout]     src/path.rs - path::local_data_dir (line 364)
[INFO] [stdout]     src/path.rs - path::normalize (line 597)
[INFO] [stdout]     src/path.rs - path::picture_dir (line 389)
[INFO] [stdout]     src/path.rs - path::public_dir (line 414)
[INFO] [stdout]     src/path.rs - path::resolve (line 575)
[INFO] [stdout]     src/path.rs - path::resolve_resource (line 456)
[INFO] [stdout]     src/path.rs - path::resource_dir (line 435)
[INFO] [stdout]     src/path.rs - path::runtime_dir (line 481)
[INFO] [stdout]     src/path.rs - path::template_dir (line 506)
[INFO] [stdout]     src/path.rs - path::video_dir (line 531)
[INFO] [stdout]     src/tauri.rs - tauri::convert_file_src (line 19)
[INFO] [stdout]     src/tauri.rs - tauri::invoke (line 52)
[INFO] [stdout]     src/updater.rs - updater::check_update (line 42)
[INFO] [stdout]     src/updater.rs - updater::install_update (line 62)
[INFO] [stdout]     src/updater.rs - updater::updater_events (line 88)
[INFO] [stdout]     src/window.rs - window::all_windows (line 1042)
[INFO] [stdout]     src/window.rs - window::available_monitors (line 1113)
[INFO] [stdout]     src/window.rs - window::current_monitor (line 1067)
[INFO] [stdout]     src/window.rs - window::current_window (line 1026)
[INFO] [stdout]     src/window.rs - window::primary_monitor (line 1091)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 82 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.72s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "970ffd2d557ef94acf79bcd42c5301629276f5f1379b934149b3ab7669a14141", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "970ffd2d557ef94acf79bcd42c5301629276f5f1379b934149b3ab7669a14141", kill_on_drop: false }`
[INFO] [stdout] 970ffd2d557ef94acf79bcd42c5301629276f5f1379b934149b3ab7669a14141
