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

Problem compiling jormungandr-lib v0.8.9 #25

Open
PeaStew opened this issue Jun 5, 2020 · 0 comments
Open

Problem compiling jormungandr-lib v0.8.9 #25

PeaStew opened this issue Jun 5, 2020 · 0 comments

Comments

@PeaStew
Copy link

PeaStew commented Jun 5, 2020

Error as below, aware this isn't strictly an issue with the c/p script, but nonetheless the script won't work with this error
Compiling jormungandr-lib v0.8.9 (/root/jormungandr/jormungandr-lib)
warning: use of deprecated item 'rand::rngs::EntropyRng': use rngs::OsRng instead
--> jcli/src/jcli_app/key.rs:10:12
|
10 | use rand::{rngs::EntropyRng, SeedableRng};
| ^^^^^^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default

warning: use of deprecated item 'rand::rngs::EntropyRng': use rngs::OsRng instead
--> jcli/src/jcli_app/key.rs:429:29
|
429 | ChaChaRng::from_rng(EntropyRng::new())?
| ^^^^^^^^^^^^^^^

error[E0063]: missing fields max_length, min_length in initializer of openapiv3::StringType
--> jcli/src/jcli_app/utils/open_api_verifier.rs:395:59
|
395 | let valid_schema_kind = SchemaKind::Type(Type::String(StringType {
| ^^^^^^^^^^ missing max_length, min_length

error: aborting due to previous error; 2 warnings emitted

For more information about this error, try rustc --explain E0063.
error: failed to compile jcli v0.8.9 (/root/jormungandr/jcli), intermediate artifacts can be found at /root/jormungandr/target

Caused by:
could not compile jcli.

To learn more, run the command again with --verbose.

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