[INFO] fetching crate fapshi-rs 0.2.1...
[INFO] testing fapshi-rs-0.2.1 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] extracting crate fapshi-rs 0.2.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate fapshi-rs 0.2.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate fapshi-rs 0.2.1
[INFO] tweaked toml for crates.io crate fapshi-rs 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate fapshi-rs 0.2.1 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate fapshi-rs 0.2.1 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5f7ee3d4a0ee4899b606edb8ec72dcb0dd5098c1a9d167f666c44ea70f116f7
[INFO] running `Command { std: "docker" "start" "-a" "e5f7ee3d4a0ee4899b606edb8ec72dcb0dd5098c1a9d167f666c44ea70f116f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5f7ee3d4a0ee4899b606edb8ec72dcb0dd5098c1a9d167f666c44ea70f116f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5f7ee3d4a0ee4899b606edb8ec72dcb0dd5098c1a9d167f666c44ea70f116f7", kill_on_drop: false }`
[INFO] [stdout] e5f7ee3d4a0ee4899b606edb8ec72dcb0dd5098c1a9d167f666c44ea70f116f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66a4c95eace9006e70c7cb520b873d2b6726535a3873363668ed02295fb539c5
[INFO] running `Command { std: "docker" "start" "-a" "66a4c95eace9006e70c7cb520b873d2b6726535a3873363668ed02295fb539c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling cc v1.2.23
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling webpki-roots v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 thiserror-impl v2.0.12
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.3
[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 hyper v1.6.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling hyper-util v0.1.11
[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 serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling fapshi-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.86s
[INFO] running `Command { std: "docker" "inspect" "66a4c95eace9006e70c7cb520b873d2b6726535a3873363668ed02295fb539c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66a4c95eace9006e70c7cb520b873d2b6726535a3873363668ed02295fb539c5", kill_on_drop: false }`
[INFO] [stdout] 66a4c95eace9006e70c7cb520b873d2b6726535a3873363668ed02295fb539c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a9152b83012e4bd5ef569f9a0177c1293dbf835030fb54ac06c4238f235e2c7
[INFO] running `Command { std: "docker" "start" "-a" "5a9152b83012e4bd5ef569f9a0177c1293dbf835030fb54ac06c4238f235e2c7", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[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 serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[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 serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling fapshi-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 33.71s
[INFO] running `Command { std: "docker" "inspect" "5a9152b83012e4bd5ef569f9a0177c1293dbf835030fb54ac06c4238f235e2c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a9152b83012e4bd5ef569f9a0177c1293dbf835030fb54ac06c4238f235e2c7", kill_on_drop: false }`
[INFO] [stdout] 5a9152b83012e4bd5ef569f9a0177c1293dbf835030fb54ac06c4238f235e2c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 690bb11aafecf11590226a377c5e9522c4603025ec8e6a4d2a1eb0bef9cf2fe0
[INFO] running `Command { std: "docker" "start" "-a" "690bb11aafecf11590226a377c5e9522c4603025ec8e6a4d2a1eb0bef9cf2fe0", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fapshi_rs-e6fcb07354466f01)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/intergration_test.rs (/opt/rustwide/target/debug/deps/intergration_test-74b2e527b378df91)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests fapshi_rs
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/api/transaction.rs - api::transaction::TransactionApi::expire_transaction (line 74) ... FAILED
[INFO] [stdout] test src/lib.rs - client (line 16) ... FAILED
[INFO] [stdout] test src/api/balance.rs - api::balance::BalanceApi::get_service_balance (line 17) ... FAILED
[INFO] [stdout] test src/api/payment.rs - api::payment::PaymentApi::create_payment (line 22) ... FAILED
[INFO] [stdout] test src/api/payment.rs - api::payment::PaymentApi::initiate_direct_payment (line 106) ... FAILED
[INFO] [stdout] test src/client.rs - client::FapshiClient (line 16) ... FAILED
[INFO] [stdout] test src/api/transaction.rs - api::transaction::TransactionApi::get_transactions_by_user_id (line 136) ... FAILED
[INFO] [stdout] test src/lib.rs - client (line 35) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/api/transaction.rs - api::transaction::TransactionApi::expire_transaction (line 74) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]  --> src/api/transaction.rs:75:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fapshi_sdk`
[INFO] [stdout]  --> src/api/transaction.rs:75:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - client (line 16) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]  --> src/lib.rs:17:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fapshi_sdk`
[INFO] [stdout]  --> src/lib.rs:17:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/balance.rs - api::balance::BalanceApi::get_service_balance (line 17) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]  --> src/api/balance.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use fapshi_sdk::{FapshiClient, api::balance::BalanceApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use fapshi_sdk::{FapshiClient, api::balance::BalanceApi};
[INFO] [stdout] 4 + use fapshi_rs::{FapshiClient, api::balance::BalanceApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fapshi_sdk`
[INFO] [stdout]  --> src/api/balance.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use fapshi_sdk::{FapshiClient, api::balance::BalanceApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use fapshi_sdk::{FapshiClient, api::balance::BalanceApi};
[INFO] [stdout] 4 + use fapshi_rs::{FapshiClient, api::balance::BalanceApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/payment.rs - api::payment::PaymentApi::create_payment (line 22) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]  --> src/api/payment.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 4 + use fapshi_rs::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fapshi_sdk`
[INFO] [stdout]  --> src/api/payment.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 4 + use fapshi_rs::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/payment.rs - api::payment::PaymentApi::initiate_direct_payment (line 106) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]  --> src/api/payment.rs:107:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, models::DirectPaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, models::DirectPaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, models::DirectPaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fapshi_sdk`
[INFO] [stdout]  --> src/api/payment.rs:107:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, models::DirectPaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, models::DirectPaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, models::DirectPaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]  --> src/api/payment.rs:109:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | let api_user = env::var("FAPSHI_API_USER").expect("FAPSHI_API_USER not set");
[INFO] [stdout]   |                ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::env;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]  --> src/api/payment.rs:110:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let api_key = env::var("FAPSHI_API_KEY").expect("FAPSHI_API_KEY not set");
[INFO] [stdout]   |               ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::env;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::FapshiClient (line 16) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/client.rs:23:58
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_16_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let client = FapshiClient::new(&api_user, &api_key, true)?;
[INFO] [stdout]    |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_16_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use fapshi_rs::client::FapshiClient;
[INFO] [stdout] ...
[INFO] [stdout] 10 | let client = FapshiClient::new(&api_user, &api_key, true)?;
[INFO] [stdout] 11 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/transaction.rs - api::transaction::TransactionApi::get_transactions_by_user_id (line 136) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]  --> src/api/transaction.rs:137:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fapshi_sdk`
[INFO] [stdout]  --> src/api/transaction.rs:137:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use fapshi_sdk::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout] 3 + use fapshi_rs::{FapshiClient, api::transaction::TransactionApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - client (line 35) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]  --> src/lib.rs:36:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 2 - use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 2 + use fapshi_rs::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fapshi_sdk`
[INFO] [stdout]  --> src/lib.rs:36:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `fapshi_sdk`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 2 - use fapshi_sdk::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout] 2 + use fapshi_rs::{FapshiClient, models::PaymentRequest, api::payment::PaymentApi};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 17 | let response = PaymentApi::create_payment(&client, &request).await.unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api/balance.rs - api::balance::BalanceApi::get_service_balance (line 17)
[INFO] [stdout]     src/api/payment.rs - api::payment::PaymentApi::create_payment (line 22)
[INFO] [stdout]     src/api/payment.rs - api::payment::PaymentApi::initiate_direct_payment (line 106)
[INFO] [stdout]     src/api/transaction.rs - api::transaction::TransactionApi::expire_transaction (line 74)
[INFO] [stdout]     src/api/transaction.rs - api::transaction::TransactionApi::get_transactions_by_user_id (line 136)
[INFO] [stdout]     src/client.rs - client::FapshiClient (line 16)
[INFO] [stdout]     src/lib.rs - client (line 16)
[INFO] [stdout]     src/lib.rs - client (line 35)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "690bb11aafecf11590226a377c5e9522c4603025ec8e6a4d2a1eb0bef9cf2fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "690bb11aafecf11590226a377c5e9522c4603025ec8e6a4d2a1eb0bef9cf2fe0", kill_on_drop: false }`
[INFO] [stdout] 690bb11aafecf11590226a377c5e9522c4603025ec8e6a4d2a1eb0bef9cf2fe0
