[INFO] cloning repository https://github.com/ArkProjectNFTs/block-issue-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArkProjectNFTs/block-issue-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkProjectNFTs%2Fblock-issue-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkProjectNFTs%2Fblock-issue-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb0a5bea14f07e9d1051fbcaa096abe1e7be0eb5 [INFO] checking ArkProjectNFTs/block-issue-sample/fb0a5bea14f07e9d1051fbcaa096abe1e7be0eb5 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkProjectNFTs%2Fblock-issue-sample" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArkProjectNFTs/block-issue-sample on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArkProjectNFTs/block-issue-sample [INFO] finished tweaking git repo https://github.com/ArkProjectNFTs/block-issue-sample [INFO] tweaked toml for git repo https://github.com/ArkProjectNFTs/block-issue-sample written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ArkProjectNFTs/block-issue-sample 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acfd620420751a589abb7f409fd9ccb78f1a869d36be68abb6e352caf06f9ac6 [INFO] running `Command { std: "docker" "start" "-a" "acfd620420751a589abb7f409fd9ccb78f1a869d36be68abb6e352caf06f9ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acfd620420751a589abb7f409fd9ccb78f1a869d36be68abb6e352caf06f9ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acfd620420751a589abb7f409fd9ccb78f1a869d36be68abb6e352caf06f9ac6", kill_on_drop: false }` [INFO] [stdout] acfd620420751a589abb7f409fd9ccb78f1a869d36be68abb6e352caf06f9ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25aec9147dac1a392e4dcf58d48c5e59fdd3b27d4c9082919d526ce2c425f833 [INFO] running `Command { std: "docker" "start" "-a" "25aec9147dac1a392e4dcf58d48c5e59fdd3b27d4c9082919d526ce2c425f833", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json_pythonic v0.1.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking version-compare v0.1.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling starknet-ff v0.3.7 [INFO] [stderr] Compiling starknet-curve v0.4.2 [INFO] [stderr] Compiling starknet-crypto-codegen v0.3.3 [INFO] [stderr] Checking starknet-crypto v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling starknet-core v0.10.0 [INFO] [stderr] Checking starknet-signers v0.8.0 [INFO] [stderr] Checking starknet-providers v0.10.0 [INFO] [stderr] Compiling starknet-macros v0.1.7 [INFO] [stderr] Checking starknet-accounts v0.9.0 [INFO] [stderr] Checking starknet-contract v0.9.0 [INFO] [stderr] Checking starknet v0.10.0 [INFO] [stderr] Checking block-issue-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `mock` [INFO] [stdout] --> src/starknet_utils/client/mod.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(any(test, feature = "mock"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mock` [INFO] [stdout] --> src/starknet_utils/client/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(any(test, feature = "mock"), automock)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mock` [INFO] [stdout] --> src/starknet_utils/client/mod.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(any(test, feature = "mock"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mock` [INFO] [stdout] --> src/starknet_utils/client/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(any(test, feature = "mock"), automock)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_hex_str` is never used [INFO] [stdout] --> src/starknet_utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_hex_str(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CairoU256` is never constructed [INFO] [stdout] --> src/starknet_utils.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CairoU256 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CairoU256` 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 `events` and `continuation_token` are never read [INFO] [stdout] --> src/starknet_utils.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct EventResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub events: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub continuation_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventResult` 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: associated items `to_biguint`, `to_hex`, `to_decimal`, and `from_hex_be` are never used [INFO] [stdout] --> src/starknet_utils.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CairoU256 { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 29 | pub fn to_biguint(&self) -> BigUint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn to_hex(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_decimal(&self, padded: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn from_hex_be(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/starknet_utils/byte_array.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ByteArray { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `felt_to_utf8` is never used [INFO] [stdout] --> src/starknet_utils/byte_array.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn felt_to_utf8(felt: &FieldElement, len: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/starknet_utils/cairo_string_parser.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_cairo_string` is never used [INFO] [stdout] --> src/starknet_utils/cairo_string_parser.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse_cairo_string(field_elements: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/starknet_utils/client/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait StarknetClient { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | async fn events_from_tx_receipt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn block_id_to_u64(&self, id: &BlockId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn parse_block_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn block_time(&self, block: BlockId) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | async fn fetch_events( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | async fn fetch_all_block_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | async fn call_contract( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_hex_str` is never used [INFO] [stdout] --> src/starknet_utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_hex_str(value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CairoU256` is never constructed [INFO] [stdout] --> src/starknet_utils.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CairoU256 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CairoU256` 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 `events` and `continuation_token` are never read [INFO] [stdout] --> src/starknet_utils.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct EventResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub events: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub continuation_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventResult` 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: associated items `to_biguint`, `to_hex`, `to_decimal`, and `from_hex_be` are never used [INFO] [stdout] --> src/starknet_utils.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CairoU256 { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 29 | pub fn to_biguint(&self) -> BigUint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn to_hex(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_decimal(&self, padded: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn from_hex_be(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/starknet_utils/byte_array.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ByteArray { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `felt_to_utf8` is never used [INFO] [stdout] --> src/starknet_utils/byte_array.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn felt_to_utf8(felt: &FieldElement, len: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/starknet_utils/cairo_string_parser.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_cairo_string` is never used [INFO] [stdout] --> src/starknet_utils/cairo_string_parser.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse_cairo_string(field_elements: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/starknet_utils/client/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait StarknetClient { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | async fn events_from_tx_receipt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn block_id_to_u64(&self, id: &BlockId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn parse_block_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn block_time(&self, block: BlockId) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | async fn fetch_events( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | async fn fetch_all_block_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | async fn call_contract( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "25aec9147dac1a392e4dcf58d48c5e59fdd3b27d4c9082919d526ce2c425f833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25aec9147dac1a392e4dcf58d48c5e59fdd3b27d4c9082919d526ce2c425f833", kill_on_drop: false }` [INFO] [stdout] 25aec9147dac1a392e4dcf58d48c5e59fdd3b27d4c9082919d526ce2c425f833