Skip to content

Validator UX / node management improvements #233

Validator UX / node management improvements

Validator UX / node management improvements #233

GitHub Actions / clippy failed Jul 28, 2023 in 0s

clippy

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.71.0-nightly (c4190f2d3 2023-05-07)
  • cargo 1.71.0-nightly (569b648b5 2023-05-05)
  • clippy 0.1.71 (c4190f2 2023-05-07)

Annotations

Check failure on line 55 in src/bin/nomic.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `&str: std::convert::From<std::string::String>` is not satisfied

error[E0277]: the trait bound `&str: std::convert::From<std::string::String>` is not satisfied
    --> src/bin/nomic.rs:55:15
     |
55   |     version = format!("{} {}", env!("CARGO_PKG_VERSION"), env!("GIT_REV")),
     |     -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |     |         |
     |     |         the trait `std::convert::From<std::string::String>` is not implemented for `&str`
     |     |         this tail expression is of type `String`
     |     required by a bound introduced by this call
     |
     = note: to coerce a `std::string::String` into a `&str`, use `&*` as a prefix
     = help: the following other types implement trait `std::convert::From<T>`:
               <&'a str as std::convert::From<mime::Name<'a>>>
               <&'a str as std::convert::From<webpki::name::DNSNameRef<'a>>>
               <&'h str as std::convert::From<regex::regex::string::Match<'h>>>
     = note: required for `std::string::String` to implement `std::convert::Into<&str>`
note: required by a bound in `clap::App::<'help>::version`
    --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-3.2.25/src/builder/command.rs:1624:23
     |
1624 |     pub fn version<S: Into<&'help str>>(mut self, ver: S) -> Self {
     |                       ^^^^^^^^^^^^^^^^ required by this bound in `App::<'help>::version`

Check failure on line 55 in src/bin/nomic.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `&str: std::convert::From<std::string::String>` is not satisfied

error[E0277]: the trait bound `&str: std::convert::From<std::string::String>` is not satisfied
    --> src/bin/nomic.rs:55:15
     |
55   |     version = format!("{} {}", env!("CARGO_PKG_VERSION"), env!("GIT_REV")),
     |     -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |     |         |
     |     |         the trait `std::convert::From<std::string::String>` is not implemented for `&str`
     |     |         this tail expression is of type `String`
     |     required by a bound introduced by this call
     |
     = note: to coerce a `std::string::String` into a `&str`, use `&*` as a prefix
     = help: the following other types implement trait `std::convert::From<T>`:
               <&'a str as std::convert::From<mime::Name<'a>>>
               <&'a str as std::convert::From<webpki::name::DNSNameRef<'a>>>
               <&'h str as std::convert::From<regex::regex::string::Match<'h>>>
     = note: required for `std::string::String` to implement `std::convert::Into<&str>`
note: required by a bound in `clap::App::<'help>::version`
    --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-3.2.25/src/builder/command.rs:1624:23
     |
1624 |     pub fn version<S: Into<&'help str>>(mut self, ver: S) -> Self {
     |                       ^^^^^^^^^^^^^^^^ required by this bound in `App::<'help>::version`

Check failure on line 87 in src/bin/nomic.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find type `DevnetCmd` in this scope

error[E0412]: cannot find type `DevnetCmd` in this scope
  --> src/bin/nomic.rs:87:12
   |
87 |     Devnet(DevnetCmd),
   |            ^^^^^^^^^ not found in this scope