You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: the trait bound `[&str; 3]: std::convert::From<std::vec::Vec<&str>>` is not satisfied
--> core/payment-driver/gnt/src/service.rs:219:10
|
219 | .try_into()
| ^^^^^^^^ the trait `std::convert::From<std::vec::Vec<&str>>` is not implemented for `[&str; 3]`
|
= help: the following implementations were found:
<[T; 10] as std::convert::From<generic_array::GenericArray<T, sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UTerm, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B0>, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B0>>>>
<[T; 11] as std::convert::From<generic_array::GenericArray<T, sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UTerm, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B0>, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B1>>>>
<[T; 12] as std::convert::From<generic_array::GenericArray<T, sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UTerm, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B0>, sha3::digest::generic_array::typenum::B0>>>>
<[T; 13] as std::convert::From<generic_array::GenericArray<T, sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UInt<sha3::digest::generic_array::typenum::UTerm, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B1>, sha3::digest::generic_array::typenum::B0>, sha3::digest::generic_array::typenum::B1>>>>
and 42 others
= note: required because of the requirements on the impl of `std::convert::Into<[&str; 3]>` for `std::vec::Vec<&str>`
= note: required because of the requirements on the impl of `std::convert::TryFrom<std::vec::Vec<&str>>` for `[&str; 3]`
= note: required because of the requirements on the impl of `std::convert::TryInto<[&str; 3]>` for `std::vec::Vec<&str>`
rustc version: 1.47.0
cargo build fails with:
It refers to https://github.com/golemfactory/yagna/blob/pre-rel-v0.6.0-rc2/core/payment-driver/gnt/src/service.rs#L219, which was introduced by #947
The text was updated successfully, but these errors were encountered: