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 drone #30

Open
saisilcastro opened this issue Apr 24, 2024 · 1 comment
Open

cargo install drone #30

saisilcastro opened this issue Apr 24, 2024 · 1 comment

Comments

@saisilcastro
Copy link

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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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
Copy link
Author

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

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