drone-os / drone

CLI utility for Drone, an Embedded Operating System.
https://www.drone-os.com/
Apache License 2.0
165 stars 20 forks source link

cargo install drone #30

Open saisilcastro opened 5 months ago

saisilcastro commented 5 months ago

When I try to install drone with: cargo install drone

it gives me those errors:

error[E0557]: feature has been removed --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/lib.rs:31:12 31 #![feature(generators)] ^^^^^^^^^^ feature has been removed

= note: renamed to coroutines

error[E0432]: unresolved imports std::ops::Generator, std::ops::GeneratorState --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/heap/trace.rs:7:11 7 ops::{Generator, GeneratorState}, ^^^^^^^^^ ^^^^^^^^^^^^^^ no GeneratorState in ops
no Generator in ops

error[E0432]: unresolved import std::ops::Generator --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/dso.rs:5:11 | 5 | use std::{ops::Generator, pin::Pin}; | ^^^^^^^^^^^^^^ no Generator in ops

error[E0432]: unresolved import std::ops::Generator --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/swo.rs:5:11 | 5 | use std::{ops::Generator, pin::Pin}; | ^^^^^^^^^^^^^^ no Generator in ops

error[E0432]: unresolved imports std::ops::Generator, std::ops::GeneratorState --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/mod.rs:14:11 14 ops::{Generator, GeneratorState}, ^^^^^^^^^ ^^^^^^^^^^^^^^ no GeneratorState in ops
no Generator in ops
error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/heap/trace.rs:187:21 187 yield Packet::Alloc { size }; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
= help: add `#![feature(coroutines)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/heap/trace.rs:200:21 200 yield Packet::Dealloc { size }; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
= help: add `#![feature(coroutines)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/heap/trace.rs:214:21 214 yield Packet::Grow { old_size, new_size }; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
= help: add `#![feature(coroutines)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/heap/trace.rs:228:21 228 yield Packet::Shrink { old_size, new_size }; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
= help: add `#![feature(coroutines)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/dso.rs:19:24 19 byte = yield; ^^^^^

= note: see issue #43122 https://github.com/rust-lang/rust/issues/43122 for more information = help: add #![feature(coroutines)] to the crate attributes to enable = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date

error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/dso.rs:23:34 23 payload.push(yield); ^^^^^

= note: see issue #43122 https://github.com/rust-lang/rust/issues/43122 for more information = help: add #![feature(coroutines)] to the crate attributes to enable = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date

error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/dso.rs:34:20 34 byte = yield; ^^^^^

= note: see issue #43122 https://github.com/rust-lang/rust/issues/43122 for more information = help: add #![feature(coroutines)] to the crate attributes to enable = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date

error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/swo.rs:33:36 33 let byte = yield; ^^^^^

= note: see issue #43122 https://github.com/rust-lang/rust/issues/43122 for more information = help: add #![feature(coroutines)] to the crate attributes to enable = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date

error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/swo.rs:57:36 57 let byte = yield; ^^^^^

= note: see issue #43122 https://github.com/rust-lang/rust/issues/43122 for more information = help: add #![feature(coroutines)] to the crate attributes to enable = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date

error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/swo.rs:89:36 89 let byte = yield; ^^^^^

= note: see issue #43122 https://github.com/rust-lang/rust/issues/43122 for more information = help: add #![feature(coroutines)] to the crate attributes to enable = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date

error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/swo.rs:114:38 114 payload.push(yield); ^^^^^
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
= help: add `#![feature(coroutines)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
error[E0658]: yield syntax is experimental --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/log/swo.rs:119:28 119 bytes.push(yield); ^^^^^
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
= help: add `#![feature(coroutines)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date

error[E0635]: unknown feature generator_trait --> /home/mister-coder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/drone-0.14.0/src/lib.rs:30:12 | 30 | #![feature(generator_trait)] | ^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0432, E0557, E0635, E0658. For more information about an error, try rustc --explain E0432. error: could not compile drone (lib) due to 18 previous errors error: failed to compile drone v0.14.0, intermediate artifacts can be found at /tmp/cargo-installuKcIZW. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

saisilcastro commented 5 months ago

I've tried with:

cargo +nightly install drone

but with no success. I've tried to set the CARGO_TARGET_DIR to /tmp/cargo-installuKcIZW with no success