Skip to content

cargo build spectacularly fails #3

@Acors24

Description

@Acors24

The build process fails with about 34 errors after cloning the repo and running cargo build on both Linux and Windows 10, even with a clean Rust 1.78.0 install.

The errors are related to crates string_enum, swc_macros_common, syn (appearing in at least 2 very different versions), enum_kind, ast_node and darling_core, by the looks of it, starting with:

error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
  --> C:\Users\obama\.cargo\registry\src\index.crates.io-6f17d22bba15001f\string_enum-0.3.4\src\lib.rs:89:16
   |
89 |     Quote::new(def_site::<Span>())
   |                ^^^^^^^^-------- help: remove these generics
   |                |
   |                expected 0 generic arguments
   |
note: function defined here, with 0 generic parameters
  --> C:\Users\obama\.cargo\registry\src\index.crates.io-6f17d22bba15001f\swc_macros_common-0.3.11\src\lib.rs:22:8
   |
22 | pub fn def_site() -> Span {
   |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions