[INFO] cloning repository https://github.com/fileng87/bilibili-dl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fileng87/bilibili-dl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffileng87%2Fbilibili-dl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffileng87%2Fbilibili-dl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8afa15b3faba71a9742ae42ea8fef24aac78b74e [INFO] testing fileng87/bilibili-dl against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffileng87%2Fbilibili-dl" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fileng87/bilibili-dl [INFO] finished tweaking git repo https://github.com/fileng87/bilibili-dl [INFO] tweaked toml for git repo https://github.com/fileng87/bilibili-dl written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fileng87/bilibili-dl on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fileng87/bilibili-dl 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8138e0af98098f27d977fb0fdd64a6ebb0c4ec1d0e320a1e06e0342aefc0eed8 [INFO] running `Command { std: "docker" "start" "-a" "8138e0af98098f27d977fb0fdd64a6ebb0c4ec1d0e320a1e06e0342aefc0eed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8138e0af98098f27d977fb0fdd64a6ebb0c4ec1d0e320a1e06e0342aefc0eed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8138e0af98098f27d977fb0fdd64a6ebb0c4ec1d0e320a1e06e0342aefc0eed8", kill_on_drop: false }` [INFO] [stdout] 8138e0af98098f27d977fb0fdd64a6ebb0c4ec1d0e320a1e06e0342aefc0eed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15f00df12d0d80168bbba2d21ec44e9dc18b3433778195d85c171ec378754963 [INFO] running `Command { std: "docker" "start" "-a" "15f00df12d0d80168bbba2d21ec44e9dc18b3433778195d85c171ec378754963", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling compression-codecs v0.4.30 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.48 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling cookie_store v0.22.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.26.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.30 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reqwest_cookie_store v0.9.0 [INFO] [stderr] Compiling bilibili-dl v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `base64::Engine` [INFO] [stdout] --> src/cookies_browser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/cookies_browser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieStore` and `RawCookie` [INFO] [stdout] --> src/cookies_browser.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest_cookie_store::{CookieStore, CookieStoreMutex, RawCookie}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection` and `OpenFlags` [INFO] [stdout] --> src/cookies_browser.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use rusqlite::{Connection, OpenFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_spec` is never used [INFO] [stdout] --> src/cookies_browser.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn parse_spec(spec: &str) -> (String, String) { [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 `profile_root` is never used [INFO] [stdout] --> src/cookies_browser.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn profile_root(product: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_path` is never used [INFO] [stdout] --> src/cookies_browser.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn profile_path(product: &str, profile: String, tail: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_db_temp` is never used [INFO] [stdout] --> src/cookies_browser.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn copy_db_temp(src: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_cookie_value` is never used [INFO] [stdout] --> src/cookies_browser.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn decrypt_cookie_value(enc: &[u8], key: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "15f00df12d0d80168bbba2d21ec44e9dc18b3433778195d85c171ec378754963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f00df12d0d80168bbba2d21ec44e9dc18b3433778195d85c171ec378754963", kill_on_drop: false }` [INFO] [stdout] 15f00df12d0d80168bbba2d21ec44e9dc18b3433778195d85c171ec378754963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b8473b185d2c66f5a0876c66e0b3c8ce84cb8d203d0012d006727152283c8cb [INFO] running `Command { std: "docker" "start" "-a" "1b8473b185d2c66f5a0876c66e0b3c8ce84cb8d203d0012d006727152283c8cb", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling bilibili-dl v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `base64::Engine` [INFO] [stdout] --> src/cookies_browser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/cookies_browser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieStore` and `RawCookie` [INFO] [stdout] --> src/cookies_browser.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest_cookie_store::{CookieStore, CookieStoreMutex, RawCookie}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection` and `OpenFlags` [INFO] [stdout] --> src/cookies_browser.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use rusqlite::{Connection, OpenFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_spec` is never used [INFO] [stdout] --> src/cookies_browser.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn parse_spec(spec: &str) -> (String, String) { [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 `profile_root` is never used [INFO] [stdout] --> src/cookies_browser.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn profile_root(product: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_path` is never used [INFO] [stdout] --> src/cookies_browser.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn profile_path(product: &str, profile: String, tail: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_db_temp` is never used [INFO] [stdout] --> src/cookies_browser.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn copy_db_temp(src: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_cookie_value` is never used [INFO] [stdout] --> src/cookies_browser.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn decrypt_cookie_value(enc: &[u8], key: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::Engine` [INFO] [stdout] --> src/cookies_browser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/cookies_browser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieStore` and `RawCookie` [INFO] [stdout] --> src/cookies_browser.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest_cookie_store::{CookieStore, CookieStoreMutex, RawCookie}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection` and `OpenFlags` [INFO] [stdout] --> src/cookies_browser.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use rusqlite::{Connection, OpenFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_spec` is never used [INFO] [stdout] --> src/cookies_browser.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn parse_spec(spec: &str) -> (String, String) { [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 `profile_root` is never used [INFO] [stdout] --> src/cookies_browser.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn profile_root(product: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_path` is never used [INFO] [stdout] --> src/cookies_browser.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn profile_path(product: &str, profile: String, tail: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_db_temp` is never used [INFO] [stdout] --> src/cookies_browser.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn copy_db_temp(src: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_cookie_value` is never used [INFO] [stdout] --> src/cookies_browser.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn decrypt_cookie_value(enc: &[u8], key: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.02s [INFO] running `Command { std: "docker" "inspect" "1b8473b185d2c66f5a0876c66e0b3c8ce84cb8d203d0012d006727152283c8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b8473b185d2c66f5a0876c66e0b3c8ce84cb8d203d0012d006727152283c8cb", kill_on_drop: false }` [INFO] [stdout] 1b8473b185d2c66f5a0876c66e0b3c8ce84cb8d203d0012d006727152283c8cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ebf1595fb1f7f1df93295e94f236ecefd7ccec4d463802ee574efaabe2e953f5 [INFO] running `Command { std: "docker" "start" "-a" "ebf1595fb1f7f1df93295e94f236ecefd7ccec4d463802ee574efaabe2e953f5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `base64::Engine` [INFO] [stderr] --> src/cookies_browser.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use base64::Engine; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::Url` [INFO] [stderr] --> src/cookies_browser.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use reqwest::Url; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CookieStore` and `RawCookie` [INFO] [stderr] --> src/cookies_browser.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | use reqwest_cookie_store::{CookieStore, CookieStoreMutex, RawCookie}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Connection` and `OpenFlags` [INFO] [stderr] --> src/cookies_browser.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | use rusqlite::{Connection, OpenFlags}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_spec` is never used [INFO] [stderr] --> src/cookies_browser.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | fn parse_spec(spec: &str) -> (String, String) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `profile_root` is never used [INFO] [stderr] --> src/cookies_browser.rs:81:4 [INFO] [stderr] | [INFO] [stderr] 81 | fn profile_root(product: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `profile_path` is never used [INFO] [stderr] --> src/cookies_browser.rs:86:4 [INFO] [stderr] | [INFO] [stderr] 86 | fn profile_path(product: &str, profile: String, tail: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `copy_db_temp` is never used [INFO] [stderr] --> src/cookies_browser.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn copy_db_temp(src: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decrypt_cookie_value` is never used [INFO] [stderr] --> src/cookies_browser.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn decrypt_cookie_value(enc: &[u8], key: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bilibili-dl` (lib) generated 9 warnings (run `cargo fix --lib -p bilibili-dl` to apply 4 suggestions) [INFO] [stderr] warning: `bilibili-dl` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bilibili_dl-ff17047bc470ae4b) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bilibili_dl-d3ae3643d26a1188) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/bilibili_tests.rs (/opt/rustwide/target/debug/deps/bilibili_tests-594a6b583c92ff8c) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_extract_bvid_from_share_url ... ok [INFO] [stdout] test test_extract_page_param ... ok [INFO] [stdout] test test_select_streams_with_format_prefers_av1_and_filters_height ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/cli_tests.rs (/opt/rustwide/target/debug/deps/cli_tests-9ade3016752343b0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test cli_help_shows_usage ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/feature_logic_tests.rs (/opt/rustwide/target/debug/deps/feature_logic_tests-b94cdd26b966725c) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test format_parser_defaults ... ok [INFO] [stdout] test format_parser_height_and_codec ... ok [INFO] [stdout] test template_and_sanitize ... ok [INFO] [stdout] test select_streams_av01_with_limit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/online_tests.rs (/opt/rustwide/target/debug/deps/online_tests-d5aad2430d5f0275) [INFO] [stdout] [INFO] [stderr] Running tests/wbi_tests.rs (/opt/rustwide/target/debug/deps/wbi_tests-daea3612e7901b83) [INFO] [stdout] running 1 test [INFO] [stdout] test online_view_and_playurl ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_mixin_key_rearranges_and_truncates ... ok [INFO] [stderr] Doc-tests bilibili_dl [INFO] [stdout] test test_url_encode_preserves_utf8 ... ok [INFO] [stdout] test test_sanitize_removes_specials ... ok [INFO] [stdout] test test_sign_produces_rid_and_wts ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ebf1595fb1f7f1df93295e94f236ecefd7ccec4d463802ee574efaabe2e953f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf1595fb1f7f1df93295e94f236ecefd7ccec4d463802ee574efaabe2e953f5", kill_on_drop: false }` [INFO] [stdout] ebf1595fb1f7f1df93295e94f236ecefd7ccec4d463802ee574efaabe2e953f5