[INFO] fetching crate wechat-minapp 3.2.8... [INFO] testing wechat-minapp-3.2.8 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate wechat-minapp 3.2.8 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wechat-minapp 3.2.8 [INFO] finished tweaking crates.io crate wechat-minapp 3.2.8 [INFO] tweaked toml for crates.io crate wechat-minapp 3.2.8 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wechat-minapp 3.2.8 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wechat-minapp 3.2.8 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls v0.23.33 [INFO] [stderr] Downloaded syn v2.0.107 [INFO] [stderr] Downloaded flate2 v1.1.4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24a086527dde8d16420f929947815f40f7d8974f740312855ed66cf7a89d70b0 [INFO] running `Command { std: "docker" "start" "-a" "24a086527dde8d16420f929947815f40f7d8974f740312855ed66cf7a89d70b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24a086527dde8d16420f929947815f40f7d8974f740312855ed66cf7a89d70b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24a086527dde8d16420f929947815f40f7d8974f740312855ed66cf7a89d70b0", kill_on_drop: false }` [INFO] [stdout] 24a086527dde8d16420f929947815f40f7d8974f740312855ed66cf7a89d70b0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85ac8ca17ba74952b931fab47c79cc924ea05a1b15648a7df5ee8c5668498e56 [INFO] running `Command { std: "docker" "start" "-a" "85ac8ca17ba74952b931fab47c79cc924ea05a1b15648a7df5ee8c5668498e56", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling wechat-minapp v3.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.12s [INFO] running `Command { std: "docker" "inspect" "85ac8ca17ba74952b931fab47c79cc924ea05a1b15648a7df5ee8c5668498e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ac8ca17ba74952b931fab47c79cc924ea05a1b15648a7df5ee8c5668498e56", kill_on_drop: false }` [INFO] [stdout] 85ac8ca17ba74952b931fab47c79cc924ea05a1b15648a7df5ee8c5668498e56 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccacdbd97e5fcdd31adee6b026d4510bdad38063612f850f43f980c1c05e7a9d [INFO] running `Command { std: "docker" "start" "-a" "ccacdbd97e5fcdd31adee6b026d4510bdad38063612f850f43f980c1c05e7a9d", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling wechat-minapp v3.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 46.08s [INFO] running `Command { std: "docker" "inspect" "ccacdbd97e5fcdd31adee6b026d4510bdad38063612f850f43f980c1c05e7a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccacdbd97e5fcdd31adee6b026d4510bdad38063612f850f43f980c1c05e7a9d", kill_on_drop: false }` [INFO] [stdout] ccacdbd97e5fcdd31adee6b026d4510bdad38063612f850f43f980c1c05e7a9d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bad7c07e0c0fe4ff0f87f002a975e9f7c066ed832d42604a61e26237ca5ddb96 [INFO] running `Command { std: "docker" "start" "-a" "bad7c07e0c0fe4ff0f87f002a975e9f7c066ed832d42604a61e26237ca5ddb96", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wechat_minapp-3c9fb8920b25aae0) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test minapp_security::tests::test_serialization ... ok [INFO] [stdout] test minapp_security::msg_sec_check::tests::test_args_builder_validation ... ok [INFO] [stdout] test minapp_security::tests::test_suggest_enum ... ok [INFO] [stdout] test minapp_security::msg_sec_check::tests::test_scene_enum ... ok [INFO] [stdout] test minapp_security::msg_sec_check::tests::test_msg_sec_check_result_with_risk ... ok [INFO] [stdout] test minapp_security::msg_sec_check::tests::test_args_builder ... ok [INFO] [stdout] test minapp_security::msg_sec_check::tests::test_msg_sec_check_result ... ok [INFO] [stdout] test new_type::non_query_page_path::tests::test_conversions ... ok [INFO] [stdout] test new_type::non_query_page_path::tests::test_display ... ok [INFO] [stdout] test new_type::non_query_page_path::tests::test_invalid_page_paths ... ok [INFO] [stdout] test new_type::scene::tests::test_conversions ... ok [INFO] [stdout] test new_type::non_query_page_path::tests::test_valid_page_paths ... ok [INFO] [stdout] test new_type::scene::tests::test_valid_string ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests wechat_minapp [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check::MsgSecCheckResult (line 381) - compile ... ok [INFO] [stdout] test src/link/short_link.rs - link::short_link::ShortLink (line 45) - compile ... FAILED [INFO] [stdout] test src/link/short_link.rs - link::short_link::Link::short_link (line 195) - compile ... FAILED [INFO] [stdout] test src/qr/minapp_code.rs - qr::minapp_code (line 14) - compile ... ok [INFO] [stdout] test src/client/mod.rs - client (line 15) - compile ... ok [INFO] [stdout] test src/qr/minapp_code.rs - qr::minapp_code (line 67) - compile ... FAILED [INFO] [stdout] test src/error.rs - error (line 16) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) - compile ... ok [INFO] [stdout] test src/link/short_link.rs - link::short_link (line 10) - compile ... FAILED [INFO] [stdout] test src/client/mod.rs - client (line 29) - compile ... ok [INFO] [stdout] test src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check::MinappSecurity::msg_sec_check (line 481) - compile ... ok [INFO] [stdout] test src/qr/minapp_code.rs - qr::minapp_code (line 98) - compile ... ok [INFO] [stdout] test src/qr/minapp_code.rs - qr::minapp_code::QrCode (line 146) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 35) - compile ... FAILED [INFO] [stdout] test src/link/short_link.rs - link::short_link::ShortLinkArgsBuilder (line 91) ... FAILED [INFO] [stdout] test src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code (line 61) - compile ... FAILED [INFO] [stdout] test src/qr/minapp_code.rs - qr::minapp_code::Qr::qr_code (line 420) - compile ... ok [INFO] [stdout] test src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check (line 23) - compile ... ok [INFO] [stdout] test src/user/mod.rs - user (line 7) - compile ... FAILED [INFO] [stdout] test src/user/user_info.rs - user::user_info::User::get_contact (line 260) - compile ... FAILED [INFO] [stdout] test src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code (line 14) - compile ... ok [INFO] [stdout] test src/user/mod.rs - user (line 26) - compile ... FAILED [INFO] [stdout] test src/user/credential.rs - user::credential::Credential::decrypt (line 47) - compile ... FAILED [INFO] [stdout] test src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code::Qr::unlimited_qr_code (line 339) - compile ... ok [INFO] [stdout] test src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code (line 93) - compile ... ok [INFO] [stdout] test src/user/mod.rs - user (line 49) - compile ... FAILED [INFO] [stdout] test src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check::Scene (line 71) ... ok [INFO] [stdout] test src/user/user_info.rs - user::user_info::UserInfo (line 16) - compile ... FAILED [INFO] [stdout] test src/user/user_info.rs - user::user_info::User::login (line 195) - compile ... FAILED [INFO] [stdout] test src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check::Args (line 110) ... FAILED [INFO] [stdout] test src/qr/minapp_code.rs - qr::minapp_code::QrCodeArgBuilder (line 212) ... FAILED [INFO] [stdout] test src/qr/minapp_code.rs - qr::minapp_code::Rgb (line 241) ... ok [INFO] [stdout] test src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check::ArgsBuilder (line 144) ... ok [INFO] [stdout] test src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code::UnlimitedQrCodeArgsBuilder (line 175) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/link/short_link.rs - link::short_link::ShortLink (line 45) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::Link` [INFO] [stdout] --> src/link/short_link.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | use wechat_minapp::Link::{ShortLinkArgs,Link}; [INFO] [stdout] | ^^^^ could not find `Link` in `wechat_minapp` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/link/short_link.rs - link::short_link::Link::short_link (line 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::Link` [INFO] [stdout] --> src/link/short_link.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | use wechat_minapp::Link::{ShortLinkArgs,Link}; [INFO] [stdout] | ^^^^ could not find `Link` in `wechat_minapp` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/qr/minapp_code.rs - qr::minapp_code (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgb` [INFO] [stdout] --> src/qr/minapp_code.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | .line_color(Rgb::new(255, 0, 0)) // 红色线条 [INFO] [stdout] | ^^^ use of undeclared type `Rgb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + use wechat_minapp::qr::Rgb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error (line 16) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/error.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | async fn make_api_request() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 16 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 16 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 16 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 16 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/link/short_link.rs - link::short_link (line 10) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::Link` [INFO] [stdout] --> src/link/short_link.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use wechat_minapp::Link::{ShortLinkArgs,Link}; [INFO] [stdout] | ^^^^ could not find `Link` in `wechat_minapp` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:47:62 [INFO] [stdout] | [INFO] [stdout] 47 | let client = WechatMinapp::custom(http_client, token_storage) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 48 | } _doctest_main_src_lib_rs_35_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let http_client = Arc::new(ReqwestHttpClient::new()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let token_type = Arc::new(Normal::new( [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app_id` in this scope [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | &app_id, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `secret` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | &secret, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let token_storage = Arc::new(MemoryTokenStorage::new(token_type)); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Normal` [INFO] [stdout] --> src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let token_type = Arc::new(Normal::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Normal` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `core::intrinsics::mir::BasicBlock::Normal` and 6 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 41 - let token_type = Arc::new(Normal::new( [INFO] [stdout] 41 + let token_type = Arc::new(core::intrinsics::mir::BasicBlock::new( [INFO] [stdout] | [INFO] [stdout] 41 - let token_type = Arc::new(Normal::new( [INFO] [stdout] 41 + let token_type = Arc::new(core::num::FpCategory::new( [INFO] [stdout] | [INFO] [stdout] 41 - let token_type = Arc::new(Normal::new( [INFO] [stdout] 41 + let token_type = Arc::new(std::intrinsics::mir::BasicBlock::new( [INFO] [stdout] | [INFO] [stdout] 41 - let token_type = Arc::new(Normal::new( [INFO] [stdout] 41 + let token_type = Arc::new(std::num::FpCategory::new( [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/link/short_link.rs - link::short_link::ShortLinkArgsBuilder (line 91) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::Link` [INFO] [stdout] --> src/link/short_link.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | use wechat_minapp::Link::ShortLinkArgs; [INFO] [stdout] | ^^^^ could not find `Link` in `wechat_minapp` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rgb` [INFO] [stdout] --> src/qr/unlimited_minapp_code.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | .line_color(Rgb::new(255, 0, 0)) // 红色线条 [INFO] [stdout] | ^^^ use of undeclared type `Rgb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 63 + use wechat_minapp::qr::Rgb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/user/mod.rs - user (line 7) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::user::Contact` [INFO] [stdout] --> src/user/mod.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use wechat_minapp::user::{User, Contact}; [INFO] [stdout] | ^^^^^^^ no `Contact` in `user` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/user/user_info.rs - user::user_info::User::get_contact (line 260) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::user::Contact` [INFO] [stdout] --> src/user/user_info.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | use wechat_minapp::user::{User, Contact}; [INFO] [stdout] | ^^^^^^^ no `Contact` in `user` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/user/mod.rs - user (line 26) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::user::Contact` [INFO] [stdout] --> src/user/mod.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | use wechat_minapp::user::{User, Contact}; [INFO] [stdout] | ^^^^^^^ no `Contact` in `user` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `encrypted_data` in this scope [INFO] [stdout] --> src/user/mod.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iv` in this scope [INFO] [stdout] --> src/user/mod.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/user/credential.rs - user::credential::Credential::decrypt (line 47) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::user::Contact` [INFO] [stdout] --> src/user/credential.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | use wechat_minapp::user::{User, Contact}; [INFO] [stdout] | ^^^^^^^ no `Contact` in `user` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `encrypted_data` in this scope [INFO] [stdout] --> src/user/credential.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iv` in this scope [INFO] [stdout] --> src/user/credential.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/user/mod.rs - user (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::user::Contact` [INFO] [stdout] --> src/user/mod.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | use wechat_minapp::user::{User, Contact}; [INFO] [stdout] | ^^^^^^^ no `Contact` in `user` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `credential` in this scope [INFO] [stdout] --> src/user/mod.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `encrypted_data` in this scope [INFO] [stdout] --> src/user/mod.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iv` in this scope [INFO] [stdout] --> src/user/mod.rs:60:53 [INFO] [stdout] | [INFO] [stdout] 60 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/user/user_info.rs - user::user_info::UserInfo (line 16) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::user::Contact` [INFO] [stdout] --> src/user/user_info.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | use wechat_minapp::user::{User, Contact}; [INFO] [stdout] | ^^^^^^^ no `Contact` in `user` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `encrypted_data` in this scope [INFO] [stdout] --> src/user/user_info.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iv` in this scope [INFO] [stdout] --> src/user/user_info.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | let info = credential.decrypt(&encrypted_data, &iv)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/user/user_info.rs - user::user_info::User::login (line 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wechat_minapp::user::Contact` [INFO] [stdout] --> src/user/user_info.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | use wechat_minapp::user::{User, Contact}; [INFO] [stdout] | ^^^^^^^ no `Contact` in `user` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check::Args (line 110) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (329) panicked at src/minapp_security/msg_sec_check.rs:8:1: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 24 [INFO] [stdout] right: 18 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62746f8e1082 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62746f8e1082 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62746f8e1082 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62746f8e1082 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62746f8efc0f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x62746f8efc0f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x62746f8bfd83 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62746f8bfd83 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x62746f8c4e22 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x62746f8c664c - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x62746f8c64a6 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x62746f8c6c25 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x62746f8c6aba - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x62746f8c4f59 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x62746f8b4a4d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x62746f8f2b70 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x62746f8f2a13 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 17: 0x62746f8f2857 - core::panicking::assert_failed::h7f69869b372dcbfe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 18: 0x62746f8b3ba1 - rust_out::main::_doctest_main_src_minapp_security_msg_sec_check_rs_110_0::hcc3d9f526fc5a1c4 [INFO] [stdout] 19: 0x62746f8b3ad6 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 20: 0x62746f8b3973 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 21: 0x62746f8b3956 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 22: 0x62746f8b3939 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 23: 0x62746f8c0ea0 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x62746f8c0ea0 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x62746f8c0ea0 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x62746f8c0ea0 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x62746f8c0ea0 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x62746f8c0ea0 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x62746f8c0ea0 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x62746f8c0ea0 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x62746f8c0ea0 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x62746f8b3921 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 33: 0x62746f8b3c25 - main [INFO] [stdout] 34: 0x7be17aba41ca - [INFO] [stdout] 35: 0x7be17aba428b - __libc_start_main [INFO] [stdout] 36: 0x62746f8b3675 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/qr/minapp_code.rs - qr::minapp_code::QrCodeArgBuilder (line 212) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (332) panicked at src/qr/minapp_code.rs:15:6: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: InvalidParameter("auto_color 为 true 时,line_color 不能设置") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59851e7f3702 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59851e7f3702 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59851e7f3702 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59851e7f3702 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59851e802eaf - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59851e802eaf - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x59851e7d2403 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59851e7d2403 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59851e7d74a2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59851e7d8ccc - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59851e7d8b26 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x59851e7d92a5 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x59851e7d913a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x59851e7d75d9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x59851e7c70cd - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x59851e806870 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x59851e805e66 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x59851e74cf2c - rust_out::main::_doctest_main_src_qr_minapp_code_rs_212_0::h25aedf13239c4dd7 [INFO] [stdout] 18: 0x59851e74cd16 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 19: 0x59851e74c103 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 20: 0x59851e74c006 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 21: 0x59851e74bfe9 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 22: 0x59851e7d3520 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x59851e7d3520 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x59851e7d3520 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x59851e7d3520 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x59851e7d3520 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x59851e7d3520 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x59851e7d3520 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x59851e7d3520 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x59851e7d3520 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x59851e74bfd1 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 32: 0x59851e74cfd5 - main [INFO] [stdout] 33: 0x7477e80361ca - [INFO] [stdout] 34: 0x7477e803628b - __libc_start_main [INFO] [stdout] 35: 0x59851e74bde5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code::UnlimitedQrCodeArgsBuilder (line 175) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (349) panicked at src/qr/unlimited_minapp_code.rs:14:6: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: InvalidParameter("scene 不能为空") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57409730b7c2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57409730b7c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57409730b7c2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57409730b7c2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57409731af6f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57409731af6f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5740972ea4c3 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5740972ea4c3 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5740972ef562 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5740972f0d8c - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5740972f0be6 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5740972f1365 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5740972f11fa - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5740972ef699 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5740972df18d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x57409731e930 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x57409731df26 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x574097263984 - rust_out::main::_doctest_main_src_qr_unlimited_minapp_code_rs_175_0::h9cacd33a20a217ce [INFO] [stdout] 18: 0x574097263786 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 19: 0x574097262ad3 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 20: 0x5740972629d6 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 21: 0x5740972629b9 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 22: 0x5740972eb5e0 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5740972eb5e0 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5740972eb5e0 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5740972eb5e0 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5740972eb5e0 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5740972eb5e0 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5740972eb5e0 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5740972eb5e0 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5740972eb5e0 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5740972629a1 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 32: 0x574097263a35 - main [INFO] [stdout] 33: 0x71cac436b1ca - [INFO] [stdout] 34: 0x71cac436b28b - __libc_start_main [INFO] [stdout] 35: 0x5740972627b5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/error.rs - error (line 16) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/link/short_link.rs - link::short_link (line 10) [INFO] [stdout] src/link/short_link.rs - link::short_link::Link::short_link (line 195) [INFO] [stdout] src/link/short_link.rs - link::short_link::ShortLink (line 45) [INFO] [stdout] src/link/short_link.rs - link::short_link::ShortLinkArgsBuilder (line 91) [INFO] [stdout] src/minapp_security/msg_sec_check.rs - minapp_security::msg_sec_check::Args (line 110) [INFO] [stdout] src/qr/minapp_code.rs - qr::minapp_code (line 67) [INFO] [stdout] src/qr/minapp_code.rs - qr::minapp_code::QrCodeArgBuilder (line 212) [INFO] [stdout] src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code (line 61) [INFO] [stdout] src/qr/unlimited_minapp_code.rs - qr::unlimited_minapp_code::UnlimitedQrCodeArgsBuilder (line 175) [INFO] [stdout] src/user/credential.rs - user::credential::Credential::decrypt (line 47) [INFO] [stdout] src/user/mod.rs - user (line 26) [INFO] [stdout] src/user/mod.rs - user (line 49) [INFO] [stdout] src/user/mod.rs - user (line 7) [INFO] [stdout] src/user/user_info.rs - user::user_info::User::get_contact (line 260) [INFO] [stdout] src/user/user_info.rs - user::user_info::User::login (line 195) [INFO] [stdout] src/user/user_info.rs - user::user_info::UserInfo (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.13s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.51s; merged doctests compilation took 0.37s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bad7c07e0c0fe4ff0f87f002a975e9f7c066ed832d42604a61e26237ca5ddb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad7c07e0c0fe4ff0f87f002a975e9f7c066ed832d42604a61e26237ca5ddb96", kill_on_drop: false }` [INFO] [stdout] bad7c07e0c0fe4ff0f87f002a975e9f7c066ed832d42604a61e26237ca5ddb96