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

cargo install jira-terminal failed #21

Closed
songtianyi opened this issue Aug 26, 2021 · 1 comment
Closed

cargo install jira-terminal failed #21

songtianyi opened this issue Aug 26, 2021 · 1 comment

Comments

@songtianyi
Copy link

error[E0658]: use of unstable library feature 'str_split_once': newly added
  --> /Users/songtianyi/.cargo/registry/src/github.com-1ecc6299db9ec823/jira-terminal-1.4.0/src/jira/new_issue.rs:59:58
   |
59 |                 if let Some((key, value)) = custom_field.split_once(":") {
   |                                                          ^^^^^^^^^^
   |
   = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information
   = help: add `#![feature(str_split_once)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'str_split_once': newly added
   --> /Users/songtianyi/.cargo/registry/src/github.com-1ecc6299db9ec823/jira-terminal-1.4.0/src/jira/new_issue.rs:108:26
    |
108 |         let split = main.split_once("-");
    |                          ^^^^^^^^^^
    |
    = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information
    = help: add `#![feature(str_split_once)]` to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: failed to compile `jira-terminal v1.4.0`, intermediate artifacts can be found at `/var/folders/db/wkkn_2bs71s7gj97hh1rw40c0000gn/T/cargo-installbiQt2Y`

Caused by:
  could not compile `jira-terminal`
@songtianyi
Copy link
Author

I switch the toolchain to the latest stable, build succeeds.

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