[INFO] cloning repository https://github.com/yiyangzhou0098/Bitcoin-Ingestion-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yiyangzhou0098/Bitcoin-Ingestion-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiyangzhou0098%2FBitcoin-Ingestion-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiyangzhou0098%2FBitcoin-Ingestion-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1c3c6465c6379e9357a64997c362b0dd838403b [INFO] building yiyangzhou0098/Bitcoin-Ingestion-Rust against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiyangzhou0098%2FBitcoin-Ingestion-Rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yiyangzhou0098/Bitcoin-Ingestion-Rust on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yiyangzhou0098/Bitcoin-Ingestion-Rust [INFO] finished tweaking git repo https://github.com/yiyangzhou0098/Bitcoin-Ingestion-Rust [INFO] tweaked toml for git repo https://github.com/yiyangzhou0098/Bitcoin-Ingestion-Rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yiyangzhou0098/Bitcoin-Ingestion-Rust 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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded httparse v1.9.5 [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded lru v0.12.4 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded once_cell v1.20.1 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded jsonrpc v0.18.0 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded frunk_derives v0.4.3 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.3 [INFO] [stderr] Downloaded mime_guess v2.0.5 [INFO] [stderr] Downloaded bigdecimal v0.4.5 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.13 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded derive_utils v0.14.2 [INFO] [stderr] Downloaded btoi v0.4.3 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.11 [INFO] [stderr] Downloaded io-enum v1.1.3 [INFO] [stderr] Downloaded minreq v2.12.0 [INFO] [stderr] Downloaded frunk_core v0.4.3 [INFO] [stderr] Downloaded frunk v0.4.3 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded warp v0.3.7 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded cc v1.1.24 [INFO] [stderr] Downloaded bitcoincore-rpc v0.19.0 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded portable-atomic v1.9.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.61 [INFO] [stderr] Downloaded pem v3.0.4 [INFO] [stderr] Downloaded mysql-common-derive v0.31.1 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded mysql_common v0.32.4 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded zstd-safe v7.2.1 [INFO] [stderr] Downloaded security-framework-sys v2.12.0 [INFO] [stderr] Downloaded mysql v25.0.1 [INFO] [stderr] Downloaded bitcoin v0.32.3 [INFO] [stderr] Downloaded zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Downloaded libz-sys v1.1.20 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f8e8cb6c88d50056e3abd98181b1c50b1773ecbfbd03bcabdb1c23286bcc5a6 [INFO] running `Command { std: "docker" "start" "-a" "9f8e8cb6c88d50056e3abd98181b1c50b1773ecbfbd03bcabdb1c23286bcc5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f8e8cb6c88d50056e3abd98181b1c50b1773ecbfbd03bcabdb1c23286bcc5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8e8cb6c88d50056e3abd98181b1c50b1773ecbfbd03bcabdb1c23286bcc5a6", kill_on_drop: false }` [INFO] [stdout] 9f8e8cb6c88d50056e3abd98181b1c50b1773ecbfbd03bcabdb1c23286bcc5a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afb6c306a2d538eac45f11a10559811acdc9c0238a2b4a2ec167c0845d7a4686 [INFO] running `Command { std: "docker" "start" "-a" "afb6c306a2d538eac45f11a10559811acdc9c0238a2b4a2ec167c0845d7a4686", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling minreq v2.12.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling bitcoin v0.32.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling mysql-common-derive v0.31.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling frunk v0.4.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling bitcoincore-rpc v0.19.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling project-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/services/mysql_connection.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{string, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/services/ingestion.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Utc, NaiveDate}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/services/bitcoin_rpc.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | let date = NaiveDateTime::from_timestamp(block_time as i64, 0).date(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DailyTxData` is never constructed [INFO] [stdout] --> src/services/bitcoin_rpc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DailyTxData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DailyTxData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_last_7_days_tx_data` is never used [INFO] [stdout] --> src/services/bitcoin_rpc.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl BitcoinRpcService { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_last_7_days_tx_data(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_daily_tx`, `get_last_7_days`, `check_today_data`, `save_today_tx`, and `save_7dma` are never used [INFO] [stdout] --> src/services/mysql_connection.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl MySqlService { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn save_daily_tx(&self, date: NaiveDate, tx_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_last_7_days(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn check_today_data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn save_today_tx(&self, tx_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn save_7dma(&self, date: NaiveDate, dma_value: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_7dma` is never used [INFO] [stdout] --> src/services/ingestion.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn calculate_7dma(transaction_data: &[(NaiveDate, usize)]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 50s [INFO] running `Command { std: "docker" "inspect" "afb6c306a2d538eac45f11a10559811acdc9c0238a2b4a2ec167c0845d7a4686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb6c306a2d538eac45f11a10559811acdc9c0238a2b4a2ec167c0845d7a4686", kill_on_drop: false }` [INFO] [stdout] afb6c306a2d538eac45f11a10559811acdc9c0238a2b4a2ec167c0845d7a4686 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c90dfe380fa9989294be4a8c36802200f89e28d98cb5f690eddaf37029a166f [INFO] running `Command { std: "docker" "start" "-a" "3c90dfe380fa9989294be4a8c36802200f89e28d98cb5f690eddaf37029a166f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/services/mysql_connection.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{string, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/services/ingestion.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Utc, NaiveDate}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/services/bitcoin_rpc.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | let date = NaiveDateTime::from_timestamp(block_time as i64, 0).date(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DailyTxData` is never constructed [INFO] [stdout] --> src/services/bitcoin_rpc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DailyTxData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DailyTxData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_last_7_days_tx_data` is never used [INFO] [stdout] --> src/services/bitcoin_rpc.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl BitcoinRpcService { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_last_7_days_tx_data(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_daily_tx`, `get_last_7_days`, `check_today_data`, `save_today_tx`, and `save_7dma` are never used [INFO] [stdout] --> src/services/mysql_connection.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl MySqlService { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn save_daily_tx(&self, date: NaiveDate, tx_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_last_7_days(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn check_today_data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn save_today_tx(&self, tx_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn save_7dma(&self, date: NaiveDate, dma_value: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling project-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `calculate_7dma` is never used [INFO] [stdout] --> src/services/ingestion.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn calculate_7dma(transaction_data: &[(NaiveDate, usize)]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/services/mysql_connection.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{string, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/services/ingestion.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Utc, NaiveDate}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test_rpc_fn.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | test_rpc_func(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = test_rpc_func(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/services/bitcoin_rpc.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | let date = NaiveDateTime::from_timestamp(block_time as i64, 0).date(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DailyTxData` is never constructed [INFO] [stdout] --> src/services/bitcoin_rpc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DailyTxData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DailyTxData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_last_7_days_tx_data` is never used [INFO] [stdout] --> src/services/bitcoin_rpc.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl BitcoinRpcService { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_last_7_days_tx_data(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_daily_tx`, `get_last_7_days`, `check_today_data`, `save_today_tx`, and `save_7dma` are never used [INFO] [stdout] --> src/services/mysql_connection.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl MySqlService { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn save_daily_tx(&self, date: NaiveDate, tx_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_last_7_days(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn check_today_data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn save_today_tx(&self, tx_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn save_7dma(&self, date: NaiveDate, dma_value: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_7dma` is never used [INFO] [stdout] --> src/services/ingestion.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn calculate_7dma(transaction_data: &[(NaiveDate, usize)]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "3c90dfe380fa9989294be4a8c36802200f89e28d98cb5f690eddaf37029a166f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c90dfe380fa9989294be4a8c36802200f89e28d98cb5f690eddaf37029a166f", kill_on_drop: false }` [INFO] [stdout] 3c90dfe380fa9989294be4a8c36802200f89e28d98cb5f690eddaf37029a166f