[INFO] cloning repository https://github.com/Doraemon2020/subconverter-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Doraemon2020/subconverter-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoraemon2020%2Fsubconverter-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoraemon2020%2Fsubconverter-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1189d5a9234ed8ce779709d880337de93c9d58ef [INFO] testing Doraemon2020/subconverter-rs against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoraemon2020%2Fsubconverter-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Doraemon2020/subconverter-rs [INFO] finished tweaking git repo https://github.com/Doraemon2020/subconverter-rs [INFO] tweaked toml for git repo https://github.com/Doraemon2020/subconverter-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Doraemon2020/subconverter-rs on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Doraemon2020/subconverter-rs 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.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6 [INFO] running `Command { std: "docker" "start" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6", 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" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6", 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" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling toml_write v0.1.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling jiff v0.2.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling result v1.0.0 [INFO] [stderr] Compiling serde_ini v0.2.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml v0.8.21 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling minijinja v2.9.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling configparser v3.1.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling case_insensitive_string v0.2.9 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling awc v3.6.0 [INFO] [stderr] Compiling subconverter v0.2.34 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/generator/yaml/clash/output_proxy_types/clash_output_anytls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [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: `is_u32_option_zero` [INFO] [stdout] --> src/generator/yaml/clash/output_proxy_types/clash_output_vmess.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{is_empty_option_string, is_u32_option_zero}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `str::FromStr` [INFO] [stdout] --> src/models/extra_settings.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::file_get_async` [INFO] [stdout] --> src/models/extra_settings.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{utils::file_get_async, Settings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProxyType` and `RegexMatchConfig` [INFO] [stdout] --> src/models/extra_settings.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{Proxy, ProxyType, RegexMatchConfig, RegexMatchConfigs}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/subparser.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProxyConfig` [INFO] [stdout] --> src/upload/gist.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::http::{parse_proxy, HttpResponse, ProxyConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IniReaderError` [INFO] [stdout] --> src/upload/gist.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::ini_reader::{IniReader, IniReaderError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_sub_info_from_header` and `get_sub_info_from_response` [INFO] [stdout] --> src/utils/http.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | get_sub_info_from_header, get_sub_info_from_response, parse_proxy, web_get, web_get_async, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utils/ini_reader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils/ini_reader.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/utils/matcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/utils/node_manip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reg_find` [INFO] [stdout] --> src/utils/node_manip.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | matcher::{apply_matcher, reg_find}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_url` [INFO] [stdout] --> src/api/sub.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | req_url: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `matched` is never read [INFO] [stdout] --> src/models/regex_match_config.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let mut matched = false; [INFO] [stdout] | ^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 56 | matched = apply_compiled_rule_to_string(compiled, remark); [INFO] [stdout] | --------------------------------------------------------- `matched` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/utils/matcher.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let dir = if rule.starts_with("!!INSERT=") { -1 } else { 1 }; // Apply direction modifier conceptually later [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RulesetType` is never used [INFO] [stdout] --> src/generator/ruleconvert/ruleset.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum RulesetType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6", 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" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml v0.8.21 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling minijinja v2.9.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling serde_ini v0.2.0 [INFO] [stderr] Compiling awc v3.6.0 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling subconverter v0.2.34 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/generator/yaml/clash/output_proxy_types/clash_output_anytls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [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: `is_u32_option_zero` [INFO] [stdout] --> src/generator/yaml/clash/output_proxy_types/clash_output_vmess.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{is_empty_option_string, is_u32_option_zero}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `str::FromStr` [INFO] [stdout] --> src/models/extra_settings.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::file_get_async` [INFO] [stdout] --> src/models/extra_settings.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{utils::file_get_async, Settings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProxyType` and `RegexMatchConfig` [INFO] [stdout] --> src/models/extra_settings.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{Proxy, ProxyType, RegexMatchConfig, RegexMatchConfigs}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/subparser.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProxyConfig` [INFO] [stdout] --> src/upload/gist.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::http::{parse_proxy, HttpResponse, ProxyConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IniReaderError` [INFO] [stdout] --> src/upload/gist.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::ini_reader::{IniReader, IniReaderError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_sub_info_from_header` and `get_sub_info_from_response` [INFO] [stdout] --> src/utils/http.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | get_sub_info_from_header, get_sub_info_from_response, parse_proxy, web_get, web_get_async, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utils/ini_reader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils/ini_reader.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/utils/matcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/utils/node_manip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reg_find` [INFO] [stdout] --> src/utils/node_manip.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | matcher::{apply_matcher, reg_find}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/generator/yaml/clash/output_proxy_types/clash_output_anytls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [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: `is_u32_option_zero` [INFO] [stdout] --> src/generator/yaml/clash/output_proxy_types/clash_output_vmess.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{is_empty_option_string, is_u32_option_zero}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `str::FromStr` [INFO] [stdout] --> src/models/extra_settings.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::file_get_async` [INFO] [stdout] --> src/models/extra_settings.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{utils::file_get_async, Settings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProxyType` and `RegexMatchConfig` [INFO] [stdout] --> src/models/extra_settings.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{Proxy, ProxyType, RegexMatchConfig, RegexMatchConfigs}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/parse_settings.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stdout] --> src/parser/subparser.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "js_runtime")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stdout] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProxyConfig` [INFO] [stdout] --> src/upload/gist.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::http::{parse_proxy, HttpResponse, ProxyConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IniReaderError` [INFO] [stdout] --> src/upload/gist.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::ini_reader::{IniReader, IniReaderError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_sub_info_from_header` and `get_sub_info_from_response` [INFO] [stdout] --> src/utils/http.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | get_sub_info_from_header, get_sub_info_from_response, parse_proxy, web_get, web_get_async, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utils/ini_reader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils/ini_reader.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/utils/matcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/utils/node_manip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reg_find` [INFO] [stdout] --> src/utils/node_manip.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | matcher::{apply_matcher, reg_find}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/http_std.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_url` [INFO] [stdout] --> src/api/sub.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | req_url: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_url` [INFO] [stdout] --> src/api/sub.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | req_url: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_config` [INFO] [stdout] --> src/utils/http_std.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | proxy_config: &ProxyConfig, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `matched` is never read [INFO] [stdout] --> src/models/regex_match_config.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let mut matched = false; [INFO] [stdout] | ^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 56 | matched = apply_compiled_rule_to_string(compiled, remark); [INFO] [stdout] | --------------------------------------------------------- `matched` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `matched` is never read [INFO] [stdout] --> src/models/regex_match_config.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let mut matched = false; [INFO] [stdout] | ^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 56 | matched = apply_compiled_rule_to_string(compiled, remark); [INFO] [stdout] | --------------------------------------------------------- `matched` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/utils/matcher.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let dir = if rule.starts_with("!!INSERT=") { -1 } else { 1 }; // Apply direction modifier conceptually later [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RulesetType` is never used [INFO] [stdout] --> src/generator/ruleconvert/ruleset.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum RulesetType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/utils/matcher.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let dir = if rule.starts_with("!!INSERT=") { -1 } else { 1 }; // Apply direction modifier conceptually later [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RulesetType` is never used [INFO] [stdout] --> src/generator/ruleconvert/ruleset.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum RulesetType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 43.72s [INFO] running `Command { std: "docker" "inspect" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6", 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" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/generator/yaml/clash/output_proxy_types/clash_output_anytls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `is_u32_option_zero` [INFO] [stderr] --> src/generator/yaml/clash/output_proxy_types/clash_output_vmess.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::utils::{is_empty_option_string, is_u32_option_zero}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `cmp::Ordering` and `str::FromStr` [INFO] [stderr] --> src/models/extra_settings.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{cmp::Ordering, str::FromStr}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `utils::file_get_async` [INFO] [stderr] --> src/models/extra_settings.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{utils::file_get_async, Settings}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ProxyType` and `RegexMatchConfig` [INFO] [stderr] --> src/models/extra_settings.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use super::{Proxy, ProxyType, RegexMatchConfig, RegexMatchConfigs}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stderr] --> src/parser/parse_settings.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | #[cfg(feature = "js_runtime")] [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stderr] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stderr] --> src/parser/parse_settings.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg(feature = "js_runtime")] [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stderr] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stderr] --> src/parser/parse_settings.rs:67:19 [INFO] [stderr] | [INFO] [stderr] 67 | #[cfg(feature = "js_runtime")] [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stderr] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stderr] --> src/parser/parse_settings.rs:69:19 [INFO] [stderr] | [INFO] [stderr] 69 | #[cfg(feature = "js_runtime")] [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stderr] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `js_runtime` [INFO] [stderr] --> src/parser/subparser.rs:59:11 [INFO] [stderr] | [INFO] [stderr] 59 | #[cfg(feature = "js_runtime")] [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"js-runtime"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `actix-web`, `default`, `js-runtime`, `rquickjs`, and `web-api` [INFO] [stderr] = help: consider adding `js_runtime` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `ProxyConfig` [INFO] [stderr] --> src/upload/gist.rs:3:53 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::utils::http::{parse_proxy, HttpResponse, ProxyConfig}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IniReaderError` [INFO] [stderr] --> src/upload/gist.rs:5:43 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::utils::ini_reader::{IniReader, IniReaderError}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `get_sub_info_from_header` and `get_sub_info_from_response` [INFO] [stderr] --> src/utils/http.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | get_sub_info_from_header, get_sub_info_from_response, parse_proxy, web_get, web_get_async, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/utils/ini_reader.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/utils/ini_reader.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/utils/matcher.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::Ordering` [INFO] [stderr] --> src/utils/node_manip.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::cmp::Ordering; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reg_find` [INFO] [stderr] --> src/utils/node_manip.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | matcher::{apply_matcher, reg_find}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/http_std.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/http_std.rs:306:9 [INFO] [stderr] | [INFO] [stderr] 306 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/http_std.rs:377:9 [INFO] [stderr] | [INFO] [stderr] 377 | let mut client_builder = Client::builder().timeout(Duration::from_secs(DEFAULT_TIMEOUT)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req_url` [INFO] [stderr] --> src/api/sub.rs:293:5 [INFO] [stderr] | [INFO] [stderr] 293 | req_url: Option, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proxy_config` [INFO] [stderr] --> src/utils/http_std.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | proxy_config: &ProxyConfig, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proxy_config` [INFO] [stderr] --> src/utils/http_std.rs:303:5 [INFO] [stderr] | [INFO] [stderr] 303 | proxy_config: &ProxyConfig, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proxy_config` [INFO] [stderr] --> src/utils/http_std.rs:374:5 [INFO] [stderr] | [INFO] [stderr] 374 | proxy_config: &ProxyConfig, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_config` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `matched` is never read [INFO] [stderr] --> src/models/regex_match_config.rs:51:27 [INFO] [stderr] | [INFO] [stderr] 51 | let mut matched = false; [INFO] [stderr] | ^^^^^ this value is reassigned later and never used [INFO] [stderr] ... [INFO] [stderr] 56 | matched = apply_compiled_rule_to_string(compiled, remark); [INFO] [stderr] | --------------------------------------------------------- `matched` is overwritten here before the previous value is read [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/utils/matcher.rs:356:13 [INFO] [stderr] | [INFO] [stderr] 356 | let dir = if rule.starts_with("!!INSERT=") { -1 } else { 1 }; // Apply direction modifier conceptually later [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] [INFO] [stderr] warning: enum `RulesetType` is never used [INFO] [stderr] --> src/generator/ruleconvert/ruleset.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum RulesetType { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `subconverter` (lib) generated 28 warnings (run `cargo fix --lib -p subconverter` to apply 21 suggestions) [INFO] [stderr] warning: `subconverter` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/libsubconverter-29c3da332ffff3d7) [INFO] [stdout] [INFO] [stdout] running 71 tests [INFO] [stdout] test generator::config::group::tests::test_group_generate_direct_string ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_conf_default_values ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_conf_empty_configs ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_conf_invalid_json ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_conf_missing_configs ... ok [INFO] [stdout] test generator::config::group::tests::test_group_generate_with_group_match ... ok [INFO] [stdout] test generator::config::group::tests::test_group_generate_empty_result_without_direct ... ok [INFO] [stdout] test generator::config::group::tests::test_group_generate_with_port_match ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_conf_valid ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_default_group ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_invalid_base64 ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_invalid_prefix ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_missing_parts ... ok [INFO] [stdout] test generator::config::group::tests::test_group_generate_with_type_match ... ok [INFO] [stdout] test parser::explodes::ssr::tests::test_explode_ssr_valid_link ... ok [INFO] [stdout] test generator::config::group::tests::test_group_generate_with_regex_match ... ok [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_port ... ok [INFO] [stdout] test generator::config::group::tests::test_group_generate_empty_result_with_direct ... FAILED [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_group ... ok [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_remarks ... ok [INFO] [stdout] test rulesets::ruleset::tests::test_fetch_ruleset_cache_expiration ... FAILED [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_udp_support ... ok [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_protocol ... ok [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_server ... ok [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_type ... ok [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_security ... ok [INFO] [stdout] test utils::matcher::tests::test_apply_matcher_with_trailing_rule ... ok [INFO] [stdout] test utils::matcher::tests::test_compile_rule_group ... ok [INFO] [stdout] test utils::matcher::tests::test_match_range_complex ... ok [INFO] [stdout] test utils::matcher::tests::test_compile_rule_groupid ... ok [INFO] [stdout] test utils::matcher::tests::test_compile_rule_port_negated ... ok [INFO] [stdout] test utils::matcher::tests::test_match_range_simple ... ok [INFO] [stdout] test utils::matcher::tests::test_match_range_with_multiple ... ok [INFO] [stdout] test utils::matcher::tests::test_compile_rule_group_with_subrule ... FAILED [INFO] [stdout] test utils::matcher::tests::test_compile_rule_type ... ok [INFO] [stdout] test utils::matcher::tests::test_match_range_with_negation ... ok [INFO] [stdout] test utils::matcher::tests::test_compile_rule_plain_regex ... ok [INFO] [stdout] test utils::matcher::tests::test_match_range_with_ranges ... ok [INFO] [stdout] test utils::network::tests::test_is_ipv4_invalid ... ok [INFO] [stdout] test utils::matcher::tests::test_reg_match ... ok [INFO] [stdout] test utils::matcher::tests::test_compile_rule_security ... FAILED [INFO] [stdout] test utils::network::tests::test_is_ipv6_valid ... ok [INFO] [stdout] test utils::network::tests::test_hostname_to_ip_addr ... ok [INFO] [stdout] test utils::network::tests::test_is_ipv4_valid ... ok [INFO] [stdout] test utils::matcher::tests::test_reg_find ... ok [INFO] [stdout] test utils::regexp::tests::test_reg_get_match ... ok [INFO] [stdout] test utils::regexp::tests::test_reg_get_all_match ... ok [INFO] [stdout] test utils::network::tests::test_is_ipv6_invalid ... ok [INFO] [stdout] test utils::regexp::tests::test_reg_replace ... ok [INFO] [stdout] test utils::regexp::tests::test_reg_find ... ok [INFO] [stdout] test utils::regexp::tests::test_reg_trim ... ok [INFO] [stdout] test utils::string::tests::test_build_dir_entry_path ... ok [INFO] [stdout] test utils::string::tests::test_build_file_entry_path ... ok [INFO] [stdout] test utils::regexp::tests::test_reg_valid ... ok [INFO] [stdout] test utils::string::tests::test_ends_with ... ok [INFO] [stdout] test utils::string::tests::test_hash ... ok [INFO] [stdout] test utils::string::tests::test_hash_const ... ok [INFO] [stdout] test utils::string::tests::test_join ... ok [INFO] [stdout] test utils::regexp::tests::test_reg_match ... ok [INFO] [stdout] test utils::string::tests::test_join_path ... ok [INFO] [stdout] test utils::string::tests::test_md5 ... ok [INFO] [stdout] test utils::string::tests::test_normalize_dir_path ... ok [INFO] [stdout] test utils::string::tests::test_normalize_file_path ... ok [INFO] [stdout] test utils::string::tests::test_replace_all_distinct ... ok [INFO] [stdout] test utils::string::tests::test_to_lower ... ok [INFO] [stdout] test utils::string::tests::test_starts_with ... ok [INFO] [stdout] test utils::string::tests::test_trim ... ok [INFO] [stdout] test utils::system::tests::test_get_env ... ok [INFO] [stdout] test utils::string::tests::test_remove_emoji ... FAILED [INFO] [stdout] test utils::system::tests::test_sleep_ms ... ok [INFO] [stdout] test rulesets::ruleset::tests::test_fetch_ruleset_cache ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- generator::config::group::tests::test_group_generate_empty_result_with_direct stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'generator::config::group::tests::test_group_generate_empty_result_with_direct' (5625) panicked at src/generator/config/group.rs:167:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 0 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62381c960cb1 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x62381c97865a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x62381c9658fc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x62381c93e0e6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x62381c958309 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x62381c6648c0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x62381c958632 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x62381c93e192 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x62381c935879 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x62381c93ef7d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x62381c978e3c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x62381c978d53 - core[812a354ff5be3162]::panicking::assert_failed_inner [INFO] [stdout] 12: 0x62381c97342d - core[812a354ff5be3162]::panicking::assert_failed:: [INFO] [stdout] 13: 0x62381c5c0e30 - libsubconverter[ebdfe52faac2c8d2]::generator::config::group::tests::test_group_generate_empty_result_with_direct [INFO] [stdout] 14: 0x62381c6076a9 - >::call_once [INFO] [stdout] 15: 0x62381c657bfb - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 16: 0x62381c665245 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 17: 0x62381c65fcf4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 18: 0x62381c668392 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 19: 0x62381c95fe1f - ::new::thread_start [INFO] [stdout] 20: 0x72cd0cb3807a - [INFO] [stdout] 21: 0x72cd0cbcb534 - clone [INFO] [stdout] 22: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- rulesets::ruleset::tests::test_fetch_ruleset_cache_expiration stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'rulesets::ruleset::tests::test_fetch_ruleset_cache_expiration' (5642) panicked at src/rulesets/ruleset.rs:390:13: [INFO] [stdout] assertion failed: result_no_cache.unwrap_err().contains("Failed to fetch ruleset from URL") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62381c960cb1 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x62381c97865a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x62381c9658fc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x62381c93e0e6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x62381c958309 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x62381c6648c0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x62381c958632 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x62381c93e1c4 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x62381c935879 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x62381c93ef7d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x62381c978e3c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x62381c978e02 - core[812a354ff5be3162]::panicking::panic [INFO] [stdout] 12: 0x62381c640370 - libsubconverter[ebdfe52faac2c8d2]::rulesets::ruleset::tests::test_fetch_ruleset_cache_expiration::{closure#0} [INFO] [stdout] 13: 0x62381c64af1f - ::block_on:: [INFO] [stdout] 14: 0x62381c62af5a - ::block_on:: [INFO] [stdout] 15: 0x62381c62805c - libsubconverter[ebdfe52faac2c8d2]::rulesets::ruleset::tests::test_fetch_ruleset_cache_expiration [INFO] [stdout] 16: 0x62381c6073c9 - >::call_once [INFO] [stdout] 17: 0x62381c657bfb - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 18: 0x62381c665245 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 19: 0x62381c65fcf4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 20: 0x62381c668392 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 21: 0x62381c95fe1f - ::new::thread_start [INFO] [stdout] 22: 0x72cd0cb3807a - [INFO] [stdout] 23: 0x72cd0cbcb534 - clone [INFO] [stdout] 24: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::matcher::tests::test_compile_rule_group_with_subrule stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::matcher::tests::test_compile_rule_group_with_subrule' (5654) panicked at src/utils/matcher.rs:897:9: [INFO] [stdout] assertion failed: matches!(rule.sub_rule.as_ref().unwrap().matcher, CompiledMatcher::Port [INFO] [stdout] { .. }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62381c960cb1 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x62381c97865a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x62381c9658fc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x62381c93e0e6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x62381c958309 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x62381c6648c0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x62381c958632 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x62381c93e1c4 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x62381c935879 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x62381c93ef7d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x62381c978e3c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x62381c978e02 - core[812a354ff5be3162]::panicking::panic [INFO] [stdout] 12: 0x62381c5b0fc2 - libsubconverter[ebdfe52faac2c8d2]::utils::matcher::tests::test_compile_rule_group_with_subrule [INFO] [stdout] 13: 0x62381c6072b9 - >::call_once [INFO] [stdout] 14: 0x62381c657bfb - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 15: 0x62381c665245 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 16: 0x62381c65fcf4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x62381c668392 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x62381c95fe1f - ::new::thread_start [INFO] [stdout] 19: 0x72cd0cb3807a - [INFO] [stdout] 20: 0x72cd0cbcb534 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::matcher::tests::test_compile_rule_security stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::matcher::tests::test_compile_rule_security' (5658) panicked at src/utils/matcher.rs:1142:9: [INFO] [stdout] assertion failed: apply_compiled_rule(&rule, &node_no_tls13) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62381c960cb1 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x62381c97865a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x62381c9658fc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x62381c93e0e6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x62381c958309 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x62381c6648c0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x62381c958632 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x62381c93e1c4 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x62381c935879 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x62381c93ef7d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x62381c978e3c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x62381c978e02 - core[812a354ff5be3162]::panicking::panic [INFO] [stdout] 12: 0x62381c5b0252 - libsubconverter[ebdfe52faac2c8d2]::utils::matcher::tests::test_compile_rule_security [INFO] [stdout] 13: 0x62381c607139 - >::call_once [INFO] [stdout] 14: 0x62381c657bfb - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 15: 0x62381c665245 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 16: 0x62381c65fcf4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x62381c668392 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x62381c95fe1f - ::new::thread_start [INFO] [stdout] 19: 0x72cd0cb3807a - [INFO] [stdout] 20: 0x72cd0cbcb534 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::string::tests::test_remove_emoji stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::string::tests::test_remove_emoji' (5689) panicked at src/utils/string.rs:414:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "" [INFO] [stdout] right: "😀" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62381c960cb1 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x62381c97865a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x62381c9658fc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x62381c93e0e6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x62381c958309 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x62381c6648c0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x62381c958632 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x62381c93e192 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x62381c935879 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x62381c93ef7d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x62381c978e3c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x62381c978d53 - core[812a354ff5be3162]::panicking::assert_failed_inner [INFO] [stdout] 12: 0x62381c627805 - core[812a354ff5be3162]::panicking::assert_failed:: [INFO] [stdout] 13: 0x62381c608c67 - libsubconverter[ebdfe52faac2c8d2]::utils::string::tests::test_remove_emoji [INFO] [stdout] 14: 0x62381c606df9 - >::call_once [INFO] [stdout] 15: 0x62381c657bfb - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 16: 0x62381c665245 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 17: 0x62381c65fcf4 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 18: 0x62381c668392 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 19: 0x62381c95fe1f - ::new::thread_start [INFO] [stdout] 20: 0x72cd0cb3807a - [INFO] [stdout] 21: 0x72cd0cbcb534 - clone [INFO] [stdout] 22: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] generator::config::group::tests::test_group_generate_empty_result_with_direct [INFO] [stdout] rulesets::ruleset::tests::test_fetch_ruleset_cache_expiration [INFO] [stdout] utils::matcher::tests::test_compile_rule_group_with_subrule [INFO] [stdout] utils::matcher::tests::test_compile_rule_security [INFO] [stdout] utils::string::tests::test_remove_emoji [INFO] [stdout] [INFO] [stdout] test result: FAILED. 66 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6", kill_on_drop: false }` [INFO] [stdout] 33d877e0465597d2baa345a8402c273e43dcccc7152d9d6698f6b23c9326dff6