[INFO] cloning repository https://github.com/chez14/visa-sdk-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chez14/visa-sdk-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchez14%2Fvisa-sdk-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchez14%2Fvisa-sdk-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 764a6c04bc943ebe90581bf142cbeae9a5e74783
[INFO] testing chez14/visa-sdk-rs against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchez14%2Fvisa-sdk-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chez14/visa-sdk-rs
[INFO] finished tweaking git repo https://github.com/chez14/visa-sdk-rs
[INFO] tweaked toml for git repo https://github.com/chez14/visa-sdk-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chez14/visa-sdk-rs on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chez14/visa-sdk-rs 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.5.7
[INFO] [stderr]   Downloaded unicode-bidi v0.3.17
[INFO] [stderr]   Downloaded windows-registry v0.2.0
[INFO] [stderr]   Downloaded darling v0.20.10
[INFO] [stderr]   Downloaded derive_builder_macro v0.20.2
[INFO] [stderr]   Downloaded anstyle v1.0.8
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.95
[INFO] [stderr]   Downloaded mockall_double v0.3.1
[INFO] [stderr]   Downloaded fastrand v2.1.1
[INFO] [stderr]   Downloaded darling_macro v0.20.10
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.45
[INFO] [stderr]   Downloaded sync_wrapper v1.0.1
[INFO] [stderr]   Downloaded predicates-core v1.0.8
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.95
[INFO] [stderr]   Downloaded assert-json-diff v2.0.2
[INFO] [stderr]   Downloaded predicates-tree v1.0.11
[INFO] [stderr]   Downloaded unicode-xid v0.2.5
[INFO] [stderr]   Downloaded native-tls v0.2.12
[INFO] [stderr]   Downloaded derive_builder_core v0.20.2
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.95
[INFO] [stderr]   Downloaded mockall v0.13.0
[INFO] [stderr]   Downloaded predicates v3.1.2
[INFO] [stderr]   Downloaded security-framework-sys v2.12.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.88
[INFO] [stderr]   Downloaded bytes v1.7.2
[INFO] [stderr]   Downloaded mockito v1.5.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.95
[INFO] [stderr]   Downloaded hyper-rustls v0.27.3
[INFO] [stderr]   Downloaded tempfile v3.13.0
[INFO] [stderr]   Downloaded tokio-rustls v0.26.0
[INFO] [stderr]   Downloaded derive_builder v0.20.2
[INFO] [stderr]   Downloaded rustls-pki-types v1.10.0
[INFO] [stderr]   Downloaded ipnet v2.10.1
[INFO] [stderr]   Downloaded js-sys v0.3.72
[INFO] [stderr]   Downloaded openssl-sys v0.9.104
[INFO] [stderr]   Downloaded similar v2.6.0
[INFO] [stderr]   Downloaded schannel v0.1.26
[INFO] [stderr]   Downloaded darling_core v0.20.10
[INFO] [stderr]   Downloaded hyper-util v0.1.9
[INFO] [stderr]   Downloaded indexmap v2.6.0
[INFO] [stderr]   Downloaded cc v1.1.31
[INFO] [stderr]   Downloaded mockall_derive v0.13.0
[INFO] [stderr]   Downloaded colored v2.1.0
[INFO] [stderr]   Downloaded httparse v1.9.5
[INFO] [stderr]   Downloaded serde_json v1.0.132
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.95
[INFO] [stderr]   Downloaded hashbrown v0.15.0
[INFO] [stderr]   Downloaded hyper v1.5.0
[INFO] [stderr]   Downloaded reqwest v0.12.8
[INFO] [stderr]   Downloaded syn v2.0.79
[INFO] [stderr]   Downloaded rustls-webpki v0.102.8
[INFO] [stderr]   Downloaded regex v1.11.0
[INFO] [stderr]   Downloaded openssl v0.10.68
[INFO] [stderr]   Downloaded object v0.36.5
[INFO] [stderr]   Downloaded rustls v0.23.15
[INFO] [stderr]   Downloaded regex-automata v0.4.8
[INFO] [stderr]   Downloaded web-sys v0.3.72
[INFO] [stderr]   Downloaded encoding_rs v0.8.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f2e67ea81e393d7272921771413af17e6003dee8de2a08f2860c50f61b3181a0
[INFO] running `Command { std: "docker" "start" "-a" "f2e67ea81e393d7272921771413af17e6003dee8de2a08f2860c50f61b3181a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2e67ea81e393d7272921771413af17e6003dee8de2a08f2860c50f61b3181a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2e67ea81e393d7272921771413af17e6003dee8de2a08f2860c50f61b3181a0", kill_on_drop: false }`
[INFO] [stdout] f2e67ea81e393d7272921771413af17e6003dee8de2a08f2860c50f61b3181a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87fd40ca8b9c51476dbd97dc47b3f42ea0808f9e8f8af569314cd4dc2a4badac
[INFO] running `Command { std: "docker" "start" "-a" "87fd40ca8b9c51476dbd97dc47b3f42ea0808f9e8f8af569314cd4dc2a4badac", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling unicode-xid v0.2.5
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling mockall_double v0.3.1
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.8
[INFO] [stderr]    Compiling visa-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "87fd40ca8b9c51476dbd97dc47b3f42ea0808f9e8f8af569314cd4dc2a4badac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87fd40ca8b9c51476dbd97dc47b3f42ea0808f9e8f8af569314cd4dc2a4badac", kill_on_drop: false }`
[INFO] [stdout] 87fd40ca8b9c51476dbd97dc47b3f42ea0808f9e8f8af569314cd4dc2a4badac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77d31d35b89a46db1a4228d102f1636d6946b9469584a2c12991eaa2ce958133
[INFO] running `Command { std: "docker" "start" "-a" "77d31d35b89a46db1a4228d102f1636d6946b9469584a2c12991eaa2ce958133", kill_on_drop: false }`
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling predicates-core v1.0.8
[INFO] [stderr]    Compiling mockall_derive v0.13.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling predicates-tree v1.0.11
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling predicates v3.1.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling fragile v2.0.0
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling similar v2.6.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling mockall v0.13.0
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling mockito v1.5.0
[INFO] [stderr]    Compiling reqwest v0.12.8
[INFO] [stderr]    Compiling visa-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 53.03s
[INFO] running `Command { std: "docker" "inspect" "77d31d35b89a46db1a4228d102f1636d6946b9469584a2c12991eaa2ce958133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77d31d35b89a46db1a4228d102f1636d6946b9469584a2c12991eaa2ce958133", kill_on_drop: false }`
[INFO] [stdout] 77d31d35b89a46db1a4228d102f1636d6946b9469584a2c12991eaa2ce958133
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 977c649dd9f2d44c9b7fcbfa38f933ce84f194c2b164f20651e3b0b1b5eabca9
[INFO] running `Command { std: "docker" "start" "-a" "977c649dd9f2d44c9b7fcbfa38f933ce84f194c2b164f20651e3b0b1b5eabca9", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/visa_sdk-c5c7422b1a6ffd37)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test api::hello_world::tests::test_hello_world_get_certification ... ok
[INFO] [stdout] test api::hello_world::tests::test_hello_world_get_sandbox ... ok
[INFO] [stdout] test api::hello_world::tests::test_hello_world_get_production ... ok
[INFO] [stdout] test api::foreign_exchange::regular::tests::test_foreign_exchange_get_bank_or_wallet ... ok
[INFO] [stdout] test api::foreign_exchange::regular::tests::test_foreign_exchange_get_a_or_b ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests visa_sdk
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/client/models/mutual_tls.rs - client::models::mutual_tls::MutualTls (line 18) - compile ... ok
[INFO] [stdout] test src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange (line 21) ... FAILED
[INFO] [stdout] test src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::get_bank_or_wallet (line 102) - compile ... FAILED
[INFO] [stdout] test src/api/foreign_exchange/regular/models.rs - api::foreign_exchange::regular::models (line 44) ... FAILED
[INFO] [stdout] test src/api/foreign_exchange/mod.rs - api::foreign_exchange (line 29) - compile ... FAILED
[INFO] [stdout] test src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::new (line 52) ... FAILED
[INFO] [stdout] test src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::get_a_or_b (line 72) - compile ... FAILED
[INFO] [stdout] test src/api/hello_world/mod.rs - api::hello_world::HelloWorld (line 16) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange (line 21) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisaClient`
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | let client = VisaClient::new(api_key, secret_key);
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared type `VisaClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use visa_sdk::client::VisaClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `api_key` in this scope
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 | let client = VisaClient::new(api_key, secret_key);
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret_key` in this scope
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:22:39
[INFO] [stdout]    |
[INFO] [stdout] 22 | let client = VisaClient::new(api_key, secret_key);
[INFO] [stdout]    |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForeignExchange`
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | let forex = ForeignExchange::new(client);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ use of undeclared type `ForeignExchange`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use visa_sdk::api::foreign_exchange::ForeignExchange;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::get_bank_or_wallet (line 102) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FXRequestBankOrWalletBuilder`
[INFO] [stdout]    --> src/api/foreign_exchange/regular.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 | let payload = FXRequestBankOrWalletBuilder::default()
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FXRequestBankOrWalletBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 102 + use visa_sdk::api::foreign_exchange::models::FXRequestBankOrWalletBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `forex` in this scope
[INFO] [stdout]    --> src/api/foreign_exchange/regular.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 | let response = forex.get_bank_or_wallet(payload).await.expect("Failed to get response");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/api/foreign_exchange/regular.rs:111:50
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_foreign_exchange_regular_rs_102_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 111 | let response = forex.get_bank_or_wallet(payload).await.expect("Failed to get response");
[INFO] [stdout]     |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/foreign_exchange/regular/models.rs - api::foreign_exchange::regular::models (line 44) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_module`
[INFO] [stdout]   --> src/api/foreign_exchange/regular/models.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | use your_module::FXRequestBankOrWalletBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `your_module`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_module`, use `cargo add your_module` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/foreign_exchange/mod.rs - api::foreign_exchange (line 29) stdout ----
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `VisaClient<MLE>` in the current scope
[INFO] [stdout]   --> src/api/foreign_exchange/mod.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let client = VisaClient::new(/* ... */);
[INFO] [stdout]    |                              ^^^ function or associated item not found in `VisaClient<_>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::new (line 52) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisaClient`
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | let client = VisaClient::new(api_key, secret_key);
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared type `VisaClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 52 + use visa_sdk::client::VisaClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `api_key` in this scope
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 | let client = VisaClient::new(api_key, secret_key);
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret_key` in this scope
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:53:39
[INFO] [stdout]    |
[INFO] [stdout] 53 | let client = VisaClient::new(api_key, secret_key);
[INFO] [stdout]    |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForeignExchange`
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 | let forex = ForeignExchange::new(client);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ use of undeclared type `ForeignExchange`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 52 + use visa_sdk::api::foreign_exchange::ForeignExchange;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::get_a_or_b (line 72) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FXRequestAorBBuilder`
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 | let payload = FXRequestAorBBuilder::default()
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FXRequestAorBBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 72 + use visa_sdk::api::foreign_exchange::models::FXRequestAorBBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `forex` in this scope
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 | let response = forex.get_a_or_b(payload).await.expect("Failed to get response");
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/api/foreign_exchange/regular.rs:79:42
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_foreign_exchange_regular_rs_72_0() {
[INFO] [stdout]    |                                      ----------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 79 | let response = forex.get_a_or_b(payload).await.expect("Failed to get response");
[INFO] [stdout]    |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/hello_world/mod.rs - api::hello_world::HelloWorld (line 16) stdout ----
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `cert`
[INFO] [stdout]   --> src/api/hello_world/mod.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | let mtls = MutualTls {
[INFO] [stdout]    |            --------- while parsing this struct
[INFO] [stdout] 22 |    user_id: "application-id-from-visa-sama".to_string(),
[INFO] [stdout] 23 |   password: "super-secret-password-from-visa-sama".to_string()
[INFO] [stdout]    |                                                               -
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout]    |                                                               help: try adding a comma: `,`
[INFO] [stdout] 24 |       cert: "--- BEGIN ...".to_string(),
[INFO] [stdout]    |       ^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisaClient`
[INFO] [stdout]   --> src/api/hello_world/mod.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | let client = VisaClient::builder()
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared type `VisaClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use visa_sdk::client::VisaClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HelloWorld`
[INFO] [stdout]   --> src/api/hello_world/mod.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 | let hello_world = HelloWorld::new(client, false);
[INFO] [stdout]    |                   ^^^^^^^^^^ use of undeclared type `HelloWorld`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use visa_sdk::api::hello_world::HelloWorld;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `MutualTls` is private
[INFO] [stdout]   --> src/api/hello_world/mod.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 | use visa_sdk::client::state::MutualTls;
[INFO] [stdout]    |                              ^^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `MutualTls` is defined here
[INFO] [stdout]   --> src/client/state.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 | use super::models::{MessageLevelEncryption, MutualTls};
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout] help: import `MutualTls` directly
[INFO] [stdout]    |
[INFO] [stdout] 18 - use visa_sdk::client::state::MutualTls;
[INFO] [stdout] 18 + use visa_sdk::client::models::mutual_tls::MutualTls;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/api/hello_world/mod.rs:34:34
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_hello_world_mod_rs_16_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 34 | let response = hello_world.get().await;
[INFO] [stdout]    |                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api/foreign_exchange/mod.rs - api::foreign_exchange (line 29)
[INFO] [stdout]     src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange (line 21)
[INFO] [stdout]     src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::get_a_or_b (line 72)
[INFO] [stdout]     src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::get_bank_or_wallet (line 102)
[INFO] [stdout]     src/api/foreign_exchange/regular.rs - api::foreign_exchange::regular::ForeignExchange<MLE>::new (line 52)
[INFO] [stdout]     src/api/foreign_exchange/regular/models.rs - api::foreign_exchange::regular::models (line 44)
[INFO] [stdout]     src/api/hello_world/mod.rs - api::hello_world::HelloWorld (line 16)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "977c649dd9f2d44c9b7fcbfa38f933ce84f194c2b164f20651e3b0b1b5eabca9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "977c649dd9f2d44c9b7fcbfa38f933ce84f194c2b164f20651e3b0b1b5eabca9", kill_on_drop: false }`
[INFO] [stdout] 977c649dd9f2d44c9b7fcbfa38f933ce84f194c2b164f20651e3b0b1b5eabca9
