[INFO] cloning repository https://github.com/nymius/bdk-coin-select-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nymius/bdk-coin-select-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnymius%2Fbdk-coin-select-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnymius%2Fbdk-coin-select-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7965931ceb465bfb9767320394e72e7aae6e4f6 [INFO] testing nymius/bdk-coin-select-simulation against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnymius%2Fbdk-coin-select-simulation" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nymius/bdk-coin-select-simulation [INFO] finished tweaking git repo https://github.com/nymius/bdk-coin-select-simulation [INFO] tweaked toml for git repo https://github.com/nymius/bdk-coin-select-simulation written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nymius/bdk-coin-select-simulation on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nymius/bdk-coin-select-simulation 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/bitcoindevkit/coin-select.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Bitshala-Incubator/rust-coinselect.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded pyo3-macros v0.21.2 [INFO] [stderr] Downloaded statistical v1.0.0 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded pyo3-build-config v0.21.2 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded pyo3-ffi v0.21.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.2 [INFO] [stderr] Downloaded bitcoin v0.31.1 [INFO] [stderr] Downloaded pyo3 v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb3ae698a3f66c4ec3bf47fe044e424291f65dd3e0736b3a275d13720a49c279 [INFO] running `Command { std: "docker" "start" "-a" "bb3ae698a3f66c4ec3bf47fe044e424291f65dd3e0736b3a275d13720a49c279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb3ae698a3f66c4ec3bf47fe044e424291f65dd3e0736b3a275d13720a49c279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3ae698a3f66c4ec3bf47fe044e424291f65dd3e0736b3a275d13720a49c279", kill_on_drop: false }` [INFO] [stdout] bb3ae698a3f66c4ec3bf47fe044e424291f65dd3e0736b3a275d13720a49c279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 572de869cc9d011542336dcd22d306538efbaefee9406bd66201f21cce81d9dd [INFO] running `Command { std: "docker" "start" "-a" "572de869cc9d011542336dcd22d306538efbaefee9406bd66201f21cce81d9dd", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitcoin v0.31.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bech32 v0.10.0-beta [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling bdk_coin_select v0.2.0 (https://github.com/bitcoindevkit/coin-select.git?branch=master#798d7b64) [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling rust-coinselect v0.1.0 (https://github.com/Bitshala-Incubator/rust-coinselect.git?branch=main#10d76b5b) [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling statistical v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling bdk-coin-select-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::selectors::bdk::BdkCoinSelect` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::selectors::bdk::BdkCoinSelect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::selectors::rust_coinselect::RustCoinSelect` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::selectors::rust_coinselect::RustCoinSelect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs_spent_count`, `mean_fees_per_withdraw`, `total_cost`, and `usage` are never read [INFO] [stdout] --> src/models.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SimulationSummary { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub inputs_spent_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub mean_fees_per_withdraw: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | pub cost_to_empty_at_long_term_feerate: f32, [INFO] [stdout] 84 | pub total_cost: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub usage: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulationSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BdkCoinSelect` is never constructed [INFO] [stdout] --> src/selectors/bdk.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BdkCoinSelect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/selectors/bdk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BdkCoinSelect { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 21 | pub fn new(long_term_feerate: f32, dust_limit: u64, input_drain_weight: u32, output_drain_weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cost_to_empty_at_long_term_feerate` and `balance` are never used [INFO] [stdout] --> src/selectors/bdk.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl BdkCoinSelect { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 33 | fn cost_to_empty_at_long_term_feerate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `varint_size` is never used [INFO] [stdout] --> src/selectors/rust_coinselect.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn varint_size(v: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `effective_value` is never used [INFO] [stdout] --> src/selectors/rust_coinselect.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn effective_value(value: u64, weight: u32, sats_per_wu: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustCoinSelect` is never constructed [INFO] [stdout] --> src/selectors/rust_coinselect.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RustCoinSelect { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cost_to_empty_at_long_term_feerate`, and `balance` are never used [INFO] [stdout] --> src/selectors/rust_coinselect.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl RustCoinSelect { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 42 | pub fn new(long_term_feerate: f32, dust_limit: u64, input_drain_weight: u32, output_drain_weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn cost_to_empty_at_long_term_feerate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/selectors/python/mod.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | struct PySimulationEntry(SimulationEntry); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PySimulationEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.14s [INFO] running `Command { std: "docker" "inspect" "572de869cc9d011542336dcd22d306538efbaefee9406bd66201f21cce81d9dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572de869cc9d011542336dcd22d306538efbaefee9406bd66201f21cce81d9dd", kill_on_drop: false }` [INFO] [stdout] 572de869cc9d011542336dcd22d306538efbaefee9406bd66201f21cce81d9dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39b1ac0dd2d791d9f1c766f8f08aa56855bf6ad12a159cbbe87fd19c403976c6 [INFO] running `Command { std: "docker" "start" "-a" "39b1ac0dd2d791d9f1c766f8f08aa56855bf6ad12a159cbbe87fd19c403976c6", kill_on_drop: false }` [INFO] [stderr] Compiling bdk-coin-select-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::selectors::bdk::BdkCoinSelect` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::selectors::bdk::BdkCoinSelect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::selectors::rust_coinselect::RustCoinSelect` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::selectors::rust_coinselect::RustCoinSelect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs_spent_count`, `mean_fees_per_withdraw`, `total_cost`, and `usage` are never read [INFO] [stdout] --> src/models.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SimulationSummary { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub inputs_spent_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub mean_fees_per_withdraw: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | pub cost_to_empty_at_long_term_feerate: f32, [INFO] [stdout] 84 | pub total_cost: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub usage: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulationSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BdkCoinSelect` is never constructed [INFO] [stdout] --> src/selectors/bdk.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BdkCoinSelect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/selectors/bdk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BdkCoinSelect { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 21 | pub fn new(long_term_feerate: f32, dust_limit: u64, input_drain_weight: u32, output_drain_weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cost_to_empty_at_long_term_feerate` and `balance` are never used [INFO] [stdout] --> src/selectors/bdk.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl BdkCoinSelect { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 33 | fn cost_to_empty_at_long_term_feerate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `varint_size` is never used [INFO] [stdout] --> src/selectors/rust_coinselect.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn varint_size(v: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `effective_value` is never used [INFO] [stdout] --> src/selectors/rust_coinselect.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn effective_value(value: u64, weight: u32, sats_per_wu: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustCoinSelect` is never constructed [INFO] [stdout] --> src/selectors/rust_coinselect.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RustCoinSelect { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cost_to_empty_at_long_term_feerate`, and `balance` are never used [INFO] [stdout] --> src/selectors/rust_coinselect.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl RustCoinSelect { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 42 | pub fn new(long_term_feerate: f32, dust_limit: u64, input_drain_weight: u32, output_drain_weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn cost_to_empty_at_long_term_feerate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/selectors/python/mod.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | struct PySimulationEntry(SimulationEntry); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PySimulationEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "39b1ac0dd2d791d9f1c766f8f08aa56855bf6ad12a159cbbe87fd19c403976c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b1ac0dd2d791d9f1c766f8f08aa56855bf6ad12a159cbbe87fd19c403976c6", kill_on_drop: false }` [INFO] [stdout] 39b1ac0dd2d791d9f1c766f8f08aa56855bf6ad12a159cbbe87fd19c403976c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d007b3cf02c16a9bf60e369c7e2f2ed3ede464d1b2347f75babb513a947a2fe [INFO] running `Command { std: "docker" "start" "-a" "0d007b3cf02c16a9bf60e369c7e2f2ed3ede464d1b2347f75babb513a947a2fe", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::selectors::bdk::BdkCoinSelect` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::selectors::bdk::BdkCoinSelect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::selectors::rust_coinselect::RustCoinSelect` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::selectors::rust_coinselect::RustCoinSelect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `inputs_spent_count`, `mean_fees_per_withdraw`, `total_cost`, and `usage` are never read [INFO] [stderr] --> src/models.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct SimulationSummary { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 74 | pub inputs_spent_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub mean_fees_per_withdraw: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 83 | pub cost_to_empty_at_long_term_feerate: f32, [INFO] [stderr] 84 | pub total_cost: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub usage: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimulationSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `BdkCoinSelect` is never constructed [INFO] [stderr] --> src/selectors/bdk.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct BdkCoinSelect { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/selectors/bdk.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl BdkCoinSelect { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] 21 | pub fn new(long_term_feerate: f32, dust_limit: u64, input_drain_weight: u32, output_drain_weight: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `cost_to_empty_at_long_term_feerate` and `balance` are never used [INFO] [stderr] --> src/selectors/bdk.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 32 | impl BdkCoinSelect { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] 33 | fn cost_to_empty_at_long_term_feerate(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | fn balance(&self) -> u64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `varint_size` is never used [INFO] [stderr] --> src/selectors/rust_coinselect.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn varint_size(v: usize) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `effective_value` is never used [INFO] [stderr] --> src/selectors/rust_coinselect.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn effective_value(value: u64, weight: u32, sats_per_wu: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RustCoinSelect` is never constructed [INFO] [stderr] --> src/selectors/rust_coinselect.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct RustCoinSelect { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `cost_to_empty_at_long_term_feerate`, and `balance` are never used [INFO] [stderr] --> src/selectors/rust_coinselect.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl RustCoinSelect { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 42 | pub fn new(long_term_feerate: f32, dust_limit: u64, input_drain_weight: u32, output_drain_weight: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | fn cost_to_empty_at_long_term_feerate(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | fn balance(&self) -> u64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/selectors/python/mod.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | struct PySimulationEntry(SimulationEntry); [INFO] [stderr] | ----------------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `PySimulationEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `bdk-coin-select-simulation` (bin "bdk-coin-select-simulation" test) generated 11 warnings (run `cargo fix --bin "bdk-coin-select-simulation" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bdk_coin_select_simulation-14f16f347a36c5aa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d007b3cf02c16a9bf60e369c7e2f2ed3ede464d1b2347f75babb513a947a2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d007b3cf02c16a9bf60e369c7e2f2ed3ede464d1b2347f75babb513a947a2fe", kill_on_drop: false }` [INFO] [stdout] 0d007b3cf02c16a9bf60e369c7e2f2ed3ede464d1b2347f75babb513a947a2fe