[INFO] fetching crate sapio-bitcoin 0.28.2... [INFO] testing sapio-bitcoin-0.28.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sapio-bitcoin 0.28.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate sapio-bitcoin 0.28.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sapio-bitcoin 0.28.2 [INFO] tweaked toml for crates.io crate sapio-bitcoin 0.28.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sapio-bitcoin 0.28.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sapio-bitcoin 0.28.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 704dcf226540dbe5b28d3693de77953e4aabb8fb8fe22155d55fecb9a8456b4c [INFO] running `Command { std: "docker" "start" "-a" "704dcf226540dbe5b28d3693de77953e4aabb8fb8fe22155d55fecb9a8456b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "704dcf226540dbe5b28d3693de77953e4aabb8fb8fe22155d55fecb9a8456b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704dcf226540dbe5b28d3693de77953e4aabb8fb8fe22155d55fecb9a8456b4c", kill_on_drop: false }` [INFO] [stdout] 704dcf226540dbe5b28d3693de77953e4aabb8fb8fe22155d55fecb9a8456b4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88dbd674e11bef700cf5e9bfba03434cb920717b261239de55e44d6c51b0f87f [INFO] running `Command { std: "docker" "start" "-a" "88dbd674e11bef700cf5e9bfba03434cb920717b261239de55e44d6c51b0f87f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitcoin_hashes v0.10.0 [INFO] [stderr] Compiling sapio-secp256k1-sys v0.9.2 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sapio-secp256k1 v0.28.1 [INFO] [stderr] Compiling sapio-bitcoin v0.28.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/util/misc.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | let msg = secp256k1::Message::from_slice(&msg_hash[..]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:605:25 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn instructions(&self) -> Instructions { [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] 605 | pub fn instructions(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:613:33 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn instructions_minimal(&self) -> Instructions { [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] 613 | pub fn instructions_minimal(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/witness.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | 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] 177 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:401:26 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator { [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] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:406:28 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn normal_children(&self) -> DerivationPathIterator { [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] 406 | pub fn normal_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn hardened_children(&self) -> DerivationPathIterator { [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] 411 | pub fn hardened_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/psbt/map/output.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn script_leaves(&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] 173 | pub fn script_leaves(&self) -> TapTreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:435:49 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:473:50 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.78s [INFO] running `Command { std: "docker" "inspect" "88dbd674e11bef700cf5e9bfba03434cb920717b261239de55e44d6c51b0f87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88dbd674e11bef700cf5e9bfba03434cb920717b261239de55e44d6c51b0f87f", kill_on_drop: false }` [INFO] [stdout] 88dbd674e11bef700cf5e9bfba03434cb920717b261239de55e44d6c51b0f87f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18a9ca0274f0d3e1703cb34895d6043087dadf5a065effc7c8c62618720f5ed6 [INFO] running `Command { std: "docker" "start" "-a" "18a9ca0274f0d3e1703cb34895d6043087dadf5a065effc7c8c62618720f5ed6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling strum v0.9.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling opaque_typedef v0.0.3 [INFO] [stderr] Compiling serde_test v1.0.137 [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/util/misc.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | let msg = secp256k1::Message::from_slice(&msg_hash[..]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:605:25 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn instructions(&self) -> Instructions { [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] 605 | pub fn instructions(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:613:33 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn instructions_minimal(&self) -> Instructions { [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] 613 | pub fn instructions_minimal(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/witness.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | 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] 177 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:401:26 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator { [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] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:406:28 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn normal_children(&self) -> DerivationPathIterator { [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] 406 | pub fn normal_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn hardened_children(&self) -> DerivationPathIterator { [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] 411 | pub fn hardened_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/psbt/map/output.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn script_leaves(&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] 173 | pub fn script_leaves(&self) -> TapTreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:435:49 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:473:50 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling strum_macros v0.9.1 [INFO] [stderr] Compiling opaque_typedef_macros v0.0.3 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling iri-string v0.1.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling json-pointer v0.3.2 [INFO] [stderr] Compiling jsonschema-valid v0.2.0 [INFO] [stderr] Compiling sapio-bitcoin v0.28.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/util/misc.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | let msg = secp256k1::Message::from_slice(&msg_hash[..]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/util/sighash.rs:1128:43 [INFO] [stdout] | [INFO] [stdout] 1128 | let msg = secp256k1::Message::from_slice(&sighash).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:605:25 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn instructions(&self) -> Instructions { [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] 605 | pub fn instructions(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:613:33 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn instructions_minimal(&self) -> Instructions { [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] 613 | pub fn instructions_minimal(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/witness.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | 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] 177 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:401:26 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator { [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] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:406:28 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn normal_children(&self) -> DerivationPathIterator { [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] 406 | pub fn normal_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn hardened_children(&self) -> DerivationPathIterator { [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] 411 | pub fn hardened_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/psbt/map/output.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn script_leaves(&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] 173 | pub fn script_leaves(&self) -> TapTreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:435:49 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:473:50 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.11, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "18a9ca0274f0d3e1703cb34895d6043087dadf5a065effc7c8c62618720f5ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a9ca0274f0d3e1703cb34895d6043087dadf5a065effc7c8c62618720f5ed6", kill_on_drop: false }` [INFO] [stdout] 18a9ca0274f0d3e1703cb34895d6043087dadf5a065effc7c8c62618720f5ed6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e02e225a57cbd4365efc389c7e7ceaba239d8564e5f8214fa4d3f7b337076faa [INFO] running `Command { std: "docker" "start" "-a" "e02e225a57cbd4365efc389c7e7ceaba239d8564e5f8214fa4d3f7b337076faa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/util/misc.rs:151:43 [INFO] [stderr] | [INFO] [stderr] 151 | let msg = secp256k1::Message::from_slice(&msg_hash[..]) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/blockdata/script.rs:605:25 [INFO] [stderr] | [INFO] [stderr] 605 | pub fn instructions(&self) -> Instructions { [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] 605 | pub fn instructions(&self) -> Instructions<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/blockdata/script.rs:613:33 [INFO] [stderr] | [INFO] [stderr] 613 | pub fn instructions_minimal(&self) -> Instructions { [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] 613 | pub fn instructions_minimal(&self) -> Instructions<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/blockdata/witness.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | 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] 177 | pub fn iter(&self) -> Iter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/base58.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [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] 99 | pub fn iter(&self) -> iter::Chain, slice::Iter<'_, T>> { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/base58.rs:104:21 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [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] 104 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut<'_, T>> { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/bip32.rs:401:26 [INFO] [stderr] | [INFO] [stderr] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator { [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] 401 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/bip32.rs:406:28 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn normal_children(&self) -> DerivationPathIterator { [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] 406 | pub fn normal_children(&self) -> DerivationPathIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/bip32.rs:411:30 [INFO] [stderr] | [INFO] [stderr] 411 | pub fn hardened_children(&self) -> DerivationPathIterator { [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] 411 | pub fn hardened_children(&self) -> DerivationPathIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/psbt/map/output.rs:173:26 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn script_leaves(&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] 173 | pub fn script_leaves(&self) -> TapTreeIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/util/bip158.rs:435:49 [INFO] [stderr] | [INFO] [stderr] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 435 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/util/bip158.rs:473:50 [INFO] [stderr] | [INFO] [stderr] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 473 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sapio-bitcoin` (lib) generated 12 warnings (run `cargo fix --lib -p sapio-bitcoin` to apply 11 suggestions) [INFO] [stderr] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stderr] --> src/util/sighash.rs:1128:43 [INFO] [stderr] | [INFO] [stderr] 1128 | let msg = secp256k1::Message::from_slice(&sighash).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sapio-bitcoin` (lib test) generated 13 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.11, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sapio_bitcoin-72db8277faa9a2e4) [INFO] [stdout] [INFO] [stdout] running 219 tests [INFO] [stdout] test blockdata::block::tests::block_version_test ... ok [INFO] [stdout] test blockdata::constants::test::bitcoin_genesis_full_block ... ok [INFO] [stdout] test blockdata::block::tests::test_coinbase_and_bip34 ... ok [INFO] [stdout] test blockdata::constants::test::signet_genesis_full_block ... ok [INFO] [stdout] test blockdata::constants::test::testnet_genesis_full_block ... ok [INFO] [stdout] test blockdata::script::test::op_return_test ... ok [INFO] [stdout] test blockdata::block::tests::block_test ... ok [INFO] [stdout] test blockdata::opcodes::tests::str_roundtrip ... ok [INFO] [stdout] test blockdata::script::test::defult_dust_value_tests ... ok [INFO] [stdout] test blockdata::constants::test::bitcoin_genesis_first_transaction ... ok [INFO] [stdout] test blockdata::opcodes::tests::classify_test ... ok [INFO] [stdout] test blockdata::block::tests::compact_roundrtip_test ... ok [INFO] [stdout] test blockdata::script::test::provably_unspendable_test ... ok [INFO] [stdout] test blockdata::script::test::read_scriptbool_zero_is_false ... ok [INFO] [stdout] test blockdata::script::test::read_scriptbool_non_zero_is_true ... ok [INFO] [stdout] test blockdata::script::test::p2sh_p2wsh_conversion ... ok [INFO] [stdout] test blockdata::script::test::script_builder ... ok [INFO] [stdout] test blockdata::script::test::script ... ok [INFO] [stdout] test blockdata::script::test::script_ord ... ok [INFO] [stdout] test blockdata::script::test::script_p2pk ... ok [INFO] [stdout] test blockdata::script::test::script_serialize ... ok [INFO] [stdout] test blockdata::script::test::scriptint_round_trip ... ok [INFO] [stdout] test blockdata::script::test::script_p2sh_p2p2k_template ... ok [INFO] [stdout] test blockdata::script::test::test_instructions_are_fused ... ok [INFO] [stdout] test blockdata::transaction::tests::sighash_single_bug ... ok [INFO] [stdout] test blockdata::transaction::tests::test_is_coinbase ... ok [INFO] [stdout] test blockdata::transaction::tests::test_ntxid ... ok [INFO] [stdout] test blockdata::transaction::tests::test_outpoint ... ok [INFO] [stdout] test blockdata::transaction::tests::test_nonsegwit_transaction ... ok [INFO] [stdout] test blockdata::transaction::tests::test_sighashtype_standard ... ok [INFO] [stdout] test blockdata::transaction::tests::test_segwit_transaction ... ok [INFO] [stdout] test blockdata::block::tests::segwit_block_test ... ok [INFO] [stdout] test blockdata::script::test::script_builder_verify ... ok [INFO] [stdout] test blockdata::script::test::test_iterator ... ok [INFO] [stdout] test blockdata::block::tests::validate_pow_test ... ok [INFO] [stdout] test blockdata::script::test::script_generators ... ok [INFO] [stdout] test blockdata::script::test::script_hashes ... ok [INFO] [stdout] test blockdata::script::test::script_asm ... ok [INFO] [stdout] test blockdata::script::test::script_x_only_key ... ok [INFO] [stdout] test blockdata::transaction::tests::test_txin ... ok [INFO] [stdout] test blockdata::transaction::tests::test_txin_default ... ok [INFO] [stdout] test blockdata::transaction::tests::tx_no_input_deserialization ... ok [INFO] [stdout] test blockdata::witness::test::fuzz_cases ... ok [INFO] [stdout] test blockdata::transaction::tests::test_txid ... ok [INFO] [stdout] test blockdata::witness::test::test_push ... ok [INFO] [stdout] test blockdata::witness::test::test_witness ... ok [INFO] [stdout] test blockdata::witness::test::test_tx ... ok [INFO] [stdout] test consensus::encode::tests::deserialize_checkeddata_test ... ok [INFO] [stdout] test consensus::encode::tests::deserialize_int_test ... ok [INFO] [stdout] test consensus::encode::tests::deserialize_nonminimal_vec ... ok [INFO] [stdout] test consensus::encode::tests::deserialize_strbuf_test ... ok [INFO] [stdout] test consensus::encode::tests::deserialize_vec_test ... ok [INFO] [stdout] test blockdata::transaction::tests::test_sighashtype_fromstr_display ... ok [INFO] [stdout] test consensus::encode::tests::serialize_checkeddata_test ... ok [INFO] [stdout] test consensus::encode::tests::serialize_int_test ... ok [INFO] [stdout] test consensus::encode::tests::serialize_strbuf_test ... ok [INFO] [stdout] test consensus::encode::tests::serialize_varint_test ... ok [INFO] [stdout] test network::address::test::addrv2message_test ... ok [INFO] [stdout] test consensus::encode::tests::serialize_vector_test ... ok [INFO] [stdout] test network::address::test::deserialize_address_test ... ok [INFO] [stdout] test network::address::test::debug_format_test ... ok [INFO] [stdout] test network::address::test::deserialize_addrv2_test ... ok [INFO] [stdout] test network::address::test::onion_test ... ok [INFO] [stdout] test network::address::test::serialize_address_test ... ok [INFO] [stdout] test network::address::test::serialize_addrv2_test ... ok [INFO] [stdout] test network::constants::tests::serialize_test ... ok [INFO] [stdout] test network::address::test::test_socket_addr ... ok [INFO] [stdout] test network::constants::tests::service_flags_test ... ok [INFO] [stdout] test network::constants::tests::string_test ... ok [INFO] [stdout] test network::message::test::commandstring_test ... ok [INFO] [stdout] test network::message::test::deserialize_getaddr_test ... ok [INFO] [stdout] test network::message::test::deserialize_partial_message_test ... ok [INFO] [stdout] test network::message::test::deserialize_version_test ... ok [INFO] [stdout] test network::message::test::serialize_getaddr_test ... ok [INFO] [stdout] test network::message::test::serialize_mempool_test ... ok [INFO] [stdout] test network::message::test::serialize_ping_test ... ok [INFO] [stdout] test network::message::test::serialize_verack_test ... ok [INFO] [stdout] test network::message_blockdata::tests::getblocks_message_test ... ok [INFO] [stdout] test network::message_blockdata::tests::getheaders_message_test ... ok [INFO] [stdout] test network::message_network::tests::version_message_test ... ok [INFO] [stdout] test network::stream_reader::test::parse_multipartmsg_test ... ok [INFO] [stdout] test network::stream_reader::test::read_block_from_file_test ... ok [INFO] [stdout] test network::stream_reader::test::read_doublemsgs_test ... ok [INFO] [stdout] test network::stream_reader::test::read_singlemsg_test ... ok [INFO] [stdout] test util::address::tests::test_is_related_to_pubkey_p2pkh_uncompressed_key ... ok [INFO] [stdout] test util::address::tests::test_bip173_350_vectors ... ok [INFO] [stdout] test util::address::tests::p2tr_from_untweaked ... ok [INFO] [stdout] test util::address::tests::test_is_related_to_pubkey_p2pkh ... ok [INFO] [stdout] test util::address::tests::test_is_related_to_pubkey_p2tr ... ok [INFO] [stdout] test util::address::tests::test_is_related_to_pubkey_p2shwpkh ... ok [INFO] [stdout] test util::address::tests::test_is_related_to_xonly_pubkey ... ok [INFO] [stdout] test util::address::tests::test_is_related_to_pubkey_p2wpkh ... ok [INFO] [stdout] test consensus::encode::tests::serialization_round_trips ... ok [INFO] [stdout] test network::message::test::full_round_ser_der_raw_network_message_test ... ok [INFO] [stdout] test util::address::tests::test_address_type ... ok [INFO] [stdout] test util::address::tests::test_p2pkh_address_58 ... ok [INFO] [stdout] test util::address::tests::test_non_existent_segwit_version ... ok [INFO] [stdout] test blockdata::transaction::tests::test_transaction_version ... ok [INFO] [stdout] test util::address::tests::test_p2sh_address_58 ... ok [INFO] [stdout] test util::address::tests::test_p2shwpkh ... ok [INFO] [stdout] test util::amount::tests::checked_arithmetic ... ok [INFO] [stdout] test util::address::tests::test_p2shwsh ... ok [INFO] [stdout] test util::amount::tests::checked_sum_amounts ... ok [INFO] [stdout] test util::address::tests::test_p2sh_parse ... ok [INFO] [stdout] test util::address::tests::test_qr_string ... ok [INFO] [stdout] test util::address::tests::test_p2pkh_from_key ... ok [INFO] [stdout] test util::amount::tests::denomination_string_acceptable_forms ... ok [INFO] [stdout] test util::address::tests::test_p2wsh ... ok [INFO] [stdout] test util::amount::tests::floating_point ... ok [INFO] [stdout] test util::amount::tests::disallow_unknown_denomination ... ok [INFO] [stdout] test util::amount::tests::parsing ... ok [INFO] [stdout] test util::amount::tests::sum_amounts ... ok [INFO] [stdout] test util::address::tests::test_p2wpkh ... ok [INFO] [stdout] test util::amount::tests::test_unsigned_signed_conversion ... ok [INFO] [stdout] test util::amount::tests::to_string_with_denomination_from_str_roundtrip ... ok [INFO] [stdout] test util::base58::tests::test_base58_decode ... ok [INFO] [stdout] test util::amount::tests::disallow_confusing_forms ... ok [INFO] [stdout] test util::amount::tests::to_from_string_in ... ok [INFO] [stdout] test util::amount::tests::to_string ... ok [INFO] [stdout] test util::address::tests::test_p2sh_parse_for_large_script ... ok [INFO] [stdout] test util::bip143::tests::bip143_p2wpkh_nested_in_p2sh ... ok [INFO] [stdout] test util::base58::tests::test_base58_encode ... ok [INFO] [stdout] test util::bip143::tests::bip143_p2wpkh ... ok [INFO] [stdout] test util::base58::tests::test_base58_roundtrip ... ok [INFO] [stdout] test util::bip158::test::test_bit_stream ... ok [INFO] [stdout] test util::address::tests::test_valid_networks ... ok [INFO] [stdout] test util::bip143::tests::bip143_p2wsh_nested_in_p2sh ... ok [INFO] [stdout] test util::amount::tests::add_sub_mul_div ... ok [INFO] [stdout] test util::bip158::test::test_filter ... ok [INFO] [stdout] test util::bip32::tests::fmt_child_number ... ok [INFO] [stdout] test util::bip32::tests::test_derivation_path_conversion_index ... ok [INFO] [stdout] test util::bip32::tests::test_parse_derivation_path ... ok [INFO] [stdout] test util::bip32::tests::test_increment ... ok [INFO] [stdout] test util::bip143::tests::bip143_sighash_flags ... ok [INFO] [stdout] test util::endian::tests::endian_chunk_test ... ok [INFO] [stdout] test util::bip32::tests::test_vector_3 ... ok [INFO] [stdout] test util::bip158::test::test_blockfilters ... ok [INFO] [stdout] test util::endian::tests::endianness_test ... ok [INFO] [stdout] test util::key::tests::pubkey_read_write ... ok [INFO] [stdout] test consensus::encode::tests::limit_read_test ... ok [INFO] [stdout] test util::key::tests::test_key_derivation ... ok [INFO] [stdout] test util::amount::tests::from_str ... ok [INFO] [stdout] test util::key::tests::test_pubkey_hash ... ok [INFO] [stdout] test util::key::tests::test_wpubkey_hash ... ok [INFO] [stdout] test util::misc::tests::test_script_codesep_remove ... ok [INFO] [stdout] test util::merkleblock::tests::pmt_malleability ... ok [INFO] [stdout] test util::misc::tests::test_signed_msg_hash ... ok [INFO] [stdout] test util::misc::tests::test_script_find_and_remove ... ok [INFO] [stdout] test util::psbt::map::input::test::psbt_sighash_type_ecdsa ... ok [INFO] [stdout] test util::psbt::map::input::test::psbt_sighash_type_notstd ... ok [INFO] [stdout] test util::psbt::map::input::test::psbt_sighash_type_schnorr ... ok [INFO] [stdout] test util::psbt::map::input::test::psbt_sighash_type_schnorr_notstd ... ok [INFO] [stdout] test util::psbt::serialize::tests::can_deserialize_non_standard_psbt_sighash_type ... ok [INFO] [stdout] test util::psbt::serialize::tests::taptree_hidden ... ok [INFO] [stdout] test util::psbt::tests::bip_371_vectors::invalid_vectors ... ok [INFO] [stdout] test util::merkleblock::tests::merkleblock_serialization ... ok [INFO] [stdout] test util::psbt::serialize::tests::taptree_roundtrip ... ok [INFO] [stdout] test util::merkleblock::tests::merkleblock_construct_from_txids_not_found ... ok [INFO] [stdout] test util::merkleblock::tests::merkleblock_construct_from_txids_found ... ok [INFO] [stdout] test util::psbt::tests::bip_371_vectors::valid_psbt_vectors ... ok [INFO] [stdout] test util::hash::tests::both_merkle_root_functions_return_the_same_result ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::valid_vector_1 ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::valid_vector_2 ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::valid_vector_3 ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::valid_vector_5 ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::valid_vector_6 ... ok [INFO] [stdout] test util::psbt::tests::combine_psbts ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::valid_vector_4 ... ok [INFO] [stdout] test util::psbt::tests::deserialize_and_serialize_psbt_with_two_partial_sigs ... ok [INFO] [stdout] test util::psbt::tests::psbt_uncompressed_key ... ok [INFO] [stdout] test util::psbt::tests::combine_psbts_commutative ... ok [INFO] [stdout] test util::psbt::tests::serialize_and_deserialize_proprietary ... ok [INFO] [stdout] test util::psbt::tests::serialize_then_deserialize_global ... ok [INFO] [stdout] test util::psbt::tests::serialize_and_deserialize_preimage_psbt ... ok [INFO] [stdout] test util::psbt::tests::serialize_then_deserialize_psbtkvpair ... ok [INFO] [stdout] test util::psbt::tests::trivial_psbt ... ok [INFO] [stdout] test util::psbt::tests::serialize_then_deserialize_output ... ok [INFO] [stdout] test util::sighash::tests::sighashtype_fromstr_display ... ok [INFO] [stdout] test util::amount::tests::test_overflows ... ok [INFO] [stdout] test util::sighash::tests::test_sighash_errors ... ok [INFO] [stdout] test util::bip32::tests::schnorr_broken_privkey_zeros - should panic ... ok [INFO] [stdout] test util::bip32::tests::test_vector_2 ... ok [INFO] [stdout] test util::sighash::tests::test_sighashes_with_annex ... ok [INFO] [stdout] test util::bip32::tests::schnorr_broken_privkey_ffs - should panic ... ok [INFO] [stdout] test util::sighash::tests::test_sighashes_keyspending ... ok [INFO] [stdout] test util::sighash::tests::test_annex_errors ... ok [INFO] [stdout] test util::sighash::tests::test_sighashes_with_script_path ... ok [INFO] [stdout] test util::sighash::tests::test_sighashes_with_annex_and_script ... ok [INFO] [stdout] test util::sighash::tests::test_sighashes_with_script_path_raw_hash ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::invalid_vector_2 - should panic ... ok [INFO] [stdout] test util::sighash::tests::test_tap_sighash_hash ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::invalid_vector_1 - should panic ... ok [INFO] [stdout] test util::taproot::test::test_midstates ... ok [INFO] [stdout] test util::taproot::test::test_vectors_core ... ok [INFO] [stdout] test util::uint::tests::increment_test ... ok [INFO] [stdout] test util::uint::tests::mul_u32_test ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::invalid_vector_3 - should panic ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::invalid_vector_4 - should panic ... ok [INFO] [stdout] test util::psbt::tests::bip_vectors::invalid_vector_5 - should panic ... ok [INFO] [stdout] test util::taproot::test::build_huffman_tree ... ok [INFO] [stdout] test util::sighash::tests::bip_341_sighash_tests ... ok [INFO] [stdout] test util::taproot::test::taptree_builder ... ok [INFO] [stdout] test util::uint::tests::uint256_bitslice_test ... ok [INFO] [stdout] test util::uint::tests::uint256_serialize_test ... ok [INFO] [stdout] test util::uint::tests::uint256_comp_test ... ok [INFO] [stdout] test util::uint::tests::uint256_display_test ... ok [INFO] [stdout] test util::uint::tests::multiplication_test ... ok [INFO] [stdout] test util::uint::tests::uint256_arithmetic_test ... ok [INFO] [stdout] test util::uint::tests::uint_from_be_bytes ... ok [INFO] [stdout] test util::uint::tests::uint_to_be_bytes ... ok [INFO] [stdout] test util::uint::tests::uint256_bits_test ... ok [INFO] [stdout] test util::uint::tests::uint256_extreme_bitshift_test ... ok [INFO] [stdout] test blockdata::transaction::tests::test_sighash ... ok [INFO] [stdout] test util::taproot::test::bip_341_tests ... ok [INFO] [stdout] test util::bip32::tests::test_vector_1 ... ok [INFO] [stdout] test util::taproot::test::control_block_verify ... ok [INFO] [stdout] test network::stream_reader::test::read_multipartmsg_test ... ok [INFO] [stdout] test network::stream_reader::test::read_sequencemsg_test ... ok [INFO] [stdout] test util::merkleblock::tests::pmt_tests ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 219 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.20s [INFO] [stdout] [INFO] [stderr] Doc-tests sapio_bitcoin [INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> src/lib.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | #![deny(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: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/util/bip158.rs - util::bip158 (line 28) ... ignored [INFO] [stdout] test src/util/address.rs - util::address (line 20) ... FAILED [INFO] [stdout] test src/util/address.rs - util::address::Address::is_valid_for_network (line 693) ... FAILED [INFO] [stdout] test src/blockdata/transaction.rs - blockdata::transaction::OutPoint::is_null (line 108) ... FAILED [INFO] [stdout] test src/blockdata/block.rs - blockdata::block::BlockHeader::u256_from_compact_target (line 79) ... FAILED [INFO] [stdout] test src/util/merkleblock.rs - util::merkleblock::PartialMerkleTree::from_txids (line 133) ... FAILED [INFO] [stdout] test src/util/merkleblock.rs - util::merkleblock (line 27) ... FAILED [INFO] [stdout] test src/util/bip143.rs - util::bip143::SigHashCache::access_witness (line 166) ... FAILED [INFO] [stdout] test src/util/merkleblock.rs - util::merkleblock::MerkleBlock::from_block_with_predicate (line 393) ... FAILED [INFO] [stdout] test src/util/bip32.rs - util::bip32::DerivationPath::extend (line 417) ... FAILED [INFO] [stdout] test src/network/constants.rs - network::constants::Network::from_magic (line 82) ... FAILED [INFO] [stdout] test src/network/constants.rs - network::constants (line 30) ... FAILED [INFO] [stdout] test src/network/constants.rs - network::constants::Network::magic (line 104) ... FAILED [INFO] [stdout] test src/util/sighash.rs - util::sighash::SighashCache::witness_mut (line 737) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/util/address.rs - util::address (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/address.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::network::constants::Network; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/address.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::util::address::Address; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/address.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bitcoin::secp256k1::Secp256k1; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/address.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitcoin::secp256k1::rand::thread_rng; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin` [INFO] [stdout] --> src/util/address.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::PublicKey; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/address.rs - util::address::Address::is_valid_for_network (line 693) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bitcoin` [INFO] [stdout] --> src/util/address.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::{Address, Network}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/blockdata/transaction.rs - blockdata::transaction::OutPoint::is_null (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/blockdata/transaction.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::blockdata::constants::genesis_block; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/blockdata/transaction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::network::constants::Network; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/blockdata/block.rs - blockdata::block::BlockHeader::u256_from_compact_target (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/blockdata/block.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::blockdata::block::BlockHeader; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/merkleblock.rs - util::merkleblock::PartialMerkleTree::from_txids (line 133) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::hash_types::Txid; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::hashes::hex::FromHex; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::util::merkleblock::PartialMerkleTree; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/merkleblock.rs - util::merkleblock (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::hash_types::Txid; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::hashes::hex::FromHex; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::{Block, MerkleBlock}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 14 | let mb: MerkleBlock = bitcoin::consensus::deserialize(&mb_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_hex` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/util/merkleblock.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 10 | let mb_bytes = Vec::from_hex("01000000ba8b9cda965dd8e536670f9ddec10e53aab14b20bacad27b913719\ [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - let mb_bytes = Vec::from_hex("01000000ba8b9cda965dd8e536670f9ddec10e53aab14b20bacad27b913719\ [INFO] [stdout] 10 + let mb_bytes = Vec::from("01000000ba8b9cda965dd8e536670f9ddec10e53aab14b20bacad27b913719\ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/bip143.rs - util::bip143::SigHashCache::access_witness (line 166) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/bip143.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::blockdata::transaction::{Transaction, EcdsaSighashType}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/bip143.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::util::bip143::SigHashCache; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin` [INFO] [stdout] --> src/util/bip143.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::Script; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/merkleblock.rs - util::merkleblock::MerkleBlock::from_block_with_predicate (line 393) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::hash_types::Txid; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::hashes::hex::FromHex; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::{Block, MerkleBlock}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/merkleblock.rs:409:20 [INFO] [stdout] | [INFO] [stdout] 18 | let block: Block = bitcoin::consensus::deserialize(&block_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_hex` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/util/merkleblock.rs:399:24 [INFO] [stdout] | [INFO] [stdout] 8 | let block_bytes = Vec::from_hex("01000000ba8b9cda965dd8e536670f9ddec10e53aab14b20bacad2\ [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let block_bytes = Vec::from_hex("01000000ba8b9cda965dd8e536670f9ddec10e53aab14b20bacad2\ [INFO] [stdout] 8 + let block_bytes = Vec::from("01000000ba8b9cda965dd8e536670f9ddec10e53aab14b20bacad2\ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/bip32.rs - util::bip32::DerivationPath::extend (line 417) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/bip32.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::util::bip32::{DerivationPath, ChildNumber}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/network/constants.rs - network::constants::Network::from_magic (line 82) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/network/constants.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::network::constants::Network; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/network/constants.rs - network::constants (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/network/constants.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::network::constants::Network; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/network/constants.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::consensus::encode::serialize; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/network/constants.rs - network::constants::Network::magic (line 104) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/network/constants.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::network::constants::Network; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/sighash.rs - util::sighash::SighashCache::witness_mut (line 737) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/sighash.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::blockdata::transaction::{Transaction, EcdsaSighashType}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] --> src/util/sighash.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoin::util::sighash::SighashCache; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin` [INFO] [stdout] --> src/util/sighash.rs:740:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::Script; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitcoin` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `bitcoin`, use `cargo add bitcoin` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate bitcoin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/blockdata/block.rs - blockdata::block::BlockHeader::u256_from_compact_target (line 79) [INFO] [stdout] src/blockdata/transaction.rs - blockdata::transaction::OutPoint::is_null (line 108) [INFO] [stdout] src/network/constants.rs - network::constants (line 30) [INFO] [stdout] src/network/constants.rs - network::constants::Network::from_magic (line 82) [INFO] [stdout] src/network/constants.rs - network::constants::Network::magic (line 104) [INFO] [stdout] src/util/address.rs - util::address (line 20) [INFO] [stdout] src/util/address.rs - util::address::Address::is_valid_for_network (line 693) [INFO] [stdout] src/util/bip143.rs - util::bip143::SigHashCache::access_witness (line 166) [INFO] [stdout] src/util/bip32.rs - util::bip32::DerivationPath::extend (line 417) [INFO] [stdout] src/util/merkleblock.rs - util::merkleblock (line 27) [INFO] [stdout] src/util/merkleblock.rs - util::merkleblock::MerkleBlock::from_block_with_predicate (line 393) [INFO] [stdout] src/util/merkleblock.rs - util::merkleblock::PartialMerkleTree::from_txids (line 133) [INFO] [stdout] src/util/sighash.rs - util::sighash::SighashCache::witness_mut (line 737) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e02e225a57cbd4365efc389c7e7ceaba239d8564e5f8214fa4d3f7b337076faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02e225a57cbd4365efc389c7e7ceaba239d8564e5f8214fa4d3f7b337076faa", kill_on_drop: false }` [INFO] [stdout] e02e225a57cbd4365efc389c7e7ceaba239d8564e5f8214fa4d3f7b337076faa