[INFO] fetching crate nw-sys 0.1.6... [INFO] testing nw-sys-0.1.6 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate nw-sys 0.1.6 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nw-sys 0.1.6 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e3099d7d9e6a14e699f3085ffc62152cb6d27e5e2b7bd0b06f978e0cbf71ec0 [INFO] running `Command { std: "docker" "start" "-a" "5e3099d7d9e6a14e699f3085ffc62152cb6d27e5e2b7bd0b06f978e0cbf71ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e3099d7d9e6a14e699f3085ffc62152cb6d27e5e2b7bd0b06f978e0cbf71ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3099d7d9e6a14e699f3085ffc62152cb6d27e5e2b7bd0b06f978e0cbf71ec0", kill_on_drop: false }` [INFO] [stdout] 5e3099d7d9e6a14e699f3085ffc62152cb6d27e5e2b7bd0b06f978e0cbf71ec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 191e2bf94fc5bbfb6c8963d2cca27dc8dcda33ed3a7209c3b3571ff91ea8f5ea [INFO] running `Command { std: "docker" "start" "-a" "191e2bf94fc5bbfb6c8963d2cca27dc8dcda33ed3a7209c3b3571ff91ea8f5ea", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [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-backend v0.2.104 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [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 22.02s [INFO] running `Command { std: "docker" "inspect" "191e2bf94fc5bbfb6c8963d2cca27dc8dcda33ed3a7209c3b3571ff91ea8f5ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191e2bf94fc5bbfb6c8963d2cca27dc8dcda33ed3a7209c3b3571ff91ea8f5ea", kill_on_drop: false }` [INFO] [stdout] 191e2bf94fc5bbfb6c8963d2cca27dc8dcda33ed3a7209c3b3571ff91ea8f5ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d3f044278df2e9aeef5b313437fd09abf242e83c4ead04be4fa4626a407bd73 [INFO] running `Command { std: "docker" "start" "-a" "2d3f044278df2e9aeef5b313437fd09abf242e83c4ead04be4fa4626a407bd73", 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.38s [INFO] running `Command { std: "docker" "inspect" "2d3f044278df2e9aeef5b313437fd09abf242e83c4ead04be4fa4626a407bd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3f044278df2e9aeef5b313437fd09abf242e83c4ead04be4fa4626a407bd73", kill_on_drop: false }` [INFO] [stdout] 2d3f044278df2e9aeef5b313437fd09abf242e83c4ead04be4fa4626a407bd73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49518da427285f750c77706da572f075ca1ea28e8ae41235336093bf11d674de [INFO] running `Command { std: "docker" "start" "-a" "49518da427285f750c77706da572f075ca1ea28e8ae41235336093bf11d674de", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nw_sys-a0d7d864ff3efdee) [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/shortcut.rs - shortcut::Shortcut::new (line 38) ... FAILED [INFO] [stdout] test src/clipboard.rs - clipboard (line 6) ... FAILED [INFO] [stdout] test src/chrome/notifications.rs - chrome::notifications (line 5) ... FAILED [INFO] [stdout] test src/app.rs - app::NwApp::filtered_argv_impl (line 15) ... 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 (line 5) ... FAILED [INFO] [stdout] test src/app.rs - app::add_origin_access_whitelist_entry (line 17) ... FAILED [INFO] [stdout] test src/options.rs - options (line 3) ... FAILED [INFO] [stdout] test src/menu.rs - menu (line 5) ... FAILED [INFO] [stdout] test src/tray.rs - tray (line 6) ... FAILED [INFO] [stdout] test src/screen.rs - screen (line 42) ... 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/screen.rs - screen (line 6) ... FAILED [INFO] [stdout] test src/shell.rs - shell (line 7) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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/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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/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/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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/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/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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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 (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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/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' (140) 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: 0x5b5336572542 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b5336572542 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b5336572542 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b5336572542 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b533658124f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b533658124f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b5336550c61 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b5336550c61 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b5336555a62 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b53365572bc - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5b5336557116 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5b5336557945 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5b53365577a6 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5b5336555b99 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5b533654552d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5b5336584120 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5b53365450a9 - nw_sys::app::add_origin_access_whitelist_entry::__wbg_addOriginAccessWhitelistEntry_b5b5fa57d609efe3::h1743e48fe04ff087 [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:13:1 [INFO] [stdout] 17: 0x5b5336544fc0 - nw_sys::app::add_origin_access_whitelist_entry::h2dd2743c67311052 [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:13:1 [INFO] [stdout] 18: 0x5b5336544de3 - rust_out::main::_doctest_main_src_app_rs_17_0::h6df87b2a4dc926d2 [INFO] [stdout] 19: 0x5b5336544da6 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 20: 0x5b5336544d43 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 21: 0x5b5336544d26 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 22: 0x5b5336544d09 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 23: 0x5b5336551ad0 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x5b5336551ad0 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5b5336551ad0 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5b5336551ad0 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5b5336551ad0 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5b5336551ad0 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5b5336551ad0 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5b5336551ad0 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b5336551ad0 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5b5336544cf1 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 33: 0x5b5336544e05 - main [INFO] [stdout] 34: 0x7c15eca181ca - [INFO] [stdout] 35: 0x7c15eca1828b - __libc_start_main [INFO] [stdout] 36: 0x5b5336544c05 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [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-09-25; 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/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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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 (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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/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/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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:264: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/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/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' (157) 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: 0x57da2c6464e2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57da2c6464e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57da2c6464e2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57da2c6464e2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57da2c6551ef - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57da2c6551ef - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57da2c624c01 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57da2c624c01 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57da2c629a02 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57da2c62b25c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57da2c62b0b6 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x57da2c62b8e5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x57da2c62b746 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x57da2c629b39 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x57da2c6194cd - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x57da2c6580c0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x57da2c618f60 - nw_sys::shell::open_external::__wbg_openExternal_d5b1ffc797b52434::hafd6588bff0c7412 [INFO] [stdout] at /opt/rustwide/workdir/src/shell.rs:21:1 [INFO] [stdout] 17: 0x57da2c618f04 - nw_sys::shell::open_external::h4fe721a3f049f2e1 [INFO] [stdout] at /opt/rustwide/workdir/src/shell.rs:21:1 [INFO] [stdout] 18: 0x57da2c618e13 - rust_out::main::_doctest_main_src_shell_rs_7_0::hb75807edd06e0b22 [INFO] [stdout] 19: 0x57da2c618df6 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 20: 0x57da2c618d93 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 21: 0x57da2c618d76 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 22: 0x57da2c618d59 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 23: 0x57da2c625a70 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x57da2c625a70 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x57da2c625a70 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x57da2c625a70 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x57da2c625a70 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x57da2c625a70 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x57da2c625a70 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x57da2c625a70 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x57da2c625a70 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x57da2c618d41 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 33: 0x57da2c618e55 - main [INFO] [stdout] 34: 0x7467230f11ca - [INFO] [stdout] 35: 0x7467230f128b - __libc_start_main [INFO] [stdout] 36: 0x57da2c618c55 - _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.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "49518da427285f750c77706da572f075ca1ea28e8ae41235336093bf11d674de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49518da427285f750c77706da572f075ca1ea28e8ae41235336093bf11d674de", kill_on_drop: false }` [INFO] [stdout] 49518da427285f750c77706da572f075ca1ea28e8ae41235336093bf11d674de