chore(deps): update dependencies #621
test.yml
on: pull_request
cleanup-runs
5s
test
1m 45s
Annotations
14 errors and 6 warnings
mismatched types:
basecoin/src/tx/key_pair.rs#L79
error[E0308]: mismatched types
--> basecoin/src/tx/key_pair.rs:79:53
|
79 | let hashed_message: GenericArray<u8, U32> = Sha256::digest(message);
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, UInt<..., ...>>`, found a different `GenericArray<u8, UInt<..., ...>>`
| |
| expected due to this
|
= note: `GenericArray<u8, UInt<..., ...>>` and `GenericArray<u8, UInt<..., ...>>` have similar names, but are actually distinct types
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1
|
179 | pub struct GenericArray<T, U: ArrayLength<T>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.0.0/src/lib.rs:434:1
|
434 | pub struct GenericArray<T, N: ArrayLength> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `generic_array` are being used?
|
mismatched types:
basecoin/src/tx/key_pair.rs#L79
error[E0308]: mismatched types
--> basecoin/src/tx/key_pair.rs:79:53
|
79 | let hashed_message: GenericArray<u8, U32> = Sha256::digest(message);
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, UInt<..., ...>>`, found a different `GenericArray<u8, UInt<..., ...>>`
| |
| expected due to this
|
= note: `GenericArray<u8, UInt<..., ...>>` and `GenericArray<u8, UInt<..., ...>>` have similar names, but are actually distinct types
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1
|
179 | pub struct GenericArray<T, U: ArrayLength<T>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.0.0/src/lib.rs:434:1
|
434 | pub struct GenericArray<T, N: ArrayLength> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `generic_array` are being used?
|
mismatched types:
basecoin/src/tx/key_pair.rs#L79
error[E0308]: mismatched types
--> basecoin/src/tx/key_pair.rs:79:53
|
79 | let hashed_message: GenericArray<u8, U32> = Sha256::digest(message);
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, UInt<..., ...>>`, found a different `GenericArray<u8, UInt<..., ...>>`
| |
| expected due to this
|
= note: `GenericArray<u8, UInt<..., ...>>` and `GenericArray<u8, UInt<..., ...>>` have similar names, but are actually distinct types
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1
|
179 | pub struct GenericArray<T, U: ArrayLength<T>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.0.0/src/lib.rs:434:1
|
434 | pub struct GenericArray<T, N: ArrayLength> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `generic_array` are being used?
|
the method `mempool` exists for struct `ServerBuilder<Consensus<BaseCoinApp<InMemoryStore>>, _, _, _>`, but its trait bounds were not satisfied:
basecoin/src/runner.rs#L88
error[E0599]: the method `mempool` exists for struct `ServerBuilder<Consensus<BaseCoinApp<InMemoryStore>>, _, _, _>`, but its trait bounds were not satisfied
--> basecoin/src/runner.rs:88:14
|
86 | let server = tower_abci::v037::Server::builder()
| ______________________-
87 | | .consensus(consensus)
88 | | .mempool(mempool)
| | -^^^^^^^ private field, not a method
| |_____________|
|
|
::: /home/runner/work/basecoin-rs/basecoin-rs/basecoin/app/src/builder.rs:72:1
|
72 | pub struct BaseCoinApp<S> {
| ------------------------- doesn't satisfy `_: Service<Request>`
|
= note: the full type name has been written to '/home/runner/work/basecoin-rs/basecoin-rs/target/debug/deps/basecoin-722f3df04484e1a0.long-type-12671123621278164701.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>`
|
the trait bound `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied:
basecoin/src/runner.rs#L87
error[E0277]: the trait bound `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied
--> basecoin/src/runner.rs:87:14
|
87 | .consensus(consensus)
| ^^^^^^^^^ the trait `tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not implemented for `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>`, which is required by `tower_abci::v037::split::Consensus<basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>>: tonic::codegen::Service<tendermint::v0_37::abci::request::ConsensusRequest>`
|
= help: the trait `tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is implemented for `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>`
= help: for that trait implementation, expected `tendermint::v0_37::abci::request::Request`, found `tendermint::v0_37::abci::request::Request`
= note: required for `tower_abci::v037::split::Consensus<basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>>` to implement `tonic::codegen::Service<tendermint::v0_37::abci::request::ConsensusRequest>`
|
the trait bound `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied:
basecoin/src/runner.rs#L84
error[E0277]: the trait bound `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied
--> basecoin/src/runner.rs:84:52
|
84 | let (consensus, mempool, snapshot, info) = split::service(app_split, 10);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not implemented for `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>`
|
= help: the trait `tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is implemented for `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>`
= help: for that trait implementation, expected `tendermint::v0_37::abci::request::Request`, found `tendermint::v0_37::abci::request::Request`
note: required by a bound in `tower_abci::v037::split::Consensus`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-abci-0.14.0/src/v037/split.rs:64:8
|
62 | pub struct Consensus<S>
| --------- required by a bound in this struct
63 | where
64 | S: Service<Request, Response = Response, Error = BoxError>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Consensus`
|
the trait bound `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied:
basecoin/src/runner.rs#L84
error[E0277]: the trait bound `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied
--> basecoin/src/runner.rs:84:67
|
84 | let (consensus, mempool, snapshot, info) = split::service(app_split, 10);
| -------------- ^^^^^^^^^ the trait `tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not implemented for `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>`
| |
| required by a bound introduced by this call
|
= help: the trait `tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is implemented for `basecoin_app::BaseCoinApp<basecoin_store::impls::InMemoryStore>`
= help: for that trait implementation, expected `tendermint::v0_37::abci::request::Request`, found `tendermint::v0_37::abci::request::Request`
note: required by a bound in `tower_abci::v037::split::service`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-abci-0.14.0/src/v037/split.rs:47:8
|
45 | pub fn service<S>(service: S, bound: usize) -> (Consensus<S>, Mempool<S>, Snapshot<S>, Info<S>)
| ------- required by a bound in this function
46 | where
47 | S: Service<Request, Response = Response, Error = BoxError> + Send + 'static,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `service`
|
test:
basecoin/src/runner.rs#L84
the trait bound `BaseCoinApp<InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied
|
test:
basecoin/src/runner.rs#L84
the trait bound `BaseCoinApp<InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied
|
test:
basecoin/src/runner.rs#L87
the trait bound `BaseCoinApp<InMemoryStore>: tonic::codegen::Service<tendermint::v0_37::abci::request::Request>` is not satisfied
|
test:
basecoin/src/runner.rs#L88
the method `mempool` exists for struct `ServerBuilder<Consensus<BaseCoinApp<InMemoryStore>>, _, _, _>`, but its trait bounds were not satisfied
|
test:
basecoin/src/tx/key_pair.rs#L79
mismatched types
|
test
could not compile `basecoin` (lib) due to 5 previous errors
|
test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|