[INFO] cloning repository https://github.com/sglk123/chain_query_service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sglk123/chain_query_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsglk123%2Fchain_query_service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsglk123%2Fchain_query_service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3dabea5d8310f074bfbcbf0ef467ac61ee804bc
[INFO] building sglk123/chain_query_service against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsglk123%2Fchain_query_service" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sglk123/chain_query_service
[INFO] finished tweaking git repo https://github.com/sglk123/chain_query_service
[INFO] tweaked toml for git repo https://github.com/sglk123/chain_query_service written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sglk123/chain_query_service on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sglk123/chain_query_service 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c36fe9c777a07c6e6cd3d7ab6b47082a1a449babe923293a61e771e8d18f058d
[INFO] running `Command { std: "docker" "start" "-a" "c36fe9c777a07c6e6cd3d7ab6b47082a1a449babe923293a61e771e8d18f058d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c36fe9c777a07c6e6cd3d7ab6b47082a1a449babe923293a61e771e8d18f058d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c36fe9c777a07c6e6cd3d7ab6b47082a1a449babe923293a61e771e8d18f058d", kill_on_drop: false }`
[INFO] [stdout] c36fe9c777a07c6e6cd3d7ab6b47082a1a449babe923293a61e771e8d18f058d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5a2eba23d7800961181dc708cca81cf81505ca3cb5e8a4be64b4d5df1efa525
[INFO] running `Command { std: "docker" "start" "-a" "c5a2eba23d7800961181dc708cca81cf81505ca3cb5e8a4be64b4d5df1efa525", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling value-bag v1.9.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling subtle v2.6.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling cc v1.0.100
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling unicode-properties v0.1.1
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling futures-lite v2.3.0
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling prettyplease v0.2.20
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling piper v0.2.3
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling postgres-protocol v0.6.6
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling postgres-types v0.2.6
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling async-executor v1.12.0
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling thread-id v4.2.1
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling prost v0.12.6
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling prost-types v0.12.6
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling bb8 v0.7.1
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling async-throttle v0.3.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio-postgres v0.7.10
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling prost-build v0.12.6
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling polling v3.7.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling async-io v2.3.3
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling tonic-build v0.11.0
[INFO] [stderr]    Compiling log4rs v1.3.0
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling postgres v0.19.7
[INFO] [stderr]    Compiling bb8-postgres v0.7.0
[INFO] [stderr]    Compiling r2d2_postgres v0.18.1
[INFO] [stderr]    Compiling pg_db_con v0.1.0 (/opt/rustwide/workdir/pg_db_con)
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[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: `RunError`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bb8_postgres::bb8::{Pool, PooledConnection, RunError};
[INFO] [stdout]   |                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `pg_insert` and `pg_select`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{pg_insert, pg_select};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::{info, log};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> pg_db_con/src/pg.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut conn = self.pool.get().await;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> pg_db_con/src/pg.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut conn = self.pool.get().await;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Con` is never used
[INFO] [stdout]   --> pg_db_con/src/pg.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type Con<'a> = PooledConnection<'a, PostgresConnectionManager<NoTls>>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_database` is never used
[INFO] [stdout]   --> pg_db_con/src/pg.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn create_database(conf: PgConfig) -> Result<(), Error> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hyper v0.14.29
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling warp v0.3.7
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling chain_service v0.1.0 (/opt/rustwide/workdir/chain_service)
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> chain_service/src/lib.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::sync::{Mutex, Semaphore};
[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: `Instant`
[INFO] [stdout]  --> chain_service/src/lib.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::time::{self, Instant, sleep};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_credits` and `refill_interval` are never read
[INFO] [stdout]   --> chain_service/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct CreditBasedRateLimiter {
[INFO] [stdout]    |        ---------------------- fields in this struct
[INFO] [stdout] 22 |     semaphore: Arc<Semaphore>,
[INFO] [stdout] 23 |     max_credits: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 24 |     refill_interval: Duration,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling workflow v0.1.0 (/opt/rustwide/workdir/workflow)
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> workflow/src/lib.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> workflow/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> workflow/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgConfig`
[INFO] [stdout]  --> workflow/src/lib.rs:8:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | use pg_db_con::pg::{Block, get_pg_config, init, PgConfig};
[INFO] [stdout]   |                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `Value`, and `json`
[INFO] [stdout]  --> workflow/src/lib.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{json, Value, Error};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log`
[INFO] [stdout]   --> workflow/src/lib.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | use log::{error, info, log};
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stdout]   --> workflow/src/lib.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | use num_traits::{ToPrimitive, FromPrimitive};
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> workflow/src/lib.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |         /// end signal
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 380 |         db_pg.insert_tx(vec![1], &r.activity_name).await.unwrap();
[INFO] [stdout]     |         --------------------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tonic v0.11.0
[INFO] [stderr]    Compiling rpc v0.1.0 (/opt/rustwide/workdir/rpc)
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]    --> rpc/src/lib.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 215 | enum StatusCode {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 218 |     Error = 400,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StatusCode` 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] [stderr]    Compiling node_service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Logger`
[INFO] [stdout]  --> src/log.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log4rs::config::{Appender, Config, Logger, Root};
[INFO] [stdout]   |                                        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `NResult` is never used
[INFO] [stdout]   --> src/error.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type NResult<T> = Result<T, NError>;
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NError` is never used
[INFO] [stdout]   --> src/error.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum NError {}
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `block_on` is never used
[INFO] [stdout]   --> src/runtime/takio_runtime.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn block_on<F>(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_on` is never used
[INFO] [stdout]   --> src/runtime/takio_runtime.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn run_on<F>(f: F) -> F::Output
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "c5a2eba23d7800961181dc708cca81cf81505ca3cb5e8a4be64b4d5df1efa525", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5a2eba23d7800961181dc708cca81cf81505ca3cb5e8a4be64b4d5df1efa525", kill_on_drop: false }`
[INFO] [stdout] c5a2eba23d7800961181dc708cca81cf81505ca3cb5e8a4be64b4d5df1efa525
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8995779f9f39e60f9102fb655d3e17fe587b03625833c9246f226f65f50f3234
[INFO] running `Command { std: "docker" "start" "-a" "8995779f9f39e60f9102fb655d3e17fe587b03625833c9246f226f65f50f3234", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> chain_service/src/lib.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::sync::{Mutex, Semaphore};
[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: `Instant`
[INFO] [stdout]  --> chain_service/src/lib.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::time::{self, Instant, sleep};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_credits` and `refill_interval` are never read
[INFO] [stdout]   --> chain_service/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct CreditBasedRateLimiter {
[INFO] [stdout]    |        ---------------------- fields in this struct
[INFO] [stdout] 22 |     semaphore: Arc<Semaphore>,
[INFO] [stdout] 23 |     max_credits: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 24 |     refill_interval: Duration,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[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: `RunError`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bb8_postgres::bb8::{Pool, PooledConnection, RunError};
[INFO] [stdout]   |                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `pg_insert` and `pg_select`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{pg_insert, pg_select};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log`
[INFO] [stdout]  --> pg_db_con/src/pg.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::{info, log};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> pg_db_con/src/pg.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut conn = self.pool.get().await;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> pg_db_con/src/pg.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut conn = self.pool.get().await;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Con` is never used
[INFO] [stdout]   --> pg_db_con/src/pg.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type Con<'a> = PooledConnection<'a, PostgresConnectionManager<NoTls>>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_database` is never used
[INFO] [stdout]   --> pg_db_con/src/pg.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn create_database(conf: PgConfig) -> Result<(), Error> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> workflow/src/lib.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> workflow/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> workflow/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgConfig`
[INFO] [stdout]  --> workflow/src/lib.rs:8:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | use pg_db_con::pg::{Block, get_pg_config, init, PgConfig};
[INFO] [stdout]   |                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `Value`, and `json`
[INFO] [stdout]  --> workflow/src/lib.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{json, Value, Error};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log`
[INFO] [stdout]   --> workflow/src/lib.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | use log::{error, info, log};
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stdout]   --> workflow/src/lib.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | use num_traits::{ToPrimitive, FromPrimitive};
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> workflow/src/lib.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |         /// end signal
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 380 |         db_pg.insert_tx(vec![1], &r.activity_name).await.unwrap();
[INFO] [stdout]     |         --------------------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]    --> rpc/src/lib.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 215 | enum StatusCode {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 218 |     Error = 400,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StatusCode` 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] [stderr]    Compiling node_service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Logger`
[INFO] [stdout]  --> src/log.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log4rs::config::{Appender, Config, Logger, Root};
[INFO] [stdout]   |                                        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `NResult` is never used
[INFO] [stdout]   --> src/error.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type NResult<T> = Result<T, NError>;
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NError` is never used
[INFO] [stdout]   --> src/error.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum NError {}
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_on` is never used
[INFO] [stdout]   --> src/runtime/takio_runtime.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn run_on<F>(f: F) -> F::Output
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.63s
[INFO] running `Command { std: "docker" "inspect" "8995779f9f39e60f9102fb655d3e17fe587b03625833c9246f226f65f50f3234", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8995779f9f39e60f9102fb655d3e17fe587b03625833c9246f226f65f50f3234", kill_on_drop: false }`
[INFO] [stdout] 8995779f9f39e60f9102fb655d3e17fe587b03625833c9246f226f65f50f3234
