[INFO] fetching crate sapio-miniscript 7.0.2-alpha.0... [INFO] testing sapio-miniscript-7.0.2-alpha.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate sapio-miniscript 7.0.2-alpha.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sapio-miniscript 7.0.2-alpha.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7a2a39a50a5bdf28c8d53d95257c3bce3a2987a2684e32110d8e00071cb0bdd [INFO] running `Command { std: "docker" "start" "-a" "e7a2a39a50a5bdf28c8d53d95257c3bce3a2987a2684e32110d8e00071cb0bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7a2a39a50a5bdf28c8d53d95257c3bce3a2987a2684e32110d8e00071cb0bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a2a39a50a5bdf28c8d53d95257c3bce3a2987a2684e32110d8e00071cb0bdd", kill_on_drop: false }` [INFO] [stdout] e7a2a39a50a5bdf28c8d53d95257c3bce3a2987a2684e32110d8e00071cb0bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f99ef54ded1d55188c62b0a92f8d508271f65bb84da9c620bfa105114facb3d [INFO] running `Command { std: "docker" "start" "-a" "4f99ef54ded1d55188c62b0a92f8d508271f65bb84da9c620bfa105114facb3d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling sapio-secp256k1-sys v0.9.2 [INFO] [stderr] Compiling bitcoin_hashes v0.10.0 [INFO] [stderr] Compiling bech32 v0.8.1 [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 25.27s [INFO] running `Command { std: "docker" "inspect" "4f99ef54ded1d55188c62b0a92f8d508271f65bb84da9c620bfa105114facb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f99ef54ded1d55188c62b0a92f8d508271f65bb84da9c620bfa105114facb3d", kill_on_drop: false }` [INFO] [stdout] 4f99ef54ded1d55188c62b0a92f8d508271f65bb84da9c620bfa105114facb3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cdd796fdc3d18fe0d9e95c17283ef03f843aac1052b98234cd3d681e4be48c3 [INFO] running `Command { std: "docker" "start" "-a" "0cdd796fdc3d18fe0d9e95c17283ef03f843aac1052b98234cd3d681e4be48c3", 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] [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] [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/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] warning: 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] warning: 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] warning: 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] warning: 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] warning: 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] warning: 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] warning: 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] warning: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.33s [INFO] running `Command { std: "docker" "inspect" "0cdd796fdc3d18fe0d9e95c17283ef03f843aac1052b98234cd3d681e4be48c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdd796fdc3d18fe0d9e95c17283ef03f843aac1052b98234cd3d681e4be48c3", kill_on_drop: false }` [INFO] [stdout] 0cdd796fdc3d18fe0d9e95c17283ef03f843aac1052b98234cd3d681e4be48c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22c2922d2c4874f7a54a57d0972748e701818dd5abda39e4183bcda8c894d5c8 [INFO] running `Command { std: "docker" "start" "-a" "22c2922d2c4874f7a54a57d0972748e701818dd5abda39e4183bcda8c894d5c8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/miniscript/types/extra_props.rs:1001:33 [INFO] [stderr] | [INFO] [stderr] 1001 | .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1001 - .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stderr] 1001 + .map(|x: usize| x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize), //adds and equal [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/interpreter/mod.rs:273:60 [INFO] [stderr] | [INFO] [stderr] 273 | sighash.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/interpreter/mod.rs:301:64 [INFO] [stderr] | [INFO] [stderr] 301 | sighash_msg.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/psbt/mod.rs:1017:37 [INFO] [stderr] | [INFO] [stderr] 1017 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/psbt/mod.rs:1020:37 [INFO] [stderr] | [INFO] [stderr] 1020 | secp256k1::Message::from_slice(msg.as_ref()).expect("Sighashes are 32 bytes") [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/miniscript/astelem.rs:692:51 [INFO] [stderr] | [INFO] [stderr] 692 | let script = Script::from_hex(x).map_err(|e| script::Error::SerializationError)?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inscription` [INFO] [stderr] --> src/miniscript/types/correctness.rs:529:19 [INFO] [stderr] | [INFO] [stderr] 529 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inscription` [INFO] [stderr] --> src/miniscript/types/malleability.rs:340:19 [INFO] [stderr] | [INFO] [stderr] 340 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inscription` [INFO] [stderr] --> src/miniscript/types/mod.rs:945:19 [INFO] [stderr] | [INFO] [stderr] 945 | fn inscribing(inscription: &Arc>, code: Self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inscription` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/descriptor/tr.rs:123:17 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn iter(&self) -> TapTreeIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 123 | pub fn iter(&self) -> TapTreeIter<'_, Pk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/descriptor/tr.rs:207:25 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn iter_scripts(&self) -> TapTreeIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 207 | pub fn iter_scripts(&self) -> TapTreeIter<'_, Pk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/descriptor/tr.rs:461:21 [INFO] [stderr] | [INFO] [stderr] 461 | fn parse_tr_tree(s: &str) -> Result { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 461 | fn parse_tr_tree(s: &str) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/miniscript/iter.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | pub fn iter(&self) -> Iter<'_, Pk, Ctx> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/miniscript/iter.rs:36:20 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn iter_pk(&self) -> PkIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn iter_pk(&self) -> PkIter<'_, Pk, Ctx> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/miniscript/iter.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn iter_pkh(&self) -> PkhIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 43 | pub fn iter_pkh(&self) -> PkhIter<'_, Pk, Ctx> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/miniscript/iter.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn iter_pk_pkh(&self) -> PkPkhIter<'_, Pk, Ctx> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/miniscript/lex.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn peek(&self) -> Option<&'s Token> { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 109 | pub fn peek(&self) -> Option<&'s Token<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/psbt/finalizer.rs:120:58 [INFO] [stderr] | [INFO] [stderr] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 120 | pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result, super::Error> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `sapio-miniscript` (lib) generated 18 warnings (run `cargo fix --lib -p sapio-miniscript` to apply 10 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stderr] --> examples/verify_tx.rs:29:16 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stderr] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> examples/verify_tx.rs:162:39 [INFO] [stderr] | [INFO] [stderr] 162 | let message = secp256k1::Message::from_slice(&[0x01; 32][..]).expect("32-byte hash"); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stderr] --> examples/sign_multisig.rs:46:16 [INFO] [stderr] | [INFO] [stderr] 46 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stderr] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stderr] --> src/miniscript/ms_tests.rs:80:16 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stderr] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stderr] --> src/miniscript/ms_tests.rs:5658:16 [INFO] [stderr] | [INFO] [stderr] 5658 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stderr] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stderr] --> src/miniscript/ms_tests.rs:9155:16 [INFO] [stderr] | [INFO] [stderr] 9155 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stderr] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stderr] --> src/miniscript/ms_tests.rs:15056:16 [INFO] [stderr] | [INFO] [stderr] 15056 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stderr] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stderr] --> src/miniscript/ms_tests.rs:22087:20 [INFO] [stderr] | [INFO] [stderr] 22087 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `compiler`, `default`, `rand`, `schemars`, `serde`, `trace`, `unstable`, `use-schemars`, and `use-serde` [INFO] [stderr] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoin::XOnlyPublicKey` [INFO] [stderr] --> src/ord/mod.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | use bitcoin::XOnlyPublicKey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | #![deny(unused_imports)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::policy::Concrete` [INFO] [stderr] --> src/ord/mod.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | use crate::policy::Concrete; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::Inscription` [INFO] [stderr] --> src/ord/mod.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | use super::Inscription; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/descriptor/mod.rs:1117:39 [INFO] [stderr] | [INFO] [stderr] 1117 | let msg = secp256k1::Message::from_slice(&b"michael was a message, amusingly"[..]) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/interpreter/mod.rs:273:60 [INFO] [stderr] | [INFO] [stderr] 273 | sighash.map(|hash| secp256k1::Message::from_slice(&hash).expect("32 byte")); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::sapio_secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/interpreter/mod.rs:1074:39 [INFO] [stderr] | [INFO] [stderr] 1074 | let msg = secp256k1::Message::from_slice(&b"Yoda: btc, I trust. HODL I must!"[..]) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/miniscript/iter.rs:441:1 [INFO] [stderr] | [INFO] [stderr] 441 | pub mod test { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | #![deny(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a type alias [INFO] [stderr] --> src/miniscript/iter.rs:448:5 [INFO] [stderr] | [INFO] [stderr] 448 | pub type TestData = ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/miniscript/iter.rs:455:5 [INFO] [stderr] | [INFO] [stderr] 455 | pub fn gen_secp_pubkeys(n: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/miniscript/iter.rs:473:5 [INFO] [stderr] | [INFO] [stderr] 473 | pub fn gen_bitcoin_pubkeys(n: usize, compressed: bool) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/miniscript/iter.rs:480:5 [INFO] [stderr] | [INFO] [stderr] 480 | pub fn gen_testcases() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sapio-miniscript` (example "verify_tx") generated 2 warnings [INFO] [stderr] warning: `sapio-miniscript` (example "sign_multisig") generated 1 warning [INFO] [stderr] warning: `sapio-miniscript` (lib test) generated 33 warnings (17 duplicates) (run `cargo fix --lib -p sapio-miniscript --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sapio_miniscript-c46db3e161576ae8) [INFO] [stdout] [INFO] [stdout] running 73 tests [INFO] [stdout] test descriptor::checksum::test::test_desc_checksum_invalid_character ... ok [INFO] [stdout] test descriptor::key::test::parse_descriptor_secret_key_error ... ok [INFO] [stdout] test descriptor::key::test::parse_descriptor_key_errors ... ok [INFO] [stdout] test descriptor::checksum::test::test_valid_descriptor_checksum ... ok [INFO] [stdout] test descriptor::key::test::test_master_fingerprint ... ok [INFO] [stdout] test descriptor::tests::after_is_cltv ... ok [INFO] [stdout] test descriptor::tests::empty_thresh ... ok [INFO] [stdout] test descriptor::tests::older_is_csv ... ok [INFO] [stdout] test descriptor::key::test::test_deriv_on_xprv ... ok [INFO] [stdout] test descriptor::tests::desc_rtt_tests ... ok [INFO] [stdout] test descriptor::tests::parse_descriptor ... ok [INFO] [stdout] test descriptor::tests::checksum_for_nested_sh ... ok [INFO] [stdout] test descriptor::tests::parse_descriptor_key ... ok [INFO] [stdout] test descriptor::tests::parse_with_secrets ... ok [INFO] [stdout] test descriptor::tests::script_pubkey ... ok [INFO] [stdout] test descriptor::tests::test_xonly_keys ... ok [INFO] [stdout] test descriptor::tests::tr_roundtrip_key ... ok [INFO] [stdout] test descriptor::tests::roundtrip_tests ... ok [INFO] [stdout] test descriptor::tests::satisfy ... ok [INFO] [stdout] test descriptor::key::test::test_wildcard ... ok [INFO] [stdout] test descriptor::tests::tr_roundtrip_script ... ok [INFO] [stdout] test descriptor::tests::test_scriptcode ... ok [INFO] [stdout] test descriptor::tests::tr_roundtrip_tree ... ok [INFO] [stdout] test descriptor::tests::witness_stack_for_andv_is_arranged_in_correct_order ... ok [INFO] [stdout] test descriptor::tr::tests::test_for_each ... ok [INFO] [stdout] test expression::tests::test_parse_num ... ok [INFO] [stdout] test interpreter::inner::tests::pubkey_pk ... ok [INFO] [stdout] test interpreter::inner::tests::pubkey_sh_wpkh ... ok [INFO] [stdout] test interpreter::inner::tests::script_bare ... ok [INFO] [stdout] test interpreter::inner::tests::pubkey_pkh ... ok [INFO] [stdout] test interpreter::inner::tests::script_sh ... ok [INFO] [stdout] test interpreter::inner::tests::script_sh_wsh ... ok [INFO] [stdout] test interpreter::inner::tests::script_wsh ... ok [INFO] [stdout] test descriptor::tests::tr_script_pubkey ... ok [INFO] [stdout] test miniscript::iter::test::find_hashes ... ok [INFO] [stdout] test interpreter::inner::tests::pubkey_wpkh ... ok [INFO] [stdout] test miniscript::iter::test::get_hashes ... ok [INFO] [stdout] test miniscript::iter::test::get_keys ... ok [INFO] [stdout] test descriptor::tests::test_parse_descriptor ... ok [INFO] [stdout] test miniscript::iter::test::get_pubkey_and_hashes ... ok [INFO] [stdout] test miniscript::iter::test::find_keys ... ok [INFO] [stdout] test miniscript::iter::test::find_pubkeys_and_hashes ... ok [INFO] [stdout] test interpreter::tests::sat_constraints ... ok [INFO] [stdout] test miniscript::tests::basic ... ok [INFO] [stdout] test miniscript::tests::decode_bug_cpp_review ... ok [INFO] [stdout] test miniscript::tests::deserialize ... ok [INFO] [stdout] test miniscript::tests::multi_a_tests ... ok [INFO] [stdout] test miniscript::tests::non_ascii ... ok [INFO] [stdout] test miniscript::tests::all_attribute_tests ... ok [INFO] [stdout] test miniscript::tests::pk_alias ... ok [INFO] [stdout] test descriptor::tests::test_sortedmulti ... ok [INFO] [stdout] test miniscript::tests::serialize ... ok [INFO] [stdout] test miniscript::tests::test_tapscript_rtt ... ok [INFO] [stdout] test miniscript::tests::true_false ... ok [INFO] [stdout] test miniscript::tests::verify_parse ... ok [INFO] [stdout] test policy::semantic::tests::entailment_escrow ... ok [INFO] [stdout] test policy::concrete::tests::for_each_key ... ok [INFO] [stdout] test policy::semantic::tests::parse_policy_err ... ok [INFO] [stdout] test policy::semantic::tests::semantic_analysis ... ok [INFO] [stdout] test policy::tests::compile_invalid ... ok [INFO] [stdout] test policy::semantic::tests::for_each_key ... ok [INFO] [stdout] test policy::tests::lift_andor ... ok [INFO] [stdout] test policy::tests::policy_rtt_tests ... ok [INFO] [stdout] test policy::tests::test_timelock_validity ... ok [INFO] [stdout] test psbt::finalizer::tests::tests_from_bip174 ... ok [INFO] [stdout] test policy::tests::heavy_nest ... ok [INFO] [stdout] test psbt::tests::test_extract_bip174 ... ok [INFO] [stdout] test miniscript::ms_tests::tests::conflict_tests_from_alloy ... ok [INFO] [stdout] test miniscript::ms_tests::tests::invalid_tests_from_alloy ... ok [INFO] [stdout] test miniscript::ms_tests::tests::mall_8f1e8_tests_from_alloy ... ok [INFO] [stdout] test miniscript::ms_tests::tests::main_tests_from_alloy ... ok [INFO] [stdout] test miniscript::ms_tests::tests::malleable_tests_from_alloy ... ok [INFO] [stdout] test policy::semantic::tests::entailment_liquid_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 73 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] [stderr] Doc-tests sapio_miniscript [INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> src/miniscript/decode.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | #[allow(broken_intra_doc_links)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/miniscript/types/extra_props.rs:1001:33 [INFO] [stderr] | [INFO] [stderr] 1001 | .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1001 - .map(|x: usize| (x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize)), //adds and equal [INFO] [stderr] 1001 + .map(|x: usize| x + (n - 1) + 1 + (sum + ops_count_nsat_sum as i32) as usize), //adds and equal [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/descriptor/mod.rs - descriptor::Descriptor::into_pre_taproot_desc (line 391) ... ok [INFO] [stdout] test src/descriptor/key.rs - descriptor::key::DescriptorXKey::matches (line 628) ... ok [INFO] [stdout] test src/miniscript/mod.rs - miniscript::Miniscript::parse (line 174) ... ok [INFO] [stdout] test src/policy/concrete.rs - policy::concrete::Policy::translate_pk (line 186) ... ok [INFO] [stdout] test src/lib.rs - (line 55) ... ok [INFO] [stdout] test src/policy/semantic.rs - policy::semantic::Policy::translate_pkh (line 104) ... ok [INFO] [stdout] test src/descriptor/mod.rs - descriptor::Descriptor::derived_descriptor (line 669) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22c2922d2c4874f7a54a57d0972748e701818dd5abda39e4183bcda8c894d5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c2922d2c4874f7a54a57d0972748e701818dd5abda39e4183bcda8c894d5c8", kill_on_drop: false }` [INFO] [stdout] 22c2922d2c4874f7a54a57d0972748e701818dd5abda39e4183bcda8c894d5c8