[INFO] fetching crate nw-sys 0.1.6... [INFO] testing nw-sys-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate nw-sys 0.1.6 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate nw-sys 0.1.6 [INFO] finished tweaking crates.io crate nw-sys 0.1.6 [INFO] tweaked toml for crates.io crate nw-sys 0.1.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nw-sys 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e99445cccdaeb33caf2f1d20a42849bb60f7b47db3717ace1847ce7674c57a10 [INFO] running `Command { std: "docker" "start" "-a" "e99445cccdaeb33caf2f1d20a42849bb60f7b47db3717ace1847ce7674c57a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e99445cccdaeb33caf2f1d20a42849bb60f7b47db3717ace1847ce7674c57a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e99445cccdaeb33caf2f1d20a42849bb60f7b47db3717ace1847ce7674c57a10", kill_on_drop: false }` [INFO] [stdout] e99445cccdaeb33caf2f1d20a42849bb60f7b47db3717ace1847ce7674c57a10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 542971ad0dc7bb3d12201cc1dfa5758ec46aedc4e518e94b0174e8a1a21dc031 [INFO] running `Command { std: "docker" "start" "-a" "542971ad0dc7bb3d12201cc1dfa5758ec46aedc4e518e94b0174e8a1a21dc031", kill_on_drop: false }` [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling nw-sys v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.00s [INFO] running `Command { std: "docker" "inspect" "542971ad0dc7bb3d12201cc1dfa5758ec46aedc4e518e94b0174e8a1a21dc031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "542971ad0dc7bb3d12201cc1dfa5758ec46aedc4e518e94b0174e8a1a21dc031", kill_on_drop: false }` [INFO] [stdout] 542971ad0dc7bb3d12201cc1dfa5758ec46aedc4e518e94b0174e8a1a21dc031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e43e4219a0402296263de6ea2b5b61b1b016c9493659c45671197e25368a283c [INFO] running `Command { std: "docker" "start" "-a" "e43e4219a0402296263de6ea2b5b61b1b016c9493659c45671197e25368a283c", kill_on_drop: false }` [INFO] [stderr] Compiling nw-sys v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "e43e4219a0402296263de6ea2b5b61b1b016c9493659c45671197e25368a283c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e43e4219a0402296263de6ea2b5b61b1b016c9493659c45671197e25368a283c", kill_on_drop: false }` [INFO] [stdout] e43e4219a0402296263de6ea2b5b61b1b016c9493659c45671197e25368a283c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 557f6d9cbd2226ec06e11ad6eef5744318cb88be63033752d6bb2ee4149ed6ff [INFO] running `Command { std: "docker" "start" "-a" "557f6d9cbd2226ec06e11ad6eef5744318cb88be63033752d6bb2ee4149ed6ff", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nw_sys-f27fa623fef04420) [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 nw_sys [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/app.rs - app::filtered_argv (line 289) ... FAILED [INFO] [stdout] test src/chrome/notifications.rs - chrome::notifications (line 5) ... FAILED [INFO] [stdout] test src/screen.rs - screen (line 42) ... FAILED [INFO] [stdout] test src/screen.rs - screen::desktop_capture_monitor::start (line 130) ... FAILED [INFO] [stdout] test src/app.rs - app::NwApp::filtered_argv_impl (line 15) ... FAILED [INFO] [stdout] test src/clipboard.rs - clipboard (line 6) ... FAILED [INFO] [stdout] test src/menu.rs - menu (line 5) ... FAILED [INFO] [stdout] test src/shortcut.rs - shortcut (line 5) ... FAILED [INFO] [stdout] test src/options.rs - options (line 3) ... FAILED [INFO] [stdout] test src/shortcut.rs - shortcut::Shortcut::new (line 38) ... FAILED [INFO] [stdout] test src/screen.rs - screen (line 6) ... FAILED [INFO] [stdout] test src/tray.rs - tray (line 6) ... FAILED [INFO] [stdout] test src/app.rs - app::add_origin_access_whitelist_entry (line 17) ... FAILED [INFO] [stdout] test src/tray.rs - tray::Tray::set_menu (line 35) ... FAILED [INFO] [stdout] test src/window.rs - window (line 9) ... FAILED [INFO] [stdout] test src/tray.rs - tray::Tray::new (line 34) ... FAILED [INFO] [stdout] test src/shell.rs - shell (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/app.rs - app::filtered_argv (line 289) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/app.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 1 | [ [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chrome/notifications.rs - chrome::notifications (line 5) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::notifications::Options` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 8 | let options = notifications::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::notifications::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 8 | let options = notifications::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Button` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 18 | let button1 = notifications::Button::new() [INFO] [stdout] | ^^^ function or associated item not found in `Button` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 18 | let button1 = notifications::Button::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Button` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 22 | let button2 = notifications::Button::new() [INFO] [stdout] | ^^^ function or associated item not found in `Button` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 22 | let button2 = notifications::Button::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::notifications::Options` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 26 | let options = notifications::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::notifications::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 26 | let options = notifications::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::notifications::Options` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 36 | let options = notifications::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::notifications::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 36 | let options = notifications::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Item` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 46 | let item1 = notifications::Item::new() [INFO] [stdout] | ^^^ function or associated item not found in `Item` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 46 | let item1 = notifications::Item::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Item` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 49 | let item2 = notifications::Item::new() [INFO] [stdout] | ^^^ function or associated item not found in `Item` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | let item2 = notifications::Item::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::notifications::Options` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 53 | let options = notifications::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::notifications::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 53 | let options = notifications::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::notifications::Options` in the current scope [INFO] [stdout] --> src/chrome/notifications.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 63 | let options = notifications::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::notifications::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 63 | let options = notifications::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] --> src/screen.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 5 | use workflow_wasm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `workflow_wasm`, use `cargo add workflow_wasm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `callback` in this scope [INFO] [stdout] --> src/screen.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 22 | let display_removed_callback = callback!(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `callback` in this scope [INFO] [stdout] --> src/screen.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 16 | let display_added_callback = callback!(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `callback` in this scope [INFO] [stdout] --> src/screen.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 10 | let display_bounds_changed_callback = callback!(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/screen.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 34 | app.push_callback(display_bounds_changed_callback)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/screen.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 35 | app.push_callback(display_added_callback)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/screen.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 36 | app.push_callback(display_removed_callback)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::desktop_capture_monitor::start (line 130) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nw` [INFO] [stdout] --> src/screen.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 3 | nw::screen::desktop_capture_monitor::start(true, true); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/nw.rs, use `mod nw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod nw; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use nw_sys::screen::desktop_capture_monitor; [INFO] [stdout] | [INFO] [stdout] help: if you import `desktop_capture_monitor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - nw::screen::desktop_capture_monitor::start(true, true); [INFO] [stdout] 3 + desktop_capture_monitor::start(true, true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app.rs - app::NwApp::filtered_argv_impl (line 15) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/app.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 1 | [ [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/clipboard.rs - clipboard (line 6) stdout ---- [INFO] [stdout] error: cannot find macro `log_info` in this scope [INFO] [stdout] --> src/clipboard.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 8 | log_info!("clipboard data types: {:?}", types); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nw` [INFO] [stdout] --> src/clipboard.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 4 | let clipboard = nw::clipboard::get(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/nw.rs, use `mod nw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod nw; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use nw_sys::clipboard; [INFO] [stdout] | [INFO] [stdout] help: if you import `clipboard`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let clipboard = nw::clipboard::get(); [INFO] [stdout] 4 + let clipboard = clipboard::get(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `clip` in this scope [INFO] [stdout] --> src/clipboard.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 7 | let types = clip.get_available_types(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `clip` in this scope [INFO] [stdout] --> src/clipboard.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 11 | clip.set("Hello"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `clip` in this scope [INFO] [stdout] --> src/clipboard.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | let text = clip.get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/menu.rs - menu (line 5) stdout ---- [INFO] [stdout] error: cannot find macro `log_trace` in this scope [INFO] [stdout] --> src/menu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | log_trace!("{:?}", item); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/menu.rs:12:65 [INFO] [stdout] | [INFO] [stdout] 10 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item A"))); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 10 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item A"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/menu.rs:13:65 [INFO] [stdout] | [INFO] [stdout] 11 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item B"))); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 11 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item B"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/menu.rs:15:65 [INFO] [stdout] | [INFO] [stdout] 13 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item C"))); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 13 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item C"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/menu.rs:36:68 [INFO] [stdout] | [INFO] [stdout] 34 | submenu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item A"))); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 34 | submenu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item A"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/menu.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 35 | submenu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item B"))); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 35 | submenu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Item B"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/menu.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 38 | let options = nw_sys::menu_item::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 38 | let options = nw_sys::menu_item::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shortcut.rs - shortcut (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] --> src/shortcut.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use workflow_wasm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `workflow_wasm`, use `cargo add workflow_wasm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `callback` in this scope [INFO] [stdout] --> src/shortcut.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 14 | let callback = callback!(||{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/shortcut.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 26 | app.push_callback(callback)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::shortcut::Options` in the current scope [INFO] [stdout] --> src/shortcut.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 8 | let shortcut = nw_sys::Shortcut::new(&nw_sys::shortcut::Options::new().key("Ctrl+Shift+A")); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::shortcut::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/shortcut.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 8 | let shortcut = nw_sys::Shortcut::new(&nw_sys::shortcut::Options::new().key("Ctrl+Shift+A")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [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/options.rs - options (line 3) stdout ---- [INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s [INFO] [stdout] --> src/options.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not applicable here [INFO] [stdout] 9 | pub type MyOptions; [INFO] [stdout] | ------------------- not a `struct`, `enum` or `union` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/options.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/options.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[wasm_bindgen(extends = js_sys::Object)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] --> src/options.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl workflow_wasm::options::OptionsTrait for MyOptions{} [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `workflow_wasm`, use `cargo add workflow_wasm` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use nw_sys::options; [INFO] [stdout] | [INFO] [stdout] help: if you import `options`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - impl workflow_wasm::options::OptionsTrait for MyOptions{} [INFO] [stdout] 12 + impl options::OptionsTrait for MyOptions{} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/options.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 18 | self.set("title", JsValue::from(title)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/options.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 23 | self.set("active", JsValue::from(active)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0658]: extern types are experimental [INFO] [stdout] --> src/options.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub type MyOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43467 for more information [INFO] [stdout] = help: add `#![feature(extern_types)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0658, E0774. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shortcut.rs - shortcut::Shortcut::new (line 38) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new` in module `nw_sys::shortcut` [INFO] [stdout] --> src/shortcut.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 6 | let shortcut = nw_sys::shortcut::new(&nw_sys::shortcut::Options::new().key("Ctrl+Shift+A")); [INFO] [stdout] | ^^^ not found in `nw_sys::shortcut` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::shortcut::Options` in the current scope [INFO] [stdout] --> src/shortcut.rs:41:66 [INFO] [stdout] | [INFO] [stdout] 6 | let shortcut = nw_sys::shortcut::new(&nw_sys::shortcut::Options::new().key("Ctrl+Shift+A")); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::shortcut::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/shortcut.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 6 | let shortcut = nw_sys::shortcut::new(&nw_sys::shortcut::Options::new().key("Ctrl+Shift+A")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen (line 6) stdout ---- [INFO] [stdout] error: cannot find macro `log_info` in this scope [INFO] [stdout] --> src/screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | log_info!("displayRemoved: {:#?}", screen); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `log_info` in this scope [INFO] [stdout] --> src/screen.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | log_info!("displayAdded: {:#?}", screen); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `log_info` in this scope [INFO] [stdout] --> src/screen.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | log_info!("displayBoundsChanged: {:#?}", screen); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/screen.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 8 | let display_bounds_changed_callback = Callback::new(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/screen.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 14 | let display_added_callback = Callback::new(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/screen.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 20 | let display_removed_callback = Callback::new(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/screen.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 32 | app.push_callback(display_bounds_changed_callback)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/screen.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 33 | app.push_callback(display_added_callback)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/screen.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 34 | app.push_callback(display_removed_callback)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Callback` [INFO] [stdout] --> src/screen.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 8 | let display_bounds_changed_callback = Callback::new(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Callback` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Callback` [INFO] [stdout] --> src/screen.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 14 | let display_added_callback = Callback::new(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Callback` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Callback` [INFO] [stdout] --> src/screen.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 20 | let display_removed_callback = Callback::new(move |screen:JsValue|{ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Callback` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tray.rs - tray (line 6) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `TrayOptions` in the current scope [INFO] [stdout] --> src/tray.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 5 | let options = nw_sys::tray::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `TrayOptions` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 5 | let options = nw_sys::tray::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/tray.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 20 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Menu 1"))); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 20 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Menu 1"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app.rs - app::add_origin_access_whitelist_entry (line 17) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (134) panicked at src/app.rs:13:1: [INFO] [stdout] cannot call wasm-bindgen imported functions on non-wasm targets [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e3554d78a02 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e3554d78a02 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e3554d78a02 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e3554d78a02 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e3554d876ff - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e3554d876ff - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e3554d575d3 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e3554d575d3 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e3554d5c3b2 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e3554d5dc0c - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e3554d5da66 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5e3554d5e1e5 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5e3554d5e046 - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5e3554d5c4e9 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5e3554d4be7d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5e3554d8a5f0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5e3554d4ba19 - nw_sys::app::add_origin_access_whitelist_entry::__wbg_addOriginAccessWhitelistEntry_b5b5fa57d609efe3::h60db3e202150de79 [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:13:1 [INFO] [stdout] 17: 0x5e3554d4b930 - nw_sys::app::add_origin_access_whitelist_entry::h7b372733fb24ae7b [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:13:1 [INFO] [stdout] 18: 0x5e3554d4b733 - rust_out::main::_doctest_main_src_app_rs_17_0::hfe8eeaa46f293be0 [INFO] [stdout] 19: 0x5e3554d4b6f6 - rust_out::main::hb2c1f26112d8e974 [INFO] [stdout] 20: 0x5e3554d4b693 - core::ops::function::FnOnce::call_once::h01e49b384cd31373 [INFO] [stdout] 21: 0x5e3554d4b676 - std::sys::backtrace::__rust_begin_short_backtrace::hc341f747de1a6e5f [INFO] [stdout] 22: 0x5e3554d4b659 - std::rt::lang_start::{{closure}}::h5855c6a947873adf [INFO] [stdout] 23: 0x5e3554d58440 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 24: 0x5e3554d58440 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5e3554d58440 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5e3554d58440 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5e3554d58440 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5e3554d58440 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5e3554d58440 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5e3554d58440 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5e3554d58440 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5e3554d4b641 - std::rt::lang_start::h75941d661fa88314 [INFO] [stdout] 33: 0x5e3554d4b755 - main [INFO] [stdout] 34: 0x7a6cc8eed1ca - [INFO] [stdout] 35: 0x7a6cc8eed28b - __libc_start_main [INFO] [stdout] 36: 0x5e3554d4b555 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/tray.rs - tray::Tray::set_menu (line 35) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `tray` in this scope [INFO] [stdout] --> src/tray.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 7 | tray.set_menu(&menu); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::menu_item::Options` in the current scope [INFO] [stdout] --> src/tray.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 6 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Menu 1"))); [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::menu_item::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 6 | menu.append(&nw_sys::MenuItem::new(&nw_sys::menu_item::Options::new().label("Menu 1"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [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 (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] --> src/window.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use workflow_wasm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `workflow_wasm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `workflow_wasm`, use `cargo add workflow_wasm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `callback` in this scope [INFO] [stdout] --> src/window.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 27 | let open_callback = callback!(|new_win:nw_sys::Window| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `callback` in this scope [INFO] [stdout] --> src/window.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 11 | let minimize_callback = callback!(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/window.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 43 | app.push_callback(open_callback); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/window.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 44 | app.push_callback(minimize_callback); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `nw_sys::window::Options` in the current scope [INFO] [stdout] --> src/window.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 24 | let options = nw_sys::window::Options::new() [INFO] [stdout] | ^^^ function or associated item not found in `nw_sys::window::Options` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/window.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 24 | let options = nw_sys::window::Options::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/tray.rs - tray::Tray::new (line 34) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `TrayOptions` in the current scope [INFO] [stdout] --> src/tray.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 6 | let tray = nw_sys::Tray::new(&nw_sys::tray::Options::new().title("Tray").icon("img/icon.png")); [INFO] [stdout] | ^^^ function or associated item not found in `TrayOptions` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:265:5 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 6 | let tray = nw_sys::Tray::new(&nw_sys::tray::Options::new().title("Tray").icon("img/icon.png")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OptionsTrait` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [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/shell.rs - shell (line 7) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (135) panicked at src/shell.rs:21:1: [INFO] [stdout] cannot call wasm-bindgen imported functions on non-wasm targets [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60afa81fe9a2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60afa81fe9a2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60afa81fe9a2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60afa81fe9a2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60afa820d69f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60afa820d69f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60afa81dd573 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60afa81dd573 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60afa81e2352 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60afa81e3bac - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60afa81e3a06 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x60afa81e4185 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x60afa81e3fe6 - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x60afa81e2489 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x60afa81d1e1d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x60afa8210590 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x60afa81d1920 - nw_sys::shell::open_external::__wbg_openExternal_d5b1ffc797b52434::hc34105db074a7def [INFO] [stdout] at /opt/rustwide/workdir/src/shell.rs:21:1 [INFO] [stdout] 17: 0x60afa81d18c4 - nw_sys::shell::open_external::ha8807a0e732bbbec [INFO] [stdout] at /opt/rustwide/workdir/src/shell.rs:21:1 [INFO] [stdout] 18: 0x60afa81d1763 - rust_out::main::_doctest_main_src_shell_rs_7_0::ha4d4b99ac5fb0713 [INFO] [stdout] 19: 0x60afa81d1746 - rust_out::main::hb2c1f26112d8e974 [INFO] [stdout] 20: 0x60afa81d16e3 - core::ops::function::FnOnce::call_once::h01e49b384cd31373 [INFO] [stdout] 21: 0x60afa81d16c6 - std::sys::backtrace::__rust_begin_short_backtrace::hc341f747de1a6e5f [INFO] [stdout] 22: 0x60afa81d16a9 - std::rt::lang_start::{{closure}}::h5855c6a947873adf [INFO] [stdout] 23: 0x60afa81de3e0 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 24: 0x60afa81de3e0 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x60afa81de3e0 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x60afa81de3e0 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x60afa81de3e0 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x60afa81de3e0 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x60afa81de3e0 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x60afa81de3e0 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x60afa81de3e0 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x60afa81d1691 - std::rt::lang_start::h75941d661fa88314 [INFO] [stdout] 33: 0x60afa81d17a5 - main [INFO] [stdout] 34: 0x7da5fe8941ca - [INFO] [stdout] 35: 0x7da5fe89428b - __libc_start_main [INFO] [stdout] 36: 0x60afa81d15a5 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/app.rs - app::NwApp::filtered_argv_impl (line 15) [INFO] [stdout] src/app.rs - app::add_origin_access_whitelist_entry (line 17) [INFO] [stdout] src/app.rs - app::filtered_argv (line 289) [INFO] [stdout] src/chrome/notifications.rs - chrome::notifications (line 5) [INFO] [stdout] src/clipboard.rs - clipboard (line 6) [INFO] [stdout] src/menu.rs - menu (line 5) [INFO] [stdout] src/options.rs - options (line 3) [INFO] [stdout] src/screen.rs - screen (line 42) [INFO] [stdout] src/screen.rs - screen (line 6) [INFO] [stdout] src/screen.rs - screen::desktop_capture_monitor::start (line 130) [INFO] [stdout] src/shell.rs - shell (line 7) [INFO] [stdout] src/shortcut.rs - shortcut (line 5) [INFO] [stdout] src/shortcut.rs - shortcut::Shortcut::new (line 38) [INFO] [stdout] src/tray.rs - tray (line 6) [INFO] [stdout] src/tray.rs - tray::Tray::new (line 34) [INFO] [stdout] src/tray.rs - tray::Tray::set_menu (line 35) [INFO] [stdout] src/window.rs - window (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.97s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "557f6d9cbd2226ec06e11ad6eef5744318cb88be63033752d6bb2ee4149ed6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "557f6d9cbd2226ec06e11ad6eef5744318cb88be63033752d6bb2ee4149ed6ff", kill_on_drop: false }` [INFO] [stdout] 557f6d9cbd2226ec06e11ad6eef5744318cb88be63033752d6bb2ee4149ed6ff