[INFO] fetching crate yapay-sdk-rust 0.3.3...
[INFO] testing yapay-sdk-rust-0.3.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate yapay-sdk-rust 0.3.3 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate yapay-sdk-rust 0.3.3
[INFO] finished tweaking crates.io crate yapay-sdk-rust 0.3.3
[INFO] tweaked toml for crates.io crate yapay-sdk-rust 0.3.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate yapay-sdk-rust 0.3.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 217 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.24)
[INFO] [stderr]       Adding serde-aux v3.1.0 (available: v4.7.0)
[INFO] [stderr]       Adding serde_qs v0.9.2 (available: v0.15.0)
[INFO] [stderr]       Adding strum v0.24.1 (available: v0.27.2)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] [stderr]       Adding validator v0.15.0 (available: v0.20.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] afafe089e6230e092b4e708243d574cae11f6a17e3a69a382a3ae1b60169047f
[INFO] running `Command { std: "docker" "start" "-a" "afafe089e6230e092b4e708243d574cae11f6a17e3a69a382a3ae1b60169047f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "afafe089e6230e092b4e708243d574cae11f6a17e3a69a382a3ae1b60169047f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afafe089e6230e092b4e708243d574cae11f6a17e3a69a382a3ae1b60169047f", kill_on_drop: false }`
[INFO] [stdout] afafe089e6230e092b4e708243d574cae11f6a17e3a69a382a3ae1b60169047f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52e66aa11df69097c2d7ed4637aa0a0d654a85b2abc31a26fe37de1609f21834
[INFO] running `Command { std: "docker" "start" "-a" "52e66aa11df69097c2d7ed4637aa0a0d654a85b2abc31a26fe37de1609f21834", kill_on_drop: false }`
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_qs v0.9.2
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling serde-aux v3.1.0
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling validator_types v0.15.0
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling validator_derive v0.15.0
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling publicsuffix v2.3.0
[INFO] [stderr]    Compiling cookie_store v0.20.0
[INFO] [stderr]    Compiling validator v0.15.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling yapay-sdk-rust v0.3.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/common_types.rs:42:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[serde(rename = "89")]
[INFO] [stdout]    |                      ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 42 |     #[serde(rename = "89")]
[INFO] [stdout]    |                      ^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TransactionResponseCommon` is never constructed
[INFO] [stdout]    --> src/common_types.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub struct TransactionResponseCommon {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `YaypaySavedCardData` is never constructed
[INFO] [stdout]    --> src/common_types.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub struct YaypaySavedCardData {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentType` is never used
[INFO] [stdout]    --> src/common_types.rs:356:10
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub enum PaymentType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Card` is never constructed
[INFO] [stdout]    --> src/common_types.rs:411:12
[INFO] [stdout]     |
[INFO] [stdout] 411 | pub struct Card {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaymentCreditCardPayload` is never constructed
[INFO] [stdout]  --> src/transaction/creditcard.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct PaymentCreditCardPayload {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Product` is never constructed
[INFO] [stdout]   --> src/webhooks.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Product {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 295 |     ) -> Result<SDKJsonRequest<CardTransactionResponse>, SDKError> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 295 |     ) -> Result<SDKJsonRequest<'_, CardTransactionResponse>, SDKError> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:319:29
[INFO] [stdout]     |
[INFO] [stdout] 319 |     pub fn simulate_payment(&self, total_amount: f64) -> SDKJsonRequest<SimulationResponse> {
[INFO] [stdout]     |                             ^^^^^                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 319 |     pub fn simulate_payment(&self, total_amount: f64) -> SDKJsonRequest<'_, SimulationResponse> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.44s
[INFO] running `Command { std: "docker" "inspect" "52e66aa11df69097c2d7ed4637aa0a0d654a85b2abc31a26fe37de1609f21834", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52e66aa11df69097c2d7ed4637aa0a0d654a85b2abc31a26fe37de1609f21834", kill_on_drop: false }`
[INFO] [stdout] 52e66aa11df69097c2d7ed4637aa0a0d654a85b2abc31a26fe37de1609f21834
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc66d582d74110eec708038b95bcce4c87a20e5f75f845f001eae9b98d314a23
[INFO] running `Command { std: "docker" "start" "-a" "dc66d582d74110eec708038b95bcce4c87a20e5f75f845f001eae9b98d314a23", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling yapay-sdk-rust v0.3.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/common_types.rs:42:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[serde(rename = "89")]
[INFO] [stdout]    |                      ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 42 |     #[serde(rename = "89")]
[INFO] [stdout]    |                      ^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TransactionResponseCommon` is never constructed
[INFO] [stdout]    --> src/common_types.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub struct TransactionResponseCommon {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `YaypaySavedCardData` is never constructed
[INFO] [stdout]    --> src/common_types.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub struct YaypaySavedCardData {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentType` is never used
[INFO] [stdout]    --> src/common_types.rs:356:10
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub enum PaymentType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Card` is never constructed
[INFO] [stdout]    --> src/common_types.rs:411:12
[INFO] [stdout]     |
[INFO] [stdout] 411 | pub struct Card {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaymentCreditCardPayload` is never constructed
[INFO] [stdout]  --> src/transaction/creditcard.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct PaymentCreditCardPayload {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Product` is never constructed
[INFO] [stdout]   --> src/webhooks.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Product {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 295 |     ) -> Result<SDKJsonRequest<CardTransactionResponse>, SDKError> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 295 |     ) -> Result<SDKJsonRequest<'_, CardTransactionResponse>, SDKError> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:319:29
[INFO] [stdout]     |
[INFO] [stdout] 319 |     pub fn simulate_payment(&self, total_amount: f64) -> SDKJsonRequest<SimulationResponse> {
[INFO] [stdout]     |                             ^^^^^                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 319 |     pub fn simulate_payment(&self, total_amount: f64) -> SDKJsonRequest<'_, SimulationResponse> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `TOKEN_SANDBOX` not defined at compile time
[INFO] [stdout]  --> tests/common.rs:9:34
[INFO] [stdout]   |
[INFO] [stdout] 9 |     YapaySDKBuilder::with_token(&env!("TOKEN_SANDBOX"))
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOKEN_SANDBOX")` to read the variable at run time
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `TOKEN_SANDBOX` not defined at compile time
[INFO] [stdout]  --> tests/common.rs:9:34
[INFO] [stdout]   |
[INFO] [stdout] 9 |     YapaySDKBuilder::with_token(&env!("TOKEN_SANDBOX"))
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOKEN_SANDBOX")` to read the variable at run time
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `yapay-sdk-rust` (test "common") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `yapay-sdk-rust` (test "api") due to 1 previous error
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/common_types.rs:42:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[serde(rename = "89")]
[INFO] [stdout]    |                      ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 42 |     #[serde(rename = "89")]
[INFO] [stdout]    |                      ^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TransactionResponseCommon` is never constructed
[INFO] [stdout]    --> src/common_types.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub struct TransactionResponseCommon {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `YaypaySavedCardData` is never constructed
[INFO] [stdout]    --> src/common_types.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub struct YaypaySavedCardData {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentType` is never used
[INFO] [stdout]    --> src/common_types.rs:356:10
[INFO] [stdout]     |
[INFO] [stdout] 356 | pub enum PaymentType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Card` is never constructed
[INFO] [stdout]    --> src/common_types.rs:411:12
[INFO] [stdout]     |
[INFO] [stdout] 411 | pub struct Card {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaymentCreditCardPayload` is never constructed
[INFO] [stdout]  --> src/transaction/creditcard.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct PaymentCreditCardPayload {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Product` is never constructed
[INFO] [stdout]   --> src/webhooks.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Product {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 295 |     ) -> Result<SDKJsonRequest<CardTransactionResponse>, SDKError> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 295 |     ) -> Result<SDKJsonRequest<'_, CardTransactionResponse>, SDKError> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:319:29
[INFO] [stdout]     |
[INFO] [stdout] 319 |     pub fn simulate_payment(&self, total_amount: f64) -> SDKJsonRequest<SimulationResponse> {
[INFO] [stdout]     |                             ^^^^^                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 319 |     pub fn simulate_payment(&self, total_amount: f64) -> SDKJsonRequest<'_, SimulationResponse> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "dc66d582d74110eec708038b95bcce4c87a20e5f75f845f001eae9b98d314a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc66d582d74110eec708038b95bcce4c87a20e5f75f845f001eae9b98d314a23", kill_on_drop: false }`
[INFO] [stdout] dc66d582d74110eec708038b95bcce4c87a20e5f75f845f001eae9b98d314a23
