[INFO] fetching crate lucky-command 0.2.1... [INFO] testing lucky-command-0.2.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate lucky-command 0.2.1 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lucky-command 0.2.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21de6ccf4b21ca3336d618624c9de146acb8ed58e1d0e3c13630abca1afe24f7 [INFO] running `Command { std: "docker" "start" "-a" "21de6ccf4b21ca3336d618624c9de146acb8ed58e1d0e3c13630abca1afe24f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21de6ccf4b21ca3336d618624c9de146acb8ed58e1d0e3c13630abca1afe24f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21de6ccf4b21ca3336d618624c9de146acb8ed58e1d0e3c13630abca1afe24f7", kill_on_drop: false }` [INFO] [stdout] 21de6ccf4b21ca3336d618624c9de146acb8ed58e1d0e3c13630abca1afe24f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ac5f6b9096361d0d6639f105f016e71b8e0262f4138b8e3efaeb7a07d27dc7 [INFO] running `Command { std: "docker" "start" "-a" "56ac5f6b9096361d0d6639f105f016e71b8e0262f4138b8e3efaeb7a07d27dc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling zerocopy v0.7.30 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling qrcode v0.13.0 [INFO] [stderr] Compiling regex v1.10.2 [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 phf v0.11.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling clap v4.4.11 [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 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 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn mix_in_key(&self) -> Result { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.04s [INFO] running `Command { std: "docker" "inspect" "56ac5f6b9096361d0d6639f105f016e71b8e0262f4138b8e3efaeb7a07d27dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ac5f6b9096361d0d6639f105f016e71b8e0262f4138b8e3efaeb7a07d27dc7", kill_on_drop: false }` [INFO] [stdout] 56ac5f6b9096361d0d6639f105f016e71b8e0262f4138b8e3efaeb7a07d27dc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21dc1f900d4316ca371c7a04ab8d9ea49dee0252136cb271e6c48b3ad297b83c [INFO] running `Command { std: "docker" "start" "-a" "21dc1f900d4316ca371c7a04ab8d9ea49dee0252136cb271e6c48b3ad297b83c", 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 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn mix_in_key(&self) -> Result { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "21dc1f900d4316ca371c7a04ab8d9ea49dee0252136cb271e6c48b3ad297b83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21dc1f900d4316ca371c7a04ab8d9ea49dee0252136cb271e6c48b3ad297b83c", kill_on_drop: false }` [INFO] [stdout] 21dc1f900d4316ca371c7a04ab8d9ea49dee0252136cb271e6c48b3ad297b83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 584c8763230efc2d6f28ed0118fb68c06d5dc4dca21c0156299dacdcb2b302ae [INFO] running `Command { std: "docker" "start" "-a" "584c8763230efc2d6f28ed0118fb68c06d5dc4dca21c0156299dacdcb2b302ae", 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 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | fn mix_in_key(&self) -> Result { [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 { [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.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lucky_command-fee91c1352e757ee) [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' (25) 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: 0x5d9b143069a2 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d9b143069a2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d9b143069a2 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d9b143069a2 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d9b14317d3f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d9b14317d3f - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5d9b142d25c3 - std::io::default_write_fmt::hd4797e693c0ec256 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d9b142d25c3 - std::io::Write::write_fmt::h791e240ad2720c99 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d9b142df682 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d9b142e476f - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d9b142e4601 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d9b13e8f92e - as core::ops::function::Fn>::call::h3f5a16438cee2b4e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 12: 0x5d9b13e8f92e - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d9b142e4e2f - as core::ops::function::Fn>::call::hdb18da3e68df7464 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 14: 0x5d9b142e4e2f - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d9b142e4bda - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d9b142df7b9 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d9b142c6d5d - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d9b14320a80 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5d9b1431ff36 - core::result::unwrap_failed::he81173b5792ad6b0 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5d9b13e5b4e4 - core::result::Result::unwrap::h073f66980af92c34 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5d9b13e5b4e4 - lucky_command::bilibili::token::tests::test_generate_qr_code::hcb2808bf6973556e [INFO] [stdout] at /opt/rustwide/workdir/src/bilibili/token.rs:290:44 [INFO] [stdout] 22: 0x5d9b13e5b727 - lucky_command::bilibili::token::tests::test_generate_qr_code::{{closure}}::hcc13592c3bdcc9b0 [INFO] [stdout] at /opt/rustwide/workdir/src/bilibili/token.rs:289:31 [INFO] [stdout] 23: 0x5d9b13e68a06 - core::ops::function::FnOnce::call_once::h7dc516e0f77e5ec5 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d9b13e8f77b - core::ops::function::FnOnce::call_once::h43f43c5185cf39c2 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d9b13e8f77b - test::__rust_begin_short_backtrace::hc4fa634eb2764bdc [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d9b13ea3d98 - test::run_test_in_process::{{closure}}::h9f4b799a5211b72a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d9b13ea3d98 - as core::ops::function::FnOnce<()>>::call_once::ha572bf7dc5230a8f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d9b13ea3d98 - std::panicking::catch_unwind::do_call::hfd6ff51f25dd177b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d9b13ea3d98 - std::panicking::catch_unwind::h8609b446221def5f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d9b13ea3d98 - std::panic::catch_unwind::h362f73cc48531e26 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d9b13ea3d98 - test::run_test_in_process::hf52fd21d696aae67 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d9b13ea3d98 - test::run_test::{{closure}}::h7e780b8354e6d007 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d9b13e7cb64 - test::run_test::{{closure}}::hdc2695f2276aad3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d9b13e7cb64 - std::sys::backtrace::__rust_begin_short_backtrace::h2555b2113ed90fc9 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d9b13e8049a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h99800d480987dfb6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5d9b13e8049a - as core::ops::function::FnOnce<()>>::call_once::hbbb69b5294b2221b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d9b13e8049a - std::panicking::catch_unwind::do_call::h495689350c27df20 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d9b13e8049a - std::panicking::catch_unwind::hf22437c51d1b3740 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d9b13e8049a - std::panic::catch_unwind::habda1a57de8231f8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d9b13e8049a - std::thread::Builder::spawn_unchecked_::{{closure}}::h5833d8dda8c7e80b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5d9b13e8049a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2910283a5058402 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d9b142daaaf - as core::ops::function::FnOnce>::call_once::he4d85cb537521972 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9 [INFO] [stdout] 43: 0x5d9b142daaaf - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7932badfeaa4 - [INFO] [stdout] 45: 0x7932bae8ba64 - clone [INFO] [stdout] 46: 0x0 - [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.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin lucky-command` [INFO] running `Command { std: "docker" "inspect" "584c8763230efc2d6f28ed0118fb68c06d5dc4dca21c0156299dacdcb2b302ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584c8763230efc2d6f28ed0118fb68c06d5dc4dca21c0156299dacdcb2b302ae", kill_on_drop: false }` [INFO] [stdout] 584c8763230efc2d6f28ed0118fb68c06d5dc4dca21c0156299dacdcb2b302ae