Closed
Description
Hi there,
I don't seem to be able to install gitoxide via cargo on macOS Catalina, despite the builds passing. I get the same errors when running the default (max) and max-termion feature:
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:10:26
|
10 | #[clap(long, short = "t")]
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:17:26
|
17 | #[clap(long, short = "v")]
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:33:17
|
33 | short = "f",
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:49:30
|
49 | #[clap(long, short = "p")]
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:55:30
|
55 | #[clap(long, short = "r")]
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:76:30
|
76 | #[clap(long, short = "p")]
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:96:21
|
96 | short = "i",
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:105:30
|
105 | #[clap(long, short = "p")]
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:131:21
|
131 | short = "c",
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:158:30
|
158 | #[clap(long, short = "s")]
| ^^^ expected `char`, found `&str`
error[E0308]: mismatched types
--> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/gitoxide-0.4.1/src/plumbing/pretty/options.rs:163:21
|
163 | short = "a",
| ^^^ expected `char`, found `&str`
error: aborting due to 11 previous errors
For more information about this error, try `rustc --explain E0308`.
error: could not compile `gitoxide`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `gitoxide v0.4.1`, intermediate artifacts can be found at `/var/folders/kt/mnhg_d0d261668l69cs_m2vh0000gn/T/cargo-installJ5NecG`
Let me know if you need any more info.
Metadata
Metadata
Assignees
Labels
No labels