[INFO] fetching crate rust_paystack 0.1.4... [INFO] testing rust_paystack-0.1.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rust_paystack 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rust_paystack 0.1.4 [INFO] finished tweaking crates.io crate rust_paystack 0.1.4 [INFO] tweaked toml for crates.io crate rust_paystack 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_paystack 0.1.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust_paystack 0.1.4 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal_macros v1.36.0 [INFO] [stderr] Downloaded borsh-derive v1.5.5 [INFO] [stderr] Downloaded winnow v0.7.3 [INFO] [stderr] Downloaded borsh v1.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6d337d090944cfd9223febb20d1dd48a0412c3793cb92397a62455109474f0f [INFO] running `Command { std: "docker" "start" "-a" "a6d337d090944cfd9223febb20d1dd48a0412c3793cb92397a62455109474f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6d337d090944cfd9223febb20d1dd48a0412c3793cb92397a62455109474f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d337d090944cfd9223febb20d1dd48a0412c3793cb92397a62455109474f0f", kill_on_drop: false }` [INFO] [stdout] a6d337d090944cfd9223febb20d1dd48a0412c3793cb92397a62455109474f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c9148cba83338b1dc42ed5332a15f940433f558023fb631fec110c0f6238914 [INFO] running `Command { std: "docker" "start" "-a" "4c9148cba83338b1dc42ed5332a15f940433f558023fb631fec110c0f6238914", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rust_decimal_macros v1.36.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling rust_paystack v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `status`, `message`, and `data` are never read [INFO] [stdout] --> src/payment.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InitializeTransactionResponse { [INFO] [stdout] | ----------------------------- fields in this struct [INFO] [stdout] 26 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | data: TransactionData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitializeTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorization_url`, `access_code`, and `reference` are never read [INFO] [stdout] --> src/payment.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct TransactionData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 33 | authorization_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | access_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | reference: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `message`, and `data` are never read [INFO] [stdout] --> src/payment.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct VerifyTransactionResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 40 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerifyTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.57s [INFO] running `Command { std: "docker" "inspect" "4c9148cba83338b1dc42ed5332a15f940433f558023fb631fec110c0f6238914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c9148cba83338b1dc42ed5332a15f940433f558023fb631fec110c0f6238914", kill_on_drop: false }` [INFO] [stdout] 4c9148cba83338b1dc42ed5332a15f940433f558023fb631fec110c0f6238914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f2fe13ba94a212c066b075345cd0ffc91219dafa6e652cb028d24baf6c8d4f6 [INFO] running `Command { std: "docker" "start" "-a" "3f2fe13ba94a212c066b075345cd0ffc91219dafa6e652cb028d24baf6c8d4f6", kill_on_drop: false }` [INFO] [stdout] warning: fields `status`, `message`, and `data` are never read [INFO] [stdout] --> src/payment.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InitializeTransactionResponse { [INFO] [stdout] | ----------------------------- fields in this struct [INFO] [stdout] 26 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | data: TransactionData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitializeTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorization_url`, `access_code`, and `reference` are never read [INFO] [stdout] --> src/payment.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct TransactionData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 33 | authorization_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | access_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | reference: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `message`, and `data` are never read [INFO] [stdout] --> src/payment.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct VerifyTransactionResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 40 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerifyTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_paystack v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `status`, `message`, and `data` are never read [INFO] [stdout] --> src/payment.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InitializeTransactionResponse { [INFO] [stdout] | ----------------------------- fields in this struct [INFO] [stdout] 26 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | data: TransactionData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitializeTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorization_url`, `access_code`, and `reference` are never read [INFO] [stdout] --> src/payment.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct TransactionData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 33 | authorization_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | access_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | reference: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `message`, and `data` are never read [INFO] [stdout] --> src/payment.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct VerifyTransactionResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 40 | status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerifyTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "3f2fe13ba94a212c066b075345cd0ffc91219dafa6e652cb028d24baf6c8d4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2fe13ba94a212c066b075345cd0ffc91219dafa6e652cb028d24baf6c8d4f6", kill_on_drop: false }` [INFO] [stdout] 3f2fe13ba94a212c066b075345cd0ffc91219dafa6e652cb028d24baf6c8d4f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c3c8ab6d82eaa56cfc9e604c4f11985867e7890e5474049740deb971a129a9f6 [INFO] running `Command { std: "docker" "start" "-a" "c3c8ab6d82eaa56cfc9e604c4f11985867e7890e5474049740deb971a129a9f6", kill_on_drop: false }` [INFO] [stderr] warning: fields `status`, `message`, and `data` are never read [INFO] [stderr] --> src/payment.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct InitializeTransactionResponse { [INFO] [stderr] | ----------------------------- fields in this struct [INFO] [stderr] 26 | status: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 27 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 28 | data: TransactionData, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InitializeTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `authorization_url`, `access_code`, and `reference` are never read [INFO] [stderr] --> src/payment.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct TransactionData { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 33 | authorization_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | access_code: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 35 | reference: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TransactionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `status`, `message`, and `data` are never read [INFO] [stderr] --> src/payment.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct VerifyTransactionResponse { [INFO] [stderr] | ------------------------- fields in this struct [INFO] [stderr] 40 | status: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 41 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 42 | data: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VerifyTransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rust_paystack` (lib) generated 3 warnings [INFO] [stderr] warning: `rust_paystack` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_paystack-06c47e77b6ffc2b3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rust_paystack [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `add` [INFO] [stdout] --> src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 1 | cargo add rust_paystack [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustPaystack` [INFO] [stdout] --> src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rust_p = RustPaystack::new("sk_xxxxxxxxxx".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RustPaystack` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_paystack::RustPaystack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_paystack::Paystack` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_paystack::Paystack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Paystack` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustPaystack` [INFO] [stdout] --> src/lib.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 9 | let rust_p = RustPaystack::new("sk_xxxxxxxxxx".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RustPaystack` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use rust_paystack::RustPaystack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_paystack::Paystack` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_paystack::Paystack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Paystack` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustPaystack` [INFO] [stdout] --> src/lib.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 8 | let rust_p = RustPaystack::new("sk_xxxxxxxxxx".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RustPaystack` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use rust_paystack::RustPaystack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_paystack::Paystack` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_paystack::Paystack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Paystack` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c3c8ab6d82eaa56cfc9e604c4f11985867e7890e5474049740deb971a129a9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3c8ab6d82eaa56cfc9e604c4f11985867e7890e5474049740deb971a129a9f6", kill_on_drop: false }` [INFO] [stdout] c3c8ab6d82eaa56cfc9e604c4f11985867e7890e5474049740deb971a129a9f6