BlackMIDIDevs / wasabi

The fastest and most memory efficient Black MIDI player. Can play virtually any Black MIDI you have in realtime.
GNU General Public License v3.0
27 stars 7 forks source link

error[E0432]: unresolved imports `core::ops::Coroutine`, `core::ops::CoroutineState` #50

Closed yurivict closed 12 months ago

yurivict commented 12 months ago
error[E0432]: unresolved imports `core::ops::Coroutine`, `core::ops::CoroutineState`
 --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/gen_iter.rs:3:17
  |
3 | use core::ops::{Coroutine, CoroutineState};
  |                 ^^^^^^^^^  ^^^^^^^^^^^^^^ no `CoroutineState` in `ops`
  |                 |
  |                 no `Coroutine` in `ops`

error[E0432]: unresolved imports `core::ops::Coroutine`, `core::ops::CoroutineState`
 --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/gen_iter_return.rs:3:17
  |
3 | use core::ops::{Coroutine, CoroutineState};
  |                 ^^^^^^^^^  ^^^^^^^^^^^^^^ no `CoroutineState` in `ops`
  |                 |
  |                 no `Coroutine` in `ops`

error[E0658]: yield syntax is experimental
  --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/gen_iter.rs:84:13
   |
84 |             yield 1;
   |             ^^^^^^^
   |
   = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information

error[E0658]: yield syntax is experimental
  --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/gen_iter.rs:85:13
   |
85 |             yield 2;
   |             ^^^^^^^
   |
   = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information

error[E0658]: yield syntax is experimental
   --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/gen_iter_return.rs:110:13
    |
110 |             yield 1;
    |             ^^^^^^^
    |
    = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information

error[E0658]: yield syntax is experimental
   --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/gen_iter_return.rs:133:13
    |
133 |             yield 1;
    |             ^^^^^^^
    |
    = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/lib.rs:60:12
   |
60 | #![feature(coroutines, coroutine_trait)]
   |            ^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/lib.rs:60:24
   |
60 | #![feature(coroutines, coroutine_trait)]
   |                        ^^^^^^^^^^^^^^^

error[E0635]: unknown feature `coroutines`
  --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/lib.rs:60:12
   |
60 | #![feature(coroutines, coroutine_trait)]
   |            ^^^^^^^^^^

error[E0635]: unknown feature `coroutine_trait`
  --> /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/lib.rs:60:24
   |
60 | #![feature(coroutines, coroutine_trait)]
   |                        ^^^^^^^^^^^^^^^

[shaderc-sys 0.8.2] [189/407] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/composite.cpp.o
Some errors have detailed explanations: E0432, E0554, E0635, E0658.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `gen-iter` (lib) due to 10 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=gen_iter CARGO_MANIFEST_DIR=/usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b CARGO_PKG_AUTHORS='tinaun <tinagma@gmail.com>' CARGO_PKG_DESCRIPTION='temporary util for creating iterators using generators' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gen-iter CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tinaun/gen-iter' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.4.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/usr/ports/audio/wasabi/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name gen_iter /usr/ports/audio/wasabi/work/gen-iter-64e28bc74b406030ff9bb3a3726a770a8fb4f78b/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=189 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 -C metadata=57ef14555cc67b7d -C extra-filename=-57ef14555cc67b7d --out-dir /usr/ports/audio/wasabi/work/target/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=cc -L dependency=/usr/ports/audio/wasabi/work/target/x86_64-unknown-freebsd/release/deps -L dependency=/usr/ports/audio/wasabi/work/target/release/deps -C link-arg=-fstack-protector-strong` (exit status: 1)

Version: 0.1.3 rust-1.73.0 FreeBSD 13.2

arduano commented 12 months ago

Update your nightly rust