[INFO] fetching crate sapio-miniscript 7.0.2-alpha.0... [INFO] testing sapio-miniscript-7.0.2-alpha.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sapio-miniscript 7.0.2-alpha.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate sapio-miniscript 7.0.2-alpha.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sapio-miniscript 7.0.2-alpha.0 [INFO] tweaked toml for crates.io crate sapio-miniscript 7.0.2-alpha.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sapio-miniscript 7.0.2-alpha.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sapio-miniscript 7.0.2-alpha.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sapio-secp256k1 v0.28.1 [INFO] [stderr] Downloaded sapio-bitcoin v0.28.2 [INFO] [stderr] Downloaded sapio-secp256k1-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ee4cf261e4ebb34937a6cf459a211999ff6f3790767452a9e34f1dbb1210716 [INFO] running `Command { std: "docker" "start" "-a" "5ee4cf261e4ebb34937a6cf459a211999ff6f3790767452a9e34f1dbb1210716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ee4cf261e4ebb34937a6cf459a211999ff6f3790767452a9e34f1dbb1210716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee4cf261e4ebb34937a6cf459a211999ff6f3790767452a9e34f1dbb1210716", kill_on_drop: false }` [INFO] [stdout] 5ee4cf261e4ebb34937a6cf459a211999ff6f3790767452a9e34f1dbb1210716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af2756ea270623cf5209ea973b16774bef1189f4be45ab00445f8ffe6fb8305c [INFO] running `Command { std: "docker" "start" "-a" "af2756ea270623cf5209ea973b16774bef1189f4be45ab00445f8ffe6fb8305c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling bitcoin_hashes v0.10.0 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling sapio-secp256k1-sys v0.9.2 [INFO] [stderr] Compiling sapio-secp256k1 v0.28.1 [INFO] [stderr] Compiling sapio-bitcoin v0.28.2 [INFO] [stderr] Compiling sapio-miniscript v7.0.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/miniscript/types/extra_props.rs:1001:33 [INFO] [stdout] | [INFO] [stdout] 1001 | .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1001 - .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stdout] 1001 + .map(|x: usize| x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize), //adds and equal [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/interpreter/mod.rs:273:60 [INFO] [stdout] | [INFO] [stdout] 273 | sighash.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/interpreter/mod.rs:301:64 [INFO] [stdout] | [INFO] [stdout] 301 | sighash_msg.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/psbt/mod.rs:1017:37 [INFO] [stdout] | [INFO] [stdout] 1017 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/psbt/mod.rs:1020:37 [INFO] [stdout] | [INFO] [stdout] 1020 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/miniscript/astelem.rs:692:51 [INFO] [stdout] | [INFO] [stdout] 692 | let script = Script::from_hex(x).map_err(|e| script::Error::SerializationError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/correctness.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/malleability.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 340 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/mod.rs:945:19 [INFO] [stdout] | [INFO] [stdout] 945 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> TapTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> TapTreeIter<'_, Pk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn iter_scripts(&self) -> TapTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn iter_scripts(&self) -> TapTreeIter<'_, Pk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | fn parse_tr_tree(s: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn parse_tr_tree(s: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn iter(&self) -> Iter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter_pk(&self) -> PkIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter_pk(&self) -> PkIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter_pkh(&self) -> PkhIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter_pkh(&self) -> PkhIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/lex.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn peek(&self) -> Option<&'s Token> { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn peek(&self) -> Option<&'s Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/psbt/finalizer.rs:120:58 [INFO] [stdout] | [INFO] [stdout] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.28s [INFO] running `Command { std: "docker" "inspect" "af2756ea270623cf5209ea973b16774bef1189f4be45ab00445f8ffe6fb8305c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2756ea270623cf5209ea973b16774bef1189f4be45ab00445f8ffe6fb8305c", kill_on_drop: false }` [INFO] [stdout] af2756ea270623cf5209ea973b16774bef1189f4be45ab00445f8ffe6fb8305c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f4b4813e500bf832be69c68971e539dbea7e14be119a4ff23e418a096c2a5b6 [INFO] running `Command { std: "docker" "start" "-a" "5f4b4813e500bf832be69c68971e539dbea7e14be119a4ff23e418a096c2a5b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/miniscript/types/extra_props.rs:1001:33 [INFO] [stdout] | [INFO] [stdout] 1001 | .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1001 - .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stdout] 1001 + .map(|x: usize| x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize), //adds and equal [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/interpreter/mod.rs:273:60 [INFO] [stdout] | [INFO] [stdout] 273 | sighash.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/interpreter/mod.rs:301:64 [INFO] [stdout] | [INFO] [stdout] 301 | sighash_msg.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/psbt/mod.rs:1017:37 [INFO] [stdout] | [INFO] [stdout] 1017 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/psbt/mod.rs:1020:37 [INFO] [stdout] | [INFO] [stdout] 1020 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/miniscript/astelem.rs:692:51 [INFO] [stdout] | [INFO] [stdout] 692 | let script = Script::from_hex(x).map_err(|e| script::Error::SerializationError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/correctness.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/malleability.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 340 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/mod.rs:945:19 [INFO] [stdout] | [INFO] [stdout] 945 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> TapTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> TapTreeIter<'_, Pk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn iter_scripts(&self) -> TapTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn iter_scripts(&self) -> TapTreeIter<'_, Pk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | fn parse_tr_tree(s: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn parse_tr_tree(s: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn iter(&self) -> Iter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter_pk(&self) -> PkIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter_pk(&self) -> PkIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter_pkh(&self) -> PkhIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter_pkh(&self) -> PkhIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sapio-miniscript v7.0.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/lex.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn peek(&self) -> Option<&'s Token> { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn peek(&self) -> Option<&'s Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/psbt/finalizer.rs:120:58 [INFO] [stdout] | [INFO] [stdout] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> examples/sign_multisig.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> examples/verify_tx.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> examples/verify_tx.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | let message = secp256k1::Message::from_slice(&[0x01; 32][..]).expect("32-byte hash"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/miniscript/types/extra_props.rs:1001:33 [INFO] [stdout] | [INFO] [stdout] 1001 | .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1001 - .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stdout] 1001 + .map(|x: usize| x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize), //adds and equal [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:5658:16 [INFO] [stdout] | [INFO] [stdout] 5658 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:9155:16 [INFO] [stdout] | [INFO] [stdout] 9155 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:15056:16 [INFO] [stdout] | [INFO] [stdout] 15056 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:22087:20 [INFO] [stdout] | [INFO] [stdout] 22087 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bitcoin::XOnlyPublicKey` [INFO] [stdout] --> src/ord/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use bitcoin::XOnlyPublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `crate::policy::Concrete` [INFO] [stdout] --> src/ord/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::policy::Concrete; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `super::Inscription` [INFO] [stdout] --> src/ord/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use super::Inscription; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/descriptor/mod.rs:1117:39 [INFO] [stdout] | [INFO] [stdout] 1117 | let msg = secp256k1::Message::from_slice(&b"michael was a message, amusingly"[..]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/interpreter/mod.rs:273:60 [INFO] [stdout] | [INFO] [stdout] 273 | sighash.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/interpreter/mod.rs:301:64 [INFO] [stdout] | [INFO] [stdout] 301 | sighash_msg.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/interpreter/mod.rs:1074:39 [INFO] [stdout] | [INFO] [stdout] 1074 | let msg = secp256k1::Message::from_slice(&b"Yoda: btc, I trust. HODL I must!"[..]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/psbt/mod.rs:1017:37 [INFO] [stdout] | [INFO] [stdout] 1017 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/psbt/mod.rs:1020:37 [INFO] [stdout] | [INFO] [stdout] 1020 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/miniscript/astelem.rs:692:51 [INFO] [stdout] | [INFO] [stdout] 692 | let script = Script::from_hex(x).map_err(|e| script::Error::SerializationError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/correctness.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/malleability.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 340 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inscription` [INFO] [stdout] --> src/miniscript/types/mod.rs:945:19 [INFO] [stdout] | [INFO] [stdout] 945 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> TapTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> TapTreeIter<'_, Pk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn iter_scripts(&self) -> TapTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn iter_scripts(&self) -> TapTreeIter<'_, Pk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/tr.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | fn parse_tr_tree(s: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn parse_tr_tree(s: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn iter(&self) -> Iter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter_pk(&self) -> PkIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter_pk(&self) -> PkIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter_pkh(&self) -> PkhIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter_pkh(&self) -> PkhIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/iter.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter<'_, Pk, Ctx> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a module [INFO] [stdout] --> src/miniscript/iter.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a type alias [INFO] [stdout] --> src/miniscript/iter.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | pub type TestData = ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/miniscript/iter.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn gen_secp_pubkeys(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/miniscript/iter.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn gen_bitcoin_pubkeys(n: usize, compressed: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/miniscript/iter.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn gen_testcases() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/miniscript/lex.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn peek(&self) -> Option<&'s Token> { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn peek(&self) -> Option<&'s Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/psbt/finalizer.rs:120:58 [INFO] [stdout] | [INFO] [stdout] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sapio-miniscript` (lib test) due to 8 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f4b4813e500bf832be69c68971e539dbea7e14be119a4ff23e418a096c2a5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f4b4813e500bf832be69c68971e539dbea7e14be119a4ff23e418a096c2a5b6", kill_on_drop: false }` [INFO] [stdout] 5f4b4813e500bf832be69c68971e539dbea7e14be119a4ff23e418a096c2a5b6