98513ef151
error[E0308]: mismatched types --> bitcoin/src/psbt/raw.rs:87:24 | 87 | return Err(encode::Error::OversizedVectorAllocation { | ________________________^ 88 | | requested: key_byte_size as usize, 89 | | max: MAX_VEC_SIZE, 90 | | }); | |_____________^ expected enum `psbt::error::Error`, found enum `consensus::encode::Error` | help: try wrapping the expression in `psbt::error::Error::ConsensusEncoding` | 87 ~ return Err(psbt::error::Error::ConsensusEncoding(encode::Error::OversizedVectorAllocation { 88 | requested: key_byte_size as usize, 89 | max: MAX_VEC_SIZE, 90 ~ })); | ---- Compiling bitcoin v0.30.0 (/home/vincent/github/work/rust-btc/rust-bitcoin/bitcoin) Checking bitcoin-fuzz v0.0.1 (/home/vincent/github/work/rust-btc/rust-bitcoin/fuzz) error: redundant clone --> bitcoin/examples/taproot-psbt.rs:453:77 | 453 | witness_utxo: { Some(TxOut { value, script_pubkey: script_pubkey.clone() }) }, | ^^^^^^^^ help: remove this | = note: `-D clippy::redundant-clone` implied by `-D warnings` note: this value is dropped without further use --> bitcoin/examples/taproot-psbt.rs:453:64 | 453 | witness_utxo: { Some(TxOut { value, script_pubkey: script_pubkey.clone() }) }, | ^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone error: could not compile `bitcoin` due to previous error warning: build failed, waiting for other jobs to finish... error: redundant clone --> bitcoin/src/psbt/mod.rs:1095:13 | 1095 | .clone() | ^^^^^^^^ help: remove this | = note: `-D clippy::redundant-clone` implied by `-D warnings` note: this value is dropped without further use --> bitcoin/src/psbt/mod.rs:1094:17 | 1094 | assert!(psbt | _________________^ 1095 | | .clone() | |____________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml | ||
build.rs |