cli icon indicating copy to clipboard operation
cli copied to clipboard

Cannot build from Git

Open clin1234 opened this issue 8 months ago • 2 comments

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`.

clin1234 avatar May 10 '25 00:05 clin1234

Are you using cargo install? If so, then use cargo install --path . --locked.

hiimjasmine00 avatar May 10 '25 00:05 hiimjasmine00

Are you using cargo install? If so, then use cargo install --path . --locked.

Yes

clin1234 avatar May 10 '25 01:05 clin1234