[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] 6b37862e6e05a57cac2f86578818f27628e08cef [INFO] testing danok21/blockchain-postgres against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanok21%2Fblockchain-postgres" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danok21/blockchain-postgres on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/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" "+beta-2022-04-10" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 608d4ec85b508ee8412ebc8836e28fe79908799624c941efa82bc59c71d01871 [INFO] running `Command { std: "docker" "start" "-a" "608d4ec85b508ee8412ebc8836e28fe79908799624c941efa82bc59c71d01871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "608d4ec85b508ee8412ebc8836e28fe79908799624c941efa82bc59c71d01871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "608d4ec85b508ee8412ebc8836e28fe79908799624c941efa82bc59c71d01871", kill_on_drop: false }` [INFO] [stdout] 608d4ec85b508ee8412ebc8836e28fe79908799624c941efa82bc59c71d01871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e6e5ddbc4d117f9a262b10789b8be7424cc7e075b56936edc90d2b0661712f1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3e6e5ddbc4d117f9a262b10789b8be7424cc7e075b56936edc90d2b0661712f1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling futures-macro v0.3.16 [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] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-process v1.2.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling soketto v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling ethbloom v0.11.0 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling web3 v0.17.0 [INFO] [stderr] Compiling 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: `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:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | ... let 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:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | ... 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 53s [INFO] running `Command { std: "docker" "inspect" "3e6e5ddbc4d117f9a262b10789b8be7424cc7e075b56936edc90d2b0661712f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e6e5ddbc4d117f9a262b10789b8be7424cc7e075b56936edc90d2b0661712f1", kill_on_drop: false }` [INFO] [stdout] 3e6e5ddbc4d117f9a262b10789b8be7424cc7e075b56936edc90d2b0661712f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6fcfb3de62887724f370ac869818a13235edc7f36b86f02ed3c987969335d2e4 [INFO] running `Command { std: "docker" "start" "-a" "6fcfb3de62887724f370ac869818a13235edc7f36b86f02ed3c987969335d2e4", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | ... let 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:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | ... 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.25s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/blockchain_postgres-689b658056c5dd8a) [INFO] running `Command { std: "docker" "inspect" "6fcfb3de62887724f370ac869818a13235edc7f36b86f02ed3c987969335d2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fcfb3de62887724f370ac869818a13235edc7f36b86f02ed3c987969335d2e4", kill_on_drop: false }` [INFO] [stdout] 6fcfb3de62887724f370ac869818a13235edc7f36b86f02ed3c987969335d2e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c1819b586b7e4b7b80f21f52d4ef1e6c1a0aa40e3c0beb932d16b6a3a144db8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5c1819b586b7e4b7b80f21f52d4ef1e6c1a0aa40e3c0beb932d16b6a3a144db8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PgCursor` [INFO] [stderr] --> src/main.rs:6:35 [INFO] [stderr] | [INFO] [stderr] 6 | use sqlx::postgres::{PgConnection,PgCursor}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlx::prelude` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use sqlx::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/main.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | ... let count = sqlx::query(sql).bind(hash_tx).bind(nonce).bind(block_hash).bind(block_number).bind(transaction_index).bind(from_addr) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count2` [INFO] [stderr] --> src/main.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | ... let count2 = sqlx::query(sql2).bind(hash).bind(parent_hash).bind(sha3_uncles).bind(miner).bind(state_root).bind(transactions_root) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_count2` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut pool = Pool::::new(&env::var("DATABASE_URL").unwrap()).await.unwrap(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `blockchain-postgres` (bin "blockchain-postgres" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blockchain_postgres-689b658056c5dd8a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c1819b586b7e4b7b80f21f52d4ef1e6c1a0aa40e3c0beb932d16b6a3a144db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1819b586b7e4b7b80f21f52d4ef1e6c1a0aa40e3c0beb932d16b6a3a144db8", kill_on_drop: false }` [INFO] [stdout] 5c1819b586b7e4b7b80f21f52d4ef1e6c1a0aa40e3c0beb932d16b6a3a144db8