[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] testing MissBlue00/mini-starknet-indexer-rs against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMissBlue00%2Fmini-starknet-indexer-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MissBlue00/mini-starknet-indexer-rs on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anstream v0.6.20
[INFO] [stderr]   Downloaded clap_derive v4.5.41
[INFO] [stderr]   Downloaded uuid v1.18.0
[INFO] [stderr]   Downloaded fast_chemail v0.9.6
[INFO] [stderr]   Downloaded clap v4.5.43
[INFO] [stderr]   Downloaded ascii_utils v0.9.3
[INFO] [stderr]   Downloaded pest_generator v2.8.1
[INFO] [stderr]   Downloaded pest_derive v2.8.1
[INFO] [stderr]   Downloaded async-graphql-axum v7.0.17
[INFO] [stderr]   Downloaded pest_meta v2.8.1
[INFO] [stderr]   Downloaded async-graphql-value v7.0.17
[INFO] [stderr]   Downloaded async-graphql-parser v7.0.17
[INFO] [stderr]   Downloaded async-graphql-derive v7.0.17
[INFO] [stderr]   Downloaded clap_builder v4.5.43
[INFO] [stderr]   Downloaded pest v2.8.1
[INFO] [stderr]   Downloaded async-graphql v7.0.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88f075c643d3bdec80fe7868bb977a5e51d7066c74039e4f9d1d233b04d2fea2
[INFO] running `Command { std: "docker" "start" "-a" "88f075c643d3bdec80fe7868bb977a5e51d7066c74039e4f9d1d233b04d2fea2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88f075c643d3bdec80fe7868bb977a5e51d7066c74039e4f9d1d233b04d2fea2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88f075c643d3bdec80fe7868bb977a5e51d7066c74039e4f9d1d233b04d2fea2", kill_on_drop: false }`
[INFO] [stdout] 88f075c643d3bdec80fe7868bb977a5e51d7066c74039e4f9d1d233b04d2fea2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd7cfc8e8172342cb2249ccc065c8e64739e9c237b746856a69fd7682f5f9632
[INFO] running `Command { std: "docker" "start" "-a" "cd7cfc8e8172342cb2249ccc065c8e64739e9c237b746856a69fd7682f5f9632", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling ascii_utils v0.9.3
[INFO] [stderr]    Compiling fast_chemail v0.9.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling static_assertions_next v1.1.2
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling uuid v1.18.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling clap_builder v4.5.43
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[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 zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[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 tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling yoke v0.8.0
[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 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_meta v2.8.1
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling tokio v1.47.0
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling async-graphql-value v7.0.17
[INFO] [stderr]    Compiling handlebars v5.1.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tungstenite v0.26.2
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling async-graphql-parser v7.0.17
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling async-graphql-derive v7.0.17
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.26.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling axum v0.8.4
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling async-graphql v7.0.17
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling async-graphql-axum v7.0.17
[INFO] [stderr]    Compiling 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.16s
[INFO] running `Command { std: "docker" "inspect" "cd7cfc8e8172342cb2249ccc065c8e64739e9c237b746856a69fd7682f5f9632", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd7cfc8e8172342cb2249ccc065c8e64739e9c237b746856a69fd7682f5f9632", kill_on_drop: false }`
[INFO] [stdout] cd7cfc8e8172342cb2249ccc065c8e64739e9c237b746856a69fd7682f5f9632
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3576cfa96eed912d0483fad02f48f74ada11a75a387d297d0c66f0b2a717d5d6
[INFO] running `Command { std: "docker" "start" "-a" "3576cfa96eed912d0483fad02f48f74ada11a75a387d297d0c66f0b2a717d5d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 7.54s
[INFO] running `Command { std: "docker" "inspect" "3576cfa96eed912d0483fad02f48f74ada11a75a387d297d0c66f0b2a717d5d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3576cfa96eed912d0483fad02f48f74ada11a75a387d297d0c66f0b2a717d5d6", kill_on_drop: false }`
[INFO] [stdout] 3576cfa96eed912d0483fad02f48f74ada11a75a387d297d0c66f0b2a717d5d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d08f14701ffee8419ad9ea045ec930b2e0f30d28c895481427b6f4e29b432664
[INFO] running `Command { std: "docker" "start" "-a" "d08f14701ffee8419ad9ea045ec930b2e0f30d28c895481427b6f4e29b432664", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Duration` and `Instant`
[INFO] [stderr]  --> src/billing.rs:4:17
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::time::{Duration, Instant};
[INFO] [stderr]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StarknetRpcRequest` is never constructed
[INFO] [stderr]    --> src/main.rs:137:8
[INFO] [stderr]     |
[INFO] [stderr] 137 | struct StarknetRpcRequest {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StarknetEvent` is never constructed
[INFO] [stderr]    --> src/main.rs:146:8
[INFO] [stderr]     |
[INFO] [stderr] 146 | struct StarknetEvent {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StarknetEventsResult` is never constructed
[INFO] [stderr]    --> src/main.rs:160:8
[INFO] [stderr]     |
[INFO] [stderr] 160 | struct StarknetEventsResult {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StarknetRpcResponse` is never constructed
[INFO] [stderr]    --> src/main.rs:169:8
[INFO] [stderr]     |
[INFO] [stderr] 169 | struct StarknetRpcResponse<T> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StarknetRpcError` is never constructed
[INFO] [stderr]    --> src/main.rs:176:8
[INFO] [stderr]     |
[INFO] [stderr] 176 | struct StarknetRpcError {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ContractAbi` is never constructed
[INFO] [stderr]    --> src/main.rs:184:8
[INFO] [stderr]     |
[INFO] [stderr] 184 | struct ContractAbi {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AbiInput` is never constructed
[INFO] [stderr]    --> src/main.rs:192:8
[INFO] [stderr]     |
[INFO] [stderr] 192 | struct AbiInput {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ContractClass` is never constructed
[INFO] [stderr]    --> src/main.rs:199:8
[INFO] [stderr]     |
[INFO] [stderr] 199 | struct ContractClass {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DecodedEvent` is never constructed
[INFO] [stderr]    --> src/main.rs:209:8
[INFO] [stderr]     |
[INFO] [stderr] 209 | struct DecodedEvent {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `calculate_cpu_units`, `calculate_cpu_cost`, and `track_cpu_usage` are never used
[INFO] [stderr]    --> src/billing.rs:194:12
[INFO] [stderr]     |
[INFO] [stderr]  12 | impl BillingService {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 194 |     pub fn calculate_cpu_units(&self, cpu_time_ms: i32, memory_usage_mb: f64, complexity_factor: f64) -> i32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 211 |     pub async fn calculate_cpu_cost(&self, cpu_units: i32) -> Result<f64, sqlx::Error> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 227 |     pub async fn track_cpu_usage(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `deployment_id` and `user_id` are never read
[INFO] [stderr]   --> src/billing_context.rs:9:9
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub struct BillingContext {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr]  8 |     pub api_call_id: String,
[INFO] [stderr]  9 |     pub deployment_id: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 10 |     pub user_id: Option<String>,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `track_cpu_usage`, `complete_api_call`, and `get_api_call_id` are never used
[INFO] [stderr]    --> src/billing_context.rs:65:18
[INFO] [stderr]     |
[INFO] [stderr]  15 | impl BillingContext {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  65 |     pub async fn track_cpu_usage(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  93 |     pub async fn complete_api_call(&self, status_code: i32) -> Result<(), sqlx::Error> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     pub fn get_api_call_id(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SubscriptionEvent` is never constructed
[INFO] [stderr]   --> src/graphql/types.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub struct SubscriptionEvent {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Block` is never constructed
[INFO] [stderr]   --> src/graphql/types.rs:66:12
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub struct Block {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Transaction` is never constructed
[INFO] [stderr]   --> src/graphql/types.rs:74:12
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub struct Transaction {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CpuUsageRecord` is never constructed
[INFO] [stderr]    --> src/database.rs:107:12
[INFO] [stderr]     |
[INFO] [stderr] 107 | pub struct CpuUsageRecord {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]     --> src/database.rs:1464:18
[INFO] [stderr]      |
[INFO] [stderr]  121 | impl Database {
[INFO] [stderr]      | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 1464 |     pub async fn get_contracts_by_deployment(&self, deployment_id: &str) -> Result<Vec<DeploymentContract>, sqlx::Error> {
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1468 |     pub async fn count_deployment_contracts(&self, deployment_id: &str) -> Result<i64, sqlx::Error> {
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1649 |     pub async fn get_cpu_pricing_tier_by_cpu_units(&self, cpu_units: i32) -> Result<Option<CpuPricingTier>, sqlx::Error> {
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1681 |     pub async fn insert_cpu_usage_record(&self, usage: &CpuUsageRecord) -> Result<(), sqlx::Error> {
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `start_syncing_deployment` is never used
[INFO] [stderr]    --> src/indexer.rs:115:18
[INFO] [stderr]     |
[INFO] [stderr]  61 | impl MultiContractIndexer {
[INFO] [stderr]     | ------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 115 |     pub async fn start_syncing_deployment(&self, deployment_id: &str) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AuthContext` is never constructed
[INFO] [stderr]   --> src/auth_middleware.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct AuthContext {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `auth_middleware` is never used
[INFO] [stderr]   --> src/auth_middleware.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub async fn auth_middleware(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_auth_context` is never used
[INFO] [stderr]   --> src/auth_middleware.rs:99:8
[INFO] [stderr]    |
[INFO] [stderr] 99 | pub fn get_auth_context(request: &Request) -> Option<&AuthContext> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_authorized` is never used
[INFO] [stderr]    --> src/auth_middleware.rs:104:8
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub fn is_authorized(request: &Request) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_deployment_id` is never used
[INFO] [stderr]    --> src/auth_middleware.rs:109:8
[INFO] [stderr]     |
[INFO] [stderr] 109 | pub fn get_deployment_id(request: &Request) -> Option<&str> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_api_key_id` is never used
[INFO] [stderr]    --> src/auth_middleware.rs:114:8
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub fn get_api_key_id(request: &Request) -> Option<&str> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mini-starknet-indexer-rs` (bin "mini-starknet-indexer-rs" test) generated 25 warnings (run `cargo fix --bin "mini-starknet-indexer-rs" -p mini-starknet-indexer-rs --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mini_starknet_indexer_rs-cb20cfa4b85e9009)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test auth_middleware::tests::test_extract_api_key_apikey ... ok
[INFO] [stdout] test auth_middleware::tests::test_extract_api_key_bearer ... ok
[INFO] [stdout] test api_key_service::tests::test_permissions_parsing ... ok
[INFO] [stdout] test auth_middleware::tests::test_extract_api_key_no_headers ... ok
[INFO] [stdout] test auth_middleware::tests::test_extract_api_key_invalid_format ... ok
[INFO] [stdout] test auth_middleware::tests::test_extract_api_key_x_auth_token ... ok
[INFO] [stdout] test auth_middleware::tests::test_extract_api_key_x_header ... ok
[INFO] [stdout] test api_key_service::tests::test_api_key_generation_format ... ok
[INFO] [stdout] test api_key_service::tests::test_api_key_generation_and_validation ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- api_key_service::tests::test_api_key_generation_and_validation stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'api_key_service::tests::test_api_key_generation_and_validation' (18) panicked at src/api_key_service.rs:181:14:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Database(SqliteError { code: 787, message: "FOREIGN KEY constraint failed" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56db40834c6a - std[29689e6404d28ef9]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x56db40834c6a - std[29689e6404d28ef9]::backtrace_rs::backtrace::trace_unsynchronized::<std[29689e6404d28ef9]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x56db40834c6a - std[29689e6404d28ef9]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x56db40834c6a - <<std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[e929cb53b82a81ca]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x56db4084b4ea - <core[e929cb53b82a81ca]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x56db4084b4ea - core[e929cb53b82a81ca]::fmt::write
[INFO] [stdout]    6:     0x56db408396d2 - std[29689e6404d28ef9]::io::default_write_fmt::<alloc[9d7caffeb3b5d2c6]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x56db408396d2 - <alloc[9d7caffeb3b5d2c6]::vec::Vec<u8> as std[29689e6404d28ef9]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x56db408134cf - <std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x56db408134cf - std[29689e6404d28ef9]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x56db4082cd09 - std[29689e6404d28ef9]::panicking::default_hook
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x56db4040e88c - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x56db4040e88c - test[a24b3028667022f7]::test_main_inner::<test[a24b3028667022f7]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x56db4082cf82 - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x56db4082cf82 - std[29689e6404d28ef9]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x56db40813588 - std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x56db40808769 - std[29689e6404d28ef9]::sys::backtrace::__rust_end_short_backtrace::<std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x56db4081429d - __rustc[3aed6af316653e63]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x56db4084bcac - core[e929cb53b82a81ca]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x56db4084ba22 - core[e929cb53b82a81ca]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x56db403e9675 - <core[e929cb53b82a81ca]::result::Result<(alloc[9d7caffeb3b5d2c6]::string::String, mini_starknet_indexer_rs[20a6baed08e77b7]::database::ApiKeyRecord), alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn core[e929cb53b82a81ca]::error::Error + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync>>>::unwrap
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x56db403e9675 - mini_starknet_indexer_rs[20a6baed08e77b7]::api_key_service::tests::test_api_key_generation_and_validation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/api_key_service.rs:181:14
[INFO] [stdout]   22:     0x56db403c6c12 - <core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>> as core[e929cb53b82a81ca]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x56db403c6c8d - <core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>> as core[e929cb53b82a81ca]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/future/future.rs:133:9
[INFO] [stdout]   24:     0x56db403f636d - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:742:70
[INFO] [stdout]   25:     0x56db403f626b - tokio[8f88f5202a901de4]::task::coop::with_budget::<core[e929cb53b82a81ca]::task::poll::Poll<()>, <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/task/coop/mod.rs:167:5
[INFO] [stdout]   26:     0x56db403f626b - tokio[8f88f5202a901de4]::task::coop::budget::<core[e929cb53b82a81ca]::task::poll::Poll<()>, <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/task/coop/mod.rs:133:5
[INFO] [stdout]   27:     0x56db403f626b - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:742:25
[INFO] [stdout]   28:     0x56db403efca0 - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Context>::enter::<core[e929cb53b82a81ca]::task::poll::Poll<()>, <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:432:19
[INFO] [stdout]   29:     0x56db403f563d - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:741:44
[INFO] [stdout]   30:     0x56db403f4934 - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}, core[e929cb53b82a81ca]::option::Option<()>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:829:68
[INFO] [stdout]   31:     0x56db403febab - <tokio[8f88f5202a901de4]::runtime::context::scoped::Scoped<tokio[8f88f5202a901de4]::runtime::scheduler::Context>>::set::<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}, core[e929cb53b82a81ca]::option::Option<()>>::{closure#0}, (alloc[9d7caffeb3b5d2c6]::boxed::Box<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Core>, core[e929cb53b82a81ca]::option::Option<()>)>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   32:     0x56db403caaa9 - tokio[8f88f5202a901de4]::runtime::context::set_scheduler::<(alloc[9d7caffeb3b5d2c6]::boxed::Box<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Core>, core[e929cb53b82a81ca]::option::Option<()>), <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}, core[e929cb53b82a81ca]::option::Option<()>>::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context.rs:176:38
[INFO] [stdout]   33:     0x56db403f0c22 - <std[29689e6404d28ef9]::thread::local::LocalKey<tokio[8f88f5202a901de4]::runtime::context::Context>>::try_with::<tokio[8f88f5202a901de4]::runtime::context::set_scheduler<(alloc[9d7caffeb3b5d2c6]::boxed::Box<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Core>, core[e929cb53b82a81ca]::option::Option<()>), <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}, core[e929cb53b82a81ca]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9d7caffeb3b5d2c6]::boxed::Box<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Core>, core[e929cb53b82a81ca]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/local.rs:462:12
[INFO] [stdout]   34:     0x56db403f07ae - <std[29689e6404d28ef9]::thread::local::LocalKey<tokio[8f88f5202a901de4]::runtime::context::Context>>::with::<tokio[8f88f5202a901de4]::runtime::context::set_scheduler<(alloc[9d7caffeb3b5d2c6]::boxed::Box<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Core>, core[e929cb53b82a81ca]::option::Option<()>), <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}, core[e929cb53b82a81ca]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9d7caffeb3b5d2c6]::boxed::Box<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Core>, core[e929cb53b82a81ca]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/local.rs:426:20
[INFO] [stdout]   35:     0x56db403c978d - tokio[8f88f5202a901de4]::runtime::context::set_scheduler::<(alloc[9d7caffeb3b5d2c6]::boxed::Box<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::Core>, core[e929cb53b82a81ca]::option::Option<()>), <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}, core[e929cb53b82a81ca]::option::Option<()>>::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context.rs:176:17
[INFO] [stdout]   36:     0x56db403f3b80 - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>::{closure#0}, core[e929cb53b82a81ca]::option::Option<()>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:829:27
[INFO] [stdout]   37:     0x56db403f3e76 - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[e929cb53b82a81ca]::pin::Pin<&mut core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:729:24
[INFO] [stdout]   38:     0x56db403f4440 - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:200:33
[INFO] [stdout]   39:     0x56db403bd113 - tokio[8f88f5202a901de4]::runtime::context::runtime::enter_runtime::<<tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   40:     0x56db403ef7d1 - <tokio[8f88f5202a901de4]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/scheduler/current_thread/mod.rs:188:9
[INFO] [stdout]   41:     0x56db403e6ca4 - <tokio[8f88f5202a901de4]::runtime::runtime::Runtime>::block_on_inner::<core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/runtime.rs:356:52
[INFO] [stdout]   42:     0x56db403e6e6f - <tokio[8f88f5202a901de4]::runtime::runtime::Runtime>::block_on::<core[e929cb53b82a81ca]::pin::Pin<&mut dyn core[e929cb53b82a81ca]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/runtime/runtime.rs:330:18
[INFO] [stdout]   43:     0x56db403eac5f - mini_starknet_indexer_rs[20a6baed08e77b7]::api_key_service::tests::test_api_key_generation_and_validation
[INFO] [stdout]                                at /opt/rustwide/workdir/src/api_key_service.rs:191:42
[INFO] [stdout]   44:     0x56db403e8ab7 - mini_starknet_indexer_rs[20a6baed08e77b7]::api_key_service::tests::test_api_key_generation_and_validation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/api_key_service.rs:164:54
[INFO] [stdout]   45:     0x56db403bc7c6 - <mini_starknet_indexer_rs[20a6baed08e77b7]::api_key_service::tests::test_api_key_generation_and_validation::{closure#0} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x56db40401b6b - <fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   47:     0x56db40401b6b - test[a24b3028667022f7]::__rust_begin_short_backtrace::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:724:18
[INFO] [stdout]   48:     0x56db4040f35b - test[a24b3028667022f7]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:74
[INFO] [stdout]   49:     0x56db4040f35b - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   50:     0x56db4040f35b - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   51:     0x56db4040f35b - std[29689e6404d28ef9]::panicking::catch_unwind::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   52:     0x56db4040f35b - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   53:     0x56db4040f35b - test[a24b3028667022f7]::run_test_in_process
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:27
[INFO] [stdout]   54:     0x56db4040f35b - test[a24b3028667022f7]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:668:43
[INFO] [stdout]   55:     0x56db40408a74 - test[a24b3028667022f7]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:698:41
[INFO] [stdout]   56:     0x56db40408a74 - std[29689e6404d28ef9]::sys::backtrace::__rust_begin_short_backtrace::<test[a24b3028667022f7]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   57:     0x56db40411f62 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   58:     0x56db40411f62 - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   59:     0x56db40411f62 - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   60:     0x56db40411f62 - std[29689e6404d28ef9]::panicking::catch_unwind::<(), core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   61:     0x56db40411f62 - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   62:     0x56db40411f62 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   63:     0x56db40411f62 - <std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   64:     0x56db4083453f - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn core[e929cb53b82a81ca]::ops::function::FnOnce<(), Output = ()> + core[e929cb53b82a81ca]::marker::Send> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   65:     0x56db4083453f - <std[29689e6404d28ef9]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   66:     0x768762df8aa4 - <unknown>
[INFO] [stdout]   67:     0x768762e85a64 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     api_key_service::tests::test_api_key_generation_and_validation
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin mini-starknet-indexer-rs`
[INFO] running `Command { std: "docker" "inspect" "d08f14701ffee8419ad9ea045ec930b2e0f30d28c895481427b6f4e29b432664", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d08f14701ffee8419ad9ea045ec930b2e0f30d28c895481427b6f4e29b432664", kill_on_drop: false }`
[INFO] [stdout] d08f14701ffee8419ad9ea045ec930b2e0f30d28c895481427b6f4e29b432664
