[INFO] cloning repository https://github.com/JulianIrigoyen/wallet-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JulianIrigoyen/wallet-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianIrigoyen%2Fwallet-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianIrigoyen%2Fwallet-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e07fafa8c8f980839cf511a8631e490a09dbceb2 [INFO] testing JulianIrigoyen/wallet-manager against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianIrigoyen%2Fwallet-manager" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JulianIrigoyen/wallet-manager [INFO] finished tweaking git repo https://github.com/JulianIrigoyen/wallet-manager [INFO] tweaked toml for git repo https://github.com/JulianIrigoyen/wallet-manager written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JulianIrigoyen/wallet-manager on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JulianIrigoyen/wallet-manager 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56866bb505e18e9f23c6582977921d8615dd24337c0e60f980e2170736eabfde [INFO] running `Command { std: "docker" "start" "-a" "56866bb505e18e9f23c6582977921d8615dd24337c0e60f980e2170736eabfde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56866bb505e18e9f23c6582977921d8615dd24337c0e60f980e2170736eabfde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56866bb505e18e9f23c6582977921d8615dd24337c0e60f980e2170736eabfde", kill_on_drop: false }` [INFO] [stdout] 56866bb505e18e9f23c6582977921d8615dd24337c0e60f980e2170736eabfde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dacfac4df587c6e307ddce12ebf759c4e013a07b232d6ad33921465389c055d [INFO] running `Command { std: "docker" "start" "-a" "2dacfac4df587c6e307ddce12ebf759c4e013a07b232d6ad33921465389c055d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling impl-more v0.1.8 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling uuid-macro-internal v1.11.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling diesel v2.2.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling wallet-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Text)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/http_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [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: `Transaction` [INFO] [stdout] --> src/server/endpoints/transaction_route.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::transaction::{Transaction, WalletTransactionsRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/server/endpoints/wallet_route.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/db/db_session_manager.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use r2d2::{Error, PooledConnection}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, and `web` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, HttpResponse, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App` and `HttpServer` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{App, HttpServer}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `header` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client, header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value`, `from_value`, and `json` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::{from_value, json, Value}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DbTransaction`, `TransactionType`, and `Transaction` [INFO] [stdout] --> src/main.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::transaction::{DbTransaction, Transaction, TransactionType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table_name` is never read [INFO] [stdout] --> src/db/db_session_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct TableName { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | #[sql_type = "Text"] [INFO] [stdout] 16 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `wallet_address` are never read [INFO] [stdout] --> src/db/db_session_manager.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct DbTransactionRow { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 21 | #[diesel(sql_type = Integer)] [INFO] [stdout] 22 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | #[diesel(sql_type = Text)] [INFO] [stdout] 24 | wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbTransactionRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbBalance` is never constructed [INFO] [stdout] --> src/db/db_session_manager.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct DbBalance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify_connection2` is never used [INFO] [stdout] --> src/db/db_session_manager.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl DbSessionManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn verify_connection2(&self) -> QueryResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `DbTransactionRow` instead of cloning the inner type [INFO] [stdout] --> src/db/db_session_manager.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | match tx.clone().transaction_type.as_str() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "2dacfac4df587c6e307ddce12ebf759c4e013a07b232d6ad33921465389c055d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dacfac4df587c6e307ddce12ebf759c4e013a07b232d6ad33921465389c055d", kill_on_drop: false }` [INFO] [stdout] 2dacfac4df587c6e307ddce12ebf759c4e013a07b232d6ad33921465389c055d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aedb9846539166658e12f92ba4a2224940a3b269197e179f9ef1e5a300c6780d [INFO] running `Command { std: "docker" "start" "-a" "aedb9846539166658e12f92ba4a2224940a3b269197e179f9ef1e5a300c6780d", kill_on_drop: false }` [INFO] [stderr] Compiling wallet-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Text)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/http_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [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: `Transaction` [INFO] [stdout] --> src/server/endpoints/transaction_route.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::transaction::{Transaction, WalletTransactionsRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/server/endpoints/wallet_route.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/db/db_session_manager.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use r2d2::{Error, PooledConnection}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, and `web` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, HttpResponse, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App` and `HttpServer` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{App, HttpServer}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `header` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client, header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value`, `from_value`, and `json` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::{from_value, json, Value}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DbTransaction` [INFO] [stdout] --> src/main.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::transaction::{DbTransaction, Transaction, TransactionType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table_name` is never read [INFO] [stdout] --> src/db/db_session_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct TableName { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | #[sql_type = "Text"] [INFO] [stdout] 16 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `wallet_address` are never read [INFO] [stdout] --> src/db/db_session_manager.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct DbTransactionRow { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 21 | #[diesel(sql_type = Integer)] [INFO] [stdout] 22 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | #[diesel(sql_type = Text)] [INFO] [stdout] 24 | wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbTransactionRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbBalance` is never constructed [INFO] [stdout] --> src/db/db_session_manager.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct DbBalance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify_connection2` is never used [INFO] [stdout] --> src/db/db_session_manager.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl DbSessionManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn verify_connection2(&self) -> QueryResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `DbTransactionRow` instead of cloning the inner type [INFO] [stdout] --> src/db/db_session_manager.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | match tx.clone().transaction_type.as_str() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "aedb9846539166658e12f92ba4a2224940a3b269197e179f9ef1e5a300c6780d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aedb9846539166658e12f92ba4a2224940a3b269197e179f9ef1e5a300c6780d", kill_on_drop: false }` [INFO] [stdout] aedb9846539166658e12f92ba4a2224940a3b269197e179f9ef1e5a300c6780d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30d22f1f8b1f1ee6033c156bd0fce50952dd2c8fc533e8eaba4a461bad31e7b9 [INFO] running `Command { std: "docker" "start" "-a" "30d22f1f8b1f1ee6033c156bd0fce50952dd2c8fc533e8eaba4a461bad31e7b9", kill_on_drop: false }` [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Text)]` instead [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/server/http_server.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transaction` [INFO] [stderr] --> src/server/endpoints/transaction_route.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::transaction::{Transaction, WalletTransactionsRequest}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get` [INFO] [stderr] --> src/server/endpoints/wallet_route.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{get, web, HttpResponse, Responder}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/db/db_session_manager.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use r2d2::{Error, PooledConnection}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpResponse`, `Responder`, and `web` [INFO] [stderr] --> src/main.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::{web, HttpResponse, Responder}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::web::Json` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::web::Json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App` and `HttpServer` [INFO] [stderr] --> src/main.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::{App, HttpServer}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Client` and `header` [INFO] [stderr] --> src/main.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use reqwest::{Client, header}; [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Value`, `from_value`, and `json` [INFO] [stderr] --> src/main.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | use serde_json::{from_value, json, Value}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DbTransaction` [INFO] [stderr] --> src/main.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::models::transaction::{DbTransaction, Transaction, TransactionType}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `table_name` is never read [INFO] [stderr] --> src/db/db_session_manager.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | struct TableName { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 15 | #[sql_type = "Text"] [INFO] [stderr] 16 | table_name: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TableName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `wallet_address` are never read [INFO] [stderr] --> src/db/db_session_manager.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | struct DbTransactionRow { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 21 | #[diesel(sql_type = Integer)] [INFO] [stderr] 22 | id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 23 | #[diesel(sql_type = Text)] [INFO] [stderr] 24 | wallet_address: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbTransactionRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `DbBalance` is never constructed [INFO] [stderr] --> src/db/db_session_manager.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | struct DbBalance { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `verify_connection2` is never used [INFO] [stderr] --> src/db/db_session_manager.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 42 | impl DbSessionManager { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn verify_connection2(&self) -> QueryResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `DbTransactionRow` instead of cloning the inner type [INFO] [stderr] --> src/db/db_session_manager.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | match tx.clone().transaction_type.as_str() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wallet-manager` (bin "wallet-manager" test) generated 16 warnings (run `cargo fix --bin "wallet-manager" -p wallet-manager --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wallet_manager-15cf15aca119f6fb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_calculate_wallet_balance ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_calculate_wallet_balance stdout ---- [INFO] [stdout] Connecting to: postgres://postgres:password@localhost:5432/ryz [INFO] [stdout] Error creating connection pool: Error(Some("connection to server at \"localhost\" (::1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\nconnection to server at \"localhost\" (127.0.0.1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n")) [INFO] [stdout] [INFO] [stdout] thread 'test_calculate_wallet_balance' (18) panicked at src/db/db_session_manager.rs:53:17: [INFO] [stdout] Failed to create pool. [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6512229fb858 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6512229fb858 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6512229fb858 - std[d054f6f42beb1baa]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6512229fb858 - <::print::DisplayBacktrace as core[5a1c3e9896636f3a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x651222a1031a - ::fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x651222a1031a - core[5a1c3e9896636f3a]::fmt::write [INFO] [stdout] 6: 0x651222a00182 - std[d054f6f42beb1baa]::io::default_write_fmt::> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:622:11 [INFO] [stdout] 7: 0x651222a00182 - as std[d054f6f42beb1baa]::io::Write>::write_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:1977:13 [INFO] [stdout] 8: 0x6512229da646 - ::print [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6512229da646 - std[d054f6f42beb1baa]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6512229f3ce9 - std[d054f6f42beb1baa]::panicking::default_hook [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6512228ffedc - core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9 [INFO] [stdout] 12: 0x6512228ffedc - test[fad20673b750c10e]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6512229f3ea2 - core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9 [INFO] [stdout] 14: 0x6512229f3ea2 - std[d054f6f42beb1baa]::panicking::panic_with_hook [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6512229da734 - std[d054f6f42beb1baa]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x6512229d1e89 - std[d054f6f42beb1baa]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6512229db4bd - __rustc[7ab284efd7f33ea8]::rust_begin_unwind [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x651222a10adc - core[5a1c3e9896636f3a]::panicking::panic_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6512228dd273 - ::new::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/db/db_session_manager.rs:53:17 [INFO] [stdout] 20: 0x6512228d8dc5 - >, r2d2[e2008103e1a0ce0e]::Error>>::unwrap_or_else::<::new::{closure#0}> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/result.rs:1622:23 [INFO] [stdout] 21: 0x6512228decaa - ::new [INFO] [stdout] at /opt/rustwide/workdir/src/db/db_session_manager.rs:51:14 [INFO] [stdout] 22: 0x6512228dd2bc - wallet_manager[1fe4cf616308f3c3]::test_calculate_wallet_balance [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:44:14 [INFO] [stdout] 23: 0x6512228dd0b7 - wallet_manager[1fe4cf616308f3c3]::test_calculate_wallet_balance::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:43:35 [INFO] [stdout] 24: 0x6512228d6e46 - >::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6512228f2fbb - core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6512228f2fbb - test[fad20673b750c10e]::__rust_begin_short_backtrace::, fn() -> core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:724:18 [INFO] [stdout] 27: 0x651222900835 - test[fad20673b750c10e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:74 [INFO] [stdout] 28: 0x651222900835 - as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x651222900835 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x651222900835 - std[d054f6f42beb1baa]::panicking::catch_unwind::, core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x651222900835 - std[d054f6f42beb1baa]::panic::catch_unwind::, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x651222900835 - test[fad20673b750c10e]::run_test_in_process [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:27 [INFO] [stdout] 33: 0x651222900835 - test[fad20673b750c10e]::run_test::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:668:43 [INFO] [stdout] 34: 0x6512228fb394 - test[fad20673b750c10e]::run_test::{closure#1} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:698:41 [INFO] [stdout] 35: 0x6512228fb394 - std[d054f6f42beb1baa]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x6512229038b2 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 37: 0x6512229038b2 - ::{closure#1}::{closure#0}> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x6512229038b2 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x6512229038b2 - std[d054f6f42beb1baa]::panicking::catch_unwind::<(), core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x6512229038b2 - std[d054f6f42beb1baa]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x6512229038b2 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 42: 0x6512229038b2 - ::{closure#1} as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x6512229fb1bf - + core[5a1c3e9896636f3a]::marker::Send> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2277:9 [INFO] [stdout] 44: 0x6512229fb1bf - ::new::thread_start [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x727e0cdacaa4 - [INFO] [stdout] 46: 0x727e0ce39a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_calculate_wallet_balance [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin wallet-manager` [INFO] running `Command { std: "docker" "inspect" "30d22f1f8b1f1ee6033c156bd0fce50952dd2c8fc533e8eaba4a461bad31e7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d22f1f8b1f1ee6033c156bd0fce50952dd2c8fc533e8eaba4a461bad31e7b9", kill_on_drop: false }` [INFO] [stdout] 30d22f1f8b1f1ee6033c156bd0fce50952dd2c8fc533e8eaba4a461bad31e7b9