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

rustc 1.64.0 编译失败 #82

Open
Dandelight opened this issue Apr 20, 2023 · 0 comments
Open

rustc 1.64.0 编译失败 #82

Dandelight opened this issue Apr 20, 2023 · 0 comments

Comments

@Dandelight
Copy link

源码

commit fac71d4f80e842fb77ac9e3bcb13bfac9646c15d

本机配置

  • macOS 13.3.1
  • Apple M2 芯片
  • rustc 1.64.0 (a55dd71d5 2022-09-19)

报错信息

error[E0658]: labels on blocks are unstable
  --> /Users/dandelight/.cargo/git/checkouts/biliup-rs-829415a975998464/db6706e/crates/biliup/src/server/errors.rs:58:39
   |
58 |             Self::AnyhowError(err) => 'e: {
   |                                       ^^
   |
   = note: see issue #48594 <https://github.com/rust-lang/rust/issues/48594> for more information

error[E0658]: `let...else` statements are unstable
   --> /Users/dandelight/.cargo/git/checkouts/biliup-rs-829415a975998464/db6706e/crates/biliup/src/server/core/download_actor.rs:136:9
    |
136 |         let Some(extractor) = find_extractor(&url) else { return; };
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information

error[E0658]: `let...else` statements are unstable
  --> /Users/dandelight/.cargo/git/checkouts/biliup-rs-829415a975998464/db6706e/crates/biliup/src/server/infrastructure/live_streamers_service.rs:48:9
   |
48 | /         let LiveStreamerEntity{ upload_id: Some(upload_id), .. } = self.repository.get_streamer_by_url(url).await? else {
49 | |             return Ok(None);
50 | |         };
   | |__________^
   |
   = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `biliup` due to 3 previous errors
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