Advertisement
cheako

Untitled

Feb 9th, 2020
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.61 KB | None | 0 0
  1. > Executing task in folder service-worker: wasm-pack build --debug -t web <
  2.  
  3. [INFO]: Checking for the Wasm target...
  4. [INFO]: Compiling to Wasm...
  5. warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
  6. package:   /home/srv_websuite/src/websuite/notes/index/Cargo.toml
  7. workspace: /home/srv_websuite/src/websuite/Cargo.toml
  8. warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
  9. package:   /home/srv_websuite/src/websuite/notes/service-worker/Cargo.toml
  10. workspace: /home/srv_websuite/src/websuite/Cargo.toml
  11.    Compiling notes-worker v0.1.0 (/home/srv_websuite/src/websuite/notes/service-worker)
  12. error[E0433]: failed to resolve: use of undeclared type or module `JsString`
  13.  
  14. error[E0425]: cannot find value `r` in this scope
  15.  
  16. error[E0308]: mismatched types
  17.  
  18. error[E0308]: mismatched types
  19.  
  20. error[E0308]: mismatched types
  21.   |
  22.   = note: expected unit type `()`
  23.                   found enum `std::result::Result<js_sys::Promise, wasm_bindgen::JsValue>`
  24.  
  25. error: aborting due to 5 previous errors
  26.  
  27. Some errors have detailed explanations: E0308, E0425, E0433.
  28. For more information about an error, try `rustc --explain E0308`.
  29. error: could not compile `notes-worker`.
  30.  
  31. To learn more, run the command again with --verbose.
  32. Error: Compiling your crate to WebAssembly failed
  33. Caused by: failed to execute `cargo build`: exited with exit code: 101
  34.   full command: "cargo" "build" "--lib" "--target" "wasm32-unknown-unknown"
  35. The terminal process terminated with exit code: 1
  36.  
  37. Terminal will be reused by tasks, press any key to close it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement