[INFO] fetching crate bitcoin-coin-selection 0.7.1... [INFO] checking bitcoin-coin-selection-0.7.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate bitcoin-coin-selection 0.7.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate bitcoin-coin-selection 0.7.1 [INFO] finished tweaking crates.io crate bitcoin-coin-selection 0.7.1 [INFO] tweaked toml for crates.io crate bitcoin-coin-selection 0.7.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bitcoin-coin-selection 0.7.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bitcoin-coin-selection 0.7.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8cf7ff73f488af9341db01987508995e5c4c1fb226b4e3860c6ce1b47f00b96 [INFO] running `Command { std: "docker" "start" "-a" "c8cf7ff73f488af9341db01987508995e5c4c1fb226b4e3860c6ce1b47f00b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8cf7ff73f488af9341db01987508995e5c4c1fb226b4e3860c6ce1b47f00b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8cf7ff73f488af9341db01987508995e5c4c1fb226b4e3860c6ce1b47f00b96", kill_on_drop: false }` [INFO] [stdout] c8cf7ff73f488af9341db01987508995e5c4c1fb226b4e3860c6ce1b47f00b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 030201dd37b1c101ed3503b7fcb72c08700af06207c889442cec818f5cbe7c75 [INFO] running `Command { std: "docker" "start" "-a" "030201dd37b1c101ed3503b7fcb72c08700af06207c889442cec818f5cbe7c75", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking exhaustigen v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking arbtest v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking bitcoin-coin-selection v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/single_random_draw.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rand::thread_rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/single_random_draw.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn select_coins_srd<'a, R: rand::Rng + ?Sized, Utxo: WeightedUtxo>( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-coin-selection` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `checked_div_by_weight_floor` found for struct `Amount` in the current scope [INFO] [stdout] --> src/branch_and_bound.rs:409:40 [INFO] [stdout] | [INFO] [stdout] 409 | if let Some(fee_rate) = amount.checked_div_by_weight_floor(weight) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `Amount` in the current scope [INFO] [stdout] --> src/branch_and_bound.rs:1033:34 [INFO] [stdout] | [INFO] [stdout] 1033 | let target = Amount::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Amount` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Amount` consider using one of the following associated functions: [INFO] [stdout] Amount::from_sat [INFO] [stdout] Amount::from_btc [INFO] [stdout] Amount::from_int_btc [INFO] [stdout] Amount::from_str_in [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/amount.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | pub const fn from_sat(satoshi: u64) -> Amount { Amount(satoshi) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn from_btc(btc: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | pub const fn from_int_btc(btc: u64) -> Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn from_str_in(s: &str, denom: Denomination) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `Amount` in the current scope [INFO] [stdout] --> src/branch_and_bound.rs:1034:42 [INFO] [stdout] | [INFO] [stdout] 1034 | let cost_of_change = Amount::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Amount` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Amount` consider using one of the following associated functions: [INFO] [stdout] Amount::from_sat [INFO] [stdout] Amount::from_btc [INFO] [stdout] Amount::from_int_btc [INFO] [stdout] Amount::from_str_in [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/amount.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | pub const fn from_sat(satoshi: u64) -> Amount { Amount(satoshi) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn from_btc(btc: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | pub const fn from_int_btc(btc: u64) -> Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn from_str_in(s: &str, denom: Denomination) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `bitcoin::FeeRate` in the current scope [INFO] [stdout] --> src/branch_and_bound.rs:1035:37 [INFO] [stdout] | [INFO] [stdout] 1035 | let fee_rate = FeeRate::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `bitcoin::FeeRate` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bitcoin::FeeRate` consider using one of the following associated functions: [INFO] [stdout] bitcoin::FeeRate::from_sat_per_kwu [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/fee_rate.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn from_sat_per_kwu(sat_kwu: u64) -> Self { FeeRate(sat_kwu) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn from_sat_per_vb(sat_vb: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub const fn from_sat_per_vb_unchecked(sat_vb: u64) -> Self { FeeRate(sat_vb * (1000 / 4)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `bitcoin::FeeRate` in the current scope [INFO] [stdout] --> src/branch_and_bound.rs:1036:40 [INFO] [stdout] | [INFO] [stdout] 1036 | let lt_fee_rate = FeeRate::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `bitcoin::FeeRate` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bitcoin::FeeRate` consider using one of the following associated functions: [INFO] [stdout] bitcoin::FeeRate::from_sat_per_kwu [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/fee_rate.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn from_sat_per_kwu(sat_kwu: u64) -> Self { FeeRate(sat_kwu) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn from_sat_per_vb(sat_vb: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub const fn from_sat_per_vb_unchecked(sat_vb: u64) -> Self { FeeRate(sat_vb * (1000 / 4)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `Amount` in the current scope [INFO] [stdout] --> src/single_random_draw.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 291 | let target = Amount::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Amount` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Amount` consider using one of the following associated functions: [INFO] [stdout] Amount::from_sat [INFO] [stdout] Amount::from_btc [INFO] [stdout] Amount::from_int_btc [INFO] [stdout] Amount::from_str_in [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/amount.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | pub const fn from_sat(satoshi: u64) -> Amount { Amount(satoshi) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn from_btc(btc: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | pub const fn from_int_btc(btc: u64) -> Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn from_str_in(s: &str, denom: Denomination) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `bitcoin::FeeRate` in the current scope [INFO] [stdout] --> src/single_random_draw.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | let fee_rate = FeeRate::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `bitcoin::FeeRate` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bitcoin::FeeRate` consider using one of the following associated functions: [INFO] [stdout] bitcoin::FeeRate::from_sat_per_kwu [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/fee_rate.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn from_sat_per_kwu(sat_kwu: u64) -> Self { FeeRate(sat_kwu) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn from_sat_per_vb(sat_vb: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub const fn from_sat_per_vb_unchecked(sat_vb: u64) -> Self { FeeRate(sat_vb * (1000 / 4)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Amount: Arbitrary<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Debug, Clone, PartialEq, Ord, Eq, PartialOrd, Arbitrary)] [INFO] [stdout] | ^^^^^^^^^ the trait `Arbitrary<'_>` is not implemented for `Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Arbitrary<'a>`: [INFO] [stdout] `&'a [u8]` implements `Arbitrary<'a>` [INFO] [stdout] `&'a str` implements `Arbitrary<'a>` [INFO] [stdout] `()` implements `Arbitrary<'a>` [INFO] [stdout] `(B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, A)` implements `Arbitrary<'a>` [INFO] [stdout] `(C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, B)` implements `Arbitrary<'a>` [INFO] [stdout] `(D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, C)` implements `Arbitrary<'a>` [INFO] [stdout] `(E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, D)` implements `Arbitrary<'a>` [INFO] [stdout] `(F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, E)` implements `Arbitrary<'a>` [INFO] [stdout] and 100 others [INFO] [stdout] = note: this error originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Weight: Arbitrary<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Debug, Clone, PartialEq, Ord, Eq, PartialOrd, Arbitrary)] [INFO] [stdout] | ^^^^^^^^^ the trait `Arbitrary<'_>` is not implemented for `bitcoin::Weight` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Arbitrary<'a>`: [INFO] [stdout] `&'a [u8]` implements `Arbitrary<'a>` [INFO] [stdout] `&'a str` implements `Arbitrary<'a>` [INFO] [stdout] `()` implements `Arbitrary<'a>` [INFO] [stdout] `(B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, A)` implements `Arbitrary<'a>` [INFO] [stdout] `(C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, B)` implements `Arbitrary<'a>` [INFO] [stdout] `(D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, C)` implements `Arbitrary<'a>` [INFO] [stdout] `(E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, D)` implements `Arbitrary<'a>` [INFO] [stdout] `(F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, E)` implements `Arbitrary<'a>` [INFO] [stdout] and 100 others [INFO] [stdout] = note: this error originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Amount: Arbitrary<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub value: Amount, [INFO] [stdout] | ^^^^^^ the trait `Arbitrary<'_>` is not implemented for `Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Arbitrary<'a>`: [INFO] [stdout] `&'a [u8]` implements `Arbitrary<'a>` [INFO] [stdout] `&'a str` implements `Arbitrary<'a>` [INFO] [stdout] `()` implements `Arbitrary<'a>` [INFO] [stdout] `(B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, A)` implements `Arbitrary<'a>` [INFO] [stdout] `(C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, B)` implements `Arbitrary<'a>` [INFO] [stdout] `(D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, C)` implements `Arbitrary<'a>` [INFO] [stdout] `(E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, D)` implements `Arbitrary<'a>` [INFO] [stdout] `(F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, E)` implements `Arbitrary<'a>` [INFO] [stdout] and 100 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Weight: Arbitrary<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | pub satisfaction_weight: Weight, [INFO] [stdout] | ^^^^^^ the trait `Arbitrary<'_>` is not implemented for `bitcoin::Weight` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Arbitrary<'a>`: [INFO] [stdout] `&'a [u8]` implements `Arbitrary<'a>` [INFO] [stdout] `&'a str` implements `Arbitrary<'a>` [INFO] [stdout] `()` implements `Arbitrary<'a>` [INFO] [stdout] `(B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, A)` implements `Arbitrary<'a>` [INFO] [stdout] `(C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, B)` implements `Arbitrary<'a>` [INFO] [stdout] `(D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, C)` implements `Arbitrary<'a>` [INFO] [stdout] `(E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, D)` implements `Arbitrary<'a>` [INFO] [stdout] `(F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, E)` implements `Arbitrary<'a>` [INFO] [stdout] and 100 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_coins` in this scope [INFO] [stdout] --> src/lib.rs:424:22 [INFO] [stdout] | [INFO] [stdout] 424 | let result = select_coins(target, cost_of_change, fee_rate, lt_fee_rate, &pool); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `select_coins_bnb` [INFO] [stdout] | [INFO] [stdout] ::: src/branch_and_bound.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn select_coins_bnb( [INFO] [stdout] 150 | | target: Amount, [INFO] [stdout] 151 | | cost_of_change: Amount, [INFO] [stdout] 152 | | fee_rate: FeeRate, [INFO] [stdout] ... | [INFO] [stdout] 302 | | index_to_utxo_list(iteration, best_selection, w_utxos) [INFO] [stdout] 303 | | } [INFO] [stdout] | |_- similarly named function `select_coins_bnb` defined here [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "rand")] [INFO] [stdout] | ---------------- the item is gated behind the `rand` feature [INFO] [stdout] 112 | #[cfg_attr(docsrs, doc(cfg(feature = "rand")))] [INFO] [stdout] 113 | pub fn select_coins( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_coins` in this scope [INFO] [stdout] --> src/lib.rs:440:22 [INFO] [stdout] | [INFO] [stdout] 440 | let result = select_coins(target, cost_of_change, fee_rate, lt_fee_rate, &pool); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `select_coins_bnb` [INFO] [stdout] | [INFO] [stdout] ::: src/branch_and_bound.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn select_coins_bnb( [INFO] [stdout] 150 | | target: Amount, [INFO] [stdout] 151 | | cost_of_change: Amount, [INFO] [stdout] 152 | | fee_rate: FeeRate, [INFO] [stdout] ... | [INFO] [stdout] 302 | | index_to_utxo_list(iteration, best_selection, w_utxos) [INFO] [stdout] 303 | | } [INFO] [stdout] | |_- similarly named function `select_coins_bnb` defined here [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "rand")] [INFO] [stdout] | ---------------- the item is gated behind the `rand` feature [INFO] [stdout] 112 | #[cfg_attr(docsrs, doc(cfg(feature = "rand")))] [INFO] [stdout] 113 | pub fn select_coins( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_coins` in this scope [INFO] [stdout] --> src/lib.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | let result = select_coins(target, cost_of_change, fee_rate, lt_fee_rate, &pool); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `select_coins_bnb` [INFO] [stdout] | [INFO] [stdout] ::: src/branch_and_bound.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn select_coins_bnb( [INFO] [stdout] 150 | | target: Amount, [INFO] [stdout] 151 | | cost_of_change: Amount, [INFO] [stdout] 152 | | fee_rate: FeeRate, [INFO] [stdout] ... | [INFO] [stdout] 302 | | index_to_utxo_list(iteration, best_selection, w_utxos) [INFO] [stdout] 303 | | } [INFO] [stdout] | |_- similarly named function `select_coins_bnb` defined here [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "rand")] [INFO] [stdout] | ---------------- the item is gated behind the `rand` feature [INFO] [stdout] 112 | #[cfg_attr(docsrs, doc(cfg(feature = "rand")))] [INFO] [stdout] 113 | pub fn select_coins( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `Amount` in the current scope [INFO] [stdout] --> src/lib.rs:471:34 [INFO] [stdout] | [INFO] [stdout] 471 | let target = Amount::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Amount` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Amount` consider using one of the following associated functions: [INFO] [stdout] Amount::from_sat [INFO] [stdout] Amount::from_btc [INFO] [stdout] Amount::from_int_btc [INFO] [stdout] Amount::from_str_in [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/amount.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | pub const fn from_sat(satoshi: u64) -> Amount { Amount(satoshi) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn from_btc(btc: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | pub const fn from_int_btc(btc: u64) -> Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn from_str_in(s: &str, denom: Denomination) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `Amount` in the current scope [INFO] [stdout] --> src/lib.rs:472:42 [INFO] [stdout] | [INFO] [stdout] 472 | let cost_of_change = Amount::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Amount` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Amount` consider using one of the following associated functions: [INFO] [stdout] Amount::from_sat [INFO] [stdout] Amount::from_btc [INFO] [stdout] Amount::from_int_btc [INFO] [stdout] Amount::from_str_in [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/amount.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | pub const fn from_sat(satoshi: u64) -> Amount { Amount(satoshi) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn from_btc(btc: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | pub const fn from_int_btc(btc: u64) -> Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn from_str_in(s: &str, denom: Denomination) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `bitcoin::FeeRate` in the current scope [INFO] [stdout] --> src/lib.rs:473:37 [INFO] [stdout] | [INFO] [stdout] 473 | let fee_rate = FeeRate::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `bitcoin::FeeRate` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bitcoin::FeeRate` consider using one of the following associated functions: [INFO] [stdout] bitcoin::FeeRate::from_sat_per_kwu [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/fee_rate.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn from_sat_per_kwu(sat_kwu: u64) -> Self { FeeRate(sat_kwu) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn from_sat_per_vb(sat_vb: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub const fn from_sat_per_vb_unchecked(sat_vb: u64) -> Self { FeeRate(sat_vb * (1000 / 4)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arbitrary` found for struct `bitcoin::FeeRate` in the current scope [INFO] [stdout] --> src/lib.rs:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | let lt_fee_rate = FeeRate::arbitrary(u)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `bitcoin::FeeRate` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `bitcoin::FeeRate` consider using one of the following associated functions: [INFO] [stdout] bitcoin::FeeRate::from_sat_per_kwu [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb [INFO] [stdout] bitcoin::FeeRate::from_sat_per_vb_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-units-0.1.2/src/fee_rate.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn from_sat_per_kwu(sat_kwu: u64) -> Self { FeeRate(sat_kwu) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn from_sat_per_vb(sat_vb: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub const fn from_sat_per_vb_unchecked(sat_vb: u64) -> Self { FeeRate(sat_vb * (1000 / 4)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_coins` in this scope [INFO] [stdout] --> src/lib.rs:477:26 [INFO] [stdout] | [INFO] [stdout] 477 | let result = select_coins(target, cost_of_change, fee_rate, lt_fee_rate, &utxos); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `select_coins_bnb` [INFO] [stdout] | [INFO] [stdout] ::: src/branch_and_bound.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn select_coins_bnb( [INFO] [stdout] 150 | | target: Amount, [INFO] [stdout] 151 | | cost_of_change: Amount, [INFO] [stdout] 152 | | fee_rate: FeeRate, [INFO] [stdout] ... | [INFO] [stdout] 302 | | index_to_utxo_list(iteration, best_selection, w_utxos) [INFO] [stdout] 303 | | } [INFO] [stdout] | |_- similarly named function `select_coins_bnb` defined here [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "rand")] [INFO] [stdout] | ---------------- the item is gated behind the `rand` feature [INFO] [stdout] 112 | #[cfg_attr(docsrs, doc(cfg(feature = "rand")))] [INFO] [stdout] 113 | pub fn select_coins( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-coin-selection` (lib test) due to 19 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "030201dd37b1c101ed3503b7fcb72c08700af06207c889442cec818f5cbe7c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030201dd37b1c101ed3503b7fcb72c08700af06207c889442cec818f5cbe7c75", kill_on_drop: false }` [INFO] [stdout] 030201dd37b1c101ed3503b7fcb72c08700af06207c889442cec818f5cbe7c75