[INFO] cloning repository https://github.com/abhi3700/antelope-sdk-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhi3700/antelope-sdk-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhi3700%2Fantelope-sdk-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhi3700%2Fantelope-sdk-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd7f952dcc49581366f24b00877d8718c46ff243 [INFO] checking abhi3700/antelope-sdk-rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhi3700%2Fantelope-sdk-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abhi3700/antelope-sdk-rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abhi3700/antelope-sdk-rust [INFO] finished tweaking git repo https://github.com/abhi3700/antelope-sdk-rust [INFO] tweaked toml for git repo https://github.com/abhi3700/antelope-sdk-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/abhi3700/antelope-sdk-rust 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3105ba10155ea61429fbd1db9c3848d47c036c26b6659ecfaa72259903a0458f [INFO] running `Command { std: "docker" "start" "-a" "3105ba10155ea61429fbd1db9c3848d47c036c26b6659ecfaa72259903a0458f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3105ba10155ea61429fbd1db9c3848d47c036c26b6659ecfaa72259903a0458f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3105ba10155ea61429fbd1db9c3848d47c036c26b6659ecfaa72259903a0458f", kill_on_drop: false }` [INFO] [stdout] 3105ba10155ea61429fbd1db9c3848d47c036c26b6659ecfaa72259903a0458f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee9bc79933160aed73dd0a3d266a8e0b13c898592ee9f35e475f3fde359e5de5 [INFO] running `Command { std: "docker" "start" "-a" "ee9bc79933160aed73dd0a3d266a8e0b13c898592ee9f35e475f3fde359e5de5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking antelope-sdk-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `producer_name` and `authority` are never read [INFO] [stdout] --> src/types.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Producer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 99 | producer_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | authority: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `producers` are never read [INFO] [stdout] --> src/types.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ProducerSchedule { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 105 | version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | producers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerSchedule` 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: fields `actor` and `permission` are never read [INFO] [stdout] --> src/types.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Authorization { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 121 | actor: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 122 | permission: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Authorization` 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: fields `account`, `name`, `authorization`, `data`, and `hex_data` are never read [INFO] [stdout] --> src/types.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 136 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 137 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | authorization: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 139 | data: ActionData, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | hex_data: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 145 | expiration: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | ref_block_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 147 | ref_block_prefix: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | max_net_usage_words: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | max_cpu_usage_ms: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | delay_sec: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | context_free_actions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Trx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 157 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 158 | signatures: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | compression: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 160 | packed_context_free_data: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 161 | context_free_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | packed_trx: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | transaction: Transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trx` 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: fields `status`, `cpu_usage_us`, and `trx` are never read [INFO] [stdout] --> src/types.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct TransactionReceipt { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | status: TransactionStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | cpu_usage_us: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 171 | // net_usage_us: u64, [INFO] [stdout] 172 | trx: Trx, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionReceipt` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 180 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 181 | producer: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 182 | confirmed: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | previous: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 184 | transaction_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 185 | action_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 186 | schedule_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | new_producers: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | producer_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 191 | transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 192 | // block_extensions: Vec, [INFO] [stdout] 193 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 194 | block_num: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 195 | ref_block_prefix: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct BlockInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 200 | block_num: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 201 | ref_block_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 202 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 203 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 204 | confirmed: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 205 | previous: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 206 | transaction_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | action_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 208 | schedule_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | producer_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | ref_block_prefix: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockInfo` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct BlockHeaderState { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 270 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 271 | block_num: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 272 | header: Block, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 273 | dpos_proposed_irreversible_blocknum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 274 | dpos_irreversible_blocknum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | bft_irreversible_blocknum: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | pending_schedule_lib_num: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | pending_schedule_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | pending_schedule: ProducerSchedule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | active_schedule: ProducerSchedule, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 280 | blockroot_merkle: BlockrootMerkle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | producer_to_last_produced: Vec<(String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 282 | producer_to_last_implied_irb: Vec<(String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | block_signing_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 284 | confirm_count: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockHeaderState` 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `producer_name` and `authority` are never read [INFO] [stdout] --> src/types.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Producer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 99 | producer_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | authority: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `producers` are never read [INFO] [stdout] --> src/types.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ProducerSchedule { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 105 | version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | producers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerSchedule` 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: fields `actor` and `permission` are never read [INFO] [stdout] --> src/types.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Authorization { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 121 | actor: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 122 | permission: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Authorization` 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: fields `account`, `name`, `authorization`, `data`, and `hex_data` are never read [INFO] [stdout] --> src/types.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 136 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 137 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | authorization: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 139 | data: ActionData, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | hex_data: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 145 | expiration: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | ref_block_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 147 | ref_block_prefix: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | max_net_usage_words: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | max_cpu_usage_ms: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | delay_sec: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | context_free_actions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Trx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 157 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 158 | signatures: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | compression: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 160 | packed_context_free_data: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 161 | context_free_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | packed_trx: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | transaction: Transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trx` 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: fields `status`, `cpu_usage_us`, and `trx` are never read [INFO] [stdout] --> src/types.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct TransactionReceipt { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | status: TransactionStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | cpu_usage_us: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 171 | // net_usage_us: u64, [INFO] [stdout] 172 | trx: Trx, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionReceipt` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 180 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 181 | producer: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 182 | confirmed: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | previous: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 184 | transaction_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 185 | action_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 186 | schedule_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | new_producers: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | producer_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 191 | transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 192 | // block_extensions: Vec, [INFO] [stdout] 193 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 194 | block_num: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 195 | ref_block_prefix: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct BlockInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 200 | block_num: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 201 | ref_block_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 202 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 203 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 204 | confirmed: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 205 | previous: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 206 | transaction_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | action_mroot: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 208 | schedule_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | producer_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | ref_block_prefix: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockInfo` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct BlockHeaderState { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 270 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 271 | block_num: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 272 | header: Block, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 273 | dpos_proposed_irreversible_blocknum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 274 | dpos_irreversible_blocknum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | bft_irreversible_blocknum: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | pending_schedule_lib_num: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | pending_schedule_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | pending_schedule: ProducerSchedule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | active_schedule: ProducerSchedule, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 280 | blockroot_merkle: BlockrootMerkle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | producer_to_last_produced: Vec<(String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 282 | producer_to_last_implied_irb: Vec<(String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | block_signing_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 284 | confirm_count: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockHeaderState` 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: unused variable: `block_num` [INFO] [stdout] --> examples/eg_get_block.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let block_num = "329938745"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_id` [INFO] [stdout] --> examples/eg_get_block_header_state.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let block_id = &chain_info.head_block_id.to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.93s [INFO] running `Command { std: "docker" "inspect" "ee9bc79933160aed73dd0a3d266a8e0b13c898592ee9f35e475f3fde359e5de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9bc79933160aed73dd0a3d266a8e0b13c898592ee9f35e475f3fde359e5de5", kill_on_drop: false }` [INFO] [stdout] ee9bc79933160aed73dd0a3d266a8e0b13c898592ee9f35e475f3fde359e5de5