Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > Executing task in folder service-worker: wasm-pack build --debug -t web <
- [INFO]: Checking for the Wasm target...
- [INFO]: Compiling to Wasm...
- warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
- package: /home/srv_websuite/src/websuite/notes/index/Cargo.toml
- workspace: /home/srv_websuite/src/websuite/Cargo.toml
- warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
- package: /home/srv_websuite/src/websuite/notes/service-worker/Cargo.toml
- workspace: /home/srv_websuite/src/websuite/Cargo.toml
- Compiling notes-worker v0.1.0 (/home/srv_websuite/src/websuite/notes/service-worker)
- error[E0433]: failed to resolve: use of undeclared type or module `JsString`
- error[E0425]: cannot find value `r` in this scope
- error[E0308]: mismatched types
- error[E0308]: mismatched types
- error[E0308]: mismatched types
- |
- = note: expected unit type `()`
- found enum `std::result::Result<js_sys::Promise, wasm_bindgen::JsValue>`
- error: aborting due to 5 previous errors
- Some errors have detailed explanations: E0308, E0425, E0433.
- For more information about an error, try `rustc --explain E0308`.
- error: could not compile `notes-worker`.
- To learn more, run the command again with --verbose.
- Error: Compiling your crate to WebAssembly failed
- Caused by: failed to execute `cargo build`: exited with exit code: 101
- full command: "cargo" "build" "--lib" "--target" "wasm32-unknown-unknown"
- The terminal process terminated with exit code: 1
- Terminal will be reused by tasks, press any key to close it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement