Skip to content

Cannot build from Git #122

@clin1234

Description

@clin1234
error[E0107]: missing generics for struct `ZipFile`
   --> src/index.rs:200:40
    |
200 |         let json = serde_json::from_reader::<ZipFile, SimpleModJson>(json_file)
    |                                              ^^^^^^^ expected 1 generic argument
    |
note: struct defined here, with 1 generic parameter: `R`
   --> /home/cc/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zip-2.6.1/src/read.rs:252:12
    |
252 | pub struct ZipFile<'a, R: Read> {
    |            ^^^^^^^     -
help: add missing generic argument
    |
200 |         let json = serde_json::from_reader::<ZipFile<R>, SimpleModJson>(json_file)
    |                                                     +++

For more information about this error, try `rustc --explain E0107`.
error: could not compile `geode` (bin "geode") due to 1 previous error
error: failed to compile `geode v3.7.0 (https://github.com/geode-sdk/cli#38c0d5a1)`, intermediate artifacts can be found at `/tmp/cargo-installkPhCpv`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions