You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing shuttle on the most recent version of stable Rust (1.70.0) fails. I've attached a copy of the logs alongside this issue.
Version
v0.17.0
Which operating system(s) are you seeing the problem on?
macOS
Which CPU architectures are you seeing the problem on?
ARM64
Relevant log output
error[E0308]: mismatched types
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/shuttle-common-0.17.0/src/models/error.rs:27:43
|
27 |self.message.to_string().with(Color::Red)
| ---- ^^^^^^^^^^ expected `crossterm::style::Color`, found `comfy_table::Color`||| arguments to this method are incorrect
|
= note: `comfy_table::Color` and `crossterm::style::Color` have similar names, but are actually distinct types
note: `comfy_table::Color` is defined in crate `crossterm`
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.26.1/src/style/types/color.rs:28:1
|
28 | pub enum Color {
| ^^^^^^^^^^^^^^
note: `crossterm::style::Color` is defined in crate `crossterm`
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.25.0/src/style/types/color.rs:28:1
|
28 | pub enum Color {
| ^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `crossterm` are being used?
note: method defined here
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.25.0/src/style/stylize.rs:78:8
|
78 | fn with(self, color: Color) -> Self::Styled {
| ^^^^
error[E0308]: mismatched types
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/shuttle-common-0.17.0/src/models/service.rs:45:27
|
45 |.with(deployment.state.get_color()),
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `crossterm::style::Color`, found `comfy_table::Color`||| arguments to this method are incorrect
|
= note: `comfy_table::Color` and `crossterm::style::Color` have similar names, but are actually distinct types
note: `comfy_table::Color` is defined in crate `crossterm`
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.26.1/src/style/types/color.rs:28:1
|
28 | pub enum Color {
| ^^^^^^^^^^^^^^
note: `crossterm::style::Color` is defined in crate `crossterm`
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.25.0/src/style/types/color.rs:28:1
|
28 | pub enum Color {
| ^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `crossterm` are being used?
note: method defined here
--> /Users/toks/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossterm-0.25.0/src/style/stylize.rs:78:8
|
78 | fn with(self, color: Color) -> Self::Styled {
| ^^^^
For more information about this error, try `rustc --explain E0308`.
Duplicate declaration
I have searched the issues and there are none like this.
The text was updated successfully, but these errors were encountered:
Hey! This has been resolved in #961, but the fix won't be released until monday. Until then you can work around this by running cargo install cargo-shuttle --locked, or you can use binstall. Apologies for the lack of visibility on this though, so thanks for opening this issue, we'll leave it up until release!
What happened?
Installing shuttle on the most recent version of stable Rust (
1.70.0
) fails. I've attached a copy of the logs alongside this issue.Version
v0.17.0
Which operating system(s) are you seeing the problem on?
macOS
Which CPU architectures are you seeing the problem on?
ARM64
Relevant log output
Duplicate declaration
The text was updated successfully, but these errors were encountered: