[INFO] fetching crate fapshi-rs 0.2.1... [INFO] testing fapshi-rs-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fapshi-rs 0.2.1 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fapshi-rs 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quinn-udp v0.5.12 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded webpki-roots v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64e2b73aa482ec9cc937434016018d28e26cf226b2516c24da00bc6d5ec617a6 [INFO] running `Command { std: "docker" "start" "-a" "64e2b73aa482ec9cc937434016018d28e26cf226b2516c24da00bc6d5ec617a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64e2b73aa482ec9cc937434016018d28e26cf226b2516c24da00bc6d5ec617a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e2b73aa482ec9cc937434016018d28e26cf226b2516c24da00bc6d5ec617a6", kill_on_drop: false }` [INFO] [stdout] 64e2b73aa482ec9cc937434016018d28e26cf226b2516c24da00bc6d5ec617a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65cc8c6c4889a3383d4cecc70b47fb7b1e74f0f4f1a8f51582bedff4ce15b820 [INFO] running `Command { std: "docker" "start" "-a" "65cc8c6c4889a3383d4cecc70b47fb7b1e74f0f4f1a8f51582bedff4ce15b820", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.45.0 [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 zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [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 rustls-webpki v0.103.3 [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 hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [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 serde_json v1.0.140 [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 33.97s [INFO] running `Command { std: "docker" "inspect" "65cc8c6c4889a3383d4cecc70b47fb7b1e74f0f4f1a8f51582bedff4ce15b820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65cc8c6c4889a3383d4cecc70b47fb7b1e74f0f4f1a8f51582bedff4ce15b820", kill_on_drop: false }` [INFO] [stdout] 65cc8c6c4889a3383d4cecc70b47fb7b1e74f0f4f1a8f51582bedff4ce15b820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c3774767b0e021958b754bd2c87cb09d830992b3d554b5b8a33119200df8e2 [INFO] running `Command { std: "docker" "start" "-a" "74c3774767b0e021958b754bd2c87cb09d830992b3d554b5b8a33119200df8e2", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [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 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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling thiserror v2.0.12 [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 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_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [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 url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 29.10s [INFO] running `Command { std: "docker" "inspect" "74c3774767b0e021958b754bd2c87cb09d830992b3d554b5b8a33119200df8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c3774767b0e021958b754bd2c87cb09d830992b3d554b5b8a33119200df8e2", kill_on_drop: false }` [INFO] [stdout] 74c3774767b0e021958b754bd2c87cb09d830992b3d554b5b8a33119200df8e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27e5dda9ee61e784a13177a6e7cac85c616b0df882c726ed294a96167f2a2697 [INFO] running `Command { std: "docker" "start" "-a" "27e5dda9ee61e784a13177a6e7cac85c616b0df882c726ed294a96167f2a2697", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fapshi_rs-e6fcb07354466f01) [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] [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/payment.rs - api::payment::PaymentApi::create_payment (line 22) ... FAILED [INFO] [stdout] test src/api/transaction.rs - api::transaction::TransactionApi::expire_transaction (line 74) ... FAILED [INFO] [stdout] test src/api/transaction.rs - api::transaction::TransactionApi::get_transactions_by_user_id (line 136) ... FAILED [INFO] [stdout] test src/api/balance.rs - api::balance::BalanceApi::get_service_balance (line 17) ... FAILED [INFO] [stdout] test src/client.rs - client::FapshiClient (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - client (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - client (line 35) ... FAILED [INFO] [stdout] test src/api/payment.rs - api::payment::PaymentApi::initiate_direct_payment (line 106) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/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/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/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> { [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/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/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: 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] [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.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "27e5dda9ee61e784a13177a6e7cac85c616b0df882c726ed294a96167f2a2697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e5dda9ee61e784a13177a6e7cac85c616b0df882c726ed294a96167f2a2697", kill_on_drop: false }` [INFO] [stdout] 27e5dda9ee61e784a13177a6e7cac85c616b0df882c726ed294a96167f2a2697