[INFO] fetching crate rust-wechat-weapp 0.1.3... [INFO] testing rust-wechat-weapp-0.1.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rust-wechat-weapp 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rust-wechat-weapp 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rust-wechat-weapp 0.1.3 [INFO] tweaked toml for crates.io crate rust-wechat-weapp 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-wechat-weapp 0.1.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-wechat-weapp 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7484758d5520706420b2528ee467b5f44333568dffebf3f7a94675b50c8730d [INFO] running `Command { std: "docker" "start" "-a" "b7484758d5520706420b2528ee467b5f44333568dffebf3f7a94675b50c8730d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7484758d5520706420b2528ee467b5f44333568dffebf3f7a94675b50c8730d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7484758d5520706420b2528ee467b5f44333568dffebf3f7a94675b50c8730d", kill_on_drop: false }` [INFO] [stdout] b7484758d5520706420b2528ee467b5f44333568dffebf3f7a94675b50c8730d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bd751deda92c91ce712acc4b610b8ebac0e16ab01818849089aaa5b6ec86b6c [INFO] running `Command { std: "docker" "start" "-a" "4bd751deda92c91ce712acc4b610b8ebac0e16ab01818849089aaa5b6ec86b6c", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling rust-wechat-codegen v0.1.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rust-wechat-core v0.1.3 [INFO] [stderr] Compiling rust-wechat-weapp v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/image_processing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/ocr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStruct` [INFO] [stdout] --> src/api/service_message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::ser::SerializeStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/api/service_message.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/api/subscribe_message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_WXA_QRCODE_URL` is never used [INFO] [stdout] --> src/api/qrcode.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CREATE_WXA_QRCODE_URL: &str = "https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.82s [INFO] running `Command { std: "docker" "inspect" "4bd751deda92c91ce712acc4b610b8ebac0e16ab01818849089aaa5b6ec86b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd751deda92c91ce712acc4b610b8ebac0e16ab01818849089aaa5b6ec86b6c", kill_on_drop: false }` [INFO] [stdout] 4bd751deda92c91ce712acc4b610b8ebac0e16ab01818849089aaa5b6ec86b6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a806d686bd68a8920a1ba86f86e661d51d312513c41c8c003c330c83335a3276 [INFO] running `Command { std: "docker" "start" "-a" "a806d686bd68a8920a1ba86f86e661d51d312513c41c8c003c330c83335a3276", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/image_processing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/ocr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStruct` [INFO] [stdout] --> src/api/service_message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::ser::SerializeStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/api/service_message.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/api/subscribe_message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_WXA_QRCODE_URL` is never used [INFO] [stdout] --> src/api/qrcode.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CREATE_WXA_QRCODE_URL: &str = "https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-wechat-weapp v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Code2Session` [INFO] [stdout] --> tests/code2session.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use rust_wechat_weapp::api::auth::{Code2Session, Code2SessionResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/image_processing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/ocr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStruct` [INFO] [stdout] --> src/api/service_message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::ser::SerializeStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/api/service_message.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/api/subscribe_message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_WXA_QRCODE_URL` is never used [INFO] [stdout] --> src/api/qrcode.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CREATE_WXA_QRCODE_URL: &str = "https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.96s [INFO] running `Command { std: "docker" "inspect" "a806d686bd68a8920a1ba86f86e661d51d312513c41c8c003c330c83335a3276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a806d686bd68a8920a1ba86f86e661d51d312513c41c8c003c330c83335a3276", kill_on_drop: false }` [INFO] [stdout] a806d686bd68a8920a1ba86f86e661d51d312513c41c8c003c330c83335a3276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e412182ce89f66a176c7217ac79d58aef73b276b0c5c56c761a5efd78df8c2e [INFO] running `Command { std: "docker" "start" "-a" "0e412182ce89f66a176c7217ac79d58aef73b276b0c5c56c761a5efd78df8c2e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/api/image_processing.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/api/ocr.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::ser::SerializeStruct` [INFO] [stderr] --> src/api/service_message.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde::ser::SerializeStruct; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serializer` [INFO] [stderr] --> src/api/service_message.rs:7:37 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/api/subscribe_message.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CREATE_WXA_QRCODE_URL` is never used [INFO] [stderr] --> src/api/qrcode.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const CREATE_WXA_QRCODE_URL: &str = "https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-wechat-weapp` (lib) generated 6 warnings (run `cargo fix --lib -p rust-wechat-weapp` to apply 5 suggestions) [INFO] [stderr] warning: `rust-wechat-weapp` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused import: `Code2Session` [INFO] [stderr] --> tests/code2session.rs:1:36 [INFO] [stderr] | [INFO] [stderr] 1 | use rust_wechat_weapp::api::auth::{Code2Session, Code2SessionResponse}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-wechat-weapp` (test "test_code2session") generated 1 warning (run `cargo fix --test "test_code2session"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_wechat_weapp-4c6b2f3ed4bf8ebf) [INFO] [stderr] Running tests/code2session.rs (/opt/rustwide/target/debug/deps/test_code2session-600492ae6a07df0a) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_serde ... ok [INFO] [stderr] error: test failed, to rerun pass `--test test_code2session` [INFO] [stdout] test test_code2session ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_code2session stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_code2session' (26) panicked at tests/code2session.rs:21:52: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: WechatError(RequestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.weixin.qq.com")), port: None, path: "/sns/jscode2session", query: Some("grant_type=authorization_code&appid=wxe2410fe587598a28&secret=&js_code=0b35hNkl2jpizf4Ax4nl22Mtpv45hNk7"), fragment: None }, source: hyper::Error(Connect, "invalid URL, scheme is not http") })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ed22a472152 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ed22a472152 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ed22a472152 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ed22a472152 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ed22a4836bf - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ed22a4836bf - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ed22a43d971 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ed22a43d971 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ed22a44a9c2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ed22a44f7ef - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ed22a44f681 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ed22a0407de - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5ed22a0407de - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ed22a44ff5f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5ed22a44ff5f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ed22a44fd0a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5ed22a44ab09 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ed22a4320ad - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ed22a48c440 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5ed22a48b916 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5ed22a0104d9 - core::result::Result::unwrap::h68c1d60c92af598d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5ed22a0104d9 - test_code2session::test_code2session::{{closure}}::h9c223deb50e067a0 [INFO] [stdout] at /opt/rustwide/workdir/tests/code2session.rs:21:52 [INFO] [stdout] 22: 0x5ed22a00c132 - as core::future::future::Future>::poll::he838e9d75108fd2f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x5ed22a00c0ad - as core::future::future::Future>::poll::h737bd0b38ebc20e0 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x5ed22a0076bd - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h44f2bd7295f91ac9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:733:70 [INFO] [stdout] 25: 0x5ed22a0075bb - tokio::task::coop::with_budget::hb8936f2cf5622740 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/task/coop/mod.rs:167:5 [INFO] [stdout] 26: 0x5ed22a0075bb - tokio::task::coop::budget::h567f50be28bb9f43 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/task/coop/mod.rs:133:5 [INFO] [stdout] 27: 0x5ed22a0075bb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hf715466fc89b3e5f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:733:25 [INFO] [stdout] 28: 0x5ed22a004a60 - tokio::runtime::scheduler::current_thread::Context::enter::h54731ba6d75d8a2e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 29: 0x5ed22a006aed - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::ha2e3d616ee47d64b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:732:44 [INFO] [stdout] 30: 0x5ed22a005d04 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h03bb9b8e99279493 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:820:68 [INFO] [stdout] 31: 0x5ed22a016f4b - tokio::runtime::context::scoped::Scoped::set::h0b81e9ea9f6bc46a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x5ed22a0123f9 - tokio::runtime::context::set_scheduler::{{closure}}::h43f38f869868c423 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context.rs:176:38 [INFO] [stdout] 33: 0x5ed22a002d42 - std::thread::local::LocalKey::try_with::h835e22addc673a68 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 34: 0x5ed22a0024ae - std::thread::local::LocalKey::with::ha043bf3b7f193efa [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 35: 0x5ed22a01236d - tokio::runtime::context::set_scheduler::h04a3c75781d1a3b8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context.rs:176:17 [INFO] [stdout] 36: 0x5ed22a005690 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h4aa4a10c333a82fe [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:820:27 [INFO] [stdout] 37: 0x5ed22a005da3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hb0540c1ba5d59405 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:720:24 [INFO] [stdout] 38: 0x5ed22a003ce0 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h603704bebfeec41c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 39: 0x5ed22a0129d0 - tokio::runtime::context::runtime::enter_runtime::h81ee17926ba560dc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x5ed22a003aa1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd098d365c5de65d6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 41: 0x5ed22a0171c4 - tokio::runtime::runtime::Runtime::block_on_inner::hb053109a76e6bd2a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/runtime.rs:356:52 [INFO] [stdout] 42: 0x5ed22a017387 - tokio::runtime::runtime::Runtime::block_on::h95b0965fa81a26cd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/runtime.rs:330:18 [INFO] [stdout] 43: 0x5ed22a010163 - test_code2session::test_code2session::hd0b3958912be3411 [INFO] [stdout] at /opt/rustwide/workdir/tests/code2session.rs:22:13 [INFO] [stdout] 44: 0x5ed22a010617 - test_code2session::test_code2session::{{closure}}::hd7fc608228be6ddb [INFO] [stdout] at /opt/rustwide/workdir/tests/code2session.rs:18:29 [INFO] [stdout] 45: 0x5ed22a0088c6 - core::ops::function::FnOnce::call_once::hc5b31f454f831a5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5ed22a0405bb - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x5ed22a0405bb - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x5ed22a0561e5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x5ed22a0561e5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 50: 0x5ed22a0561e5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 51: 0x5ed22a0561e5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 52: 0x5ed22a0561e5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x5ed22a0561e5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x5ed22a0561e5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x5ed22a02c9f4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x5ed22a02c9f4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 57: 0x5ed22a03039a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x5ed22a03039a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 59: 0x5ed22a03039a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 60: 0x5ed22a03039a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 61: 0x5ed22a03039a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x5ed22a03039a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x5ed22a03039a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x5ed22a445c3f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 65: 0x5ed22a445c3f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 66: 0x7a3974639aa4 - [INFO] [stdout] 67: 0x7a39746c6a34 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_code2session [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e412182ce89f66a176c7217ac79d58aef73b276b0c5c56c761a5efd78df8c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e412182ce89f66a176c7217ac79d58aef73b276b0c5c56c761a5efd78df8c2e", kill_on_drop: false }` [INFO] [stdout] 0e412182ce89f66a176c7217ac79d58aef73b276b0c5c56c761a5efd78df8c2e