[INFO] fetching crate alipay-rs 0.4.6...
[INFO] testing alipay-rs-0.4.6 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate alipay-rs 0.4.6 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate alipay-rs 0.4.6 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate alipay-rs 0.4.6
[INFO] finished tweaking crates.io crate alipay-rs 0.4.6
[INFO] tweaked toml for crates.io crate alipay-rs 0.4.6 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 171 packages to latest compatible versions
[INFO] [stderr]       Adding ascii v0.8.7 (latest: v1.1.0)
[INFO] [stderr]       Adding autocfg v0.1.8 (latest: v1.3.0)
[INFO] [stderr]       Adding base64 v0.9.3 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding chunked_transfer v0.3.1 (latest: v1.5.0)
[INFO] [stderr]       Adding cloudabi v0.0.3 (latest: v0.1.0)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding hyper v0.10.16 (latest: v1.3.1)
[INFO] [stderr]       Adding idna v0.1.5 (latest: v0.5.0)
[INFO] [stderr]       Adding language-tags v0.2.2 (latest: v0.3.2)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding log v0.3.9 (latest: v0.4.21)
[INFO] [stderr]       Adding mime v0.2.6 (latest: v0.3.17)
[INFO] [stderr]       Adding mime_guess v1.8.8 (latest: v2.0.4)
[INFO] [stderr]       Adding percent-encoding v1.0.1 (latest: v2.3.1)
[INFO] [stderr]       Adding phf v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding phf_codegen v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding phf_generator v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding phf_shared v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding quick-error v1.2.3 (latest: v2.0.1)
[INFO] [stderr]       Adding rand v0.6.5 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.3.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_core v0.4.2 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.1.0 (latest: v0.3.2)
[INFO] [stderr]       Adding rand_isaac v0.1.1 (latest: v0.3.0)
[INFO] [stderr]       Adding rand_jitter v0.1.4 (latest: v0.4.0)
[INFO] [stderr]       Adding rand_os v0.1.3 (latest: v0.2.2)
[INFO] [stderr]       Adding rand_pcg v0.1.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_xorshift v0.1.1 (latest: v0.3.0)
[INFO] [stderr]       Adding rdrand v0.4.0 (latest: v0.8.3)
[INFO] [stderr]       Adding rustls v0.22.4 (latest: v0.23.8)
[INFO] [stderr]       Adding siphasher v0.2.3 (latest: v1.0.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding time v0.1.45 (latest: v0.3.36)
[INFO] [stderr]       Adding tiny_http v0.6.4 (latest: v0.12.0)
[INFO] [stderr]       Adding twoway v0.1.8 (latest: v0.2.2)
[INFO] [stderr]       Adding unicase v1.4.2 (latest: v2.7.0)
[INFO] [stderr]       Adding url v1.7.2 (latest: v2.5.0)
[INFO] [stderr]       Adding version_check v0.1.5 (latest: v0.9.4)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crc32fast v1.4.2
[INFO] [stderr]   Downloaded tiny_http v0.6.4
[INFO] [stderr]   Downloaded twoway v0.1.8
[INFO] [stderr]   Downloaded multipart v0.18.0
[INFO] [stderr]   Downloaded buf_redux v0.8.4
[INFO] [stderr]   Downloaded alipay_macros v0.1.1
[INFO] [stderr]   Downloaded siphasher v0.2.3
[INFO] [stderr]   Downloaded phf_codegen v0.7.24
[INFO] [stderr]   Downloaded phf v0.7.24
[INFO] [stderr]   Downloaded autocfg v0.1.8
[INFO] [stderr]   Downloaded phf_generator v0.7.24
[INFO] [stderr]   Downloaded phf_shared v0.7.24
[INFO] [stderr]   Downloaded mime_guess v1.8.8
[INFO] [stderr]   Downloaded iron v0.6.1
[INFO] [stderr]   Downloaded groupable v0.2.0
[INFO] [stderr]   Downloaded base64 v0.9.3
[INFO] [stderr]   Downloaded mime v0.2.6
[INFO] [stderr]   Downloaded typeable v0.1.2
[INFO] [stderr]   Downloaded version_check v0.1.5
[INFO] [stderr]   Downloaded unicase v1.4.2
[INFO] [stderr]   Downloaded hyper v0.10.16
[INFO] [stderr]   Downloaded modifier v0.1.0
[INFO] [stderr]   Downloaded log v0.3.9
[INFO] [stderr]   Downloaded mustache v0.9.0
[INFO] [stderr]   Downloaded plugin v0.2.6
[INFO] [stderr]   Downloaded nickel v0.11.0
[INFO] [stderr]   Downloaded safemem v0.3.3
[INFO] [stderr]   Downloaded ascii v0.8.7
[INFO] [stderr]   Downloaded chunked_transfer v0.3.1
[INFO] [stderr]   Downloaded flate2 v1.0.30
[INFO] [stderr]   Downloaded rustls-webpki v0.102.4
[INFO] [stderr]   Downloaded rustls-pki-types v1.7.0
[INFO] [stderr]   Downloaded openssl-src v300.3.0+3.3.0
[INFO] [stderr]   Downloaded alipay_params v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 392323fb8b33bf6acefa4cc63d136e0cfee78a049c90bce8baaabb293ebb7423
[INFO] running `Command { std: "docker" "start" "-a" "392323fb8b33bf6acefa4cc63d136e0cfee78a049c90bce8baaabb293ebb7423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "392323fb8b33bf6acefa4cc63d136e0cfee78a049c90bce8baaabb293ebb7423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "392323fb8b33bf6acefa4cc63d136e0cfee78a049c90bce8baaabb293ebb7423", kill_on_drop: false }`
[INFO] [stdout] 392323fb8b33bf6acefa4cc63d136e0cfee78a049c90bce8baaabb293ebb7423
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 919d8120e44e5dd135107f0c8b1f8cf798c5111269176caa338689cbfb57e96a
[INFO] running `Command { std: "docker" "start" "-a" "919d8120e44e5dd135107f0c8b1f8cf798c5111269176caa338689cbfb57e96a", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling openssl-src v300.3.0+3.3.0
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling modifier v0.1.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling groupable v0.2.0
[INFO] [stderr]    Compiling ascii v0.8.7
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling chunked_transfer v0.3.1
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling webpki-roots v0.26.1
[INFO] [stderr]    Compiling twoway v0.1.8
[INFO] [stderr]    Compiling buf_redux v0.8.4
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling tiny_http v0.6.4
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling alipay_macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling rustls-webpki v0.102.4
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling mustache v0.9.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling nickel v0.11.0
[INFO] [stderr]    Compiling alipay_params v0.1.2
[INFO] [stderr]    Compiling ureq v2.9.7
[INFO] [stderr]    Compiling multipart v0.18.0
[INFO] [stderr]    Compiling alipay-rs v0.4.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0
[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" "919d8120e44e5dd135107f0c8b1f8cf798c5111269176caa338689cbfb57e96a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "919d8120e44e5dd135107f0c8b1f8cf798c5111269176caa338689cbfb57e96a", kill_on_drop: false }`
[INFO] [stdout] 919d8120e44e5dd135107f0c8b1f8cf798c5111269176caa338689cbfb57e96a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b67dbb53b6499aeff667f0a4a41e78d6deb01f1eee6606c3400cebe94f00cc09
[INFO] running `Command { std: "docker" "start" "-a" "b67dbb53b6499aeff667f0a4a41e78d6deb01f1eee6606c3400cebe94f00cc09", kill_on_drop: false }`
[INFO] [stderr]    Compiling alipay-rs v0.4.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0
[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" "b67dbb53b6499aeff667f0a4a41e78d6deb01f1eee6606c3400cebe94f00cc09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b67dbb53b6499aeff667f0a4a41e78d6deb01f1eee6606c3400cebe94f00cc09", kill_on_drop: false }`
[INFO] [stdout] b67dbb53b6499aeff667f0a4a41e78d6deb01f1eee6606c3400cebe94f00cc09
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 88ba1c52424f0074b611ec238d946b53e4a7d31a4433b8e185de5ffbd7704e98
[INFO] running `Command { std: "docker" "start" "-a" "88ba1c52424f0074b611ec238d946b53e4a7d31a4433b8e185de5ffbd7704e98", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0
[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/alipay_rs-24f9e377fd2d9a04)
[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 alipay_rs
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/client.rs - client::Client::builder (line 102) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::post_file (line 322) ... FAILED
[INFO] [stdout] test src/client_with_params.rs - client_with_params::ClientWithParams::set_public_params (line 43) ... FAILED
[INFO] [stdout] test src/client_with_params.rs - client_with_params::ClientWithParams::post_file (line 242) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::set_public_params (line 119) ... FAILED
[INFO] [stdout] test src/client_with_params.rs - client_with_params::ClientWithParams::post (line 180) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::post (line 264) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 136) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client.rs - client::Client::builder (line 102) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:106:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:107:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_2021002199679230.crt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:108:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | .app_cert_sn(include_str!("../appCertPublicKey_2021002199679230.crt"))
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/client.rs:109:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::post_file (line 322) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client.rs:333:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..;
[INFO] [stdout]    |              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..=;
[INFO] [stdout]    |              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/client.rs:333:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client.rs:323:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client.rs:335:143
[INFO] [stdout]    |
[INFO] [stdout] 2  | ...e_case)] fn _doctest_main_src_client_rs_322_0() {
[INFO] [stdout]    |             -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | ... client_with_params.post_file("alipay.offline.material.image.upload", "image_content", "test.png", file.as_ref()).await.unwrap().into_...
[INFO] [stdout]    |                                                                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0586`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client_with_params.rs - client_with_params::ClientWithParams::set_public_params (line 43) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client_with_params.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    | ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    | ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | ..=...
[INFO] [stdout]    | ~~~
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client_with_params.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    |    ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....=
[INFO] [stdout]    |    ~~~
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/client_with_params.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let public_params = PublicParams {
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client_with_params.rs:44:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client_with_params.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let public_params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                         ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/client_with_params.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     client.set_public_params(public_params);
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client_with_params.rs - client_with_params::ClientWithParams::post_file (line 242) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client_with_params.rs:253:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..;
[INFO] [stdout]    |              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..=;
[INFO] [stdout]    |              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/client_with_params.rs:253:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client_with_params.rs:243:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client_with_params.rs:255:143
[INFO] [stdout]    |
[INFO] [stdout] 2  | ...e_case)] fn _doctest_main_src_client_with_params_rs_242_0() {
[INFO] [stdout]    |             -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | ... client_with_params.post_file("alipay.offline.material.image.upload", "image_content", "test.png", file.as_ref()).await.unwrap().into_...
[INFO] [stdout]    |                                                                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0586`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::set_public_params (line 119) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client.rs:128:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    | ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    | ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | ..=...
[INFO] [stdout]    | ~~~
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client.rs:128:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    |    ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....=
[INFO] [stdout]    |    ~~~
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/client.rs:130:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let public_params = PublicParams {
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client.rs:120:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client.rs:141:25
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let public_params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                         ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/client.rs:143:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     client.set_public_params(public_params);
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client_with_params.rs - client_with_params::ClientWithParams::post (line 180) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client_with_params.rs:184:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         include_str!("../公钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client_with_params.rs:185:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         include_str!("../私钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client_with_params.rs:186:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/client_with_params.rs:187:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transfer` in this scope
[INFO] [stdout]   --> src/client_with_params.rs:190:49
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client_with_params.rs:198:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client_with_params.rs:191:10
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_with_params_rs_180_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 |         .await.unwrap().into_json().unwrap();
[INFO] [stdout]    |          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied
[INFO] [stdout]   --> src/client_with_params.rs:182:14
[INFO] [stdout]    |
[INFO] [stdout] 5  |   let client = alipay_rs::Client::new(
[INFO] [stdout]    |  ______________^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 6  | |         "20210xxxxxxxxxxx",
[INFO] [stdout] 7  | |         include_str!("../公钥.txt"),
[INFO] [stdout] 8  | |         include_str!("../私钥.txt"),
[INFO] [stdout] 9  | |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout] 10 | |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout] 11 | |     );
[INFO] [stdout]    | |_____- an argument of type `bool` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/client.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new<S: Into<String>>(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 5  | let client = alipay_rs::Client::new("20210xxxxxxxxxxx", include_str!("../公钥.txt"), include_str!("../私钥.txt"), Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")), Some(include_str!("../alipayRootCert.crt")), /* bool */);
[INFO] [stdout]    |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope
[INFO] [stdout]    --> src/client_with_params.rs:190:10
[INFO] [stdout]     |
[INFO] [stdout] 12  |       let data:serde_json::Value = client
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 13  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `Client`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 |       fn post<'a, S, T>(&'a self, method: S, biz_content: T) -> BoxFuture<'a, AlipayResult<Response>>
[INFO] [stdout]     |          ---- the method is available for `Client` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use crate::alipay_rs::Cli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::post (line 264) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:268:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         include_str!("../公钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:269:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         include_str!("../私钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:270:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/client.rs:271:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transfer` in this scope
[INFO] [stdout]   --> src/client.rs:274:49
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client.rs:282:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client.rs:275:10
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_264_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 |         .await.unwrap().into_json().unwrap();
[INFO] [stdout]    |          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied
[INFO] [stdout]   --> src/client.rs:266:14
[INFO] [stdout]    |
[INFO] [stdout] 5  |   let client = alipay_rs::Client::new(
[INFO] [stdout]    |  ______________^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 6  | |         "20210xxxxxxxxxxx",
[INFO] [stdout] 7  | |         include_str!("../公钥.txt"),
[INFO] [stdout] 8  | |         include_str!("../私钥.txt"),
[INFO] [stdout] 9  | |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout] 10 | |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout] 11 | |     );
[INFO] [stdout]    | |_____- an argument of type `bool` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/client.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new<S: Into<String>>(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 5  | let client = alipay_rs::Client::new("20210xxxxxxxxxxx", include_str!("../公钥.txt"), include_str!("../私钥.txt"), Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")), Some(include_str!("../alipayRootCert.crt")), /* bool */);
[INFO] [stdout]    |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope
[INFO] [stdout]    --> src/client.rs:274:10
[INFO] [stdout]     |
[INFO] [stdout] 12  |       let data:serde_json::Value = client
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 13  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `Client`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 |       fn post<'a, S, T>(&'a self, method: S, biz_content: T) -> BoxFuture<'a, AlipayResult<Response>>
[INFO] [stdout]     |          ---- the method is available for `Client` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use crate::alipay_rs::Cli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 13) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |        .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |        .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |        .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:56:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |        .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |        .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |        .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |        .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |        .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |    .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 108 |    .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |    .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |    .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alipay_rs::AlipayParam`
[INFO] [stdout]  --> src/lib.rs:20:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use alipay_rs::AlipayParam;
[INFO] [stdout]   |     ^^^^^^^^^^^-----------
[INFO] [stdout]   |     |          |
[INFO] [stdout]   |     |          help: a similar name exists in the module: `AlipayParams`
[INFO] [stdout]   |     no `AlipayParam` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/lib.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> src/lib.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 118 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]   --> src/lib.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(AlipayParams, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_params::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_rs::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]   --> src/lib.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(AlipayParams, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_params::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_rs::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Config` in `alipay_rs`
[INFO] [stdout]    --> src/lib.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 105 | let config = alipay_rs::Config::builder()
[INFO] [stdout]     |                         ^^^^^^ could not find `Config` in `alipay_rs`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope
[INFO] [stdout]    --> src/lib.rs:59:10
[INFO] [stdout]     |
[INFO] [stdout] 47  |       let data:serde_json::Value = client
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 48  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `Client`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 |       fn post<'a, S, T>(&'a self, method: S, biz_content: T) -> BoxFuture<'a, AlipayResult<Response>>
[INFO] [stdout]     |          ---- the method is available for `Client` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 6   + use crate::alipay_rs::Cli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PublicParams: AlipayParams` is not satisfied
[INFO] [stdout]    --> src/lib.rs:105:59
[INFO] [stdout]     |
[INFO] [stdout] 94  |     let mut client_with_params = client.set_public_params(public_params);
[INFO] [stdout]     |                                         ----------------- ^^^^^^^^^^^^^ the trait `AlipayParams` is not implemented for `PublicParams`
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `AlipayParams`:
[INFO] [stdout]               &'a str
[INFO] [stdout]               ()
[INFO] [stdout]               (T1, T2)
[INFO] [stdout]               AlipayValue
[INFO] [stdout]               HashMap<T1, T2>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               Value
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 15 others
[INFO] [stdout] note: required by a bound in `Client::set_public_params`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn set_public_params<T>(&self, args: T) -> ClientWithParams
[INFO] [stdout]     |            ----------------- required by a bound in this associated function
[INFO] [stdout] 146 |     where
[INFO] [stdout] 147 |         T: AlipayParams,
[INFO] [stdout]     |            ^^^^^^^^^^^^ required by this bound in `Client::set_public_params`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `ClientWithParams` in the current scope
[INFO] [stdout]    --> src/lib.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 95  |       let data:serde_json::Value = client_with_params
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 96  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `ClientWithParams`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 |       fn post<'a, S, T>(
[INFO] [stdout]     |          ---- the method is available for `ClientWithParams` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MutCli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 6   + use crate::alipay_rs::MutCli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 136) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:202:20
[INFO] [stdout]    |
[INFO] [stdout] 68 |        .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:203:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |        .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:204:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |        .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:205:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |        .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alipay_rs::AlipayParam`
[INFO] [stdout]  --> src/lib.rs:138:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alipay_rs::AlipayParam;
[INFO] [stdout]   |     ^^^^^^^^^^^-----------
[INFO] [stdout]   |     |          |
[INFO] [stdout]   |     |          help: a similar name exists in the module: `AlipayParams`
[INFO] [stdout]   |     no `AlipayParam` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/lib.rs:139:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:197:3
[INFO] [stdout]    |
[INFO] [stdout] 63 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:212:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let cli = Arc::new(client);
[INFO] [stdout]    |               ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for reference `&Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:175:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let data:serde_json::Value = client
[INFO] [stdout]    |  __________________________________-
[INFO] [stdout] 41 | |         .post("alipay.open.mini.item.page.query", query)
[INFO] [stdout]    | |         -^^^^ method not found in `&Client`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use crate::alipay_rs::Cli;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for reference `&Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:193:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |       let data:serde_json::Value = client
[INFO] [stdout]    |  __________________________________-
[INFO] [stdout] 59 | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]    | |         -^^^^ method not found in `&Client`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use crate::alipay_rs::Cli;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:214:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:217:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:198:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | async fn main() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::Client::builder (line 102)
[INFO] [stdout]     src/client.rs - client::Client::post (line 264)
[INFO] [stdout]     src/client.rs - client::Client::post_file (line 322)
[INFO] [stdout]     src/client.rs - client::Client::set_public_params (line 119)
[INFO] [stdout]     src/client_with_params.rs - client_with_params::ClientWithParams::post (line 180)
[INFO] [stdout]     src/client_with_params.rs - client_with_params::ClientWithParams::post_file (line 242)
[INFO] [stdout]     src/client_with_params.rs - client_with_params::ClientWithParams::set_public_params (line 43)
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/lib.rs - (line 136)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "88ba1c52424f0074b611ec238d946b53e4a7d31a4433b8e185de5ffbd7704e98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88ba1c52424f0074b611ec238d946b53e4a7d31a4433b8e185de5ffbd7704e98", kill_on_drop: false }`
[INFO] [stdout] 88ba1c52424f0074b611ec238d946b53e4a7d31a4433b8e185de5ffbd7704e98
[INFO] testing alipay-rs-0.4.6 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate alipay-rs 0.4.6 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate alipay-rs 0.4.6 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate alipay-rs 0.4.6
[INFO] finished tweaking crates.io crate alipay-rs 0.4.6
[INFO] tweaked toml for crates.io crate alipay-rs 0.4.6 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 171 packages to latest compatible versions
[INFO] [stderr]       Adding ascii v0.8.7 (latest: v1.1.0)
[INFO] [stderr]       Adding autocfg v0.1.8 (latest: v1.3.0)
[INFO] [stderr]       Adding base64 v0.9.3 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding chunked_transfer v0.3.1 (latest: v1.5.0)
[INFO] [stderr]       Adding cloudabi v0.0.3 (latest: v0.1.0)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding hyper v0.10.16 (latest: v1.3.1)
[INFO] [stderr]       Adding idna v0.1.5 (latest: v0.5.0)
[INFO] [stderr]       Adding language-tags v0.2.2 (latest: v0.3.2)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding log v0.3.9 (latest: v0.4.21)
[INFO] [stderr]       Adding mime v0.2.6 (latest: v0.3.17)
[INFO] [stderr]       Adding mime_guess v1.8.8 (latest: v2.0.4)
[INFO] [stderr]       Adding percent-encoding v1.0.1 (latest: v2.3.1)
[INFO] [stderr]       Adding phf v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding phf_codegen v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding phf_generator v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding phf_shared v0.7.24 (latest: v0.11.2)
[INFO] [stderr]       Adding quick-error v1.2.3 (latest: v2.0.1)
[INFO] [stderr]       Adding rand v0.6.5 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.3.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_core v0.4.2 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.1.0 (latest: v0.3.2)
[INFO] [stderr]       Adding rand_isaac v0.1.1 (latest: v0.3.0)
[INFO] [stderr]       Adding rand_jitter v0.1.4 (latest: v0.4.0)
[INFO] [stderr]       Adding rand_os v0.1.3 (latest: v0.2.2)
[INFO] [stderr]       Adding rand_pcg v0.1.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_xorshift v0.1.1 (latest: v0.3.0)
[INFO] [stderr]       Adding rdrand v0.4.0 (latest: v0.8.3)
[INFO] [stderr]       Adding rustls v0.22.4 (latest: v0.23.8)
[INFO] [stderr]       Adding siphasher v0.2.3 (latest: v1.0.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding time v0.1.45 (latest: v0.3.36)
[INFO] [stderr]       Adding tiny_http v0.6.4 (latest: v0.12.0)
[INFO] [stderr]       Adding twoway v0.1.8 (latest: v0.2.2)
[INFO] [stderr]       Adding unicase v1.4.2 (latest: v2.7.0)
[INFO] [stderr]       Adding url v1.7.2 (latest: v2.5.0)
[INFO] [stderr]       Adding version_check v0.1.5 (latest: v0.9.4)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aff8044e5c86a0735f1ebe462f5fef58190d42925faae7644bd68fde3e0562f7
[INFO] running `Command { std: "docker" "start" "-a" "aff8044e5c86a0735f1ebe462f5fef58190d42925faae7644bd68fde3e0562f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aff8044e5c86a0735f1ebe462f5fef58190d42925faae7644bd68fde3e0562f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aff8044e5c86a0735f1ebe462f5fef58190d42925faae7644bd68fde3e0562f7", kill_on_drop: false }`
[INFO] [stdout] aff8044e5c86a0735f1ebe462f5fef58190d42925faae7644bd68fde3e0562f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9ef96bb9047ea27d913c3315977cbcf4771e165da2ed4582a2c6a335640745b
[INFO] running `Command { std: "docker" "start" "-a" "b9ef96bb9047ea27d913c3315977cbcf4771e165da2ed4582a2c6a335640745b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling openssl-src v300.3.0+3.3.0
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling modifier v0.1.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling groupable v0.2.0
[INFO] [stderr]    Compiling chunked_transfer v0.3.1
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling ascii v0.8.7
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling webpki-roots v0.26.1
[INFO] [stderr]    Compiling twoway v0.1.8
[INFO] [stderr]    Compiling buf_redux v0.8.4
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tiny_http v0.6.4
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling alipay_macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling rustls-webpki v0.102.4
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling mustache v0.9.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling nickel v0.11.0
[INFO] [stderr]    Compiling alipay_params v0.1.2
[INFO] [stderr]    Compiling ureq v2.9.7
[INFO] [stderr]    Compiling multipart v0.18.0
[INFO] [stderr]    Compiling alipay-rs v0.4.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0
[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" "b9ef96bb9047ea27d913c3315977cbcf4771e165da2ed4582a2c6a335640745b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9ef96bb9047ea27d913c3315977cbcf4771e165da2ed4582a2c6a335640745b", kill_on_drop: false }`
[INFO] [stdout] b9ef96bb9047ea27d913c3315977cbcf4771e165da2ed4582a2c6a335640745b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2775c69d7ee1304c45da7f78b79427d31ddb62a499427077b697454cb68369e0
[INFO] running `Command { std: "docker" "start" "-a" "2775c69d7ee1304c45da7f78b79427d31ddb62a499427077b697454cb68369e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling alipay-rs v0.4.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0
[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" "2775c69d7ee1304c45da7f78b79427d31ddb62a499427077b697454cb68369e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2775c69d7ee1304c45da7f78b79427d31ddb62a499427077b697454cb68369e0", kill_on_drop: false }`
[INFO] [stdout] 2775c69d7ee1304c45da7f78b79427d31ddb62a499427077b697454cb68369e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 38df2d83dbda288d0536cf247dc24f38fc8579cf2264d540c2ba16a0ce9c4ade
[INFO] running `Command { std: "docker" "start" "-a" "38df2d83dbda288d0536cf247dc24f38fc8579cf2264d540c2ba16a0ce9c4ade", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0
[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/alipay_rs-24f9e377fd2d9a04)
[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 alipay_rs
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/client.rs - client::Client::builder (line 102) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::set_public_params (line 119) ... FAILED
[INFO] [stdout] test src/client_with_params.rs - client_with_params::ClientWithParams::set_public_params (line 43) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::post_file (line 322) ... FAILED
[INFO] [stdout] test src/client_with_params.rs - client_with_params::ClientWithParams::post_file (line 242) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::post (line 264) ... FAILED
[INFO] [stdout] test src/client_with_params.rs - client_with_params::ClientWithParams::post (line 180) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 136) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client.rs - client::Client::builder (line 102) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:106:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:107:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_2021002199679230.crt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:108:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | .app_cert_sn(include_str!("../appCertPublicKey_2021002199679230.crt"))
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/client.rs:109:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::set_public_params (line 119) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client.rs:128:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    | ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    | ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | ..=...
[INFO] [stdout]    | ~~~
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client.rs:128:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    |    ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....=
[INFO] [stdout]    |    ~~~
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/client.rs:130:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let public_params = PublicParams {
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client.rs:120:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client.rs:141:25
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let public_params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                         ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/client.rs:143:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     client.set_public_params(public_params);
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client_with_params.rs - client_with_params::ClientWithParams::set_public_params (line 43) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client_with_params.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    | ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    | ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | ..=...
[INFO] [stdout]    | ~~~
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client_with_params.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | ......
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....
[INFO] [stdout]    |    ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | .....=
[INFO] [stdout]    |    ~~~
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/client_with_params.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let public_params = PublicParams {
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client_with_params.rs:44:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client_with_params.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let public_params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                         ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/client_with_params.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     client.set_public_params(public_params);
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::post_file (line 322) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client.rs:333:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..;
[INFO] [stdout]    |              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..=;
[INFO] [stdout]    |              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/client.rs:333:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client.rs:323:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client.rs:335:143
[INFO] [stdout]    |
[INFO] [stdout] 2  | ...e_case)] fn _doctest_main_src_client_rs_322_0() {
[INFO] [stdout]    |             -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | ... client_with_params.post_file("alipay.offline.material.image.upload", "image_content", "test.png", file.as_ref()).await.unwrap().into_...
[INFO] [stdout]    |                                                                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0586`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client_with_params.rs - client_with_params::ClientWithParams::post_file (line 242) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/client_with_params.rs:253:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..;
[INFO] [stdout]    |              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ..=;
[INFO] [stdout]    |              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/client_with_params.rs:253:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = ...;
[INFO] [stdout]    |              ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]  --> src/client_with_params.rs:243:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(AlipayParams)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_params::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use alipay_rs::AlipayParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client_with_params.rs:255:143
[INFO] [stdout]    |
[INFO] [stdout] 2  | ...e_case)] fn _doctest_main_src_client_with_params_rs_242_0() {
[INFO] [stdout]    |             -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | ... client_with_params.post_file("alipay.offline.material.image.upload", "image_content", "test.png", file.as_ref()).await.unwrap().into_...
[INFO] [stdout]    |                                                                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0586`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::post (line 264) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:268:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         include_str!("../公钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:269:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         include_str!("../私钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client.rs:270:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/client.rs:271:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transfer` in this scope
[INFO] [stdout]   --> src/client.rs:274:49
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client.rs:282:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client.rs:275:10
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_264_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 |         .await.unwrap().into_json().unwrap();
[INFO] [stdout]    |          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied
[INFO] [stdout]   --> src/client.rs:266:14
[INFO] [stdout]    |
[INFO] [stdout] 5  |   let client = alipay_rs::Client::new(
[INFO] [stdout]    |  ______________^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 6  | |         "20210xxxxxxxxxxx",
[INFO] [stdout] 7  | |         include_str!("../公钥.txt"),
[INFO] [stdout] 8  | |         include_str!("../私钥.txt"),
[INFO] [stdout] 9  | |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout] 10 | |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout] 11 | |     );
[INFO] [stdout]    | |_____- an argument of type `bool` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/client.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new<S: Into<String>>(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 5  | let client = alipay_rs::Client::new("20210xxxxxxxxxxx", include_str!("../公钥.txt"), include_str!("../私钥.txt"), Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")), Some(include_str!("../alipayRootCert.crt")), /* bool */);
[INFO] [stdout]    |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope
[INFO] [stdout]    --> src/client.rs:274:10
[INFO] [stdout]     |
[INFO] [stdout] 12  |       let data:serde_json::Value = client
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 13  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `Client`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 |       fn post<'a, S, T>(&'a self, method: S, biz_content: T) -> BoxFuture<'a, AlipayResult<Response>>
[INFO] [stdout]     |          ---- the method is available for `Client` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use crate::alipay_rs::Cli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client_with_params.rs - client_with_params::ClientWithParams::post (line 180) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client_with_params.rs:184:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         include_str!("../公钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client_with_params.rs:185:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         include_str!("../私钥.txt"),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/client_with_params.rs:186:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/client_with_params.rs:187:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transfer` in this scope
[INFO] [stdout]   --> src/client_with_params.rs:190:49
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client_with_params.rs:198:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let params = HashMap::from([("image_type", "png"), ("image_name", "test")]);
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client_with_params.rs:191:10
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_with_params_rs_180_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 |         .await.unwrap().into_json().unwrap();
[INFO] [stdout]    |          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied
[INFO] [stdout]   --> src/client_with_params.rs:182:14
[INFO] [stdout]    |
[INFO] [stdout] 5  |   let client = alipay_rs::Client::new(
[INFO] [stdout]    |  ______________^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 6  | |         "20210xxxxxxxxxxx",
[INFO] [stdout] 7  | |         include_str!("../公钥.txt"),
[INFO] [stdout] 8  | |         include_str!("../私钥.txt"),
[INFO] [stdout] 9  | |         Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")),
[INFO] [stdout] 10 | |         Some(include_str!("../alipayRootCert.crt"))
[INFO] [stdout] 11 | |     );
[INFO] [stdout]    | |_____- an argument of type `bool` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/client.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new<S: Into<String>>(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 5  | let client = alipay_rs::Client::new("20210xxxxxxxxxxx", include_str!("../公钥.txt"), include_str!("../私钥.txt"), Some(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt")), Some(include_str!("../alipayRootCert.crt")), /* bool */);
[INFO] [stdout]    |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope
[INFO] [stdout]    --> src/client_with_params.rs:190:10
[INFO] [stdout]     |
[INFO] [stdout] 12  |       let data:serde_json::Value = client
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 13  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `Client`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 |       fn post<'a, S, T>(&'a self, method: S, biz_content: T) -> BoxFuture<'a, AlipayResult<Response>>
[INFO] [stdout]     |          ---- the method is available for `Client` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use crate::alipay_rs::Cli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 13) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |        .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |        .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |        .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:56:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |        .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |        .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |        .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |        .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |        .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |    .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 108 |    .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |    .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/lib.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |    .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alipay_rs::AlipayParam`
[INFO] [stdout]  --> src/lib.rs:20:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use alipay_rs::AlipayParam;
[INFO] [stdout]   |     ^^^^^^^^^^^-----------
[INFO] [stdout]   |     |          |
[INFO] [stdout]   |     |          help: a similar name exists in the module: `AlipayParams`
[INFO] [stdout]   |     no `AlipayParam` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/lib.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> src/lib.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 118 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]   --> src/lib.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(AlipayParams, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_params::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_rs::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AlipayParams` in this scope
[INFO] [stdout]   --> src/lib.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(AlipayParams, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_params::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use alipay_rs::AlipayParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Config` in `alipay_rs`
[INFO] [stdout]    --> src/lib.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 105 | let config = alipay_rs::Config::builder()
[INFO] [stdout]     |                         ^^^^^^ could not find `Config` in `alipay_rs`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `Client` in the current scope
[INFO] [stdout]    --> src/lib.rs:59:10
[INFO] [stdout]     |
[INFO] [stdout] 47  |       let data:serde_json::Value = client
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 48  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `Client`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 |       fn post<'a, S, T>(&'a self, method: S, biz_content: T) -> BoxFuture<'a, AlipayResult<Response>>
[INFO] [stdout]     |          ---- the method is available for `Client` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 6   + use crate::alipay_rs::Cli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PublicParams: AlipayParams` is not satisfied
[INFO] [stdout]    --> src/lib.rs:105:59
[INFO] [stdout]     |
[INFO] [stdout] 94  |     let mut client_with_params = client.set_public_params(public_params);
[INFO] [stdout]     |                                         ----------------- ^^^^^^^^^^^^^ the trait `AlipayParams` is not implemented for `PublicParams`
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `AlipayParams`:
[INFO] [stdout]               &'a str
[INFO] [stdout]               ()
[INFO] [stdout]               (T1, T2)
[INFO] [stdout]               AlipayValue
[INFO] [stdout]               HashMap<T1, T2>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               Value
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 15 others
[INFO] [stdout] note: required by a bound in `Client::set_public_params`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/client.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn set_public_params<T>(&self, args: T) -> ClientWithParams
[INFO] [stdout]     |            ----------------- required by a bound in this associated function
[INFO] [stdout] 146 |     where
[INFO] [stdout] 147 |         T: AlipayParams,
[INFO] [stdout]     |            ^^^^^^^^^^^^ required by this bound in `Client::set_public_params`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for struct `ClientWithParams` in the current scope
[INFO] [stdout]    --> src/lib.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 95  |       let data:serde_json::Value = client_with_params
[INFO] [stdout]     |  __________________________________-
[INFO] [stdout] 96  | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]     | |         -^^^^ method not found in `ClientWithParams`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 |       fn post<'a, S, T>(
[INFO] [stdout]     |          ---- the method is available for `ClientWithParams` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MutCli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 6   + use crate::alipay_rs::MutCli;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 136) stdout ----
[INFO] [stdout] error: couldn't read `src/../公钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:202:20
[INFO] [stdout]    |
[INFO] [stdout] 68 |        .public_key(include_str!("../公钥.txt"))
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../私钥.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:203:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |        .private_key(include_str!("../私钥.txt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../appCertPublicKey_20210xxxxxxxxxxx.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:204:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |        .app_cert_sn(include_str!("../appCertPublicKey_20210xxxxxxxxxxx.crt"))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../alipayRootCert.crt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:205:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |        .alipay_root_cert_sn(include_str!("../alipayRootCert.crt"))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alipay_rs::AlipayParam`
[INFO] [stdout]  --> src/lib.rs:138:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alipay_rs::AlipayParam;
[INFO] [stdout]   |     ^^^^^^^^^^^-----------
[INFO] [stdout]   |     |          |
[INFO] [stdout]   |     |          help: a similar name exists in the module: `AlipayParams`
[INFO] [stdout]   |     no `AlipayParam` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/lib.rs:139:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:197:3
[INFO] [stdout]    |
[INFO] [stdout] 63 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:212:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let cli = Arc::new(client);
[INFO] [stdout]    |               ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for reference `&Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:175:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let data:serde_json::Value = client
[INFO] [stdout]    |  __________________________________-
[INFO] [stdout] 41 | |         .post("alipay.open.mini.item.page.query", query)
[INFO] [stdout]    | |         -^^^^ method not found in `&Client`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use crate::alipay_rs::Cli;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `post` found for reference `&Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:193:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |       let data:serde_json::Value = client
[INFO] [stdout]    |  __________________________________-
[INFO] [stdout] 59 | |         .post("alipay.fund.trans.uni.transfer", transfer)
[INFO] [stdout]    | |         -^^^^ method not found in `&Client`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Cli` which provides `post` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use crate::alipay_rs::Cli;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:214:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:217:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:198:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | async fn main() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::Client::builder (line 102)
[INFO] [stdout]     src/client.rs - client::Client::post (line 264)
[INFO] [stdout]     src/client.rs - client::Client::post_file (line 322)
[INFO] [stdout]     src/client.rs - client::Client::set_public_params (line 119)
[INFO] [stdout]     src/client_with_params.rs - client_with_params::ClientWithParams::post (line 180)
[INFO] [stdout]     src/client_with_params.rs - client_with_params::ClientWithParams::post_file (line 242)
[INFO] [stdout]     src/client_with_params.rs - client_with_params::ClientWithParams::set_public_params (line 43)
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/lib.rs - (line 136)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "38df2d83dbda288d0536cf247dc24f38fc8579cf2264d540c2ba16a0ce9c4ade", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38df2d83dbda288d0536cf247dc24f38fc8579cf2264d540c2ba16a0ce9c4ade", kill_on_drop: false }`
[INFO] [stdout] 38df2d83dbda288d0536cf247dc24f38fc8579cf2264d540c2ba16a0ce9c4ade
