[INFO] fetching crate wx_pay 0.1.1...
[INFO] testing wx_pay-0.1.1 against 1.73.0 for beta-1.74-1
[INFO] extracting crate wx_pay 0.1.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate wx_pay 0.1.1 on toolchain 1.73.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate wx_pay 0.1.1
[INFO] finished tweaking crates.io crate wx_pay 0.1.1
[INFO] tweaked toml for crates.io crate wx_pay 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bcrypt v0.13.0
[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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 482710b680513293abecda5ef4150f0187d32888d939cad37794746f0d699f6f
[INFO] running `Command { std: "docker" "start" "-a" "482710b680513293abecda5ef4150f0187d32888d939cad37794746f0d699f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "482710b680513293abecda5ef4150f0187d32888d939cad37794746f0d699f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "482710b680513293abecda5ef4150f0187d32888d939cad37794746f0d699f6f", kill_on_drop: false }`
[INFO] [stdout] 482710b680513293abecda5ef4150f0187d32888d939cad37794746f0d699f6f
[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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26df030531684762891d87ed219521f92f79aedcf34a2ff42c20230d884efc2e
[INFO] running `Command { std: "docker" "start" "-a" "26df030531684762891d87ed219521f92f79aedcf34a2ff42c20230d884efc2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling zeroize v1.6.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling socket2 v0.5.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling tokio v1.33.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling polyval v0.6.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling ghash v0.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling aes v0.8.3
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling base64 v0.21.4
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling bcrypt v0.13.0
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling pkcs1 v0.3.3
[INFO] [stderr]    Compiling rsa v0.6.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling tokio-util v0.7.9
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.22
[INFO] [stderr]    Compiling wx_pay v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/wx_pay.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::{Error, Response};
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::value::Value`
[INFO] [stdout]  --> src/wx_pay.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::value::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Nonce`
[INFO] [stdout]   --> src/wx_pay.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Aes256Gcm, Nonce
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GET` is never constructed
[INFO] [stdout]   --> src/wx_pay.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Method {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] 65 |     GET,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has a derived impl for the trait `Clone`, 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: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/wx_pay.rs:193:58
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let pre_data: JsapiRes = client.post(api_body.url.clone())
[INFO] [stdout]     |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 17.28s
[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] running `Command { std: "docker" "inspect" "26df030531684762891d87ed219521f92f79aedcf34a2ff42c20230d884efc2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26df030531684762891d87ed219521f92f79aedcf34a2ff42c20230d884efc2e", kill_on_drop: false }`
[INFO] [stdout] 26df030531684762891d87ed219521f92f79aedcf34a2ff42c20230d884efc2e
[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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 143046fc3b377268a2995bace9354b997f5b62077befc10e01acd74edf4bf33c
[INFO] running `Command { std: "docker" "start" "-a" "143046fc3b377268a2995bace9354b997f5b62077befc10e01acd74edf4bf33c", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/wx_pay.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::{Error, Response};
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::value::Value`
[INFO] [stdout]  --> src/wx_pay.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::value::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Nonce`
[INFO] [stdout]   --> src/wx_pay.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Aes256Gcm, Nonce
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GET` is never constructed
[INFO] [stdout]   --> src/wx_pay.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Method {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] 65 |     GET,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has a derived impl for the trait `Clone`, 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: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/wx_pay.rs:193:58
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let pre_data: JsapiRes = client.post(api_body.url.clone())
[INFO] [stdout]     |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wx_pay v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/wx_pay.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::{Error, Response};
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::value::Value`
[INFO] [stdout]  --> src/wx_pay.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::value::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Nonce`
[INFO] [stdout]   --> src/wx_pay.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Aes256Gcm, Nonce
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GET` is never constructed
[INFO] [stdout]   --> src/wx_pay.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Method {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] 65 |     GET,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has a derived impl for the trait `Clone`, 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: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/wx_pay.rs:193:58
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let pre_data: JsapiRes = client.post(api_body.url.clone())
[INFO] [stdout]     |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.73s
[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] running `Command { std: "docker" "inspect" "143046fc3b377268a2995bace9354b997f5b62077befc10e01acd74edf4bf33c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "143046fc3b377268a2995bace9354b997f5b62077befc10e01acd74edf4bf33c", kill_on_drop: false }`
[INFO] [stdout] 143046fc3b377268a2995bace9354b997f5b62077befc10e01acd74edf4bf33c
[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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 000b404c6292ccaf5bda520a65f7da0901e56536867c1ebbb2b7992ba0ad147a
[INFO] running `Command { std: "docker" "start" "-a" "000b404c6292ccaf5bda520a65f7da0901e56536867c1ebbb2b7992ba0ad147a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Response`
[INFO] [stderr]  --> src/wx_pay.rs:4:22
[INFO] [stderr]   |
[INFO] [stderr] 4 | use reqwest::{Error, Response};
[INFO] [stderr]   |                      ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::value::Value`
[INFO] [stderr]  --> src/wx_pay.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use serde_json::value::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Nonce`
[INFO] [stderr]   --> src/wx_pay.rs:17:16
[INFO] [stderr]    |
[INFO] [stderr] 17 |     Aes256Gcm, Nonce
[INFO] [stderr]    |                ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `GET` is never constructed
[INFO] [stderr]   --> src/wx_pay.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 64 | enum Method {
[INFO] [stderr]    |      ------ variant in this enum
[INFO] [stderr] 65 |     GET,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Method` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/wx_pay.rs:193:58
[INFO] [stderr]     |
[INFO] [stderr] 193 |         let pre_data: JsapiRes = client.post(api_body.url.clone())
[INFO] [stderr]     |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `wx_pay` (lib) generated 5 warnings (run `cargo fix --lib -p wx_pay` to apply 4 suggestions)
[INFO] [stderr] warning: `wx_pay` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[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/wx_pay-a5ba98abd55307d1)
[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 wx_pay
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/wx_pay.rs - wx_pay::decode_wx (line 285) ... FAILED
[INFO] [stdout] test src/random.rs - random::rand_string (line 10) ... FAILED
[INFO] [stdout] test src/wx_pay.rs - wx_pay::WxPay<'a>::jsapi (line 132) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/wx_pay.rs - wx_pay::decode_wx (line 285) stdout ----
[INFO] [stdout] error: cannot find attribute `post` in this scope
[INFO] [stdout]  --> src/wx_pay.rs:289:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[post("/pay/notify_url/action")]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Responder` in this scope
[INFO] [stdout]  --> src/wx_pay.rs:290:83
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn pay_notify_url_action(params: web::Json<WxPayNotify>) -> Result<impl Responder> {
[INFO] [stdout]   |                                                                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResultStatus` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:297:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Ok(web::Json(ResultStatus {status: 2, message: "成功".into()}))
[INFO] [stdout]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/wx_pay.rs:290:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn pay_notify_url_action(params: web::Json<WxPayNotify>) -> Result<impl Responder> {
[INFO] [stdout]   |                                                                       ^^^^^^ -------------- supplied 1 generic argument
[INFO] [stdout]   |                                                                       |
[INFO] [stdout]   |                                                                       expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn pay_notify_url_action(params: web::Json<WxPayNotify>) -> Result<impl Responder, E> {
[INFO] [stdout]   |                                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]  --> src/wx_pay.rs:290:44
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn pay_notify_url_action(params: web::Json<WxPayNotify>) -> Result<impl Responder> {
[INFO] [stdout]   |                                            ^^^ use of undeclared crate or module `web`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]   --> src/wx_pay.rs:297:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Ok(web::Json(ResultStatus {status: 2, message: "成功".into()}))
[INFO] [stdout]    |        ^^^ use of undeclared crate or module `web`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/random.rs - random::rand_string (line 10) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `rand_string` in this scope
[INFO] [stdout]  --> src/random.rs:11:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let ran_1 = rand_string(12);
[INFO] [stdout]   |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rand_string` in this scope
[INFO] [stdout]  --> src/random.rs:13:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let ran_2 = rand_string(32);
[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/wx_pay.rs - wx_pay::WxPay<'a>::jsapi (line 132) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/wx_pay.rs:136:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ...
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ..
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ..=
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]  --> src/wx_pay.rs:138:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let wx_pay = WxPay {
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] error: struct literals are not allowed here
[INFO] [stdout]   --> src/wx_pay.rs:138:18
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let wx_pay = WxPay {
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 10 | |         appid: WECHAT_MINI_APP_ID,
[INFO] [stdout] 11 | |         mchid: WECHAT_PAY_MCH_ID,
[INFO] [stdout] 12 | |         private_key: WECHAT_PRIVATE_KEY,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |         certificates: None
[INFO] [stdout] 17 | |     };
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout] help: surround the struct literal with parentheses
[INFO] [stdout]    |
[INFO] [stdout] 9  ~     let wx_pay = (WxPay {
[INFO] [stdout] 10 |         appid: WECHAT_MINI_APP_ID,
[INFO] [stdout]  ...
[INFO] [stdout] 16 |         certificates: None
[INFO] [stdout] 17 ~     });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found statement (`let`)
[INFO] [stdout]   --> src/wx_pay.rs:138:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | /     let wx_pay = WxPay {
[INFO] [stdout] 10 | |         appid: WECHAT_MINI_APP_ID,
[INFO] [stdout] 11 | |         mchid: WECHAT_PAY_MCH_ID,
[INFO] [stdout] 12 | |         private_key: WECHAT_PRIVATE_KEY,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |         certificates: None
[INFO] [stdout] 17 | |     };
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: variable declaration using `let` is a statement
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WECHAT_MINI_APP_ID` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:139:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |         appid: WECHAT_MINI_APP_ID,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WECHAT_PAY_MCH_ID` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:140:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |         mchid: WECHAT_PAY_MCH_ID,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WECHAT_PRIVATE_KEY` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:141:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |         private_key: WECHAT_PRIVATE_KEY,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WECHAT_PAY_SERIAL` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:142:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |         serial_no: WECHAT_PAY_SERIAL,
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WECHAT_PAY_APIV3` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:143:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |         apiv3_private_key: WECHAT_PAY_APIV3,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WECHAT_PAY_NOTIFY_URL` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:144:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |         notify_url: WECHAT_PAY_NOTIFY_URL,  // 支付回调地址
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `JsapiParams` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:148:29
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let data = wx_pay.jsapi(JsapiParams {
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wx_pay::JsapiParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Amount` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:151:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |         amount: Amount { total: 1 },
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wx_pay::Amount;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Payer` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:152:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |         payer: Payer { openid: openid}
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wx_pay::Payer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `openid` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:152:32
[INFO] [stdout]    |
[INFO] [stdout] 23 |         payer: Payer { openid: openid}
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `let` expressions in this position are unstable
[INFO] [stdout]   --> src/wx_pay.rs:138:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | /     let wx_pay = WxPay {
[INFO] [stdout] 10 | |         appid: WECHAT_MINI_APP_ID,
[INFO] [stdout] 11 | |         mchid: WECHAT_PAY_MCH_ID,
[INFO] [stdout] 12 | |         private_key: WECHAT_PRIVATE_KEY,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |         certificates: None
[INFO] [stdout] 17 | |     };
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/wx_pay.rs:153:8
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wx_pay_rs_132_0() {
[INFO] [stdout]    |                                         --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 24 |     }).await.unwrap();
[INFO] [stdout]    |        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rand_string` in this scope
[INFO] [stdout]   --> src/wx_pay.rs:150:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |         out_trade_no: rand_string(16),  // 随机字符串
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0658, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/random.rs - random::rand_string (line 10)
[INFO] [stdout]     src/wx_pay.rs - wx_pay::WxPay<'a>::jsapi (line 132)
[INFO] [stdout]     src/wx_pay.rs - wx_pay::decode_wx (line 285)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "000b404c6292ccaf5bda520a65f7da0901e56536867c1ebbb2b7992ba0ad147a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000b404c6292ccaf5bda520a65f7da0901e56536867c1ebbb2b7992ba0ad147a", kill_on_drop: false }`
[INFO] [stdout] 000b404c6292ccaf5bda520a65f7da0901e56536867c1ebbb2b7992ba0ad147a
