[INFO] cloning repository https://github.com/pallavi240303/thorchain-api-fetcher-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pallavi240303/thorchain-api-fetcher-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fthorchain-api-fetcher-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fthorchain-api-fetcher-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c8c0cb3eb538855d23145ef2e2a49834326a475
[INFO] checking pallavi240303/thorchain-api-fetcher-rust against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fthorchain-api-fetcher-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pallavi240303/thorchain-api-fetcher-rust
[INFO] finished tweaking git repo https://github.com/pallavi240303/thorchain-api-fetcher-rust
[INFO] tweaked toml for git repo https://github.com/pallavi240303/thorchain-api-fetcher-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pallavi240303/thorchain-api-fetcher-rust on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pallavi240303/thorchain-api-fetcher-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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v1.0.67
[INFO] [stderr]   Downloaded postgres-native-tls v0.5.0
[INFO] [stderr]   Downloaded thiserror v1.0.67
[INFO] [stderr]   Downloaded postgres-types v0.2.8
[INFO] [stderr]   Downloaded cc v1.1.34
[INFO] [stderr]   Downloaded tokio-postgres v0.7.12
[INFO] [stderr]   Downloaded rustls v0.23.16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7479afa8b0448fe556ad491a48a94c25f78131fdb02d83cd58c3bd674f3bdd87
[INFO] running `Command { std: "docker" "start" "-a" "7479afa8b0448fe556ad491a48a94c25f78131fdb02d83cd58c3bd674f3bdd87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7479afa8b0448fe556ad491a48a94c25f78131fdb02d83cd58c3bd674f3bdd87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7479afa8b0448fe556ad491a48a94c25f78131fdb02d83cd58c3bd674f3bdd87", kill_on_drop: false }`
[INFO] [stdout] 7479afa8b0448fe556ad491a48a94c25f78131fdb02d83cd58c3bd674f3bdd87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a6f8ae5bae7cf1d571522d21003eaa0efc5945b3e3baad7ed1d08751ee3d410
[INFO] running `Command { std: "docker" "start" "-a" "6a6f8ae5bae7cf1d571522d21003eaa0efc5945b3e3baad7ed1d08751ee3d410", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling cc v1.1.34
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]    Compiling thiserror v1.0.67
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustls v0.23.16
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]     Checking whoami v1.5.2
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.67
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v3.11.0
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling chrono-tz-build v0.0.3
[INFO] [stderr]    Compiling chrono-tz v0.6.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking postgres-protocol v0.6.7
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking serde_with v3.11.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking postgres-types v0.2.8
[INFO] [stderr]    Compiling sqlx-core v0.8.2
[INFO] [stderr]    Compiling sqlx-postgres v0.8.2
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tokio-postgres v0.7.12
[INFO] [stderr]     Checking postgres-native-tls v0.5.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]     Checking sqlx v0.8.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking thorchain-api-fetcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]   --> src/services/db_factory.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |             DbType::MongoDb(uri, db_name) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_name`
[INFO] [stdout]   --> src/services/db_factory.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |             DbType::MongoDb(uri, db_name) => {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/services/db_factory.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |             DbType::RocksDb(path) => {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]   --> src/services/db_factory.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |             DbType::MongoDb(uri, db_name) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_name`
[INFO] [stdout]   --> src/services/db_factory.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |             DbType::MongoDb(uri, db_name) => {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/services/db_factory.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |             DbType::RocksDb(path) => {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timeout_secs` is never read
[INFO] [stdout]   --> src/api/api_fetcher.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ApiConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 22 |     pub base_url: String,
[INFO] [stdout] 23 |     pub timeout_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DbType` is never used
[INFO] [stdout]  --> src/services/db_factory.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum DbType {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_database_type` is never used
[INFO] [stdout]   --> src/services/db_factory.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn match_database_type(db_type: &str, args: &[String]) -> Result<DbType, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseFactory` is never constructed
[INFO] [stdout]   --> src/services/db_factory.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct DatabaseFactory;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]   --> src/services/db_factory.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl DatabaseFactory {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 35 |     pub async fn create(db: DbType) -> Result<Box<dyn Database> , Box<dyn Error>> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timeout_secs` is never read
[INFO] [stdout]   --> src/api/api_fetcher.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ApiConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 22 |     pub base_url: String,
[INFO] [stdout] 23 |     pub timeout_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DbType` is never used
[INFO] [stdout]  --> src/services/db_factory.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum DbType {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_database_type` is never used
[INFO] [stdout]   --> src/services/db_factory.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn match_database_type(db_type: &str, args: &[String]) -> Result<DbType, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseFactory` is never constructed
[INFO] [stdout]   --> src/services/db_factory.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct DatabaseFactory;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]   --> src/services/db_factory.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl DatabaseFactory {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 35 |     pub async fn create(db: DbType) -> Result<Box<dyn Database> , Box<dyn Error>> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "6a6f8ae5bae7cf1d571522d21003eaa0efc5945b3e3baad7ed1d08751ee3d410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a6f8ae5bae7cf1d571522d21003eaa0efc5945b3e3baad7ed1d08751ee3d410", kill_on_drop: false }`
[INFO] [stdout] 6a6f8ae5bae7cf1d571522d21003eaa0efc5945b3e3baad7ed1d08751ee3d410
