[INFO] fetching crate lucky-command 0.2.1...
[INFO] testing lucky-command-0.2.1 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate lucky-command 0.2.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate lucky-command 0.2.1
[INFO] finished tweaking crates.io crate lucky-command 0.2.1
[INFO] tweaked toml for crates.io crate lucky-command 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lucky-command 0.2.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lucky-command 0.2.1 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26
[INFO] running `Command { std: "docker" "start" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling openssl v0.10.61
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling futures-sink v0.3.29
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-io v0.3.29
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling syn v2.0.40
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling dtoa v1.0.9
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling tokio v1.35.0
[INFO] [stderr]    Compiling dtoa-short v0.3.4
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling anstyle v1.0.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling anstream v0.6.5
[INFO] [stderr]    Compiling servo_arc v0.3.0
[INFO] [stderr]    Compiling openssl-sys v0.9.97
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling zerocopy v0.7.30
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling clap_lex v0.6.0
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling clap_builder v4.4.11
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling selectors v0.25.0
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling markup5ever v0.11.0
[INFO] [stderr]    Compiling ego-tree v0.6.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.58
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling base64 v0.21.5
[INFO] [stderr]    Compiling termcolor v1.4.0
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling qrcode v0.13.0
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling directories v5.0.1
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling cssparser v0.31.2
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling html5ever v0.26.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling env_logger v0.10.1
[INFO] [stderr]    Compiling clap v4.4.11
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.22
[INFO] [stderr]    Compiling scraper v0.18.1
[INFO] [stderr]    Compiling lucky-command v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `clap::arg`
[INFO] [stdout]  --> src/baseopt/encode.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::arg;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_cid` is never used
[INFO] [stdout]   --> src/bilibili/service.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn get_cid(bvid: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `download_url` is never used
[INFO] [stdout]   --> src/bilibili/service.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn download_url(bvid: &str, cid: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NAV_URL` is never used
[INFO] [stdout]   --> src/bilibili/token.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 | const NAV_URL: &str = "https://api.bilibili.com/x/web-interface/nav";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIXIN_KEY_ENC_TAB` is never used
[INFO] [stdout]   --> src/bilibili/token.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const MIXIN_KEY_ENC_TAB: [u8; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `encode_wbi`, `mix_in_key`, and `get_img_sub_url` are never used
[INFO] [stdout]    --> src/bilibili/token.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  59 | impl Token {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn encode_wbi(&self, params: &mut Vec<(&str, String)>) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn mix_in_key(&self) -> Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn get_img_sub_url(&self) -> Result<(String, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_current_unix_second` is never used
[INFO] [stdout]    --> src/bilibili/token.rs:248:8
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn get_current_unix_second() -> Result<u64> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.88s
[INFO] running `Command { std: "docker" "inspect" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling lucky-command v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `clap::arg`
[INFO] [stdout]  --> src/baseopt/encode.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::arg;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_cid` is never used
[INFO] [stdout]   --> src/bilibili/service.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn get_cid(bvid: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `download_url` is never used
[INFO] [stdout]   --> src/bilibili/service.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn download_url(bvid: &str, cid: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NAV_URL` is never used
[INFO] [stdout]   --> src/bilibili/token.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 | const NAV_URL: &str = "https://api.bilibili.com/x/web-interface/nav";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIXIN_KEY_ENC_TAB` is never used
[INFO] [stdout]   --> src/bilibili/token.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const MIXIN_KEY_ENC_TAB: [u8; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `encode_wbi`, `mix_in_key`, and `get_img_sub_url` are never used
[INFO] [stdout]    --> src/bilibili/token.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  59 | impl Token {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn encode_wbi(&self, params: &mut Vec<(&str, String)>) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn mix_in_key(&self) -> Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn get_img_sub_url(&self) -> Result<(String, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_current_unix_second` is never used
[INFO] [stdout]    --> src/bilibili/token.rs:248:8
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn get_current_unix_second() -> Result<u64> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s
[INFO] running `Command { std: "docker" "inspect" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `clap::arg`
[INFO] [stderr]  --> src/baseopt/encode.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use clap::arg;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_cid` is never used
[INFO] [stderr]   --> src/bilibili/service.rs:31:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub fn get_cid(bvid: &str) -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `download_url` is never used
[INFO] [stderr]   --> src/bilibili/service.rs:41:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub fn download_url(bvid: &str, cid: &str) -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `NAV_URL` is never used
[INFO] [stderr]   --> src/bilibili/token.rs:38:7
[INFO] [stderr]    |
[INFO] [stderr] 38 | const NAV_URL: &str = "https://api.bilibili.com/x/web-interface/nav";
[INFO] [stderr]    |       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MIXIN_KEY_ENC_TAB` is never used
[INFO] [stderr]   --> src/bilibili/token.rs:44:7
[INFO] [stderr]    |
[INFO] [stderr] 44 | const MIXIN_KEY_ENC_TAB: [u8; 64] = [
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `encode_wbi`, `mix_in_key`, and `get_img_sub_url` are never used
[INFO] [stderr]    --> src/bilibili/token.rs:74:12
[INFO] [stderr]     |
[INFO] [stderr]  59 | impl Token {
[INFO] [stderr]     | ---------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  74 |     pub fn encode_wbi(&self, params: &mut Vec<(&str, String)>) -> Result<String> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     fn mix_in_key(&self) -> Result<String> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 116 |     fn get_img_sub_url(&self) -> Result<(String, String)> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_current_unix_second` is never used
[INFO] [stderr]    --> src/bilibili/token.rs:248:8
[INFO] [stderr]     |
[INFO] [stderr] 248 | pub fn get_current_unix_second() -> Result<u64> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `lucky-command` (bin "lucky-command" test) generated 7 warnings (run `cargo fix --bin "lucky-command" -p lucky-command --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/lucky-command/024e2e30758e5af1/out/lucky_command-024e2e30758e5af1)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test bilibili::token::tests::test_generate_qr_code ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- bilibili::token::tests::test_generate_qr_code stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'bilibili::token::tests::test_generate_qr_code' (2551) panicked at src/bilibili/token.rs:290:44:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: error sending request for url (https://passport.bilibili.com/x/passport-login/web/qrcode/generate): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
[INFO] [stdout] 
[INFO] [stdout] Caused by:
[INFO] [stdout]     0: error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
[INFO] [stdout]     1: dns error: failed to lookup address information: Temporary failure in name resolution
[INFO] [stdout]     2: failed to lookup address information: Temporary failure in name resolution
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x556a168e7af1 - std[617be2ca0a6fd877]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x556a168e7af1 - std[617be2ca0a6fd877]::backtrace_rs::backtrace::trace_unsynchronized::<std[617be2ca0a6fd877]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x556a168e7af1 - std[617be2ca0a6fd877]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x556a168e7af1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x556a168fd90a - <core[a373ad73a504971]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x556a168fd90a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    6:     0x556a168ec33c - core[a373ad73a504971]::io::write::default_write_fmt::<alloc[2e1b2a31b91974c5]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/io/write.rs:402:11
[INFO] [stdout]    7:     0x556a168ec33c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/io/write.rs:335:13
[INFO] [stdout]    8:     0x556a168c2936 - <std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x556a168c2936 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:289:27
[INFO] [stdout]   10:     0x556a168df7d9 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:313:9
[INFO] [stdout]   11:     0x556a16485d90 - <alloc[2e1b2a31b91974c5]::boxed::Box<dyn for<'a, 'b> core[a373ad73a504971]::ops::function::Fn<(&'a std[617be2ca0a6fd877]::panic::PanicHookInfo<'b>,), Output = ()> + core[a373ad73a504971]::marker::Sync + core[a373ad73a504971]::marker::Send> as core[a373ad73a504971]::ops::function::Fn<(&std[617be2ca0a6fd877]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/alloc/src/boxed.rs:2328:9
[INFO] [stdout]   12:     0x556a16485d90 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x556a168dfb02 - <alloc[2e1b2a31b91974c5]::boxed::Box<dyn for<'a, 'b> core[a373ad73a504971]::ops::function::Fn<(&'a std[617be2ca0a6fd877]::panic::PanicHookInfo<'b>,), Output = ()> + core[a373ad73a504971]::marker::Sync + core[a373ad73a504971]::marker::Send> as core[a373ad73a504971]::ops::function::Fn<(&std[617be2ca0a6fd877]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/alloc/src/boxed.rs:2328:9
[INFO] [stdout]   14:     0x556a168dfb02 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:819:13
[INFO] [stdout]   15:     0x556a168c29e2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:685:13
[INFO] [stdout]   16:     0x556a168bb3d9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x556a168c387d - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:676:5
[INFO] [stdout]   18:     0x556a168fe15c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x556a168fde82 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/result.rs:1870:5
[INFO] [stdout]   20:     0x556a1647818b - <core[a373ad73a504971]::result::Result<lucky_command[591da630a0ebbaa]::bilibili::token::Token, anyhow[f59b9446b76fbcfc]::Error>>::unwrap
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/result.rs:1232:23
[INFO] [stdout]   21:     0x556a1647818b - lucky_command[591da630a0ebbaa]::bilibili::token::tests::test_generate_qr_code
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bilibili/token.rs:290:44
[INFO] [stdout]   22:     0x556a16475e87 - lucky_command[591da630a0ebbaa]::bilibili::token::tests::test_generate_qr_code::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bilibili/token.rs:289:31
[INFO] [stdout]   23:     0x556a16464166 - <lucky_command[591da630a0ebbaa]::bilibili::token::tests::test_generate_qr_code::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x556a164791db - <fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String> as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x556a164791db - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:701:18
[INFO] [stdout]   26:     0x556a164863b5 - test[aada8e7e76ba119b]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:724:74
[INFO] [stdout]   27:     0x556a164863b5 - <core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<test[aada8e7e76ba119b]::run_test_in_process::{closure#0}> as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x556a164863b5 - std[617be2ca0a6fd877]::panicking::catch_unwind::do_call::<core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<test[aada8e7e76ba119b]::run_test_in_process::{closure#0}>, core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:573:43
[INFO] [stdout]   29:     0x556a164863b5 - std[617be2ca0a6fd877]::panicking::catch_unwind::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<test[aada8e7e76ba119b]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:541:19
[INFO] [stdout]   30:     0x556a164863b5 - std[617be2ca0a6fd877]::panic::catch_unwind::<core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<test[aada8e7e76ba119b]::run_test_in_process::{closure#0}>, core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x556a164863b5 - test[aada8e7e76ba119b]::run_test_in_process
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:724:27
[INFO] [stdout]   32:     0x556a164863b5 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:645:43
[INFO] [stdout]   33:     0x556a1647fca4 - test[aada8e7e76ba119b]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:675:41
[INFO] [stdout]   34:     0x556a1647fca4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x556a16489442 - std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x556a16489442 - <core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x556a16489442 - std[617be2ca0a6fd877]::panicking::catch_unwind::do_call::<core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:573:43
[INFO] [stdout]   38:     0x556a16489442 - std[617be2ca0a6fd877]::panicking::catch_unwind::<(), core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:541:19
[INFO] [stdout]   39:     0x556a16489442 - std[617be2ca0a6fd877]::panic::catch_unwind::<core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe<std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x556a16489442 - std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x556a16489442 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x556a168e6f9f - <alloc[2e1b2a31b91974c5]::boxed::Box<dyn core[a373ad73a504971]::ops::function::FnOnce<(), Output = ()> + core[a373ad73a504971]::marker::Send> as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/alloc/src/boxed.rs:2314:9
[INFO] [stdout]   43:     0x556a168e6f9f - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   44:     0x7a4465485dfa - <unknown>
[INFO] [stdout]   45:     0x7a44655193d4 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     bilibili::token::tests::test_generate_qr_code
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin lucky-command`
[INFO] running `Command { std: "docker" "inspect" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26", kill_on_drop: false }`
[INFO] [stdout] ad01fffc24bbe2d6a3f346a29e7422b96c875dcb4a415fa62d27617d45e96c26
