[INFO] fetching crate nw-sys 0.1.6...
[INFO] testing nw-sys-0.1.6 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate nw-sys 0.1.6 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nw-sys 0.1.6 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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.17)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a432eeadbaf4c5b021b68707512e51d647315ef1bf161580275c088c12a7c55
[INFO] running `Command { std: "docker" "start" "-a" "5a432eeadbaf4c5b021b68707512e51d647315ef1bf161580275c088c12a7c55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a432eeadbaf4c5b021b68707512e51d647315ef1bf161580275c088c12a7c55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a432eeadbaf4c5b021b68707512e51d647315ef1bf161580275c088c12a7c55", kill_on_drop: false }`
[INFO] [stdout] 5a432eeadbaf4c5b021b68707512e51d647315ef1bf161580275c088c12a7c55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13fb34367290e1c88d7266bfd9f3ec7c21b4f2132a91c3b508c2e0b48951ec83
[INFO] running `Command { std: "docker" "start" "-a" "13fb34367290e1c88d7266bfd9f3ec7c21b4f2132a91c3b508c2e0b48951ec83", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.104
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling wasm-bindgen v0.2.104
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.104
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.104
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.104
[INFO] [stderr]    Compiling js-sys v0.3.81
[INFO] [stderr]    Compiling web-sys v0.3.81
[INFO] [stderr]    Compiling nw-sys v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "13fb34367290e1c88d7266bfd9f3ec7c21b4f2132a91c3b508c2e0b48951ec83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13fb34367290e1c88d7266bfd9f3ec7c21b4f2132a91c3b508c2e0b48951ec83", kill_on_drop: false }`
[INFO] [stdout] 13fb34367290e1c88d7266bfd9f3ec7c21b4f2132a91c3b508c2e0b48951ec83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 650b2891eca13ce421634f1dc88ced2cc865e30a9f8d177810c98ada17aad52e
[INFO] running `Command { std: "docker" "start" "-a" "650b2891eca13ce421634f1dc88ced2cc865e30a9f8d177810c98ada17aad52e", 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.42s
[INFO] running `Command { std: "docker" "inspect" "650b2891eca13ce421634f1dc88ced2cc865e30a9f8d177810c98ada17aad52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "650b2891eca13ce421634f1dc88ced2cc865e30a9f8d177810c98ada17aad52e", kill_on_drop: false }`
[INFO] [stdout] 650b2891eca13ce421634f1dc88ced2cc865e30a9f8d177810c98ada17aad52e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8fc0f3a9f821d8035cce6fbe0f99daa3e074e10ca0874429c16a45f69adc71cd
[INFO] running `Command { std: "docker" "start" "-a" "8fc0f3a9f821d8035cce6fbe0f99daa3e074e10ca0874429c16a45f69adc71cd", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nw_sys-494ae09a70a7732b)
[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/clipboard.rs - clipboard (line 6) ... FAILED
[INFO] [stdout] test src/options.rs - options (line 3) ... FAILED
[INFO] [stdout] test src/app.rs - app::NwApp::filtered_argv_impl (line 15) ... FAILED
[INFO] [stdout] test src/app.rs - app::filtered_argv (line 289) ... FAILED
[INFO] [stdout] test src/tray.rs - tray (line 6) ... FAILED
[INFO] [stdout] test src/tray.rs - tray::Tray::new (line 34) ... FAILED
[INFO] [stdout] test src/screen.rs - screen::desktop_capture_monitor::start (line 130) ... FAILED
[INFO] [stdout] test src/shortcut.rs - shortcut::Shortcut::new (line 38) ... FAILED
[INFO] [stdout] test src/shell.rs - shell (line 7) ... FAILED
[INFO] [stdout] test src/menu.rs - menu (line 5) ... 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/chrome/notifications.rs - chrome::notifications (line 5) ... FAILED
[INFO] [stdout] test src/screen.rs - screen (line 6) ... FAILED
[INFO] [stdout] test src/screen.rs - screen (line 42) ... FAILED
[INFO] [stdout] test src/app.rs - app::add_origin_access_whitelist_entry (line 17) ... FAILED
[INFO] [stdout] test src/shortcut.rs - shortcut (line 5) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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 <https://github.com/rust-lang/rust/issues/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-07-04; 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/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 <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[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 <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/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/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/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' 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:     0x618a976edc12 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x618a976edc12 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x618a976edc12 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x618a976edc12 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x618a977093c3 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x618a977093c3 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x618a976eb933 - std::io::default_write_fmt::h1470b6bb31d733fd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x618a976eb933 - std::io::Write::write_fmt::hd8146ab3991543d1
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x618a976eda62 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x618a976eead6 - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x618a976ee8d9 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:327:9
[INFO] [stdout]   11:     0x618a976ef3a2 - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:833:13
[INFO] [stdout]   12:     0x618a976ef206 - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:699:13
[INFO] [stdout]   13:     0x618a976ee109 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   14:     0x618a976eeecd - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   15:     0x618a977088d0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   16:     0x618a976cd31c - nw_sys::shell::open_external::__wbg_openExternal_d5b1ffc797b52434::hd9a800d55717eef0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/shell.rs:21:1
[INFO] [stdout]   17:     0x618a976cd31c - nw_sys::shell::open_external::h575534b543ab984d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/shell.rs:21:1
[INFO] [stdout]   18:     0x618a976cd223 - rust_out::main::_doctest_main_src_shell_rs_7_0::h81abaed7ac9fec2d
[INFO] [stdout]   19:     0x618a976cd206 - rust_out::main::h707a703e23e8b691
[INFO] [stdout]   20:     0x618a976cd1e3 - core::ops::function::FnOnce::call_once::hacedfcda517d60ac
[INFO] [stdout]   21:     0x618a976cd186 - std::sys::backtrace::__rust_begin_short_backtrace::h4237a9aceaf0c727
[INFO] [stdout]   22:     0x618a976cd169 - std::rt::lang_start::{{closure}}::hd68394c0f7c71761
[INFO] [stdout]   23:     0x618a976e9850 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h106557a9d245eb10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:284:21
[INFO] [stdout]   24:     0x618a976e9850 - std::panicking::catch_unwind::do_call::h18100d9574045a86
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   25:     0x618a976e9850 - std::panicking::catch_unwind::hf9f86a2471d520c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   26:     0x618a976e9850 - std::panic::catch_unwind::h410688ae8e8348a9
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x618a976e9850 - std::rt::lang_start_internal::{{closure}}::h42fee7344f1a80c6
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x618a976e9850 - std::panicking::catch_unwind::do_call::h62b4ab9c433ebcfb
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x618a976e9850 - std::panicking::catch_unwind::h61ceb8228d4a4310
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x618a976e9850 - std::panic::catch_unwind::hf4a60a68b20bb306
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x618a976e9850 - std::rt::lang_start_internal::h3478bd2aa4cc9cb2
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x618a976cd151 - std::rt::lang_start::h323b15ce03982075
[INFO] [stdout]   33:     0x618a976cd265 - main
[INFO] [stdout]   34:     0x727db03ac1ca - <unknown>
[INFO] [stdout]   35:     0x727db03ac28b - __libc_start_main
[INFO] [stdout]   36:     0x618a976cd065 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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/d98a5da813da67eb189387b8ccfb73cf481275d8/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 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/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/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' 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:     0x5b84b7e4bc82 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b84b7e4bc82 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b84b7e4bc82 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5b84b7e4bc82 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5b84b7e67433 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5b84b7e67433 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5b84b7e499a3 - std::io::default_write_fmt::h1470b6bb31d733fd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b84b7e499a3 - std::io::Write::write_fmt::hd8146ab3991543d1
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5b84b7e4bad2 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5b84b7e4cb46 - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5b84b7e4c949 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:327:9
[INFO] [stdout]   11:     0x5b84b7e4d412 - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:833:13
[INFO] [stdout]   12:     0x5b84b7e4d276 - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:699:13
[INFO] [stdout]   13:     0x5b84b7e4c179 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   14:     0x5b84b7e4cf3d - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   15:     0x5b84b7e66940 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   16:     0x5b84b7e2b38c - nw_sys::app::add_origin_access_whitelist_entry::__wbg_addOriginAccessWhitelistEntry_b5b5fa57d609efe3::h152fdeae81f95d9a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/app.rs:13:1
[INFO] [stdout]   17:     0x5b84b7e2b38c - nw_sys::app::add_origin_access_whitelist_entry::h479ade23b17b0b97
[INFO] [stdout]                                at /opt/rustwide/workdir/src/app.rs:13:1
[INFO] [stdout]   18:     0x5b84b7e2b2b3 - rust_out::main::_doctest_main_src_app_rs_17_0::h71b0b87c256d1dbb
[INFO] [stdout]   19:     0x5b84b7e2b276 - rust_out::main::h707a703e23e8b691
[INFO] [stdout]   20:     0x5b84b7e2b253 - core::ops::function::FnOnce::call_once::hacedfcda517d60ac
[INFO] [stdout]   21:     0x5b84b7e2b1f6 - std::sys::backtrace::__rust_begin_short_backtrace::h4237a9aceaf0c727
[INFO] [stdout]   22:     0x5b84b7e2b1d9 - std::rt::lang_start::{{closure}}::hd68394c0f7c71761
[INFO] [stdout]   23:     0x5b84b7e478c0 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h106557a9d245eb10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:284:21
[INFO] [stdout]   24:     0x5b84b7e478c0 - std::panicking::catch_unwind::do_call::h18100d9574045a86
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   25:     0x5b84b7e478c0 - std::panicking::catch_unwind::hf9f86a2471d520c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   26:     0x5b84b7e478c0 - std::panic::catch_unwind::h410688ae8e8348a9
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x5b84b7e478c0 - std::rt::lang_start_internal::{{closure}}::h42fee7344f1a80c6
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x5b84b7e478c0 - std::panicking::catch_unwind::do_call::h62b4ab9c433ebcfb
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5b84b7e478c0 - std::panicking::catch_unwind::h61ceb8228d4a4310
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5b84b7e478c0 - std::panic::catch_unwind::hf4a60a68b20bb306
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5b84b7e478c0 - std::rt::lang_start_internal::h3478bd2aa4cc9cb2
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x5b84b7e2b1c1 - std::rt::lang_start::h323b15ce03982075
[INFO] [stdout]   33:     0x5b84b7e2b2d5 - main
[INFO] [stdout]   34:     0x721d325361ca - <unknown>
[INFO] [stdout]   35:     0x721d3253628b - __libc_start_main
[INFO] [stdout]   36:     0x5b84b7e2b0d5 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[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/d98a5da813da67eb189387b8ccfb73cf481275d8/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] 
[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.48s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8fc0f3a9f821d8035cce6fbe0f99daa3e074e10ca0874429c16a45f69adc71cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fc0f3a9f821d8035cce6fbe0f99daa3e074e10ca0874429c16a45f69adc71cd", kill_on_drop: false }`
[INFO] [stdout] 8fc0f3a9f821d8035cce6fbe0f99daa3e074e10ca0874429c16a45f69adc71cd
