[INFO] fetching crate tauri-plugin-macos-permissions 2.3.0... [INFO] testing tauri-plugin-macos-permissions-2.3.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tauri-plugin-macos-permissions 2.3.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate tauri-plugin-macos-permissions 2.3.0 [INFO] finished tweaking crates.io crate tauri-plugin-macos-permissions 2.3.0 [INFO] tweaked toml for crates.io crate tauri-plugin-macos-permissions 2.3.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tauri-plugin-macos-permissions 2.3.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tauri-plugin-macos-permissions 2.3.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macos-accessibility-client v0.0.1 [INFO] [stderr] Downloaded toml_edit v0.22.25 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded toml v0.8.21 [INFO] [stderr] Downloaded toml_write v0.1.0 [INFO] [stderr] Downloaded winnow v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 277af25cff77ecd491e84e6430dd203d3fe6340b3e4c8387afb05bc0bab63319 [INFO] running `Command { std: "docker" "start" "-a" "277af25cff77ecd491e84e6430dd203d3fe6340b3e4c8387afb05bc0bab63319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "277af25cff77ecd491e84e6430dd203d3fe6340b3e4c8387afb05bc0bab63319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277af25cff77ecd491e84e6430dd203d3fe6340b3e4c8387afb05bc0bab63319", kill_on_drop: false }` [INFO] [stdout] 277af25cff77ecd491e84e6430dd203d3fe6340b3e4c8387afb05bc0bab63319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22428bb92a942399b481513138c58184ff6f4ea4db95dccd4b8ebc4543f5db9f [INFO] running `Command { std: "docker" "start" "-a" "22428bb92a942399b481513138c58184ff6f4ea4db95dccd4b8ebc4543f5db9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling toml_write v0.1.0 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling tauri-runtime v2.6.0 [INFO] [stderr] Compiling wry v0.51.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tauri-runtime-wry v2.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling ico v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling serialize-to-javascript-impl v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling dlopen2_derive v0.4.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dlopen2 v0.7.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling keyboard-types v0.7.0 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Compiling serde-untagged v0.1.7 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling jsonptr v0.6.3 [INFO] [stderr] Compiling serialize-to-javascript v0.1.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling json-patch v3.0.1 [INFO] [stderr] Compiling infer v0.19.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling urlpattern v0.3.0 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling kuchikiki v0.8.2 [INFO] [stderr] Compiling toml v0.8.21 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling embed-resource v3.0.2 [INFO] [stderr] Compiling cargo_toml v0.22.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling tauri-winres v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tauri-utils v2.4.0 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling gdkwayland-sys v0.18.2 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling tauri-build v2.2.0 [INFO] [stderr] Compiling tauri-plugin v2.2.0 [INFO] [stderr] Compiling tauri-codegen v2.2.0 [INFO] [stderr] Compiling tauri v2.5.1 [INFO] [stderr] Compiling tauri-plugin-macos-permissions v2.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tauri-macros v2.2.0 [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling atk v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs v1.1.2 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [INFO] [stderr] Compiling pango v0.18.3 [INFO] [stderr] Compiling soup3 v0.5.0 [INFO] [stderr] Compiling gdk v0.18.2 [INFO] [stderr] Compiling gdkx11 v0.18.2 [INFO] [stderr] Compiling webkit2gtk v2.0.1 [INFO] [stderr] Compiling tao v0.33.0 [INFO] [stderr] Compiling muda v0.16.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 39s [INFO] running `Command { std: "docker" "inspect" "22428bb92a942399b481513138c58184ff6f4ea4db95dccd4b8ebc4543f5db9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22428bb92a942399b481513138c58184ff6f4ea4db95dccd4b8ebc4543f5db9f", kill_on_drop: false }` [INFO] [stdout] 22428bb92a942399b481513138c58184ff6f4ea4db95dccd4b8ebc4543f5db9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26abce2beaa4af5ab053dbc9a501051544209a42bb819861daa45a23aae83808 [INFO] running `Command { std: "docker" "start" "-a" "26abce2beaa4af5ab053dbc9a501051544209a42bb819861daa45a23aae83808", kill_on_drop: false }` [INFO] [stderr] Compiling tauri-plugin-macos-permissions v2.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.41s [INFO] running `Command { std: "docker" "inspect" "26abce2beaa4af5ab053dbc9a501051544209a42bb819861daa45a23aae83808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26abce2beaa4af5ab053dbc9a501051544209a42bb819861daa45a23aae83808", kill_on_drop: false }` [INFO] [stdout] 26abce2beaa4af5ab053dbc9a501051544209a42bb819861daa45a23aae83808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f0f060ce1bb5e16122ed421f0307bd830ed17d0f0a1c2424eb4c9672d1123ad [INFO] running `Command { std: "docker" "start" "-a" "7f0f060ce1bb5e16122ed421f0307bd830ed17d0f0a1c2424eb4c9672d1123ad", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tauri_plugin_macos_permissions-5bce2e86d145143e) [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_plugin_macos_permissions [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/commands.rs - commands::request_microphone_permission (line 192) ... FAILED [INFO] [stdout] test src/commands.rs - commands::request_full_disk_access_permission (line 103) ... FAILED [INFO] [stdout] test src/commands.rs - commands::request_accessibility_permission (line 51) ... FAILED [INFO] [stdout] test src/commands.rs - commands::check_microphone_permission (line 166) ... FAILED [INFO] [stdout] test src/commands.rs - commands::check_input_monitoring_permission (line 274) ... FAILED [INFO] [stdout] test src/commands.rs - commands::check_screen_recording_permission (line 127) ... FAILED [INFO] [stdout] test src/commands.rs - commands::request_input_monitoring_permission (line 296) ... FAILED [INFO] [stdout] test src/commands.rs - commands::request_screen_recording_permission (line 147) ... FAILED [INFO] [stdout] test src/commands.rs - commands::check_accessibility_permission (line 33) ... FAILED [INFO] [stdout] test src/commands.rs - commands::check_full_disk_access_permission (line 68) ... FAILED [INFO] [stdout] test src/commands.rs - commands::check_camera_permission (line 220) ... FAILED [INFO] [stdout] test src/commands.rs - commands::request_camera_permission (line 246) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/commands.rs - commands::request_microphone_permission (line 192) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_192_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | request_microphone_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::request_full_disk_access_permission (line 103) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:107:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_103_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | request_full_disk_access_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::request_accessibility_permission (line 51) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_51_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | request_accessibility_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::check_microphone_permission (line 166) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_166_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let authorized = check_microphone_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::check_input_monitoring_permission (line 274) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_274_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let authorized = check_input_monitoring_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::check_screen_recording_permission (line 127) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:131:54 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_127_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let authorized = check_screen_recording_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::request_input_monitoring_permission (line 296) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:300:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_296_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | request_input_monitoring_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::request_screen_recording_permission (line 147) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_147_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | request_screen_recording_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::check_accessibility_permission (line 33) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_33_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let authorized = check_accessibility_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::check_full_disk_access_permission (line 68) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `app_handle` in this scope [INFO] [stdout] --> src/commands.rs:72:52 [INFO] [stdout] | [INFO] [stdout] 7 | let authorized = check_full_disk_access_permission(app_handle).await; [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/commands.rs:72:64 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_68_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let authorized = check_full_disk_access_permission(app_handle).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: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::check_camera_permission (line 220) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_220_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let authorized = check_camera_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands.rs - commands::request_camera_permission (line 246) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/commands.rs:250:29 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_commands_rs_246_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | request_camera_permission().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/commands.rs - commands::check_accessibility_permission (line 33) [INFO] [stdout] src/commands.rs - commands::check_camera_permission (line 220) [INFO] [stdout] src/commands.rs - commands::check_full_disk_access_permission (line 68) [INFO] [stdout] src/commands.rs - commands::check_input_monitoring_permission (line 274) [INFO] [stdout] src/commands.rs - commands::check_microphone_permission (line 166) [INFO] [stdout] src/commands.rs - commands::check_screen_recording_permission (line 127) [INFO] [stdout] src/commands.rs - commands::request_accessibility_permission (line 51) [INFO] [stdout] src/commands.rs - commands::request_camera_permission (line 246) [INFO] [stdout] src/commands.rs - commands::request_full_disk_access_permission (line 103) [INFO] [stdout] src/commands.rs - commands::request_input_monitoring_permission (line 296) [INFO] [stdout] src/commands.rs - commands::request_microphone_permission (line 192) [INFO] [stdout] src/commands.rs - commands::request_screen_recording_permission (line 147) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7f0f060ce1bb5e16122ed421f0307bd830ed17d0f0a1c2424eb4c9672d1123ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0f060ce1bb5e16122ed421f0307bd830ed17d0f0a1c2424eb4c9672d1123ad", kill_on_drop: false }` [INFO] [stdout] 7f0f060ce1bb5e16122ed421f0307bd830ed17d0f0a1c2424eb4c9672d1123ad