Cargo build fails
leobragaz opened this issue · 2 comments
leobragaz commented
Hi, I was trying to build this library to use its webtonic-client but it looks like it doesn't compile at all due to some errors inside js-sys
dependency. This error happened also after updating dependencies.
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:639:39
|
639 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:649:39
|
649 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:660:39
|
660 | #[wasm_bindgen(js_namespace = Atomics, catch, js_name = compareExchange)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:674:39
|
674 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:683:39
|
683 | #[wasm_bindgen(js_namespace = Atomics, js_name = isLockFree)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:690:39
|
690 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:699:39
|
699 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:703:39
|
703 | #[wasm_bindgen(js_namespace = Atomics, catch, js_name = notify)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:716:39
|
716 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:723:39
|
723 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:732:39
|
732 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:743:39
|
743 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:749:39
|
749 | #[wasm_bindgen(js_namespace = Atomics, catch, js_name = wait)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:764:39
|
764 | #[wasm_bindgen(js_namespace = Atomics, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1576:39
|
1576 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1584:39
|
1584 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1592:39
|
1592 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1600:39
|
1600 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1607:39
|
1607 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1613:39
|
1613 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1620:39
|
1620 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1628:39
|
1628 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1635:39
|
1635 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1642:39
|
1642 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1649:39
|
1649 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1656:39
|
1656 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1663:39
|
1663 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1670:39
|
1670 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1677:39
|
1677 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1684:39
|
1684 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1691:39
|
1691 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1697:39
|
1697 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1704:39
|
1704 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1711:39
|
1711 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1717:39
|
1717 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1722:39
|
1722 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1728:39
|
1728 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1734:39
|
1734 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1740:39
|
1740 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1746:39
|
1746 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1756:39
|
1756 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1762:39
|
1762 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1769:39
|
1769 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1775:39
|
1775 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1782:39
|
1782 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1789:39
|
1789 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1795:39
|
1795 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1802:39
|
1802 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1809:39
|
1809 | #[wasm_bindgen(js_namespace = Math)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2765:39
|
2765 | #[wasm_bindgen(js_namespace = Reflect, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2777:39
|
2777 | #[wasm_bindgen(js_namespace = Reflect, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2785:39
|
2785 | #[wasm_bindgen(js_namespace = Reflect, js_name = construct, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2796:39
|
2796 | #[wasm_bindgen(js_namespace = Reflect, js_name = defineProperty, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2807:39
|
2807 | #[wasm_bindgen(js_namespace = Reflect, js_name = deleteProperty, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2814:39
|
2814 | #[wasm_bindgen(js_namespace = Reflect, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2819:39
|
2819 | #[wasm_bindgen(js_namespace = Reflect, js_name = "get", catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2824:39
|
2824 | #[wasm_bindgen(js_namespace = Reflect, js_name = "get", catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2832:39
|
2832 | #[wasm_bindgen(js_namespace = Reflect, js_name = getOwnPropertyDescriptor, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2844:39
|
2844 | #[wasm_bindgen(js_namespace = Reflect, js_name = getPrototypeOf, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2851:39
|
2851 | #[wasm_bindgen(js_namespace = Reflect, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2859:39
|
2859 | #[wasm_bindgen(js_namespace = Reflect, js_name = isExtensible, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2866:39
|
2866 | #[wasm_bindgen(js_namespace = Reflect, js_name = ownKeys, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2875:39
|
2875 | #[wasm_bindgen(js_namespace = Reflect, js_name = preventExtensions, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2882:39
|
2882 | #[wasm_bindgen(js_namespace = Reflect, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2891:39
|
2891 | #[wasm_bindgen(js_namespace = Reflect, js_name = "set", catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2900:39
|
2900 | #[wasm_bindgen(js_namespace = Reflect, js_name = "set", catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2911:39
|
2911 | #[wasm_bindgen(js_namespace = Reflect, js_name = set, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:2925:39
|
2925 | #[wasm_bindgen(js_namespace = Reflect, js_name = setPrototypeOf, catch)]
| ^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3342:39
|
3342 | #[wasm_bindgen(js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3349:39
|
3349 | #[wasm_bindgen(js_namespace = WebAssembly, js_name = instantiate)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3356:39
|
3356 | #[wasm_bindgen(js_namespace = WebAssembly, js_name = instantiate)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3365:39
|
3365 | #[wasm_bindgen(js_namespace = WebAssembly, js_name = instantiateStreaming)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3373:39
|
3373 | #[wasm_bindgen(js_namespace = WebAssembly, catch)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3385:56
|
3385 | #[wasm_bindgen(extends = Error, js_namespace = WebAssembly, typescript_type = "WebAssembly.CompileError")]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3394:52
|
3394 | #[wasm_bindgen(constructor, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3407:57
|
3407 | #[wasm_bindgen(extends = Object, js_namespace = WebAssembly, typescript_type = "WebAssembly.Instance")]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3417:59
|
3417 | #[wasm_bindgen(catch, constructor, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3426:55
|
3426 | #[wasm_bindgen(getter, method, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3438:56
|
3438 | #[wasm_bindgen(extends = Error, js_namespace = WebAssembly, typescript_type = "WebAssembly.LinkError")]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3447:52
|
3447 | #[wasm_bindgen(constructor, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3459:56
|
3459 | #[wasm_bindgen(extends = Error, js_namespace = WebAssembly, typescript_type = "WebAssembly.RuntimeError")]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3468:52
|
3468 | #[wasm_bindgen(constructor, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3480:39
|
3480 | #[wasm_bindgen(js_namespace = WebAssembly, extends = Object, typescript_type = "WebAssembly.Module")]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3489:52
|
3489 | #[wasm_bindgen(constructor, js_namespace = WebAssembly, catch)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3497:66
|
3497 | #[wasm_bindgen(static_method_of = Module, js_namespace = WebAssembly, js_name = customSections)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3504:66
|
3504 | #[wasm_bindgen(static_method_of = Module, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3511:66
|
3511 | #[wasm_bindgen(static_method_of = Module, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3522:39
|
3522 | #[wasm_bindgen(js_namespace = WebAssembly, extends = Object, typescript_type = "WebAssembly.Table")]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3530:52
|
3530 | #[wasm_bindgen(constructor, js_namespace = WebAssembly, catch)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3538:55
|
3538 | #[wasm_bindgen(method, getter, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3545:54
|
3545 | #[wasm_bindgen(method, catch, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3553:54
|
3553 | #[wasm_bindgen(method, catch, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3560:54
|
3560 | #[wasm_bindgen(method, catch, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3568:39
|
3568 | #[wasm_bindgen(js_namespace = WebAssembly, extends = Object, typescript_type = "WebAssembly.Memory")]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3580:52
|
3580 | #[wasm_bindgen(constructor, js_namespace = WebAssembly, catch)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3587:55
|
3587 | #[wasm_bindgen(method, getter, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3598:47
|
3598 | #[wasm_bindgen(method, js_namespace = WebAssembly)]
| ^^^^^^^^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3618:46
|
3618 | #[wasm_bindgen(catch, js_namespace = JSON)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3624:46
|
3624 | #[wasm_bindgen(catch, js_namespace = JSON)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3636:46
|
3636 | #[wasm_bindgen(catch, js_namespace = JSON, js_name = stringify)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:3660:46
|
3660 | #[wasm_bindgen(catch, js_namespace = JSON, js_name = stringify)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4420:70
|
4420 | #[wasm_bindgen(js_name = getCanonicalLocales, js_namespace = Intl)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4431:57
|
4431 | #[wasm_bindgen(extends = Object, js_namespace = Intl, typescript_type = "Intl.Collator")]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4439:52
|
4439 | #[wasm_bindgen(constructor, js_namespace = Intl)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4455:47
|
4455 | #[wasm_bindgen(method, js_namespace = Intl, js_name = resolvedOptions)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4464:68
|
4464 | #[wasm_bindgen(static_method_of = Collator, js_namespace = Intl, js_name = supportedLocalesOf)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4475:57
|
4475 | #[wasm_bindgen(extends = Object, js_namespace = Intl, typescript_type = "Intl.DateTimeFormat")]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4483:52
|
4483 | #[wasm_bindgen(constructor, js_namespace = Intl)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4506:47
|
4506 | #[wasm_bindgen(method, js_namespace = Intl, js_name = resolvedOptions)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4515:74
|
4515 | #[wasm_bindgen(static_method_of = DateTimeFormat, js_namespace = Intl, js_name = supportedLocalesOf)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4526:57
|
4526 | #[wasm_bindgen(extends = Object, js_namespace = Intl, typescript_type = "Intl.NumberFormat")]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4534:52
|
4534 | #[wasm_bindgen(constructor, js_namespace = Intl)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4557:47
|
4557 | #[wasm_bindgen(method, js_namespace = Intl, js_name = resolvedOptions)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4565:72
|
4565 | #[wasm_bindgen(static_method_of = NumberFormat, js_namespace = Intl, js_name = supportedLocalesOf)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4576:57
|
4576 | #[wasm_bindgen(extends = Object, js_namespace = Intl, typescript_type = "Intl.PluralRules")]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4584:52
|
4584 | #[wasm_bindgen(constructor, js_namespace = Intl)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4592:47
|
4592 | #[wasm_bindgen(method, js_namespace = Intl, js_name = resolvedOptions)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4599:47
|
4599 | #[wasm_bindgen(method, js_namespace = Intl)]
| ^^^^
error: expected `,`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4607:71
|
4607 | #[wasm_bindgen(static_method_of = PluralRules, js_namespace = Intl, js_name = supportedLocalesOf)]
| ^^^^
error[E0425]: cannot find function `get` in module `Reflect`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:1524:28
|
1524 | let iter_fn = Reflect::get(val, iter_sym.as_ref())?;
| ^^^ not found in `Reflect`
|
help: consider importing this function
|
21 | use std::rt::panic_count::get;
|
error[E0412]: cannot find type `Memory` in module `WebAssembly`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4933:60
|
4933 | let mem = buf.unchecked_ref::<WebAssembly::Memory>();
| ^^^^^^ not found in `WebAssembly`
...
5024 | / arrays! {
5025 | | /// `Int8Array()`
5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array
5027 | | Int8Array: i8,
... |
5059 | | Float64Array: f64,
5060 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Memory` in module `WebAssembly`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4958:60
|
4958 | let mem = buf.unchecked_ref::<WebAssembly::Memory>();
| ^^^^^^ not found in `WebAssembly`
...
5024 | / arrays! {
5025 | | /// `Int8Array()`
5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array
5027 | | Int8Array: i8,
... |
5059 | | Float64Array: f64,
5060 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Memory` in module `WebAssembly`
--> /Users/leonardo/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.49/src/lib.rs:4968:60
|
4968 | let mem = buf.unchecked_ref::<WebAssembly::Memory>();
| ^^^^^^ not found in `WebAssembly`
...
5024 | / arrays! {
5025 | | /// `Int8Array()`
5026 | | /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array
5027 | | Int8Array: i8,
... |
5059 | | Float64Array: f64,
5060 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 123 previous errors
Some errors have detailed explanations: E0412, E0425.
For more information about an error, try `rustc --explain E0412`.
error: build failed
Sawchord commented
Hey, I could not recreate your error.
I published a new version with all dependencies updates, including js-sys
to 0.3.50
.
Does it work now?
leobragaz commented
It worked thanks!