[INFO] cloning repository https://github.com/OFUZORCHUKWUEMEKE/axum-paystack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OFUZORCHUKWUEMEKE/axum-paystack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOFUZORCHUKWUEMEKE%2Faxum-paystack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOFUZORCHUKWUEMEKE%2Faxum-paystack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c724fb2e1fe13a1fd203fc36bd181e6063ddf873 [INFO] building OFUZORCHUKWUEMEKE/axum-paystack against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOFUZORCHUKWUEMEKE%2Faxum-paystack" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OFUZORCHUKWUEMEKE/axum-paystack [INFO] finished tweaking git repo https://github.com/OFUZORCHUKWUEMEKE/axum-paystack [INFO] tweaked toml for git repo https://github.com/OFUZORCHUKWUEMEKE/axum-paystack written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OFUZORCHUKWUEMEKE/axum-paystack on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OFUZORCHUKWUEMEKE/axum-paystack 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded schemars v1.0.4 [INFO] [stderr] Downloaded ipconfig v0.3.2 [INFO] [stderr] Downloaded serde_with_macros v3.14.0 [INFO] [stderr] Downloaded data-encoding v2.9.0 [INFO] [stderr] Downloaded rand v0.9.2 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded derive-where v1.5.0 [INFO] [stderr] Downloaded derive-syn-parse v0.2.0 [INFO] [stderr] Downloaded pbkdf2 v0.11.0 [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded mongodb v3.2.4 [INFO] [stderr] Downloaded serde_with v3.14.0 [INFO] [stderr] Downloaded enum-as-inner v0.6.1 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded resolv-conf v0.7.4 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded macro_magic_core_macros v0.5.1 [INFO] [stderr] Downloaded macro_magic_core v0.5.1 [INFO] [stderr] Downloaded macro_magic v0.5.1 [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.4 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded schemars v0.9.0 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded redox_syscall v0.5.15 [INFO] [stderr] Downloaded macro_magic_macros v0.5.1 [INFO] [stderr] Downloaded cc v1.2.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65cce998c1ccc5420ea511f2603ebc92b9bad6dbb42d04a9e4afae3be97eabd6 [INFO] running `Command { std: "docker" "start" "-a" "65cce998c1ccc5420ea511f2603ebc92b9bad6dbb42d04a9e4afae3be97eabd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65cce998c1ccc5420ea511f2603ebc92b9bad6dbb42d04a9e4afae3be97eabd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65cce998c1ccc5420ea511f2603ebc92b9bad6dbb42d04a9e4afae3be97eabd6", kill_on_drop: false }` [INFO] [stdout] 65cce998c1ccc5420ea511f2603ebc92b9bad6dbb42d04a9e4afae3be97eabd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d7201315df1436fa2fe4a7d448d2cdcfae30ddbeae2bef98b72ade921be5fa [INFO] running `Command { std: "docker" "start" "-a" "f5d7201315df1436fa2fe4a7d448d2cdcfae30ddbeae2bef98b72ade921be5fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling mongodb v3.2.4 [INFO] [stderr] Compiling axum-paystack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mongourl_url` [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use config::database::{establish_connection, mongourl_url, port}; [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 variable: `db` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let db = establish_connection(&mongo_uri); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mongourl_url` is never used [INFO] [stdout] --> src/config/database.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const mongourl_url: &str = "https://mongodb.com"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `database_name` is never used [INFO] [stdout] --> src/config/database.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const database_name: &str = "obverse"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CustomerType` is never used [INFO] [stdout] --> src/models/customers.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum CustomerType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BankDetails` is never constructed [INFO] [stdout] --> src/models/customers.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BankDetails { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Customer` is never constructed [INFO] [stdout] --> src/models/customers.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Customer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/models/customers.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_customer_type` is never used [INFO] [stdout] --> src/models/customers.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn default_customer_type() -> CustomerType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionStatus` is never used [INFO] [stdout] --> src/models/transaction.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum TransactionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionType` is never used [INFO] [stdout] --> src/models/transaction.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum TransactionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/models/transaction.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_transaction_status` is never used [INFO] [stdout] --> src/models/transaction.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn default_transaction_status() -> TransactionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wallet` is never constructed [INFO] [stdout] --> src/models/wallet.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_balance` is never used [INFO] [stdout] --> src/models/wallet.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn default_balance() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_currency` is never used [INFO] [stdout] --> src/models/wallet.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn default_currency() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mongourl_url` should have an upper case name [INFO] [stdout] --> src/config/database.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const mongourl_url: &str = "https://mongodb.com"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MONGOURL_URL` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `port` should have an upper case name [INFO] [stdout] --> src/config/database.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const port: u16 = 4000; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 11 - pub const port: u16 = 4000; [INFO] [stdout] 11 + pub const PORT: u16 = 4000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `database_name` should have an upper case name [INFO] [stdout] --> src/config/database.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const database_name: &str = "obverse"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DATABASE_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "f5d7201315df1436fa2fe4a7d448d2cdcfae30ddbeae2bef98b72ade921be5fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d7201315df1436fa2fe4a7d448d2cdcfae30ddbeae2bef98b72ade921be5fa", kill_on_drop: false }` [INFO] [stdout] f5d7201315df1436fa2fe4a7d448d2cdcfae30ddbeae2bef98b72ade921be5fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f9cd28ff7600665aafbd493e8f7a896be454325bb11ccf1ad7b58ca50db9dcb [INFO] running `Command { std: "docker" "start" "-a" "4f9cd28ff7600665aafbd493e8f7a896be454325bb11ccf1ad7b58ca50db9dcb", kill_on_drop: false }` [INFO] [stderr] Compiling axum-paystack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mongourl_url` [INFO] [stdout] --> src/main.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use config::database::{establish_connection, mongourl_url, port}; [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 variable: `db` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let db = establish_connection(&mongo_uri); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mongourl_url` is never used [INFO] [stdout] --> src/config/database.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const mongourl_url: &str = "https://mongodb.com"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `database_name` is never used [INFO] [stdout] --> src/config/database.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const database_name: &str = "obverse"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CustomerType` is never used [INFO] [stdout] --> src/models/customers.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum CustomerType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BankDetails` is never constructed [INFO] [stdout] --> src/models/customers.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BankDetails { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Customer` is never constructed [INFO] [stdout] --> src/models/customers.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Customer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/models/customers.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_customer_type` is never used [INFO] [stdout] --> src/models/customers.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn default_customer_type() -> CustomerType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionStatus` is never used [INFO] [stdout] --> src/models/transaction.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum TransactionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionType` is never used [INFO] [stdout] --> src/models/transaction.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum TransactionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/models/transaction.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_transaction_status` is never used [INFO] [stdout] --> src/models/transaction.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn default_transaction_status() -> TransactionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wallet` is never constructed [INFO] [stdout] --> src/models/wallet.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_balance` is never used [INFO] [stdout] --> src/models/wallet.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn default_balance() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_currency` is never used [INFO] [stdout] --> src/models/wallet.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn default_currency() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mongourl_url` should have an upper case name [INFO] [stdout] --> src/config/database.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const mongourl_url: &str = "https://mongodb.com"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MONGOURL_URL` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `port` should have an upper case name [INFO] [stdout] --> src/config/database.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const port: u16 = 4000; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 11 - pub const port: u16 = 4000; [INFO] [stdout] 11 + pub const PORT: u16 = 4000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `database_name` should have an upper case name [INFO] [stdout] --> src/config/database.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const database_name: &str = "obverse"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DATABASE_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "4f9cd28ff7600665aafbd493e8f7a896be454325bb11ccf1ad7b58ca50db9dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f9cd28ff7600665aafbd493e8f7a896be454325bb11ccf1ad7b58ca50db9dcb", kill_on_drop: false }` [INFO] [stdout] 4f9cd28ff7600665aafbd493e8f7a896be454325bb11ccf1ad7b58ca50db9dcb