[INFO] fetching crate rust_paystack 0.1.4... [INFO] testing rust_paystack-0.1.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rust_paystack 0.1.4 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_paystack 0.1.4 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] 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5200e1d245167a6ac6611a71623f678027faa86503b8b1c5ed696d5a95805a53 [INFO] running `Command { std: "docker" "start" "-a" "5200e1d245167a6ac6611a71623f678027faa86503b8b1c5ed696d5a95805a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5200e1d245167a6ac6611a71623f678027faa86503b8b1c5ed696d5a95805a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5200e1d245167a6ac6611a71623f678027faa86503b8b1c5ed696d5a95805a53", kill_on_drop: false }` [INFO] [stdout] 5200e1d245167a6ac6611a71623f678027faa86503b8b1c5ed696d5a95805a53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cd845c5693f78953ccdd6a97323e02df0bdaeb62028e640429681cbd8ed907bd [INFO] running `Command { std: "docker" "start" "-a" "cd845c5693f78953ccdd6a97323e02df0bdaeb62028e640429681cbd8ed907bd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [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 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 serde_urlencoded v0.7.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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling h2 v0.4.8 [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)]` 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 1m 03s [INFO] running `Command { std: "docker" "inspect" "cd845c5693f78953ccdd6a97323e02df0bdaeb62028e640429681cbd8ed907bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd845c5693f78953ccdd6a97323e02df0bdaeb62028e640429681cbd8ed907bd", kill_on_drop: false }` [INFO] [stdout] cd845c5693f78953ccdd6a97323e02df0bdaeb62028e640429681cbd8ed907bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] aa9097370ea9cdd6918573a32a8db52c302f393d999f0eceba23416b61f72129 [INFO] running `Command { std: "docker" "start" "-a" "aa9097370ea9cdd6918573a32a8db52c302f393d999f0eceba23416b61f72129", kill_on_drop: false }` [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)]` 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] [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)]` 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.83s [INFO] running `Command { std: "docker" "inspect" "aa9097370ea9cdd6918573a32a8db52c302f393d999f0eceba23416b61f72129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9097370ea9cdd6918573a32a8db52c302f393d999f0eceba23416b61f72129", kill_on_drop: false }` [INFO] [stdout] aa9097370ea9cdd6918573a32a8db52c302f393d999f0eceba23416b61f72129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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", kill_on_drop: false }` [INFO] [stdout] 6808b2b5d361bc1534f661c21f3d4ab02b1e30408606ec2dd40508b4291a54a9 [INFO] running `Command { std: "docker" "start" "-a" "6808b2b5d361bc1534f661c21f3d4ab02b1e30408606ec2dd40508b4291a54a9", 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)]` 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.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_paystack-06c47e77b6ffc2b3) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests rust_paystack [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) - 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 19) - 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 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] ---- 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 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] [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.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6808b2b5d361bc1534f661c21f3d4ab02b1e30408606ec2dd40508b4291a54a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6808b2b5d361bc1534f661c21f3d4ab02b1e30408606ec2dd40508b4291a54a9", kill_on_drop: false }` [INFO] [stdout] 6808b2b5d361bc1534f661c21f3d4ab02b1e30408606ec2dd40508b4291a54a9