[INFO] fetching crate labrador 0.2.2...
[INFO] testing labrador-0.2.2 against 1.69.0 for beta-1.70-1
[INFO] extracting crate labrador 0.2.2 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate labrador 0.2.2 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate labrador 0.2.2
[INFO] finished tweaking crates.io crate labrador 0.2.2
[INFO] tweaked toml for crates.io crate labrador 0.2.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded peresil v0.3.0
[INFO] [stderr]   Downloaded redis v0.21.7
[INFO] [stderr]   Downloaded typed-arena v1.7.0
[INFO] [stderr]   Downloaded sxd-document v0.2.6
[INFO] [stderr]   Downloaded sxd-xpath v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 23aea100e8575f171505c5aebca29a672219c76326f7344d865be2dfb18fff27
[INFO] running `Command { std: "docker" "start" "-a" "23aea100e8575f171505c5aebca29a672219c76326f7344d865be2dfb18fff27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "23aea100e8575f171505c5aebca29a672219c76326f7344d865be2dfb18fff27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23aea100e8575f171505c5aebca29a672219c76326f7344d865be2dfb18fff27", kill_on_drop: false }`
[INFO] [stdout] 23aea100e8575f171505c5aebca29a672219c76326f7344d865be2dfb18fff27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05328156232bb9714b0ea8810d1b2b2fb32758312eaf3ce7cb3541005d27dfd2
[INFO] running `Command { std: "docker" "start" "-a" "05328156232bb9714b0ea8810d1b2b2fb32758312eaf3ce7cb3541005d27dfd2", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling time-macros v0.2.8
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling zeroize v1.6.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.2
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling oid-registry v0.6.1
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.2
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.56
[INFO] [stderr]    Compiling data-encoding v2.3.3
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling urlencoding v2.1.2
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling openssl-sys v0.9.87
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rusticata-macros v4.1.0
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling dashmap v5.4.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling pkcs1 v0.3.3
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rsa v0.6.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.52
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling asn1-rs v0.5.2
[INFO] [stderr]    Compiling der-parser v8.2.0
[INFO] [stderr]    Compiling x509-parser v0.14.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling serde-xml-rs v0.6.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling combine v4.6.6
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling h2 v0.3.18
[INFO] [stderr]    Compiling redis v0.21.7
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.23.2
[INFO] [stderr]    Compiling reqwest v0.11.17
[INFO] [stderr]    Compiling labrador v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 40.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "05328156232bb9714b0ea8810d1b2b2fb32758312eaf3ce7cb3541005d27dfd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05328156232bb9714b0ea8810d1b2b2fb32758312eaf3ce7cb3541005d27dfd2", kill_on_drop: false }`
[INFO] [stdout] 05328156232bb9714b0ea8810d1b2b2fb32758312eaf3ce7cb3541005d27dfd2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3181b1913ed0968072a3f2863bf7e2681d265a9eb41587791caf83f35ffd758
[INFO] running `Command { std: "docker" "start" "-a" "d3181b1913ed0968072a3f2863bf7e2681d265a9eb41587791caf83f35ffd758", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling labrador v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 6.15s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "d3181b1913ed0968072a3f2863bf7e2681d265a9eb41587791caf83f35ffd758", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3181b1913ed0968072a3f2863bf7e2681d265a9eb41587791caf83f35ffd758", kill_on_drop: false }`
[INFO] [stdout] d3181b1913ed0968072a3f2863bf7e2681d265a9eb41587791caf83f35ffd758
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 20b6015f6b999f2d718dbf2cd241c5e7548a759d00ae080575ba6bc56b99febf
[INFO] running `Command { std: "docker" "start" "-a" "20b6015f6b999f2d718dbf2cd241c5e7548a759d00ae080575ba6bc56b99febf", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/labrador-d62eca91ea5f55d1)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test util::md5::test_md5 ... ok
[INFO] [stdout] test session::test_simple ... ok
[INFO] [stdout] test util::prp::tests::test_prpcrypto_decrypt ... ok
[INFO] [stdout] test util::prp::tests::test_check_decrypted_data_should_ok ... ok
[INFO] [stdout] test util::prp::tests::test_aes_128_ecb ... ok
[INFO] [stdout] test util::prp::tests::test_prpcrypto_encrypt ... ok
[INFO] [stdout] test util::prp::tests::test_prpcrypto_decrypt_v3 ... ok
[INFO] [stdout] test util::test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests labrador
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - (line 37) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 120) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 96) ... FAILED
[INFO] [stdout] test src/client.rs - client::APIClient<T> (line 19) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 76) ... FAILED
[INFO] [stdout] test src/util/prp.rs - util::prp::PrpCrypto::rsa_sha256_sign (line 266) ... FAILED
[INFO] [stdout] test src/util/prp.rs - util::prp::PrpCrypto::rsa_sha256_verify (line 401) ... FAILED
[INFO] [stdout] test src/request.rs - request::LabraRequest (line 159) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::APIClient<T>::request (line 65) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 37) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `labrador::WechatPayClient`, `labrador::TradeType`, `labrador::WechatPayRequestV3`, `labrador::Amount`, `labrador::Payer`
[INFO] [stdout]  --> src/lib.rs:38:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use labrador::{WechatPayClient, SimpleStorage, TradeType, WechatPayRequestV3, Amount, Payer};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^                 ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^  ^^^^^ no `Payer` in the root
[INFO] [stdout]   |                |                               |          |                   |
[INFO] [stdout]   |                |                               |          |                   no `Amount` in the root
[INFO] [stdout]   |                |                               |          no `WechatPayRequestV3` in the root
[INFO] [stdout]   |                |                               no `TradeType` in the root
[INFO] [stdout]   |                no `WechatPayClient` in the root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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 120) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `labrador::JDClient`, `labrador::JdOrderRawQueryParam`
[INFO] [stdout]  --> src/lib.rs:121:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use labrador::{JDClient, JdOrderRawQueryParam, SimpleStorage};
[INFO] [stdout]   |                ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^ no `JdOrderRawQueryParam` in the root
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `JDClient` in the root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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 96) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `labrador::TbItemDetailRequest`, `labrador::TaobaoClient`
[INFO] [stdout]  --> src/lib.rs:97:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use labrador::{TbItemDetailRequest, TaobaoClient, SimpleStorage};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^ no `TaobaoClient` in the root
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `TbItemDetailRequest` in the root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/client.rs - client::APIClient<T> (line 19) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `api_client` in this scope
[INFO] [stdout]  --> src/client.rs:25:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | api_client.request()
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 76) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `labrador::AlipayTradeWapPayRequest`, `labrador::AlipayClient`
[INFO] [stdout]  --> src/lib.rs:77:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use labrador::{AlipayTradeWapPayRequest, AlipayClient};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^ no `AlipayClient` in the root
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `AlipayTradeWapPayRequest` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `result` in this scope
[INFO] [stdout]   --> src/lib.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     match result.await {
[INFO] [stdout]    |           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/prp.rs - util::prp::PrpCrypto::rsa_sha256_sign (line 266) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `rsa_sign` in this scope
[INFO] [stdout]  --> src/util/prp.rs:269:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let sign = rsa_sign(content, private_key);
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/util/prp.rs - util::prp::PrpCrypto::rsa_sha256_verify (line 401) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `sign` in this scope
[INFO] [stdout]  --> src/util/prp.rs:404:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | let sign = rsa_sign(public_key, content, sign);
[INFO] [stdout]   |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rsa_sign` in this scope
[INFO] [stdout]  --> src/util/prp.rs:404:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let sign = rsa_sign(public_key, content, sign);
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/request.rs - request::LabraRequest (line 159) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `request_type` in this scope
[INFO] [stdout]   --> src/request.rs:171:76
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let req = LabraRequest::new().method(Method::Post).data(data).req_type(request_type).params(params);
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/request.rs:172:26
[INFO] [stdout]    |
[INFO] [stdout] 8  | fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]    |    ---- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let _ = req.request().await?;
[INFO] [stdout]    |                          ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/request.rs:173:35
[INFO] [stdout]    |
[INFO] [stdout] 8  | fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]    |    ---- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     let _ = req.request_blocking().await?;
[INFO] [stdout]    |                                   ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/request.rs:165:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn main() -> LabradorResult<(), dyn Error> {
[INFO] [stdout]   |                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]  --> src/request.rs:165:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] note: required by a bound in `Result`
[INFO] [stdout]  --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/result.rs:503:1
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::APIClient<T>::request (line 65) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `request_type` in this scope
[INFO] [stdout]   --> src/client.rs:77:78
[INFO] [stdout]    |
[INFO] [stdout] 14 |     api.request(LabraRequest::new().method(Method::Post).data(data).req_type(request_type).params(params)).await?;
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/client.rs:71:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]   |                                       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> LabradorResult<(), dyn Error> {
[INFO] [stdout]   |                                       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `LabraRequest` in the current scope
[INFO] [stdout]   --> src/client.rs:77:58
[INFO] [stdout]    |
[INFO] [stdout] 14 |     api.request(LabraRequest::new().method(Method::Post).data(data).req_type(request_type).params(params)).await?;
[INFO] [stdout]    |                                                          ^^^^ method not found in `LabraRequest<_>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error`
[INFO] [stdout]   --> src/client.rs:77:113
[INFO] [stdout]    |
[INFO] [stdout] 14 |     api.request(LabraRequest::new().method(Method::Post).data(data).req_type(request_type).params(params)).await?;
[INFO] [stdout]    |                                                                                                                 ^ the trait `From<LabraError>` is not implemented for `dyn std::error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]              <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout]              <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]    = note: required for `Result<(), dyn std::error::Error>` to implement `FromResidual<Result<Infallible, LabraError>>`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/client.rs:71:46
[INFO] [stdout]    |
[INFO] [stdout] 8  |   async fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 9  | |     let api = APIClient::new("appkey", "secret", "http_url");
[INFO] [stdout] 10 | |     let params = vec![(String::from("key"), String::from("value"))];
[INFO] [stdout] 11 | |     let data = json!({
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | |     api.request(LabraRequest::new().method(Method::Post).data(data).req_type(request_type).params(params)).await?;
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | |_^ expected `Result<(), dyn Error>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), (dyn std::error::Error + 'static)>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]   --> src/client.rs:71:46
[INFO] [stdout]    |
[INFO] [stdout] 8  |   async fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 9  | |     let api = APIClient::new("appkey", "secret", "http_url");
[INFO] [stdout] 10 | |     let params = vec![(String::from("key"), String::from("value"))];
[INFO] [stdout] 11 | |     let data = json!({
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | |     api.request(LabraRequest::new().method(Method::Post).data(data).req_type(request_type).params(params)).await?;
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | |_^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] note: required by a bound in `Result`
[INFO] [stdout]   --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/result.rs:503:1
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:71:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> LabradorResult<(), Error> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::APIClient<T> (line 19)
[INFO] [stdout]     src/client.rs - client::APIClient<T>::request (line 65)
[INFO] [stdout]     src/lib.rs - (line 120)
[INFO] [stdout]     src/lib.rs - (line 37)
[INFO] [stdout]     src/lib.rs - (line 76)
[INFO] [stdout]     src/lib.rs - (line 96)
[INFO] [stdout]     src/request.rs - request::LabraRequest (line 159)
[INFO] [stdout]     src/util/prp.rs - util::prp::PrpCrypto::rsa_sha256_sign (line 266)
[INFO] [stdout]     src/util/prp.rs - util::prp::PrpCrypto::rsa_sha256_verify (line 401)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "20b6015f6b999f2d718dbf2cd241c5e7548a759d00ae080575ba6bc56b99febf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20b6015f6b999f2d718dbf2cd241c5e7548a759d00ae080575ba6bc56b99febf", kill_on_drop: false }`
[INFO] [stdout] 20b6015f6b999f2d718dbf2cd241c5e7548a759d00ae080575ba6bc56b99febf
