Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skim causes build errors #4

Open
esavier opened this issue Nov 9, 2020 · 0 comments
Open

skim causes build errors #4

esavier opened this issue Nov 9, 2020 · 0 comments

Comments

@esavier
Copy link

esavier commented Nov 9, 2020

rustc 1.49.0-nightly (7bade6ef7 2020-10-23)

for some reason it happens only with cargo install
building from source works ok

error[E0277]: ColorWrapper doesn't implement std::fmt::Debug
--> /home/esavier/.cargo/registry/src/github.com-1ecc6299db9ec823/skim-0.5.5/src/curses.rs:804:6
|
804 | impl color::Color for ColorWrapper {
| ^^^^^^^^^^^^ ColorWrapper cannot be formatted using {:?}
|
::: /home/esavier/.cargo/registry/src/github.com-1ecc6299db9ec823/termion-1.5.5/src/color.rs:25:18
|
25 | pub trait Color: Debug {
| ----- required by this bound in Color
|
= help: the trait std::fmt::Debug is not implemented for ColorWrapper
= note: add #[derive(Debug)] or manually implement std::fmt::Debug

error[E0277]: ColorWrapper doesn't implement std::fmt::Debug
--> /home/esavier/.cargo/registry/src/github.com-1ecc6299db9ec823/skim-0.5.5/src/curses.rs:813:10
|
813 | impl<'a> color::Color for &'a ColorWrapper {
| ^^^^^^^^^^^^ ColorWrapper cannot be formatted using {:?}
|
::: /home/esavier/.cargo/registry/src/github.com-1ecc6299db9ec823/termion-1.5.5/src/color.rs:25:18
|
25 | pub trait Color: Debug {
| ----- required by this bound in Color
|
= help: the trait std::fmt::Debug is not implemented for ColorWrapper
= note: add #[derive(Debug)] or manually implement std::fmt::Debug
= note: required because of the requirements on the impl of std::fmt::Debug for &'a ColorWrapper

error: aborting due to 2 previous errors

For more information about this error, try rustc --explain E0277.
error: could not compile skim

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile nzb v0.5.3, intermediate artifacts can be found at /tmp/cargo-installn41s8x

Caused by:
build failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant