[INFO] fetching crate yapay-sdk-rust 0.3.3... [INFO] testing yapay-sdk-rust-0.3.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [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 dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 226 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding serde-aux v3.1.0 (available: v4.7.0) [INFO] [stderr] Adding serde_qs v0.9.2 (available: v1.1.1) [INFO] [stderr] Adding strum v0.24.1 (available: v0.28.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3541cf96e6e05d3e0aa3b6d7b4bea54dd8fd08a298804df06e7c21a98531b9e6 [INFO] running `Command { std: "docker" "start" "-a" "3541cf96e6e05d3e0aa3b6d7b4bea54dd8fd08a298804df06e7c21a98531b9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3541cf96e6e05d3e0aa3b6d7b4bea54dd8fd08a298804df06e7c21a98531b9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3541cf96e6e05d3e0aa3b6d7b4bea54dd8fd08a298804df06e7c21a98531b9e6", kill_on_drop: false }` [INFO] [stdout] 3541cf96e6e05d3e0aa3b6d7b4bea54dd8fd08a298804df06e7c21a98531b9e6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa4b73a6946f6f3bfac730ad1928125083014f52e22ad8197fb9ac65a14a269 [INFO] running `Command { std: "docker" "start" "-a" "2aa4b73a6946f6f3bfac730ad1928125083014f52e22ad8197fb9ac65a14a269", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling validator v0.15.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling serde_qs v0.9.2 [INFO] [stderr] Compiling serde-aux v3.1.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [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, 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, 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 { [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 22.56s [INFO] running `Command { std: "docker" "inspect" "2aa4b73a6946f6f3bfac730ad1928125083014f52e22ad8197fb9ac65a14a269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa4b73a6946f6f3bfac730ad1928125083014f52e22ad8197fb9ac65a14a269", kill_on_drop: false }` [INFO] [stdout] 2aa4b73a6946f6f3bfac730ad1928125083014f52e22ad8197fb9ac65a14a269 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e22e8015ebc47b2c60ba6a0b35e5de15217fb372a36e9c411742fe851925e68 [INFO] running `Command { std: "docker" "start" "-a" "7e22e8015ebc47b2c60ba6a0b35e5de15217fb372a36e9c411742fe851925e68", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [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, 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, 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 { [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, 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, 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 { [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" "7e22e8015ebc47b2c60ba6a0b35e5de15217fb372a36e9c411742fe851925e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e22e8015ebc47b2c60ba6a0b35e5de15217fb372a36e9c411742fe851925e68", kill_on_drop: false }` [INFO] [stdout] 7e22e8015ebc47b2c60ba6a0b35e5de15217fb372a36e9c411742fe851925e68