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

Compile error ErrorKind #2545

Closed
IsotoxalDev opened this issue May 23, 2022 · 2 comments
Closed

Compile error ErrorKind #2545

IsotoxalDev opened this issue May 23, 2022 · 2 comments
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@IsotoxalDev
Copy link
Contributor

Summary

I was compiling the master branch of helix and the build failed.
with the following error

 ❯ cargo install --path helix-term
  Installing helix-term v0.6.0 (/var/home/abhi/Downloads/clones/helix/helix-term)
    Updating crates.io index
   Compiling helix-view v0.6.0 (/var/home/abhi/Downloads/clones/helix/helix-view)
   Compiling helix-term v0.6.0 (/var/home/abhi/Downloads/clones/helix/helix-term)
error[E0277]: `ErrorKind` doesn't implement `std::fmt::Display`
   --> helix-view/src/handlers/dap.rs:305:81
    |
305 | ...                   e => panic!("Error to start debug console: {}", e),
    |                                                                       ^ `ErrorKind` cannot be formatted with the default formatter
    |
    = help: the trait `std::fmt::Display` is not implemented for `ErrorKind`
    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
    = note: this error originates in the macro `$crate::const_format_args` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `helix-view` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `helix-term v0.6.0 (/var/home/abhi/Downloads/clones/helix/helix-term)`, intermediate artifacts can be found at `/var/home/abhi/Downloads/clones/helix/target`

Reproduction Steps

Clone the repository, Compile

Helix log

No response

Platform

Linux

Terminal Emulator

Alacritty

Helix Version

22.03-243-g35303f74

@IsotoxalDev IsotoxalDev added the C-bug Category: This is a bug label May 23, 2022
@the-mikedavis
Copy link
Member

Duplicate of #2460

@the-mikedavis the-mikedavis marked this as a duplicate of #2460 May 23, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label May 23, 2022
@the-mikedavis
Copy link
Member

#2529 will fix it but you can rustup update stable to update your local rust version in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants