[INFO] fetching crate yapay-sdk-rust 0.3.3... [INFO] testing yapay-sdk-rust-0.3.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate yapay-sdk-rust 0.3.3 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yapay-sdk-rust 0.3.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 218 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1813632f84f2bfc3cf11f55ad0a807d66eea243150456ee569f3a0c8d139116a [INFO] running `Command { std: "docker" "start" "-a" "1813632f84f2bfc3cf11f55ad0a807d66eea243150456ee569f3a0c8d139116a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1813632f84f2bfc3cf11f55ad0a807d66eea243150456ee569f3a0c8d139116a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1813632f84f2bfc3cf11f55ad0a807d66eea243150456ee569f3a0c8d139116a", kill_on_drop: false }` [INFO] [stdout] 1813632f84f2bfc3cf11f55ad0a807d66eea243150456ee569f3a0c8d139116a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a42c657cd8e84ce5afd7ff2c6dae8824e94b548ab579d691001a4a1d58c04175 [INFO] running `Command { std: "docker" "start" "-a" "a42c657cd8e84ce5afd7ff2c6dae8824e94b548ab579d691001a4a1d58c04175", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tinyvec v1.10.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.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.9.2 [INFO] [stderr] Compiling serde-aux v3.1.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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)]` 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)]` 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 19.58s [INFO] running `Command { std: "docker" "inspect" "a42c657cd8e84ce5afd7ff2c6dae8824e94b548ab579d691001a4a1d58c04175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42c657cd8e84ce5afd7ff2c6dae8824e94b548ab579d691001a4a1d58c04175", kill_on_drop: false }` [INFO] [stdout] a42c657cd8e84ce5afd7ff2c6dae8824e94b548ab579d691001a4a1d58c04175 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28140ab3034164f8657bee17eadf4e24d1a8fa4c6a7c30ff830c186009695168 [INFO] running `Command { std: "docker" "start" "-a" "28140ab3034164f8657bee17eadf4e24d1a8fa4c6a7c30ff830c186009695168", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [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)]` 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)]` 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)]` 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)]` 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" "28140ab3034164f8657bee17eadf4e24d1a8fa4c6a7c30ff830c186009695168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28140ab3034164f8657bee17eadf4e24d1a8fa4c6a7c30ff830c186009695168", kill_on_drop: false }` [INFO] [stdout] 28140ab3034164f8657bee17eadf4e24d1a8fa4c6a7c30ff830c186009695168