[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 try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fthorchain-api-fetcher-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pallavi240303/thorchain-api-fetcher-rust on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf174aed02e98c2c73a1995216e35691df562207ac36821137f6ed3d70422fae
[INFO] running `Command { std: "docker" "start" "-a" "bf174aed02e98c2c73a1995216e35691df562207ac36821137f6ed3d70422fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf174aed02e98c2c73a1995216e35691df562207ac36821137f6ed3d70422fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf174aed02e98c2c73a1995216e35691df562207ac36821137f6ed3d70422fae", kill_on_drop: false }`
[INFO] [stdout] bf174aed02e98c2c73a1995216e35691df562207ac36821137f6ed3d70422fae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 304e35fae9364d21c6d13e3299ea75c0185d7a2d26f98e272b809371cfbab8cf
[INFO] running `Command { std: "docker" "start" "-a" "304e35fae9364d21c6d13e3299ea75c0185d7a2d26f98e272b809371cfbab8cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking digest v0.10.7
[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]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rustls v0.23.16
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.67
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]     Checking tokio v1.41.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling mio v1.0.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 futures-sink v0.3.31
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]     Checking native-tls v0.2.12
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]     Checking whoami v1.5.2
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling chrono-tz-build v0.0.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking postgres-protocol v0.6.7
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]    Compiling chrono-tz v0.6.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking postgres-types v0.2.8
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-stream v0.1.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tokio-postgres v0.7.12
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v3.11.0
[INFO] [stderr]     Checking serde_with v3.11.0
[INFO] [stderr]     Checking sqlx-core v0.8.2
[INFO] [stderr]     Checking postgres-native-tls v0.5.0
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]     Checking sqlx-postgres v0.8.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]     Checking sqlx v0.8.2
[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" "304e35fae9364d21c6d13e3299ea75c0185d7a2d26f98e272b809371cfbab8cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "304e35fae9364d21c6d13e3299ea75c0185d7a2d26f98e272b809371cfbab8cf", kill_on_drop: false }`
[INFO] [stdout] 304e35fae9364d21c6d13e3299ea75c0185d7a2d26f98e272b809371cfbab8cf
