[INFO] fetching crate yapay-sdk-rust 0.3.3... [INFO] checking yapay-sdk-rust-0.3.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate yapay-sdk-rust 0.3.3 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yapay-sdk-rust 0.3.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 223 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.20) [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.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f489f8554a0ccd01ba8a472ee442b2d6b9dd999328747b1b286f52de6e7fc6 [INFO] running `Command { std: "docker" "start" "-a" "d0f489f8554a0ccd01ba8a472ee442b2d6b9dd999328747b1b286f52de6e7fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f489f8554a0ccd01ba8a472ee442b2d6b9dd999328747b1b286f52de6e7fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f489f8554a0ccd01ba8a472ee442b2d6b9dd999328747b1b286f52de6e7fc6", kill_on_drop: false }` [INFO] [stdout] d0f489f8554a0ccd01ba8a472ee442b2d6b9dd999328747b1b286f52de6e7fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c159468ebb732592d599aea58df1547a5db34135fc3a04c86902efe000cb16 [INFO] running `Command { std: "docker" "start" "-a" "10c159468ebb732592d599aea58df1547a5db34135fc3a04c86902efe000cb16", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_qs v0.9.2 [INFO] [stderr] Checking serde-aux v3.1.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Checking validator v0.15.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 295 | ) -> Result, SDKError> { [INFO] [stdout] | --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | ) -> Result, SDKError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 295 | ) -> Result, SDKError> { [INFO] [stdout] | --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | ) -> Result, SDKError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 319 | pub fn simulate_payment(&self, total_amount: f64) -> SDKJsonRequest<'_, SimulationResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yapay-sdk-rust` (test "api") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "10c159468ebb732592d599aea58df1547a5db34135fc3a04c86902efe000cb16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c159468ebb732592d599aea58df1547a5db34135fc3a04c86902efe000cb16", kill_on_drop: false }` [INFO] [stdout] 10c159468ebb732592d599aea58df1547a5db34135fc3a04c86902efe000cb16