[INFO] cloning repository https://github.com/MissBlue00/mini-starknet-indexer-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MissBlue00/mini-starknet-indexer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMissBlue00%2Fmini-starknet-indexer-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMissBlue00%2Fmini-starknet-indexer-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dcd817f96381c9abb5778be42c254a51918c316b
[INFO] checking MissBlue00/mini-starknet-indexer-rs against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMissBlue00%2Fmini-starknet-indexer-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MissBlue00/mini-starknet-indexer-rs
[INFO] finished tweaking git repo https://github.com/MissBlue00/mini-starknet-indexer-rs
[INFO] tweaked toml for git repo https://github.com/MissBlue00/mini-starknet-indexer-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MissBlue00/mini-starknet-indexer-rs on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MissBlue00/mini-starknet-indexer-rs 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85
[INFO] running `Command { std: "docker" "start" "9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]     Checking crc v3.3.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking ascii_utils v0.9.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking fast_chemail v0.9.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking clap_builder v4.5.43
[INFO] [stderr]     Checking uuid v1.18.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking pest v2.8.1
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking clap v4.5.43
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking tokio v1.47.0
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking async-graphql-value v7.0.17
[INFO] [stderr]     Checking handlebars v5.1.2
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking async-graphql-parser v7.0.17
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking multer v3.1.0
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]    Compiling async-graphql-derive v7.0.17
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking sqlx-sqlite v0.7.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking async-graphql v7.0.17
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking async-graphql-axum v7.0.17
[INFO] [stderr]     Checking mini-starknet-indexer-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/billing.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[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 imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/billing.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetRpcRequest` is never constructed
[INFO] [stdout]    --> src/main.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | struct StarknetRpcRequest {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetEvent` is never constructed
[INFO] [stdout]    --> src/main.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | struct StarknetEvent {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetEventsResult` is never constructed
[INFO] [stdout]    --> src/main.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | struct StarknetEventsResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetRpcResponse` is never constructed
[INFO] [stdout]    --> src/main.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 169 | struct StarknetRpcResponse<T> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetRpcError` is never constructed
[INFO] [stdout]    --> src/main.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 | struct StarknetRpcError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContractAbi` is never constructed
[INFO] [stdout]    --> src/main.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 | struct ContractAbi {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AbiInput` is never constructed
[INFO] [stdout]    --> src/main.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct AbiInput {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContractClass` is never constructed
[INFO] [stdout]    --> src/main.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | struct ContractClass {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DecodedEvent` is never constructed
[INFO] [stdout]    --> src/main.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 | struct DecodedEvent {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_cpu_units`, `calculate_cpu_cost`, and `track_cpu_usage` are never used
[INFO] [stdout]    --> src/billing.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl BillingService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn calculate_cpu_units(&self, cpu_time_ms: i32, memory_usage_mb: f64, complexity_factor: f64) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub async fn calculate_cpu_cost(&self, cpu_units: i32) -> Result<f64, sqlx::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub async fn track_cpu_usage(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `deployment_id` and `user_id` are never read
[INFO] [stdout]   --> src/billing_context.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct BillingContext {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout]  8 |     pub api_call_id: String,
[INFO] [stdout]  9 |     pub deployment_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub user_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `track_cpu_usage`, `complete_api_call`, and `get_api_call_id` are never used
[INFO] [stdout]    --> src/billing_context.rs:65:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl BillingContext {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub async fn track_cpu_usage(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub async fn complete_api_call(&self, status_code: i32) -> Result<(), sqlx::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_api_call_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubscriptionEvent` is never constructed
[INFO] [stdout]   --> src/graphql/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct SubscriptionEvent {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/graphql/types.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Block {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/graphql/types.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CpuUsageRecord` is never constructed
[INFO] [stdout]    --> src/database.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct CpuUsageRecord {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_contracts_by_deployment`, `count_deployment_contracts`, `get_cpu_pricing_tier_by_cpu_units`, and `insert_cpu_usage_record` are never used
[INFO] [stdout]     --> src/database.rs:1464:18
[INFO] [stdout]      |
[INFO] [stdout]  121 | impl Database {
[INFO] [stdout]      | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1464 |     pub async fn get_contracts_by_deployment(&self, deployment_id: &str) -> Result<Vec<DeploymentContract>, sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1468 |     pub async fn count_deployment_contracts(&self, deployment_id: &str) -> Result<i64, sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1649 |     pub async fn get_cpu_pricing_tier_by_cpu_units(&self, cpu_units: i32) -> Result<Option<CpuPricingTier>, sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1681 |     pub async fn insert_cpu_usage_record(&self, usage: &CpuUsageRecord) -> Result<(), sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `start_syncing_deployment` is never used
[INFO] [stdout]    --> src/indexer.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl MultiContractIndexer {
[INFO] [stdout]     | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn start_syncing_deployment(&self, deployment_id: &str) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `parse_permissions` and `has_permission` are never used
[INFO] [stdout]    --> src/api_key_service.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl ApiKeyService {
[INFO] [stdout]     | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn parse_permissions(permissions_json: &str) -> Result<serde_json::Value, serde_json::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn has_permission(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthContext` is never constructed
[INFO] [stdout]   --> src/auth_middleware.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AuthContext {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/auth_middleware.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_auth_context` is never used
[INFO] [stdout]   --> src/auth_middleware.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn get_auth_context(request: &Request) -> Option<&AuthContext> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_authorized` is never used
[INFO] [stdout]    --> src/auth_middleware.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn is_authorized(request: &Request) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_deployment_id` is never used
[INFO] [stdout]    --> src/auth_middleware.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn get_deployment_id(request: &Request) -> Option<&str> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_id` is never used
[INFO] [stdout]    --> src/auth_middleware.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn get_api_key_id(request: &Request) -> Option<&str> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetRpcRequest` is never constructed
[INFO] [stdout]    --> src/main.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | struct StarknetRpcRequest {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetEvent` is never constructed
[INFO] [stdout]    --> src/main.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | struct StarknetEvent {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetEventsResult` is never constructed
[INFO] [stdout]    --> src/main.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | struct StarknetEventsResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetRpcResponse` is never constructed
[INFO] [stdout]    --> src/main.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 169 | struct StarknetRpcResponse<T> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarknetRpcError` is never constructed
[INFO] [stdout]    --> src/main.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 | struct StarknetRpcError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContractAbi` is never constructed
[INFO] [stdout]    --> src/main.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 | struct ContractAbi {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AbiInput` is never constructed
[INFO] [stdout]    --> src/main.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct AbiInput {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContractClass` is never constructed
[INFO] [stdout]    --> src/main.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | struct ContractClass {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DecodedEvent` is never constructed
[INFO] [stdout]    --> src/main.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 | struct DecodedEvent {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_cpu_units`, `calculate_cpu_cost`, and `track_cpu_usage` are never used
[INFO] [stdout]    --> src/billing.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl BillingService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn calculate_cpu_units(&self, cpu_time_ms: i32, memory_usage_mb: f64, complexity_factor: f64) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub async fn calculate_cpu_cost(&self, cpu_units: i32) -> Result<f64, sqlx::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub async fn track_cpu_usage(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `deployment_id` and `user_id` are never read
[INFO] [stdout]   --> src/billing_context.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct BillingContext {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout]  8 |     pub api_call_id: String,
[INFO] [stdout]  9 |     pub deployment_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub user_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `track_cpu_usage`, `complete_api_call`, and `get_api_call_id` are never used
[INFO] [stdout]    --> src/billing_context.rs:65:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl BillingContext {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub async fn track_cpu_usage(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub async fn complete_api_call(&self, status_code: i32) -> Result<(), sqlx::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_api_call_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubscriptionEvent` is never constructed
[INFO] [stdout]   --> src/graphql/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct SubscriptionEvent {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/graphql/types.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Block {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/graphql/types.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CpuUsageRecord` is never constructed
[INFO] [stdout]    --> src/database.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct CpuUsageRecord {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_contracts_by_deployment`, `count_deployment_contracts`, `get_cpu_pricing_tier_by_cpu_units`, and `insert_cpu_usage_record` are never used
[INFO] [stdout]     --> src/database.rs:1464:18
[INFO] [stdout]      |
[INFO] [stdout]  121 | impl Database {
[INFO] [stdout]      | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1464 |     pub async fn get_contracts_by_deployment(&self, deployment_id: &str) -> Result<Vec<DeploymentContract>, sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1468 |     pub async fn count_deployment_contracts(&self, deployment_id: &str) -> Result<i64, sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1649 |     pub async fn get_cpu_pricing_tier_by_cpu_units(&self, cpu_units: i32) -> Result<Option<CpuPricingTier>, sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1681 |     pub async fn insert_cpu_usage_record(&self, usage: &CpuUsageRecord) -> Result<(), sqlx::Error> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `start_syncing_deployment` is never used
[INFO] [stdout]    --> src/indexer.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl MultiContractIndexer {
[INFO] [stdout]     | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn start_syncing_deployment(&self, deployment_id: &str) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthContext` is never constructed
[INFO] [stdout]   --> src/auth_middleware.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AuthContext {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/auth_middleware.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_auth_context` is never used
[INFO] [stdout]   --> src/auth_middleware.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn get_auth_context(request: &Request) -> Option<&AuthContext> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_authorized` is never used
[INFO] [stdout]    --> src/auth_middleware.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn is_authorized(request: &Request) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_deployment_id` is never used
[INFO] [stdout]    --> src/auth_middleware.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn get_deployment_id(request: &Request) -> Option<&str> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_id` is never used
[INFO] [stdout]    --> src/auth_middleware.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn get_api_key_id(request: &Request) -> Option<&str> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s
[INFO] running `Command { std: "docker" "inspect" "9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85", kill_on_drop: false }`
[INFO] [stdout] 9febfa857f75646ea318d14b0f55933479abbeb09ee2e74d0c4f0cd4b151af85
