[INFO] fetching crate wx_pay 0.3.3...
[INFO] testing wx_pay-0.3.3 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate wx_pay 0.3.3 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate wx_pay 0.3.3
[INFO] finished tweaking crates.io crate wx_pay 0.3.3
[INFO] tweaked toml for crates.io crate wx_pay 0.3.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate wx_pay 0.3.3 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate wx_pay 0.3.3 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v1.18.0
[INFO] [stderr]   Downloaded android_system_properties v0.1.4
[INFO] [stderr]   Downloaded base64ct v1.5.1
[INFO] [stderr]   Downloaded iana-time-zone v0.1.46
[INFO] [stderr]   Downloaded cpufeatures v0.2.3
[INFO] [stderr]   Downloaded libm v0.2.5
[INFO] [stderr]   Downloaded futures-task v0.3.23
[INFO] [stderr]   Downloaded futures-util v0.3.23
[INFO] [stderr]   Downloaded futures-channel v0.3.23
[INFO] [stderr]   Downloaded futures-sink v0.3.23
[INFO] [stderr]   Downloaded polyval v0.6.0
[INFO] [stderr]   Downloaded ctr v0.9.1
[INFO] [stderr]   Downloaded aead v0.5.1
[INFO] [stderr]   Downloaded aes v0.8.1
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce
[INFO] running `"docker" "start" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce"`
[INFO] running `"docker" "inspect" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling libm v0.2.5
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]    Compiling base64ct v1.5.1
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.3
[INFO] [stderr]    Compiling futures-sink v0.3.23
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.46
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling cipher v0.4.3
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling polyval v0.6.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ghash v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling ctr v0.9.1
[INFO] [stderr]    Compiling aes v0.8.1
[INFO] [stderr]    Compiling aead v0.5.1
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling uuid v1.18.0
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling rsa v0.9.8
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[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 tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[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 serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling serde_with v3.14.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling wx_pay v0.3.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/api/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use pay_api::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/api/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use pay_api::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Amount` and `Payer`
[INFO] [stdout]  --> src/wx_pay.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     api::{Amount, Jsapi, PayApi, Payer, WxPayData},
[INFO] [stdout]   |           ^^^^^^                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `rand`
[INFO] [stderr]   --> Cargo.toml:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 | [dependencies.rand]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand`
[INFO] [stderr] warning: `wx_pay` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `"docker" "inspect" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/api/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use pay_api::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/api/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use pay_api::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Amount` and `Payer`
[INFO] [stdout]  --> src/wx_pay.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     api::{Amount, Jsapi, PayApi, Payer, WxPayData},
[INFO] [stdout]   |           ^^^^^^                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wx_pay v0.3.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/api/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use pay_api::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/api/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use pay_api::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use utils::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Amount` and `Payer`
[INFO] [stdout]  --> src/wx_pay.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     api::{Amount, Jsapi, PayApi, Payer, WxPayData},
[INFO] [stdout]   |           ^^^^^^                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `rand`
[INFO] [stderr]   --> Cargo.toml:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 | [dependencies.rand]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand`
[INFO] [stderr] warning: `wx_pay` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3.78s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `"docker" "inspect" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stderr]  --> src/api/mod.rs:2:9
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub use pay_api::*;
[INFO] [stderr]   |         ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: the most public imported item is `pub(crate)`
[INFO] [stderr]  --> src/api/mod.rs:2:9
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub use pay_api::*;
[INFO] [stderr]   |         ^^^^^^^^^^
[INFO] [stderr]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stderr]  --> src/lib.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use utils::*;
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: the most public imported item is `pub(crate)`
[INFO] [stderr]  --> src/lib.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use utils::*;
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `utils::*`
[INFO] [stderr]  --> src/lib.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use utils::*;
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Amount` and `Payer`
[INFO] [stderr]  --> src/wx_pay.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 |     api::{Amount, Jsapi, PayApi, Payer, WxPayData},
[INFO] [stderr]   |           ^^^^^^                 ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wx_pay` (lib) generated 4 warnings (run `cargo fix --lib -p wx_pay` to apply 2 suggestions)
[INFO] [stderr] warning: `wx_pay` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr] warning: unused dependency `rand`
[INFO] [stderr]   --> Cargo.toml:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 | [dependencies.rand]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand`
[INFO] [stderr] warning: `wx_pay` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/wx_pay/9116a71995f421cd/out/wx_pay-9116a71995f421cd)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test decode::test::test_sha2 ... ok
[INFO] [stdout] test utils::test::test_sha2 ... ok
[INFO] [stdout] test verification::tests::test_is_test_signature ... ok
[INFO] [stdout] test wx_pay::test::test_jsapi_params ... ok
[INFO] [stdout] test verification::tests::test_verify_with_sample_data ... ok
[INFO] [stdout] test verification::tests::test_build_verify_string ... ok
[INFO] [stdout] test wx_pay::test::test_time ... ok
[INFO] [stdout] test utils::test::test_rsa_sign ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- utils::test::test_rsa_sign stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'utils::test::test_rsa_sign' (2259) panicked at src/utils.rs:148:68:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: PKCS#8 ASN.1 error: ASN.1 DER message is incomplete: expected 1218, actual 66 at DER byte 0
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<pkcs8::error::Error>>::from
[INFO] [stdout]    1: wx_pay::utils::sha_rsa_sign::<&str>
[INFO] [stdout]    2: <wx_pay::utils::test::test_rsa_sign::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    3: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    4: test::run_test::{closure#0}
[INFO] [stdout]    5: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    6: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    7: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    8: <unknown>
[INFO] [stdout]    9: clone
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5bd2e8053ab1 - <<std[f3a103f8b3fbc6]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5bd2e8068b9a - core[a2c1a7cd948629ec]::fmt::write
[INFO] [stdout]    2:     0x5bd2e805827c - <alloc[9de6908353064a78]::vec::Vec<u8> as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5bd2e802ef36 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5bd2e804b849 - std[f3a103f8b3fbc6]::panicking::default_hook
[INFO] [stdout]    5:     0x5bd2e7fa9a10 - test[4d2796dde4b18a79]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5bd2e804ba02 - std[f3a103f8b3fbc6]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5bd2e802efe2 - std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5bd2e8028009 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace::<std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5bd2e802fcfd - __rustc[72b30b8c63551d82]::rust_begin_unwind
[INFO] [stdout]   10:     0x5bd2e80692cc - core[a2c1a7cd948629ec]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5bd2e80690a2 - core[a2c1a7cd948629ec]::result::unwrap_failed
[INFO] [stdout]   12:     0x5bd2e7f90401 - <wx_pay[26a30ba35e199df6]::utils::test::test_rsa_sign::{closure#0} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x5bd2e7f9ce5b - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::<core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>>
[INFO] [stdout]   14:     0x5bd2e7faa035 - test[4d2796dde4b18a79]::run_test::{closure#0}
[INFO] [stdout]   15:     0x5bd2e7fa3424 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace::<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x5bd2e7fad0c2 - <std[f3a103f8b3fbc6]::thread::lifecycle::spawn_unchecked<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x5bd2e8052c9f - <std[f3a103f8b3fbc6]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x7af393526dfa - <unknown>
[INFO] [stdout]   19:     0x7af3935ba3d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     utils::test::test_rsa_sign
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `"docker" "inspect" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce"`
[INFO] running `"docker" "rm" "-f" "bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce"`
[INFO] [stdout] bb5fc924ed3fd482cdfa8931e4a0962ced0bcd317680c44c8f11096f1e1938ce
