-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug you encountered:
Not able to build version 0.18.3 using cargo install bat
on Rust 1.57.0, x86_64-unknown-linux-gnu
. (Originally encountered when trying to install cargo-expand
, but this happens when trying to install just bat
as well.)
❯ cargo install bat
...
error[E0599]: no method named `add_from_folder` found for struct `ThemeSet` in the current scope
--> /home/yami/.cargo/registry/src/github.com-1ecc6299db9ec823/bat-0.18.3/src/assets.rs:59:33
|
59 | let res = theme_set.add_from_folder(&theme_dir);
| ^^^^^^^^^^^^^^^ method not found in `ThemeSet`
For more information about this error, try `rustc --explain E0599`.
error: failed to compile `bat v0.18.3`, intermediate artifacts can be found at `/tmp/cargo-installpeRs2H`
Caused by:
could not compile `bat` due to previous error
What did you expect to happen instead?
bat
builds without error.
How did you install bat
?
cargo install bat
bat version and environment
❯ rustc -Vv
rustc 1.57.0 (f1edd0429 2021-11-29)
binary: rustc
commit-hash: f1edd0429582dd29cccacaf50fd134b05593bd9c
commit-date: 2021-11-29
host: x86_64-unknown-linux-gnu
release: 1.57.0
LLVM version: 13.0.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working