[INFO] fetching crate nw-sys 0.1.6... [INFO] testing nw-sys-0.1.6 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate nw-sys 0.1.6 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nw-sys 0.1.6 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d116c25c9c751cc2da6a5cd7181864edb63df0dbb1b336147a394f54820c787e [INFO] running `Command { std: "docker" "start" "-a" "d116c25c9c751cc2da6a5cd7181864edb63df0dbb1b336147a394f54820c787e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d116c25c9c751cc2da6a5cd7181864edb63df0dbb1b336147a394f54820c787e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d116c25c9c751cc2da6a5cd7181864edb63df0dbb1b336147a394f54820c787e", kill_on_drop: false }` [INFO] [stdout] d116c25c9c751cc2da6a5cd7181864edb63df0dbb1b336147a394f54820c787e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea47e21a57d0550f149c66170a7a5c1314581120c206fa792bb7eb89d5a297d9 [INFO] running `Command { std: "docker" "start" "-a" "ea47e21a57d0550f149c66170a7a5c1314581120c206fa792bb7eb89d5a297d9", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling js-sys v0.3.82 [INFO] [stderr] Compiling web-sys v0.3.82 [INFO] [stderr] Compiling nw-sys v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.10s [INFO] running `Command { std: "docker" "inspect" "ea47e21a57d0550f149c66170a7a5c1314581120c206fa792bb7eb89d5a297d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea47e21a57d0550f149c66170a7a5c1314581120c206fa792bb7eb89d5a297d9", kill_on_drop: false }` [INFO] [stdout] ea47e21a57d0550f149c66170a7a5c1314581120c206fa792bb7eb89d5a297d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d1ffbb78b3334c99128cd45a74a8332cd2e002bb68ee5be3374b682d795cfe1 [INFO] running `Command { std: "docker" "start" "-a" "0d1ffbb78b3334c99128cd45a74a8332cd2e002bb68ee5be3374b682d795cfe1", 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.39s [INFO] running `Command { std: "docker" "inspect" "0d1ffbb78b3334c99128cd45a74a8332cd2e002bb68ee5be3374b682d795cfe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1ffbb78b3334c99128cd45a74a8332cd2e002bb68ee5be3374b682d795cfe1", kill_on_drop: false }` [INFO] [stdout] 0d1ffbb78b3334c99128cd45a74a8332cd2e002bb68ee5be3374b682d795cfe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 817ddffb33d1597004b79bf6000d0465f14945e55e811ea7a17efddbb6c9a803 [INFO] running `Command { std: "docker" "start" "-a" "817ddffb33d1597004b79bf6000d0465f14945e55e811ea7a17efddbb6c9a803", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nw_sys-3a8b63f1b40c2673) [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/app.rs - app::NwApp::filtered_argv_impl (line 15) ... FAILED [INFO] [stdout] test src/clipboard.rs - clipboard (line 6) ... FAILED [INFO] [stdout] test src/menu.rs - menu (line 5) ... FAILED [INFO] [stdout] test src/screen.rs - screen (line 42) ... FAILED [INFO] [stdout] test src/tray.rs - tray::Tray::set_menu (line 35) ... FAILED [INFO] [stdout] test src/chrome/notifications.rs - chrome::notifications (line 5) ... FAILED [INFO] [stdout] test src/window.rs - window (line 9) ... FAILED [INFO] [stdout] test src/tray.rs - tray (line 6) ... FAILED [INFO] [stdout] test src/screen.rs - screen (line 6) ... 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/shortcut.rs - shortcut (line 5) ... FAILED [INFO] [stdout] test src/options.rs - options (line 3) ... FAILED [INFO] [stdout] test src/app.rs - app::add_origin_access_whitelist_entry (line 17) ... FAILED [INFO] [stdout] test src/screen.rs - screen::desktop_capture_monitor::start (line 130) ... FAILED [INFO] [stdout] test src/tray.rs - tray::Tray::new (line 34) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/app.rs - app::filtered_argv (line 289) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/app.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | [ [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/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] 16 | [ [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/clipboard.rs - clipboard (line 6) stdout ---- [INFO] [stdout] error: cannot find macro `log_info` in this scope [INFO] [stdout] --> src/clipboard.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 8 | 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] 6 + mod nw; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use nw_sys::clipboard; [INFO] [stdout] | [INFO] [stdout] help: if you import `clipboard`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let clipboard = nw::clipboard::get(); [INFO] [stdout] 8 + 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] 11 | 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] 15 | 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] 18 | let text = clip.get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/menu.rs - menu (line 5) stdout ---- [INFO] [stdout] error: cannot find macro `log_trace` in this scope [INFO] [stdout] --> src/menu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 12 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 4 + 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] 13 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 4 + 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] 15 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 4 + 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] 36 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 4 + 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] 37 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 4 + 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] 40 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/menu.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | 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] 4 + 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/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] 44 | 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] 61 | 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] 55 | 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] 49 | 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] 73 | 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] 74 | 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] 75 | 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] 39 | 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] 38 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 34 + 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/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] 10 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 4 + 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] 20 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 4 + 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] 24 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 4 + 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] 28 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 4 + 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] 38 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 4 + 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] 48 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | 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] 4 + 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] 51 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | 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] 4 + 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] 55 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | 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] 4 + 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] 65 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/chrome/notifications.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 4 + 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/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] 11 | 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] 33 | 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] 17 | 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] 49 | 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] 50 | 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] 30 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/window.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 8 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tray.rs - tray (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] 8 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 5 + 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] 23 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 5 + 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 6) stdout ---- [INFO] [stdout] error: cannot find macro `log_info` in this scope [INFO] [stdout] --> src/screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 19 | 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] 13 | 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] 11 | 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] 5 + 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] 17 | 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] 5 + 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] 23 | 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] 5 + 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] 35 | 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] 36 | 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] 37 | 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] 11 | 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] 17 | 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] 23 | 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/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] 41 | 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] 41 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/shortcut.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 37 + 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' (141) 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: 0x558a3864a462 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x558a3864a462 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x558a3864a462 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x558a3864a462 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x558a38658fdf - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x558a38658fdf - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x558a38629163 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x558a38629163 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x558a3862e202 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x558a3862fa2c - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x558a3862f886 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x558a38630005 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x558a3862fe66 - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x558a3862e339 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x558a3861de2d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x558a3865bf10 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x558a3861d8d0 - nw_sys::shell::open_external::__wbg_openExternal_d5b1ffc797b52434::h5e2c15ebe1ac480d [INFO] [stdout] at /opt/rustwide/workdir/src/shell.rs:21:1 [INFO] [stdout] 17: 0x558a3861d874 - nw_sys::shell::open_external::h459490f6a75084f7 [INFO] [stdout] at /opt/rustwide/workdir/src/shell.rs:21:1 [INFO] [stdout] 18: 0x558a3861d793 - rust_out::main::_doctest_main_src_shell_rs_7_0::h9527cbcba8185551 [INFO] [stdout] 19: 0x558a3861d776 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 20: 0x558a3861d713 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 21: 0x558a3861d6f6 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 22: 0x558a3861d6d9 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 23: 0x558a3862a280 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x558a3862a280 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x558a3862a280 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x558a3862a280 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x558a3862a280 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x558a3862a280 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x558a3862a280 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x558a3862a280 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x558a3862a280 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x558a3861d6c1 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 33: 0x558a3861d7d5 - main [INFO] [stdout] 34: 0x7e29294581ca - [INFO] [stdout] 35: 0x7e292945828b - __libc_start_main [INFO] [stdout] 36: 0x558a3861d5d5 - _start [INFO] [stdout] 37: 0x0 - [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] 7 | 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] 16 | 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] 28 | 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] 10 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/shortcut.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 4 + use crate::nw_sys::options::OptionsTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options.rs - options (line 3) stdout ---- [INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s [INFO] [stdout] --> src/options.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not applicable here [INFO] [stdout] 10 | 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] 6 | #[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] 3 + 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] 8 | #[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] 3 + 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] 13 | 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] 3 + use nw_sys::options; [INFO] [stdout] | [INFO] [stdout] help: if you import `options`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - impl workflow_wasm::options::OptionsTrait for MyOptions{} [INFO] [stdout] 13 + 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] 19 | 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] 3 + 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] 24 | 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] 3 + 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] 10 | 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-11-06; 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::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' (158) 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: 0x61308f2e84c2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61308f2e84c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61308f2e84c2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61308f2e84c2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61308f2f703f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61308f2f703f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x61308f2c71c3 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61308f2c71c3 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61308f2cc262 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61308f2cda8c - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61308f2cd8e6 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x61308f2ce065 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x61308f2cdec6 - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x61308f2cc399 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x61308f2bbe8d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x61308f2f9f70 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x61308f2bba19 - nw_sys::app::add_origin_access_whitelist_entry::__wbg_addOriginAccessWhitelistEntry_b5b5fa57d609efe3::h9523bc7cd034dfd5 [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:13:1 [INFO] [stdout] 17: 0x61308f2bb930 - nw_sys::app::add_origin_access_whitelist_entry::h627b5b5858e739e6 [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:13:1 [INFO] [stdout] 18: 0x61308f2bb763 - rust_out::main::_doctest_main_src_app_rs_17_0::hd2f27bc49bec56be [INFO] [stdout] 19: 0x61308f2bb726 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 20: 0x61308f2bb6c3 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 21: 0x61308f2bb6a6 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 22: 0x61308f2bb689 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 23: 0x61308f2c82e0 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x61308f2c82e0 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x61308f2c82e0 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x61308f2c82e0 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x61308f2c82e0 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x61308f2c82e0 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61308f2c82e0 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61308f2c82e0 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61308f2c82e0 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x61308f2bb671 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 33: 0x61308f2bb785 - main [INFO] [stdout] 34: 0x77aca19971ca - [INFO] [stdout] 35: 0x77aca199728b - __libc_start_main [INFO] [stdout] 36: 0x61308f2bb585 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [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] 131 | 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] 130 + mod nw; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 130 + 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] 131 - nw::screen::desktop_capture_monitor::start(true, true); [INFO] [stdout] 131 + 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/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] 37 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/cmp.rs:264:4 [INFO] [stdout] note: the function `new` is implemented on `js_sys::Object` [INFO] [stdout] --> src/tray.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 33 + 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] [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.59s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "817ddffb33d1597004b79bf6000d0465f14945e55e811ea7a17efddbb6c9a803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "817ddffb33d1597004b79bf6000d0465f14945e55e811ea7a17efddbb6c9a803", kill_on_drop: false }` [INFO] [stdout] 817ddffb33d1597004b79bf6000d0465f14945e55e811ea7a17efddbb6c9a803