Created
August 17, 2023 16:32
-
-
Save erwanor/a8f0efa04fdf7b01183b18df84cb5074 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⋊> ~/p/p/c/c/c/dex on main ◦ cargo fix 12:27:13 | |
warning: unused import: `async_stream::try_stream` | |
--> crates/proto/src/lib.rs:123:17 | |
| | |
123 | use async_stream::try_stream; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
warning: unused import: `futures::Stream` | |
--> crates/proto/src/lib.rs:124:17 | |
| | |
124 | use futures::Stream; | |
| ^^^^^^^^^^^^^^^ | |
warning: unused import: `std::pin::Pin` | |
--> crates/proto/src/lib.rs:126:17 | |
| | |
126 | use std::pin::Pin; | |
| ^^^^^^^^^^^^^ | |
warning: unused import: `futures::StreamExt` | |
--> crates/proto/src/lib.rs:125:17 | |
| | |
125 | use futures::StreamExt; | |
| ^^^^^^^^^^^^^^^^^^ | |
warning: `penumbra-proto` (lib) generated 4 warnings (run `cargo fix --lib -p penumbra-proto` to apply 3 suggestions) | |
warning: unused imports: `OutputProof`, `Output` | |
--> crates/core/component/shielded-pool/src/output/plan.rs:14:19 | |
| | |
14 | use super::{Body, Output, OutputProof}; | |
| ^^^^^^ ^^^^^^^^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
warning: unused import: `Signature` | |
--> crates/core/component/shielded-pool/src/spend/plan.rs:3:21 | |
| | |
3 | use decaf377_rdsa::{Signature, SpendAuth}; | |
| ^^^^^^^^^ | |
warning: unused imports: `SpendProof`, `Spend` | |
--> crates/core/component/shielded-pool/src/spend/plan.rs:12:19 | |
| | |
12 | use super::{Body, Spend, SpendProof}; | |
| ^^^^^ ^^^^^^^^^^ | |
warning: `penumbra-shielded-pool` (lib) generated 3 warnings (run `cargo fix --lib -p penumbra-shielded-pool` to apply 3 suggestions) | |
warning: function `pick_connection_version` is never used | |
--> crates/core/component/ibc/src/version.rs:4:8 | |
| | |
4 | pub fn pick_connection_version( | |
| ^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: `#[warn(dead_code)]` on by default | |
Checking penumbra-dex v0.58.0 (/Users/user/prod_magic/penumbra/crates/core/component/dex) | |
warning: `penumbra-ibc` (lib) generated 1 warning | |
warning: function `delegate` is never used | |
--> crates/core/component/stake/src/event.rs:4:8 | |
| | |
4 | pub fn delegate(delegate: &Delegate) -> Event { | |
| ^^^^^^^^ | |
| | |
= note: `#[warn(dead_code)]` on by default | |
warning: function `undelegate` is never used | |
--> crates/core/component/stake/src/event.rs:14:8 | |
| | |
14 | pub fn undelegate(undelegate: &Undelegate) -> Event { | |
| ^^^^^^^^^^ | |
warning: function `stub_delegation_changes` is never used | |
--> crates/core/component/stake/src/state_key.rs:85:12 | |
| | |
85 | pub fn stub_delegation_changes() -> &'static str { | |
| ^^^^^^^^^^^^^^^^^^^^^^^ | |
warning: function `stub_tendermint_validator_updates` is never used | |
--> crates/core/component/stake/src/state_key.rs:89:12 | |
| | |
89 | pub fn stub_tendermint_validator_updates() -> &'static str { | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
warning: `penumbra-stake` (lib) generated 4 warnings | |
Checking penumbra-transaction v0.58.0 (/Users/user/prod_magic/penumbra/crates/core/transaction) | |
error[E0599]: no method named `spend` found for struct `penumbra_shielded_pool::SpendPlan` in the current scope | |
--> crates/core/transaction/src/plan/build.rs:240:28 | |
| | |
240 | spend_plan.spend(&fvk_, auth_sig, auth_path, witness_data.anchor) | |
| ^^^^^ help: there is a method with a similar name: `spend_body` | |
error[E0599]: no method named `output` found for struct `penumbra_shielded_pool::OutputPlan` in the current scope | |
--> crates/core/transaction/src/plan/build.rs:255:29 | |
| | |
255 | output_plan.output(&ovk, &memo_key) | |
| ^^^^^^ help: there is a method with a similar name: `output_body` | |
error[E0599]: no method named `spend` found for reference `&penumbra_shielded_pool::SpendPlan` in the current scope | |
--> crates/core/transaction/src/plan/build.rs:55:51 | |
| | |
55 | actions.push(Action::Spend(spend_plan.spend( | |
| -----------^^^^^ help: there is a method with a similar name: `spend_body` | |
error[E0599]: no method named `output` found for reference `&penumbra_shielded_pool::OutputPlan` in the current scope | |
--> crates/core/transaction/src/plan/build.rs:70:53 | |
| | |
70 | actions.push(Action::Output(output_plan.output( | |
| ------------^^^^^^ help: there is a method with a similar name: `output_body` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment