[INFO] cloning repository https://github.com/sotsuba/keep-wimesh-alive-pls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sotsuba/keep-wimesh-alive-pls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsotsuba%2Fkeep-wimesh-alive-pls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsotsuba%2Fkeep-wimesh-alive-pls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64150c3d7fcb18cd395b9f6c7e0745f009738d5a [INFO] testing sotsuba/keep-wimesh-alive-pls against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsotsuba%2Fkeep-wimesh-alive-pls" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sotsuba/keep-wimesh-alive-pls [INFO] finished tweaking git repo https://github.com/sotsuba/keep-wimesh-alive-pls [INFO] tweaked toml for git repo https://github.com/sotsuba/keep-wimesh-alive-pls written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sotsuba/keep-wimesh-alive-pls on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sotsuba/keep-wimesh-alive-pls 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded cookie_store v0.22.1 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded indexmap v2.13.1 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.10 [INFO] [stderr] Downloaded iri-string v0.7.12 [INFO] [stderr] Downloaded hyper v1.9.0 [INFO] [stderr] Downloaded tokio v1.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe3196772cf73ee4b149dcb5ae0ffd2fcf972abcdf4d1b468074e8d5e07c89e8 [INFO] running `Command { std: "docker" "start" "-a" "fe3196772cf73ee4b149dcb5ae0ffd2fcf972abcdf4d1b468074e8d5e07c89e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe3196772cf73ee4b149dcb5ae0ffd2fcf972abcdf4d1b468074e8d5e07c89e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3196772cf73ee4b149dcb5ae0ffd2fcf972abcdf4d1b468074e8d5e07c89e8", kill_on_drop: false }` [INFO] [stdout] fe3196772cf73ee4b149dcb5ae0ffd2fcf972abcdf4d1b468074e8d5e07c89e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2f22d5f40cbb1479ee98711e810fe65828a688a8afc3cfa6c9f71aceec12137 [INFO] running `Command { std: "docker" "start" "-a" "c2f22d5f40cbb1479ee98711e810fe65828a688a8afc3cfa6c9f71aceec12137", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling compression-codecs v0.4.37 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling cookie_store v0.22.1 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling async-compression v0.4.41 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling rustls-webpki v0.103.10 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling keep_wimesh_session v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `jar` [INFO] [stdout] --> src/strategies/hcmus_hostpot.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | async fn login(&self, client: &Client, jar: &Jar) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_jar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HotspotCookies` is never constructed [INFO] [stdout] --> src/cookies.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HotspotCookies { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AwingCookies` is never constructed [INFO] [stdout] --> src/cookies.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AwingCookies { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optional_cookie` is never used [INFO] [stdout] --> src/cookies.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_optional_cookie(headers: &HeaderMap, cookie_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cookie_from_cookie_header` is never used [INFO] [stdout] --> src/cookies.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_cookie_from_cookie_header(cookie_header: &str, cookie_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cookie_from_jar` is never used [INFO] [stdout] --> src/cookies.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_cookie_from_jar(jar: &Jar, url: &str, cookie_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cookie_header_hotspot` is never used [INFO] [stdout] --> src/cookies.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn cookie_header_hotspot(c: &HotspotCookies) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cookie_header_awing` is never used [INFO] [stdout] --> src/cookies.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cookie_header_awing(c: &AwingCookies) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_regex` is never used [INFO] [stdout] --> src/parse.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn compile_regex(pattern: &str) -> Regex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_wifi_info_json` is never used [INFO] [stdout] --> src/parse.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn extract_wifi_info_json(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_wifi_info` is never used [INFO] [stdout] --> src/parse.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_wifi_info(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chap_id_to_digits` is never used [INFO] [stdout] --> src/parse.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn chap_id_to_digits(chap_id_raw: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chap_challenge_to_csv` is never used [INFO] [stdout] --> src/parse.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn chap_challenge_to_csv(chap_raw: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_login_form` is never used [INFO] [stdout] --> src/parse.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn parse_login_form(html: &str) -> Result<(String, String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_param` is never used [INFO] [stdout] --> src/parse.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn query_param(url: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dash_mac` is never used [INFO] [stdout] --> src/parse.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn to_dash_mac(mac: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_wifi_info_for_check` is never used [INFO] [stdout] --> src/parse.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn build_wifi_info_for_check(w: &WifiInfo) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WifiInfo` is never constructed [INFO] [stdout] --> src/types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WifiInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.94s [INFO] running `Command { std: "docker" "inspect" "c2f22d5f40cbb1479ee98711e810fe65828a688a8afc3cfa6c9f71aceec12137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f22d5f40cbb1479ee98711e810fe65828a688a8afc3cfa6c9f71aceec12137", kill_on_drop: false }` [INFO] [stdout] c2f22d5f40cbb1479ee98711e810fe65828a688a8afc3cfa6c9f71aceec12137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cf186708b01ad8ee54b8ccf4e9258b9a94cc03ec503ec2eba69b0412d1f7b1e [INFO] running `Command { std: "docker" "start" "-a" "6cf186708b01ad8ee54b8ccf4e9258b9a94cc03ec503ec2eba69b0412d1f7b1e", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `jar` [INFO] [stdout] --> src/strategies/hcmus_hostpot.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | async fn login(&self, client: &Client, jar: &Jar) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_jar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling keep_wimesh_session v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HotspotCookies` is never constructed [INFO] [stdout] --> src/cookies.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HotspotCookies { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AwingCookies` is never constructed [INFO] [stdout] --> src/cookies.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AwingCookies { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optional_cookie` is never used [INFO] [stdout] --> src/cookies.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_optional_cookie(headers: &HeaderMap, cookie_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cookie_from_cookie_header` is never used [INFO] [stdout] --> src/cookies.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_cookie_from_cookie_header(cookie_header: &str, cookie_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cookie_from_jar` is never used [INFO] [stdout] --> src/cookies.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_cookie_from_jar(jar: &Jar, url: &str, cookie_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cookie_header_hotspot` is never used [INFO] [stdout] --> src/cookies.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn cookie_header_hotspot(c: &HotspotCookies) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cookie_header_awing` is never used [INFO] [stdout] --> src/cookies.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cookie_header_awing(c: &AwingCookies) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_regex` is never used [INFO] [stdout] --> src/parse.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn compile_regex(pattern: &str) -> Regex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_wifi_info_json` is never used [INFO] [stdout] --> src/parse.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn extract_wifi_info_json(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_wifi_info` is never used [INFO] [stdout] --> src/parse.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_wifi_info(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chap_id_to_digits` is never used [INFO] [stdout] --> src/parse.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn chap_id_to_digits(chap_id_raw: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chap_challenge_to_csv` is never used [INFO] [stdout] --> src/parse.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn chap_challenge_to_csv(chap_raw: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_login_form` is never used [INFO] [stdout] --> src/parse.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn parse_login_form(html: &str) -> Result<(String, String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_param` is never used [INFO] [stdout] --> src/parse.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn query_param(url: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dash_mac` is never used [INFO] [stdout] --> src/parse.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn to_dash_mac(mac: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_wifi_info_for_check` is never used [INFO] [stdout] --> src/parse.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn build_wifi_info_for_check(w: &WifiInfo) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WifiInfo` is never constructed [INFO] [stdout] --> src/types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WifiInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jar` [INFO] [stdout] --> src/strategies/hcmus_hostpot.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | async fn login(&self, client: &Client, jar: &Jar) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_jar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "6cf186708b01ad8ee54b8ccf4e9258b9a94cc03ec503ec2eba69b0412d1f7b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf186708b01ad8ee54b8ccf4e9258b9a94cc03ec503ec2eba69b0412d1f7b1e", kill_on_drop: false }` [INFO] [stdout] 6cf186708b01ad8ee54b8ccf4e9258b9a94cc03ec503ec2eba69b0412d1f7b1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dede9e3fe4be53b1e652ea9b7556f9eb3570f910f68aedfd017994bc82752b8c [INFO] running `Command { std: "docker" "start" "-a" "dede9e3fe4be53b1e652ea9b7556f9eb3570f910f68aedfd017994bc82752b8c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `jar` [INFO] [stderr] --> src/strategies/hcmus_hostpot.rs:11:44 [INFO] [stderr] | [INFO] [stderr] 11 | async fn login(&self, client: &Client, jar: &Jar) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_jar` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `keep_wimesh_session` (lib) generated 1 warning (run `cargo fix --lib -p keep_wimesh_session` to apply 1 suggestion) [INFO] [stderr] warning: `keep_wimesh_session` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: struct `Config` is never constructed [INFO] [stderr] --> src/config.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Config { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `HotspotCookies` is never constructed [INFO] [stderr] --> src/cookies.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct HotspotCookies { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AwingCookies` is never constructed [INFO] [stderr] --> src/cookies.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct AwingCookies { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_optional_cookie` is never used [INFO] [stderr] --> src/cookies.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn get_optional_cookie(headers: &HeaderMap, cookie_name: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_cookie_from_cookie_header` is never used [INFO] [stderr] --> src/cookies.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn get_cookie_from_cookie_header(cookie_header: &str, cookie_name: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_cookie_from_jar` is never used [INFO] [stderr] --> src/cookies.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn get_cookie_from_jar(jar: &Jar, url: &str, cookie_name: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cookie_header_hotspot` is never used [INFO] [stderr] --> src/cookies.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn cookie_header_hotspot(c: &HotspotCookies) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cookie_header_awing` is never used [INFO] [stderr] --> src/cookies.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn cookie_header_awing(c: &AwingCookies) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compile_regex` is never used [INFO] [stderr] --> src/parse.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn compile_regex(pattern: &str) -> Regex { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_wifi_info_json` is never used [INFO] [stderr] --> src/parse.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn extract_wifi_info_json(html: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_wifi_info` is never used [INFO] [stderr] --> src/parse.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn parse_wifi_info(html: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `chap_id_to_digits` is never used [INFO] [stderr] --> src/parse.rs:57:4 [INFO] [stderr] | [INFO] [stderr] 57 | fn chap_id_to_digits(chap_id_raw: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `chap_challenge_to_csv` is never used [INFO] [stderr] --> src/parse.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | fn chap_challenge_to_csv(chap_raw: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_login_form` is never used [INFO] [stderr] --> src/parse.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn parse_login_form(html: &str) -> Result<(String, String, String)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `query_param` is never used [INFO] [stderr] --> src/parse.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn query_param(url: &str, key: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_dash_mac` is never used [INFO] [stderr] --> src/parse.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn to_dash_mac(mac: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_wifi_info_for_check` is never used [INFO] [stderr] --> src/parse.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn build_wifi_info_for_check(w: &WifiInfo) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WifiInfo` is never constructed [INFO] [stderr] --> src/types.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct WifiInfo { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `keep_wimesh_session` (bin "keep_wimesh_session" test) generated 18 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/keep_wimesh_session-7aa22744cda76062) [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 unittests src/main.rs (/opt/rustwide/target/debug/deps/keep_wimesh_session-14c2f59f550fc428) [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] Doc-tests keep_wimesh_session [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" "dede9e3fe4be53b1e652ea9b7556f9eb3570f910f68aedfd017994bc82752b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dede9e3fe4be53b1e652ea9b7556f9eb3570f910f68aedfd017994bc82752b8c", kill_on_drop: false }` [INFO] [stdout] dede9e3fe4be53b1e652ea9b7556f9eb3570f910f68aedfd017994bc82752b8c