[INFO] cloning repository https://github.com/payjoin/btsim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/payjoin/btsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpayjoin%2Fbtsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpayjoin%2Fbtsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6778148a79e760195ad235e0fcddad9729424ed [INFO] checking payjoin/btsim against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpayjoin%2Fbtsim" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/payjoin/btsim [INFO] finished tweaking git repo https://github.com/payjoin/btsim [INFO] tweaked toml for git repo https://github.com/payjoin/btsim written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/payjoin/btsim on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/payjoin/btsim 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b54a9f2d5c3ef25438d6f5dac92fe9b6d921b8f3c8b93b4f56c15dfaf90bcef5 [INFO] running `Command { std: "docker" "start" "-a" "b54a9f2d5c3ef25438d6f5dac92fe9b6d921b8f3c8b93b4f56c15dfaf90bcef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b54a9f2d5c3ef25438d6f5dac92fe9b6d921b8f3c8b93b4f56c15dfaf90bcef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54a9f2d5c3ef25438d6f5dac92fe9b6d921b8f3c8b93b4f56c15dfaf90bcef5", kill_on_drop: false }` [INFO] [stdout] b54a9f2d5c3ef25438d6f5dac92fe9b6d921b8f3c8b93b4f56c15dfaf90bcef5 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a4cf4cb37c64c15b520dbae7c5c60b2e1de780c1e1956f173a9912c796f157 [INFO] running `Command { std: "docker" "start" "-a" "40a4cf4cb37c64c15b520dbae7c5c60b2e1de780c1e1956f173a9912c796f157", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Checking bitcoin-io v0.1.2 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling dot-structures v0.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking bitcoin-units v0.1.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Checking jiff v0.2.16 [INFO] [stderr] Checking bdk_coin_select v0.3.0 [INFO] [stderr] Checking colorous v1.0.16 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Checking graphviz-rust v0.9.6 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking priority-queue v2.7.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking petgraph v0.8.3 [INFO] [stderr] Checking secp256k1 v0.29.0 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking knaptime v0.0.4 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking rustworkx-core v0.17.1 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking bitcoin_slices v0.10.0 [INFO] [stderr] Checking tx-indexer-primitives v0.1.0 (https://github.com/payjoin/tx-indexer?branch=master#d87f7db1) [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking graphalgs v0.2.0 [INFO] [stderr] Checking btsim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `define_entity` [INFO] [stdout] --> src/blocks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | define_entity, [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: `define_entity` [INFO] [stdout] --> src/blocks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | define_entity, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lib.rs:359:30 [INFO] [stdout] | [INFO] [stdout] 359 | for _ in 0..prng.gen_range(5..10) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lib.rs:464:26 [INFO] [stdout] | [INFO] [stdout] 464 | ... prng.gen_range(current_timestep + 1..self.config.max_timestep.0 / 2); // Payments shouldnt be revealed too late. Aim to have ... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lib.rs:359:30 [INFO] [stdout] | [INFO] [stdout] 359 | for _ in 0..prng.gen_range(5..10) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/lib.rs:464:26 [INFO] [stdout] | [INFO] [stdout] 464 | ... prng.gen_range(current_timestep + 1..self.config.max_timestep.0 / 2); // Payments shouldnt be revealed too late. Aim to have ... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoinSelectionStrategy` is never used [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum CoinSelectionStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | struct PeerGraph(UnGraph); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PeerGraph` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_wallets` is never read [INFO] [stdout] --> src/lib.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | struct SimulationConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 310 | num_wallets: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer_graph` is never read [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 329 | peer_graph: PeerGraph, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Simulation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InitiateMultiPartyPayjoin` and `ParticipateMultiPartyPayjoin` are never constructed [INFO] [stdout] --> src/actions.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) enum PredictedOutcome { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 71 | InitiateMultiPartyPayjoin(InitiateMultiPartyPayjoinOutcome), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | ParticipateMultiPartyPayjoin(ParticipateMultiPartyPayjoinOutcome), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredictedOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fee_savings` is never read [INFO] [stdout] --> src/actions.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) struct RespondToPayjoinOutcome { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | fee_savings: Amount, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RespondToPayjoinOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_left`, `balance_difference`, and `max_participants` are never read [INFO] [stdout] --> src/actions.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) struct InitiateMultiPartyPayjoinOutcome { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 160 | /// Time left on the payment obligation [INFO] [stdout] 161 | time_left: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | balance_difference: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | /// Upper bound on the number of participants in the multi-party payjoin [INFO] [stdout] 167 | max_participants: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiateMultiPartyPayjoinOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_left` is never read [INFO] [stdout] --> src/actions.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) struct ParticipateMultiPartyPayjoinOutcome { [INFO] [stdout] | ----------------------------------- field in this struct [INFO] [stdout] 181 | /// Time left on the payment obligation [INFO] [stdout] 182 | time_left: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParticipateMultiPartyPayjoinOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_block_weight` is never read [INFO] [stdout] --> src/blocks.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct ChainParams { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | max_block_weight: Weight, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChainParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with` is never used [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> [<$base Id>] { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn with(&self, sim: &'a crate::Simulation) -> [<$base Handle>]<'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blocks.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / define_entity!( [INFO] [stdout] 61 | | BroadcastSet, [INFO] [stdout] 62 | | { [INFO] [stdout] 63 | | pub(crate) data: BroadcastSetType, [INFO] [stdout] ... | [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/macros.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> [<$base Handle>]<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 27 | pub(crate) fn new(sim: &'a crate::Simulation, id: [<$base Id>]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blocks.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / define_entity!( [INFO] [stdout] 61 | | BroadcastSet, [INFO] [stdout] 62 | | { [INFO] [stdout] 63 | | pub(crate) data: BroadcastSetType, [INFO] [stdout] ... | [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `txs`, `parent`, and `coinbase_tx` are never used [INFO] [stdout] --> src/blocks.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 453 | impl<'a> BlockHandle<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 459 | pub(crate) fn txs(&'a self) -> impl Iterator { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub(crate) fn parent(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn coinbase_tx(&self) -> TxHandle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BulletinBoardInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bulletin_board.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / define_entity!( [INFO] [stdout] 7 | | BulletinBoard, [INFO] [stdout] 8 | | { [INFO] [stdout] 9 | | pub(crate) id: BulletinBoardId, [INFO] [stdout] ... | [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sim` is never read [INFO] [stdout] --> src/macros.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct [<$base Handle>]<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | sim: &'a crate::Simulation, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `MessageHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with` is never used [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> [<$base Id>] { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn with(&self, sim: &'a crate::Simulation) -> [<$base Handle>]<'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/macros.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> [<$base Handle>]<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 27 | pub(crate) fn new(sim: &'a crate::Simulation, id: [<$base Id>]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sim` is never read [INFO] [stdout] --> src/macros.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [<$base HandleMut>]<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) sim: &'a mut crate::Simulation, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | define_entity_handle_mut!(Message); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `MessageHandleMut` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `define_entity_handle_mut` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_mut` is never used [INFO] [stdout] --> src/macros.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 100 | impl<'a> [<$base Id>] { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 101 | pub(crate) fn with_mut(&self, sim: &'a mut crate::Simulation) -> [<$base HandleMut>]<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | define_entity_handle_mut!(Message); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_handle_mut` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/macros.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 106 | impl<'a> [<$base HandleMut>]<'a> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 107 | fn new(sim: &'a mut crate::Simulation, id: [<$base Id>]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | define_entity_handle_mut!(Message); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_handle_mut` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data` is never used [INFO] [stdout] --> src/message.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> MessageHandle<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 32 | pub(crate) fn data(&self) -> &'a MessageData { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> src/message.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> MessageHandleMut<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 38 | pub(crate) fn post(&mut self, message: MessageData) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wallet_mut` is never used [INFO] [stdout] --> src/transaction.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | fn wallet_mut<'a>(&self, sim: &'a mut Simulation) -> WalletHandleMut<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wallet_mut` is never used [INFO] [stdout] --> src/transaction.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 211 | impl<'a> OutputHandle<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) fn wallet_mut<'b>(&self, sim: &'b mut Simulation) -> WalletHandleMut<'b> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_confirmed` is never used [INFO] [stdout] --> src/transaction.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 249 | impl<'a> TxHandle<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 282 | pub(crate) fn is_confirmed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_txin_messages` is never used [INFO] [stdout] --> src/tx_contruction.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> SentInputs<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn read_txin_messages(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_txout_messages` is never used [INFO] [stdout] --> src/tx_contruction.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> SentOutputs<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn read_txout_messages(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `effective_balance` and `double_spendable_coins` are never used [INFO] [stdout] --> src/wallet.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> WalletHandle<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn effective_balance(&self) -> Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn double_spendable_coins(&self) -> impl Iterator> + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentObligationInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet.rs:664:1 [INFO] [stdout] | [INFO] [stdout] 664 | / define_entity!( [INFO] [stdout] 665 | | PaymentObligation, [INFO] [stdout] 666 | | { [INFO] [stdout] 667 | | pub(crate) id: PaymentObligationId, [INFO] [stdout] ... | [INFO] [stdout] 678 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / define_entity!(Address, { [INFO] [stdout] 687 | | pub(crate) wallet_id: WalletId, [INFO] [stdout] 688 | | pub(crate) script_type: ScriptType, [INFO] [stdout] ... | [INFO] [stdout] 691 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/blocks.rs:447:50 [INFO] [stdout] | [INFO] [stdout] 447 | fn txs<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 447 | fn txs<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blocks.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | pub(crate) fn coinbase_tx(&self) -> TxHandle { [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] 471 | pub(crate) fn coinbase_tx(&self) -> TxHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoinSelectionStrategy` is never used [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum CoinSelectionStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | struct PeerGraph(UnGraph); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PeerGraph` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_wallets` is never read [INFO] [stdout] --> src/lib.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | struct SimulationConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 310 | num_wallets: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer_graph` is never read [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 329 | peer_graph: PeerGraph, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Simulation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InitiateMultiPartyPayjoin` and `ParticipateMultiPartyPayjoin` are never constructed [INFO] [stdout] --> src/actions.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) enum PredictedOutcome { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 71 | InitiateMultiPartyPayjoin(InitiateMultiPartyPayjoinOutcome), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | ParticipateMultiPartyPayjoin(ParticipateMultiPartyPayjoinOutcome), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredictedOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fee_savings` is never read [INFO] [stdout] --> src/actions.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) struct RespondToPayjoinOutcome { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | fee_savings: Amount, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RespondToPayjoinOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_left`, `balance_difference`, and `max_participants` are never read [INFO] [stdout] --> src/actions.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) struct InitiateMultiPartyPayjoinOutcome { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 160 | /// Time left on the payment obligation [INFO] [stdout] 161 | time_left: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | balance_difference: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | /// Upper bound on the number of participants in the multi-party payjoin [INFO] [stdout] 167 | max_participants: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiateMultiPartyPayjoinOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_left` is never read [INFO] [stdout] --> src/actions.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) struct ParticipateMultiPartyPayjoinOutcome { [INFO] [stdout] | ----------------------------------- field in this struct [INFO] [stdout] 181 | /// Time left on the payment obligation [INFO] [stdout] 182 | time_left: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParticipateMultiPartyPayjoinOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_block_weight` is never read [INFO] [stdout] --> src/blocks.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct ChainParams { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | max_block_weight: Weight, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChainParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with` is never used [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> [<$base Id>] { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn with(&self, sim: &'a crate::Simulation) -> [<$base Handle>]<'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blocks.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / define_entity!( [INFO] [stdout] 61 | | BroadcastSet, [INFO] [stdout] 62 | | { [INFO] [stdout] 63 | | pub(crate) data: BroadcastSetType, [INFO] [stdout] ... | [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/macros.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> [<$base Handle>]<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 27 | pub(crate) fn new(sim: &'a crate::Simulation, id: [<$base Id>]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blocks.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / define_entity!( [INFO] [stdout] 61 | | BroadcastSet, [INFO] [stdout] 62 | | { [INFO] [stdout] 63 | | pub(crate) data: BroadcastSetType, [INFO] [stdout] ... | [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `txs` and `parent` are never used [INFO] [stdout] --> src/blocks.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 453 | impl<'a> BlockHandle<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 459 | pub(crate) fn txs(&'a self) -> impl Iterator { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub(crate) fn parent(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BulletinBoardInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bulletin_board.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / define_entity!( [INFO] [stdout] 7 | | BulletinBoard, [INFO] [stdout] 8 | | { [INFO] [stdout] 9 | | pub(crate) id: BulletinBoardId, [INFO] [stdout] ... | [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sim` is never read [INFO] [stdout] --> src/macros.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct [<$base Handle>]<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | sim: &'a crate::Simulation, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `MessageHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with` is never used [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> [<$base Id>] { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn with(&self, sim: &'a crate::Simulation) -> [<$base Handle>]<'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/macros.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> [<$base Handle>]<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 27 | pub(crate) fn new(sim: &'a crate::Simulation, id: [<$base Id>]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_id_and_handle` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / define_entity!( [INFO] [stdout] 18 | | Message, [INFO] [stdout] 19 | | { [INFO] [stdout] 20 | | pub(crate) id: MessageId, [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sim` is never read [INFO] [stdout] --> src/macros.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [<$base HandleMut>]<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) sim: &'a mut crate::Simulation, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | define_entity_handle_mut!(Message); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `MessageHandleMut` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `define_entity_handle_mut` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_mut` is never used [INFO] [stdout] --> src/macros.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 100 | impl<'a> [<$base Id>] { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 101 | pub(crate) fn with_mut(&self, sim: &'a mut crate::Simulation) -> [<$base HandleMut>]<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | define_entity_handle_mut!(Message); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_handle_mut` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/macros.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 106 | impl<'a> [<$base HandleMut>]<'a> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 107 | fn new(sim: &'a mut crate::Simulation, id: [<$base Id>]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | define_entity_handle_mut!(Message); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_handle_mut` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data` is never used [INFO] [stdout] --> src/message.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> MessageHandle<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 32 | pub(crate) fn data(&self) -> &'a MessageData { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> src/message.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> MessageHandleMut<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 38 | pub(crate) fn post(&mut self, message: MessageData) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wallet_mut` is never used [INFO] [stdout] --> src/transaction.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | fn wallet_mut<'a>(&self, sim: &'a mut Simulation) -> WalletHandleMut<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wallet_mut` is never used [INFO] [stdout] --> src/transaction.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 211 | impl<'a> OutputHandle<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) fn wallet_mut<'b>(&self, sim: &'b mut Simulation) -> WalletHandleMut<'b> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_confirmed` is never used [INFO] [stdout] --> src/transaction.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 249 | impl<'a> TxHandle<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 282 | pub(crate) fn is_confirmed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_txin_messages` is never used [INFO] [stdout] --> src/tx_contruction.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> SentInputs<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn read_txin_messages(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_txout_messages` is never used [INFO] [stdout] --> src/tx_contruction.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl<'a> SentOutputs<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn read_txout_messages(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `effective_balance` and `double_spendable_coins` are never used [INFO] [stdout] --> src/wallet.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> WalletHandle<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn effective_balance(&self) -> Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn double_spendable_coins(&self) -> impl Iterator> + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentObligationInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet.rs:664:1 [INFO] [stdout] | [INFO] [stdout] 664 | / define_entity!( [INFO] [stdout] 665 | | PaymentObligation, [INFO] [stdout] 666 | | { [INFO] [stdout] 667 | | pub(crate) id: PaymentObligationId, [INFO] [stdout] ... | [INFO] [stdout] 678 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressInfo` is never constructed [INFO] [stdout] --> src/macros.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct [<$base Info>] $info_fields [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / define_entity!(Address, { [INFO] [stdout] 687 | | pub(crate) wallet_id: WalletId, [INFO] [stdout] 688 | | pub(crate) script_type: ScriptType, [INFO] [stdout] ... | [INFO] [stdout] 691 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_entity_info` which comes from the expansion of the macro `define_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/blocks.rs:447:50 [INFO] [stdout] | [INFO] [stdout] 447 | fn txs<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 447 | fn txs<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blocks.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | pub(crate) fn coinbase_tx(&self) -> TxHandle { [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] 471 | pub(crate) fn coinbase_tx(&self) -> TxHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.42s [INFO] running `Command { std: "docker" "inspect" "40a4cf4cb37c64c15b520dbae7c5c60b2e1de780c1e1956f173a9912c796f157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a4cf4cb37c64c15b520dbae7c5c60b2e1de780c1e1956f173a9912c796f157", kill_on_drop: false }` [INFO] [stdout] 40a4cf4cb37c64c15b520dbae7c5c60b2e1de780c1e1956f173a9912c796f157