[INFO] fetching crate polkadot-mcp 0.1.0... [INFO] checking polkadot-mcp-0.1.0 against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299 [INFO] extracting crate polkadot-mcp 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate polkadot-mcp 0.1.0 [INFO] finished tweaking crates.io crate polkadot-mcp 0.1.0 [INFO] tweaked toml for crates.io crate polkadot-mcp 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate polkadot-mcp 0.1.0 on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate polkadot-mcp 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded subxt-metadata v0.42.1 [INFO] [stderr] Downloaded subxt-signer v0.42.1 [INFO] [stderr] Downloaded scale-bits v0.7.0 [INFO] [stderr] Downloaded multi-stash v0.2.0 [INFO] [stderr] Downloaded crypto_secretbox v0.1.1 [INFO] [stderr] Downloaded atomic-take v1.1.0 [INFO] [stderr] Downloaded keccak-hash v0.11.0 [INFO] [stderr] Downloaded base58 v0.2.0 [INFO] [stderr] Downloaded scale-decode-derive v0.16.2 [INFO] [stderr] Downloaded scale-encode-derive v0.10.1 [INFO] [stderr] Downloaded subxt-utils-fetchmetadata v0.42.1 [INFO] [stderr] Downloaded scale-encode v0.10.1 [INFO] [stderr] Downloaded rmcp-macros v0.16.0 [INFO] [stderr] Downloaded scale-typegen v0.11.1 [INFO] [stderr] Downloaded subxt-codegen v0.42.1 [INFO] [stderr] Downloaded subxt-rpcs v0.42.1 [INFO] [stderr] Downloaded subxt-core v0.42.1 [INFO] [stderr] Downloaded frame-decode v0.8.3 [INFO] [stderr] Downloaded scale-type-resolver v0.2.0 [INFO] [stderr] Downloaded scale-value v0.18.2 [INFO] [stderr] Downloaded subxt v0.42.1 [INFO] [stderr] Downloaded smoldot-light v0.17.2 [INFO] [stderr] Downloaded subxt-macro v0.42.1 [INFO] [stderr] Downloaded wasmparser v0.221.3 [INFO] [stderr] Downloaded wasmi_collections v0.40.0 [INFO] [stderr] Downloaded rmcp v0.16.0 [INFO] [stderr] Downloaded smol v2.0.2 [INFO] [stderr] Downloaded wasmi v0.40.0 [INFO] [stderr] Downloaded wasmi_core v0.40.0 [INFO] [stderr] Downloaded wasmi_ir v0.40.0 [INFO] [stderr] Downloaded subxt-lightclient v0.42.1 [INFO] [stderr] Downloaded yap v0.12.0 [INFO] [stderr] Downloaded scale-decode v0.16.2 [INFO] [stderr] Downloaded smoldot v0.19.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d99fc105372883d9276bf396e8c7d967b61315d6fdde18b7e20b177dd8436996 [INFO] running `Command { std: "docker" "start" "-a" "d99fc105372883d9276bf396e8c7d967b61315d6fdde18b7e20b177dd8436996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d99fc105372883d9276bf396e8c7d967b61315d6fdde18b7e20b177dd8436996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99fc105372883d9276bf396e8c7d967b61315d6fdde18b7e20b177dd8436996", kill_on_drop: false }` [INFO] [stdout] d99fc105372883d9276bf396e8c7d967b61315d6fdde18b7e20b177dd8436996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fd97adefdfa64511ed2f8d644dd9815ed53f70be8a7d85fc656ba24874fd35f [INFO] running `Command { std: "docker" "start" "-a" "6fd97adefdfa64511ed2f8d644dd9815ed53f70be8a7d85fc656ba24874fd35f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.114 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking constant_time_eq v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Checking blake2b_simd v1.0.4 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.114 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking yap v0.12.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling scale-decode-derive v0.16.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling scale-encode-derive v0.10.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking jsonrpsee-types v0.24.10 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking hex-conservative v0.2.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking soketto v0.8.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking jsonrpsee-core v0.24.10 [INFO] [stderr] Compiling subxt-utils-fetchmetadata v0.42.1 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking bitcoin_hashes v0.14.1 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling rmcp v0.16.0 [INFO] [stderr] Checking schnorrkel v0.11.5 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking scale-type-resolver v0.2.0 [INFO] [stderr] Checking scale-bits v0.7.0 [INFO] [stderr] Checking frame-metadata v23.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.114 [INFO] [stderr] Checking bip39 v2.2.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling scale-typegen v0.11.1 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking schemars v1.2.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling scale-decode v0.16.2 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling rmcp-macros v0.16.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking secp256k1 v0.30.0 [INFO] [stderr] Checking scale-encode v0.10.1 [INFO] [stderr] Checking keccak-hash v0.11.0 [INFO] [stderr] Checking js-sys v0.3.91 [INFO] [stderr] Checking rustls-platform-verifier v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling frame-decode v0.8.3 [INFO] [stderr] Checking jsonrpsee-client-transport v0.24.10 [INFO] [stderr] Checking jsonrpsee-ws-client v0.24.10 [INFO] [stderr] Compiling subxt-metadata v0.42.1 [INFO] [stderr] Checking jsonrpsee v0.24.10 [INFO] [stderr] Checking scale-value v0.18.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling subxt-codegen v0.42.1 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking subxt-core v0.42.1 [INFO] [stderr] Compiling subxt-macro v0.42.1 [INFO] [stderr] Checking subxt-rpcs v0.42.1 [INFO] [stderr] Checking subxt-signer v0.42.1 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.64 [INFO] [stderr] Checking subxt v0.42.1 [INFO] [stderr] Checking polkadot-mcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SubscanClient` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SubscanClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_transfers`, and `get_reward_history` are never used [INFO] [stdout] --> src/backends/subscan.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SubscanClient { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(chain_name: &str, api_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_transfers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get_reward_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscanResponse` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct SubscanResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransfersData` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct TransfersData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferRecord` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct TransferRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RewardsData` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct RewardsData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RewardRecord` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct RewardRecord { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_storage_required` is never used [INFO] [stdout] --> src/backends/subxt_backend.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn fetch_storage_required( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pallet_exists` is never used [INFO] [stdout] --> src/backends/subxt_backend.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn pallet_exists(api: &OnlineClient, pallet_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_as_string` is never used [INFO] [stdout] --> src/decode.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn value_as_string(value: &DecodedValue) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_variant` is never used [INFO] [stdout] --> src/decode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_variant(value: &DecodedValue, variant_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_variant` is never used [INFO] [stdout] --> src/decode.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn as_variant(value: &DecodedValue) -> Option<(&str, &Composite)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_balance_field` is never used [INFO] [stdout] --> src/decode.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn format_balance_field( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_lock_id` is never used [INFO] [stdout] --> src/decode.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn decode_lock_id(id_value: &DecodedValue) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock_id_to_name` is never used [INFO] [stdout] --> src/decode.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn lock_id_to_name(raw: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `name`, `chain_names`, and `from_env` are never used [INFO] [stdout] --> src/network.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 26 | /// Get network name (relay chain name). [INFO] [stdout] 27 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn chain_names(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_env() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signer` is never read [INFO] [stdout] --> src/server.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PolkadotMcp { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub signer: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolkadotMcp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_chain_balance` is never used [INFO] [stdout] --> src/types.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn format_chain_balance(planck: u128, config: &ChainConfig) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blocks_to_duration` is never used [INFO] [stdout] --> src/types.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn blocks_to_duration(blocks: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscanClient` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SubscanClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_transfers`, and `get_reward_history` are never used [INFO] [stdout] --> src/backends/subscan.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SubscanClient { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(chain_name: &str, api_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_transfers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get_reward_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscanResponse` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct SubscanResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransfersData` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct TransfersData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferRecord` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct TransferRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RewardsData` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct RewardsData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RewardRecord` is never constructed [INFO] [stdout] --> src/backends/subscan.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct RewardRecord { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_storage_required` is never used [INFO] [stdout] --> src/backends/subxt_backend.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn fetch_storage_required( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pallet_exists` is never used [INFO] [stdout] --> src/backends/subxt_backend.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn pallet_exists(api: &OnlineClient, pallet_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_as_string` is never used [INFO] [stdout] --> src/decode.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn value_as_string(value: &DecodedValue) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_variant` is never used [INFO] [stdout] --> src/decode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_variant(value: &DecodedValue, variant_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_variant` is never used [INFO] [stdout] --> src/decode.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn as_variant(value: &DecodedValue) -> Option<(&str, &Composite)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_balance_field` is never used [INFO] [stdout] --> src/decode.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn format_balance_field( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_lock_id` is never used [INFO] [stdout] --> src/decode.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn decode_lock_id(id_value: &DecodedValue) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock_id_to_name` is never used [INFO] [stdout] --> src/decode.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn lock_id_to_name(raw: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `name`, `chain_names`, and `from_env` are never used [INFO] [stdout] --> src/network.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 26 | /// Get network name (relay chain name). [INFO] [stdout] 27 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn chain_names(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_env() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signer` is never read [INFO] [stdout] --> src/server.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PolkadotMcp { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub signer: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolkadotMcp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_chain_balance` is never used [INFO] [stdout] --> src/types.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn format_chain_balance(planck: u128, config: &ChainConfig) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "6fd97adefdfa64511ed2f8d644dd9815ed53f70be8a7d85fc656ba24874fd35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd97adefdfa64511ed2f8d644dd9815ed53f70be8a7d85fc656ba24874fd35f", kill_on_drop: false }` [INFO] [stdout] 6fd97adefdfa64511ed2f8d644dd9815ed53f70be8a7d85fc656ba24874fd35f