[INFO] cloning repository https://github.com/Venera-labs/moderntensorhub-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Venera-labs/moderntensorhub-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenera-labs%2Fmoderntensorhub-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenera-labs%2Fmoderntensorhub-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f78e9895ee1fe215297c72fdf6116e933f38910b
[INFO] testing Venera-labs/moderntensorhub-backend against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenera-labs%2Fmoderntensorhub-backend" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Venera-labs/moderntensorhub-backend
[INFO] finished tweaking git repo https://github.com/Venera-labs/moderntensorhub-backend
[INFO] tweaked toml for git repo https://github.com/Venera-labs/moderntensorhub-backend written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Venera-labs/moderntensorhub-backend on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Venera-labs/moderntensorhub-backend 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-retry v0.3.0
[INFO] [stderr]   Downloaded zmij v1.0.16
[INFO] [stderr]   Downloaded arc-swap v1.8.0
[INFO] [stderr]   Downloaded redis v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788
[INFO] running `Command { std: "docker" "start" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788", 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" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling cc v1.2.54
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling arc-swap v1.8.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-retry v0.3.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling redis v0.24.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling moderntensor-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `WebSocket` and `response::IntoResponse`
[INFO] [stdout]   --> src/api/mod.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     extract::ws::{WebSocket, WebSocketUpgrade},
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 14 |     response::IntoResponse,
[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 import: `std::time::Duration`
[INFO] [stdout]  --> src/cache.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `State`
[INFO] [stdout]  --> src/websocket.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         State,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/websocket.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::Config`
[INFO] [stdout]   --> src/websocket.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::config::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/explorer.rs:99:11
[INFO] [stdout]    |
[INFO] [stdout] 99 |     State(state): State<Arc<AppState>>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/websocket.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 Message::Ping(data) => {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `BLOCK_HEIGHT`, `ACCOUNT`, and `DEFAULT` are never used
[INFO] [stdout]   --> src/cache.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl CacheTtl {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub const BLOCK_HEIGHT: u64 = 3;
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 27 |     /// Account balance (5 seconds)
[INFO] [stdout] 28 |     pub const ACCOUNT: u64 = 5;
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 29 |     /// Generic default (15 seconds)
[INFO] [stdout] 30 |     pub const DEFAULT: u64 = 15;
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_or_fetch` and `delete` are never used
[INFO] [stdout]    --> src/cache.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl CacheService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub async fn get_or_fetch<T, F, Fut>(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub async fn delete(&self, key: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `account` is never used
[INFO] [stdout]    --> src/cache.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn account(address: &str) -> String {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `block_height` is never used
[INFO] [stdout]    --> src/cache.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn block_height() -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexedTransfer` is never constructed
[INFO] [stdout]   --> src/clients/indexer.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct IndexedTransfer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_transfers` is never used
[INFO] [stdout]    --> src/clients/indexer.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout]  81 | impl IndexerClient {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn get_transfers(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountBalance` is never constructed
[INFO] [stdout]   --> src/clients/rpc.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct AccountBalance {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_block_number` is never used
[INFO] [stdout]    --> src/clients/rpc.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl RpcClient {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub async fn get_block_number(&self) -> Result<u64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound`, `BadRequest`, and `Internal` are never constructed
[INFO] [stdout]   --> src/error.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum ApiError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     Internal(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NewTransaction`, `PriceUpdate`, and `Error` are never constructed
[INFO] [stdout]   --> src/websocket.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum WsMessage {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     NewTransaction { hash: String, from: String, to: String, value: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     PriceUpdate { price: f64, change_24h: f64 },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     Error { message: String },
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WsMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2m 33s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling moderntensor-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `WebSocket` and `response::IntoResponse`
[INFO] [stdout]   --> src/api/mod.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     extract::ws::{WebSocket, WebSocketUpgrade},
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 14 |     response::IntoResponse,
[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 import: `std::time::Duration`
[INFO] [stdout]  --> src/cache.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `State`
[INFO] [stdout]  --> src/websocket.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         State,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/websocket.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::Config`
[INFO] [stdout]   --> src/websocket.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::config::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/explorer.rs:99:11
[INFO] [stdout]    |
[INFO] [stdout] 99 |     State(state): State<Arc<AppState>>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/websocket.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 Message::Ping(data) => {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `BLOCK_HEIGHT`, `ACCOUNT`, and `DEFAULT` are never used
[INFO] [stdout]   --> src/cache.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl CacheTtl {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub const BLOCK_HEIGHT: u64 = 3;
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 27 |     /// Account balance (5 seconds)
[INFO] [stdout] 28 |     pub const ACCOUNT: u64 = 5;
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 29 |     /// Generic default (15 seconds)
[INFO] [stdout] 30 |     pub const DEFAULT: u64 = 15;
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_or_fetch` and `delete` are never used
[INFO] [stdout]    --> src/cache.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl CacheService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub async fn get_or_fetch<T, F, Fut>(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub async fn delete(&self, key: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `account` is never used
[INFO] [stdout]    --> src/cache.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn account(address: &str) -> String {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `block_height` is never used
[INFO] [stdout]    --> src/cache.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn block_height() -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexedTransfer` is never constructed
[INFO] [stdout]   --> src/clients/indexer.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct IndexedTransfer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_transfers` is never used
[INFO] [stdout]    --> src/clients/indexer.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout]  81 | impl IndexerClient {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn get_transfers(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountBalance` is never constructed
[INFO] [stdout]   --> src/clients/rpc.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct AccountBalance {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_block_number` is never used
[INFO] [stdout]    --> src/clients/rpc.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl RpcClient {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub async fn get_block_number(&self) -> Result<u64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound`, `BadRequest`, and `Internal` are never constructed
[INFO] [stdout]   --> src/error.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum ApiError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     Internal(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NewTransaction`, `PriceUpdate`, and `Error` are never constructed
[INFO] [stdout]   --> src/websocket.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum WsMessage {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     NewTransaction { hash: String, from: String, to: String, value: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     PriceUpdate { price: f64, change_24h: f64 },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     Error { message: String },
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WsMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 19.16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `WebSocket` and `response::IntoResponse`
[INFO] [stderr]   --> src/api/mod.rs:13:19
[INFO] [stderr]    |
[INFO] [stderr] 13 |     extract::ws::{WebSocket, WebSocketUpgrade},
[INFO] [stderr]    |                   ^^^^^^^^^
[INFO] [stderr] 14 |     response::IntoResponse,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/cache.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `State`
[INFO] [stderr]  --> src/websocket.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |         State,
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/websocket.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::sync::Arc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::config::Config`
[INFO] [stderr]   --> src/websocket.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::config::Config;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/api/explorer.rs:99:11
[INFO] [stderr]    |
[INFO] [stderr] 99 |     State(state): State<Arc<AppState>>,
[INFO] [stderr]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]   --> src/websocket.rs:84:31
[INFO] [stderr]    |
[INFO] [stderr] 84 |                 Message::Ping(data) => {
[INFO] [stderr]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constants `BLOCK_HEIGHT`, `ACCOUNT`, and `DEFAULT` are never used
[INFO] [stderr]   --> src/cache.rs:26:15
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl CacheTtl {
[INFO] [stderr]    | ------------- associated constants in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 26 |     pub const BLOCK_HEIGHT: u64 = 3;
[INFO] [stderr]    |               ^^^^^^^^^^^^
[INFO] [stderr] 27 |     /// Account balance (5 seconds)
[INFO] [stderr] 28 |     pub const ACCOUNT: u64 = 5;
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr] 29 |     /// Generic default (15 seconds)
[INFO] [stderr] 30 |     pub const DEFAULT: u64 = 15;
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_or_fetch` and `delete` are never used
[INFO] [stderr]    --> src/cache.rs:87:18
[INFO] [stderr]     |
[INFO] [stderr]  33 | impl CacheService {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  87 |     pub async fn get_or_fetch<T, F, Fut>(
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 116 |     pub async fn delete(&self, key: &str) -> bool {
[INFO] [stderr]     |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `account` is never used
[INFO] [stderr]    --> src/cache.rs:154:12
[INFO] [stderr]     |
[INFO] [stderr] 154 |     pub fn account(address: &str) -> String {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `block_height` is never used
[INFO] [stderr]    --> src/cache.rs:158:12
[INFO] [stderr]     |
[INFO] [stderr] 158 |     pub fn block_height() -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `IndexedTransfer` is never constructed
[INFO] [stderr]   --> src/clients/indexer.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub struct IndexedTransfer {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_transfers` is never used
[INFO] [stderr]    --> src/clients/indexer.rs:120:18
[INFO] [stderr]     |
[INFO] [stderr]  81 | impl IndexerClient {
[INFO] [stderr]     | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub async fn get_transfers(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AccountBalance` is never constructed
[INFO] [stderr]   --> src/clients/rpc.rs:82:12
[INFO] [stderr]    |
[INFO] [stderr] 82 | pub struct AccountBalance {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_block_number` is never used
[INFO] [stderr]    --> src/clients/rpc.rs:109:18
[INFO] [stderr]     |
[INFO] [stderr]  98 | impl RpcClient {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 109 |     pub async fn get_block_number(&self) -> Result<u64> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `NotFound`, `BadRequest`, and `Internal` are never constructed
[INFO] [stderr]   --> src/error.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub enum ApiError {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 21 |     NotFound(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     BadRequest(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     Internal(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `NewTransaction`, `PriceUpdate`, and `Error` are never constructed
[INFO] [stderr]   --> src/websocket.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub enum WsMessage {
[INFO] [stderr]    |          --------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 27 |     NewTransaction { hash: String, from: String, to: String, value: String },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     PriceUpdate { price: f64, change_24h: f64 },
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     Error { message: String },
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `WsMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `moderntensor-api` (bin "moderntensor-api" test) generated 17 warnings (run `cargo fix --bin "moderntensor-api" -p moderntensor-api --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/moderntensor_api-d57ba6362b3b546f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788", kill_on_drop: false }`
[INFO] [stdout] 4e6582600b0bdbedca58b5a3971775db04f6c6b25f736291ef2734ff3dca1788
