[INFO] fetching crate nagad_sdk 0.1.0... [INFO] testing nagad_sdk-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate nagad_sdk 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate nagad_sdk 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nagad_sdk 0.1.0 [INFO] tweaked toml for crates.io crate nagad_sdk 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nagad_sdk 0.1.0 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] crate crates.io crate nagad_sdk 0.1.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 49d4a3dc1c43b996987d69da8bdfb6a40b4bdaf8b154ea88d40d1f1dcc8e8d01 [INFO] running `Command { std: "docker" "start" "-a" "49d4a3dc1c43b996987d69da8bdfb6a40b4bdaf8b154ea88d40d1f1dcc8e8d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49d4a3dc1c43b996987d69da8bdfb6a40b4bdaf8b154ea88d40d1f1dcc8e8d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d4a3dc1c43b996987d69da8bdfb6a40b4bdaf8b154ea88d40d1f1dcc8e8d01", kill_on_drop: false }` [INFO] [stdout] 49d4a3dc1c43b996987d69da8bdfb6a40b4bdaf8b154ea88d40d1f1dcc8e8d01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a30ac9b2e51f661d164d5ce4372df06eb4c6b80c89aad3aa4c1f4d4c07b9c6e4 [INFO] running `Command { std: "docker" "start" "-a" "a30ac9b2e51f661d164d5ce4372df06eb4c6b80c89aad3aa4c1f4d4c07b9c6e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.227 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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 hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling nagad_sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a30ac9b2e51f661d164d5ce4372df06eb4c6b80c89aad3aa4c1f4d4c07b9c6e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30ac9b2e51f661d164d5ce4372df06eb4c6b80c89aad3aa4c1f4d4c07b9c6e4", kill_on_drop: false }` [INFO] [stdout] a30ac9b2e51f661d164d5ce4372df06eb4c6b80c89aad3aa4c1f4d4c07b9c6e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a650c0657ea452a689709e88c2a5dfbe18032a92178e5bc5803c41a03c1c101b [INFO] running `Command { std: "docker" "start" "-a" "a650c0657ea452a689709e88c2a5dfbe18032a92178e5bc5803c41a03c1c101b", kill_on_drop: false }` [INFO] [stderr] Compiling nagad_sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nagad_api` [INFO] [stdout] --> examples/checkout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nagad_api::model::{BaseConfig, PaymentParams}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nagad_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 - use nagad_api::model::{BaseConfig, PaymentParams}; [INFO] [stdout] 1 + use nagad_sdk::model::{BaseConfig, PaymentParams}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nagad_api` [INFO] [stdout] --> examples/checkout.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nagad_api::nagad::NagadBase; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nagad_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use nagad_api::nagad::NagadBase; [INFO] [stdout] 2 + use nagad_sdk::nagad::NagadBase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nagad_api` [INFO] [stdout] --> examples/checkout.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nagad_api::utils::generate_fake_invoice; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nagad_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use nagad_api::utils::generate_fake_invoice; [INFO] [stdout] 3 + use nagad_sdk::utils::generate_fake_invoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/checkout.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(base) => match base.pay_now_without_redirection() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nagad_sdk` (example "checkout") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a650c0657ea452a689709e88c2a5dfbe18032a92178e5bc5803c41a03c1c101b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a650c0657ea452a689709e88c2a5dfbe18032a92178e5bc5803c41a03c1c101b", kill_on_drop: false }` [INFO] [stdout] a650c0657ea452a689709e88c2a5dfbe18032a92178e5bc5803c41a03c1c101b