[INFO] cloning repository https://github.com/danok21/blockchain-postgres [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danok21/blockchain-postgres" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanok21%2Fblockchain-postgres", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanok21%2Fblockchain-postgres'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2529c5f37139b36f1f207452f3f24144cb3b23b1 [INFO] checking danok21/blockchain-postgres against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanok21%2Fblockchain-postgres" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danok21/blockchain-postgres on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danok21/blockchain-postgres [INFO] finished tweaking git repo https://github.com/danok21/blockchain-postgres [INFO] tweaked toml for git repo https://github.com/danok21/blockchain-postgres written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/danok21/blockchain-postgres already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df16ecd78f19ed62df9d4f844d29153772c79c074cc04e2e68ddbb8b70f44fb3 [INFO] running `Command { std: "docker" "start" "-a" "df16ecd78f19ed62df9d4f844d29153772c79c074cc04e2e68ddbb8b70f44fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df16ecd78f19ed62df9d4f844d29153772c79c074cc04e2e68ddbb8b70f44fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df16ecd78f19ed62df9d4f844d29153772c79c074cc04e2e68ddbb8b70f44fb3", kill_on_drop: false }` [INFO] [stdout] df16ecd78f19ed62df9d4f844d29153772c79c074cc04e2e68ddbb8b70f44fb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0509217b85791ff90e70cee68faf8935b0260c947f602d7654bd7eabe05590d8 [INFO] running `Command { std: "docker" "start" "-a" "0509217b85791ff90e70cee68faf8935b0260c947f602d7654bd7eabe05590d8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking async-process v1.2.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Checking soketto v0.5.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking web3-async-native-tls v0.4.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi v14.1.0 [INFO] [stderr] Checking web3 v0.17.0 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking blockchain-postgres v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgCursor` [INFO] [stdout] --> src/main.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::postgres::{PgConnection,PgCursor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgCursor` [INFO] [stdout] --> src/main.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::postgres::{PgConnection,PgCursor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... let mut count = sqlx::query(sql).bind(hash_tx).bind(nonce).bind(block_hash).bind(block_number).bind(transaction_index).bind(from_addr) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count2` [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | ... let count2 = sqlx::query(sql2).bind(hash).bind(parent_hash).bind(sha3_uncles).bind(miner).bind(state_root).bind(transactions_root) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_count2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut pool = Pool::::new(&env::var("DATABASE_URL").unwrap()).await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut block_num = web3.eth().block_number().await?; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut eth_block = serde_json::to_value(data).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | ... let mut count = sqlx::query(sql).bind(hash_tx).bind(nonce).bind(block_hash).bind(block_number).bind(transaction_index).bind(from_addr) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... let mut count = sqlx::query(sql).bind(hash_tx).bind(nonce).bind(block_hash).bind(block_number).bind(transaction_index).bind(from_addr) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count2` [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | ... let count2 = sqlx::query(sql2).bind(hash).bind(parent_hash).bind(sha3_uncles).bind(miner).bind(state_root).bind(transactions_root) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_count2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut pool = Pool::::new(&env::var("DATABASE_URL").unwrap()).await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut block_num = web3.eth().block_number().await?; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut eth_block = serde_json::to_value(data).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | ... let mut count = sqlx::query(sql).bind(hash_tx).bind(nonce).bind(block_hash).bind(block_number).bind(transaction_index).bind(from_addr) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "0509217b85791ff90e70cee68faf8935b0260c947f602d7654bd7eabe05590d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0509217b85791ff90e70cee68faf8935b0260c947f602d7654bd7eabe05590d8", kill_on_drop: false }` [INFO] [stdout] 0509217b85791ff90e70cee68faf8935b0260c947f602d7654bd7eabe05590d8