[INFO] cloning repository https://github.com/Mieluoxxx/mtga-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mieluoxxx/mtga-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMieluoxxx%2Fmtga-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMieluoxxx%2Fmtga-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ef94e9a3c0d219bc3a6aed78c11aae3b1a44d02 [INFO] testing Mieluoxxx/mtga-cli against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMieluoxxx%2Fmtga-cli" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mieluoxxx/mtga-cli [INFO] finished tweaking git repo https://github.com/Mieluoxxx/mtga-cli [INFO] tweaked toml for git repo https://github.com/Mieluoxxx/mtga-cli written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mieluoxxx/mtga-cli 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/Mieluoxxx/mtga-cli 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded users v0.11.0 [INFO] [stderr] Downloaded ctrlc v3.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] efc94753f3dd68c3fbce8d29aee8a3bc976e62e266d3e71b3b733981685ac0d8 [INFO] running `Command { std: "docker" "start" "-a" "efc94753f3dd68c3fbce8d29aee8a3bc976e62e266d3e71b3b733981685ac0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efc94753f3dd68c3fbce8d29aee8a3bc976e62e266d3e71b3b733981685ac0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc94753f3dd68c3fbce8d29aee8a3bc976e62e266d3e71b3b733981685ac0d8", kill_on_drop: false }` [INFO] [stdout] efc94753f3dd68c3fbce8d29aee8a3bc976e62e266d3e71b3b733981685ac0d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c2260d2b81f7c213d2c9d9234216018d07c4bdf8e2047be3764e54d52c922b60 [INFO] running `Command { std: "docker" "start" "-a" "c2260d2b81f7c213d2c9d9234216018d07c4bdf8e2047be3764e54d52c922b60", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.31.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tracing-appender v0.2.4 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling ctrlc v3.5.2 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling mtga v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `linux::*` [INFO] [stdout] --> src/platform/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use linux::*; [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 variable: `ca_common_name` [INFO] [stdout] --> src/cert/mod.rs:517:34 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn is_ca_installed_in_system(ca_common_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ca_common_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/proxy/mod.rs:760:34 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn update_runtime_options(f: F) -> Result<()> [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | cli::ConfigSub::UseGroup { index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_alias_provider_map` is never used [INFO] [stdout] --> src/config/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn build_alias_provider_map(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_proxy_running` is never used [INFO] [stdout] --> src/cert/mod.rs:512:8 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn is_proxy_running() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `force_stream` is never used [INFO] [stdout] --> src/proxy/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ProxyConfig { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn force_stream(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload_config` is never used [INFO] [stdout] --> src/proxy/mod.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 737 | pub fn reload_config() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_runtime_options` is never used [INFO] [stdout] --> src/proxy/mod.rs:760:8 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn update_runtime_options(f: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `has_pending_data`, and `is_done_received` are never used [INFO] [stdout] --> src/proxy/sse.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SseProcessor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn has_pending_data(&self, buffer: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn is_done_received(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_dir` is never used [INFO] [stdout] --> src/update/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_update_info_path` is never used [INFO] [stdout] --> src/update/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_update_info_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_dir` is never used [INFO] [stdout] --> src/user_data/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wininet_proxy_override`, `winhttp_proxy_bypass`, and `env_no_proxy` are never read [INFO] [stdout] --> src/network/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NetworkEnvironmentReport { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub wininet_proxy_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub winhttp_proxy: Option, [INFO] [stdout] 13 | pub winhttp_proxy_bypass: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub env_no_proxy: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEnvironmentReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_model_in_list` is never used [INFO] [stdout] --> src/model_test.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | pub async fn test_model_in_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `platform_tag` is never used [INFO] [stdout] --> src/platform/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn platform_tag() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_windows` is never used [INFO] [stdout] --> src/platform/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn is_windows() -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_macos` is never used [INFO] [stdout] --> src/platform/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_macos() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_linux` is never used [INFO] [stdout] --> src/platform/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn is_linux() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_posix` is never used [INFO] [stdout] --> src/platform/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn is_posix() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_log_file_path` is never used [INFO] [stdout] --> src/logging/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_log_file_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_log_dir` is never used [INFO] [stdout] --> src/logging/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn show_log_dir() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_log_dir` is never used [INFO] [stdout] --> src/logging/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn open_log_dir() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update` are never used [INFO] [stdout] --> src/runtime_options.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl RuntimeOptions { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn update(&mut self, options: RuntimeOptionsUpdate) -> RuntimeOptionsChanges { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuntimeOptionsUpdate` is never constructed [INFO] [stdout] --> src/runtime_options.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct RuntimeOptionsUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuntimeOptionsChanges` is never constructed [INFO] [stdout] --> src/runtime_options.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct RuntimeOptionsChanges { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_changes` is never used [INFO] [stdout] --> src/runtime_options.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl RuntimeOptionsChanges { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 98 | pub fn has_changes(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `set_debug_mode`, `set_disable_ssl_strict`, `set_force_stream`, and `set_stream_mode` are never used [INFO] [stdout] --> src/runtime_options.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl SharedRuntimeOptions { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn update(&self, update: RuntimeOptionsUpdate) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn set_debug_mode(&self, enabled: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_disable_ssl_strict(&self, enabled: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_force_stream(&self, enabled: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn set_stream_mode(&self, mode: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_UNKNOWN` is never used [INFO] [stdout] --> src/error_codes.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ERR_UNKNOWN: &str = "MTGA-000-0001"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_INVALID_ARGUMENT` is never used [INFO] [stdout] --> src/error_codes.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ERR_INVALID_ARGUMENT: &str = "MTGA-000-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_OPERATION_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ERR_OPERATION_FAILED: &str = "MTGA-000-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NOT_IMPLEMENTED` is never used [INFO] [stdout] --> src/error_codes.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ERR_NOT_IMPLEMENTED: &str = "MTGA-000-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PERMISSION_DENIED` is never used [INFO] [stdout] --> src/error_codes.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ERR_PERMISSION_DENIED: &str = "MTGA-000-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_TIMEOUT` is never used [INFO] [stdout] --> src/error_codes.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const ERR_TIMEOUT: &str = "MTGA-000-0006"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CANCELLED` is never used [INFO] [stdout] --> src/error_codes.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const ERR_CANCELLED: &str = "MTGA-000-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const ERR_CONFIG_NOT_FOUND: &str = "MTGA-001-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_PARSE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const ERR_CONFIG_PARSE_FAILED: &str = "MTGA-001-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_SAVE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const ERR_CONFIG_SAVE_FAILED: &str = "MTGA-001-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_INVALID` is never used [INFO] [stdout] --> src/error_codes.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const ERR_CONFIG_INVALID: &str = "MTGA-001-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_PROVIDER_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ERR_CONFIG_PROVIDER_NOT_FOUND: &str = "MTGA-001-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_MODEL_ALIAS_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const ERR_CONFIG_MODEL_ALIAS_NOT_FOUND: &str = "MTGA-001-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_GLOBAL_CONFIG_MISSING` is never used [INFO] [stdout] --> src/error_codes.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const ERR_GLOBAL_CONFIG_MISSING: &str = "MTGA-001-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MTGA_AUTH_KEY_MISSING` is never used [INFO] [stdout] --> src/error_codes.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const ERR_MTGA_AUTH_KEY_MISSING: &str = "MTGA-001-0008"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_ALIAS_MISSING` is never used [INFO] [stdout] --> src/error_codes.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const ERR_MODEL_ALIAS_MISSING: &str = "MTGA-001-0009"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_GENERATE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const ERR_CERT_GENERATE_FAILED: &str = "MTGA-002-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_INSTALL_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const ERR_CERT_INSTALL_FAILED: &str = "MTGA-002-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_CLEAN_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const ERR_CERT_CLEAN_FAILED: &str = "MTGA-002-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const ERR_CERT_NOT_FOUND: &str = "MTGA-002-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_INVALID` is never used [INFO] [stdout] --> src/error_codes.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ERR_CERT_INVALID: &str = "MTGA-002-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_EXPIRED` is never used [INFO] [stdout] --> src/error_codes.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ERR_CERT_EXPIRED: &str = "MTGA-002-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_READ_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const ERR_CERT_READ_FAILED: &str = "MTGA-002-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_WRITE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const ERR_CERT_WRITE_FAILED: &str = "MTGA-002-0008"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ERR_HOSTS_NOT_FOUND: &str = "MTGA-003-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_READ_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ERR_HOSTS_READ_FAILED: &str = "MTGA-003-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_WRITE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const ERR_HOSTS_WRITE_FAILED: &str = "MTGA-003-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_BACKUP_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ERR_HOSTS_BACKUP_FAILED: &str = "MTGA-003-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_RESTORE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const ERR_HOSTS_RESTORE_FAILED: &str = "MTGA-003-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_ENTRY_EXISTS` is never used [INFO] [stdout] --> src/error_codes.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const ERR_HOSTS_ENTRY_EXISTS: &str = "MTGA-003-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_ENTRY_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ERR_HOSTS_ENTRY_NOT_FOUND: &str = "MTGA-003-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_MODIFY_BLOCKED` is never used [INFO] [stdout] --> src/error_codes.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const ERR_HOSTS_MODIFY_BLOCKED: &str = "MTGA-003-0008"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_ALREADY_RUNNING` is never used [INFO] [stdout] --> src/error_codes.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const ERR_PROXY_ALREADY_RUNNING: &str = "MTGA-004-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_NOT_RUNNING` is never used [INFO] [stdout] --> src/error_codes.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const ERR_PROXY_NOT_RUNNING: &str = "MTGA-004-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_START_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ERR_PROXY_START_FAILED: &str = "MTGA-004-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_STOP_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ERR_PROXY_STOP_FAILED: &str = "MTGA-004-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_PORT_IN_USE` is never used [INFO] [stdout] --> src/error_codes.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const ERR_PROXY_PORT_IN_USE: &str = "MTGA-004-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_BIND_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const ERR_PROXY_BIND_FAILED: &str = "MTGA-004-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_TLS_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const ERR_PROXY_TLS_FAILED: &str = "MTGA-004-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_CONFIG_RELOAD_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ERR_PROXY_CONFIG_RELOAD_FAILED: &str = "MTGA-004-0008"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_FORWARD_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const ERR_PROXY_FORWARD_FAILED: &str = "MTGA-004-0009"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_AUTH_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const ERR_PROXY_AUTH_FAILED: &str = "MTGA-004-0010"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_UNREACHABLE` is never used [INFO] [stdout] --> src/error_codes.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const ERR_NETWORK_UNREACHABLE: &str = "MTGA-005-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_PROXY_DETECTED` is never used [INFO] [stdout] --> src/error_codes.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const ERR_NETWORK_PROXY_DETECTED: &str = "MTGA-005-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_DNS_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const ERR_NETWORK_DNS_FAILED: &str = "MTGA-005-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_CONNECTION_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const ERR_NETWORK_CONNECTION_FAILED: &str = "MTGA-005-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_TIMEOUT` is never used [INFO] [stdout] --> src/error_codes.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const ERR_NETWORK_TIMEOUT: &str = "MTGA-005-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PLATFORM_NOT_SUPPORTED` is never used [INFO] [stdout] --> src/error_codes.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const ERR_PLATFORM_NOT_SUPPORTED: &str = "MTGA-006-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PLATFORM_ADMIN_REQUIRED` is never used [INFO] [stdout] --> src/error_codes.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub const ERR_PLATFORM_ADMIN_REQUIRED: &str = "MTGA-006-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PLATFORM_ELEVATION_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const ERR_PLATFORM_ELEVATION_FAILED: &str = "MTGA-006-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_UPDATE_CHECK_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const ERR_UPDATE_CHECK_FAILED: &str = "MTGA-007-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_UPDATE_NETWORK_ERROR` is never used [INFO] [stdout] --> src/error_codes.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | pub const ERR_UPDATE_NETWORK_ERROR: &str = "MTGA-007-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_UPDATE_PARSE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const ERR_UPDATE_PARSE_FAILED: &str = "MTGA-007-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_BACKUP_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const ERR_USER_DATA_BACKUP_FAILED: &str = "MTGA-008-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_RESTORE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const ERR_USER_DATA_RESTORE_FAILED: &str = "MTGA-008-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_CLEAR_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const ERR_USER_DATA_CLEAR_FAILED: &str = "MTGA-008-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const ERR_USER_DATA_NOT_FOUND: &str = "MTGA-008-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_TEST_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | pub const ERR_MODEL_TEST_FAILED: &str = "MTGA-009-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_LIST_FETCH_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const ERR_MODEL_LIST_FETCH_FAILED: &str = "MTGA-009-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub const ERR_MODEL_NOT_FOUND: &str = "MTGA-009-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodedError` is never constructed [INFO] [stdout] --> src/error_codes.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct CodedError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_source` are never used [INFO] [stdout] --> src/error_codes.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl CodedError { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 97 | pub fn new(code: &'static str, message: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn with_source(self, source: impl fmt::Display) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_error_help` is never used [INFO] [stdout] --> src/error_codes.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn get_error_help(code: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_error` is never used [INFO] [stdout] --> src/error_codes.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn format_error(code: &str, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WEB_PORT` is never used [INFO] [stdout] --> src/web/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const DEFAULT_WEB_PORT: u16 = 8080; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WEB_HOST` is never used [INFO] [stdout] --> src/web/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const DEFAULT_WEB_HOST: &str = "127.0.0.1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proxy/mod.rs:723:27 [INFO] [stdout] | [INFO] [stdout] 723 | if let Some(tx) = SHUTDOWN_TX.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proxy/mod.rs:769:12 [INFO] [stdout] | [INFO] [stdout] 769 | if CONFIG_RELOAD_TX.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/web/mod.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(tx) = SHUTDOWN_TX.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 17s [INFO] running `Command { std: "docker" "inspect" "c2260d2b81f7c213d2c9d9234216018d07c4bdf8e2047be3764e54d52c922b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2260d2b81f7c213d2c9d9234216018d07c4bdf8e2047be3764e54d52c922b60", kill_on_drop: false }` [INFO] [stdout] c2260d2b81f7c213d2c9d9234216018d07c4bdf8e2047be3764e54d52c922b60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 203603a5f5add46dc79e4fa17d8c537229dd894e3061984f6e31c1e05feb233a [INFO] running `Command { std: "docker" "start" "-a" "203603a5f5add46dc79e4fa17d8c537229dd894e3061984f6e31c1e05feb233a", kill_on_drop: false }` [INFO] [stderr] Compiling mtga v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `linux::*` [INFO] [stdout] --> src/platform/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use linux::*; [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 variable: `ca_common_name` [INFO] [stdout] --> src/cert/mod.rs:517:34 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn is_ca_installed_in_system(ca_common_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ca_common_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/proxy/mod.rs:760:34 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn update_runtime_options(f: F) -> Result<()> [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | cli::ConfigSub::UseGroup { index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_alias_provider_map` is never used [INFO] [stdout] --> src/config/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn build_alias_provider_map(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_proxy_running` is never used [INFO] [stdout] --> src/cert/mod.rs:512:8 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn is_proxy_running() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `force_stream` is never used [INFO] [stdout] --> src/proxy/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ProxyConfig { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn force_stream(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload_config` is never used [INFO] [stdout] --> src/proxy/mod.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 737 | pub fn reload_config() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_runtime_options` is never used [INFO] [stdout] --> src/proxy/mod.rs:760:8 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn update_runtime_options(f: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `has_pending_data`, and `is_done_received` are never used [INFO] [stdout] --> src/proxy/sse.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SseProcessor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn has_pending_data(&self, buffer: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn is_done_received(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_dir` is never used [INFO] [stdout] --> src/update/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_update_info_path` is never used [INFO] [stdout] --> src/update/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_update_info_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_dir` is never used [INFO] [stdout] --> src/user_data/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wininet_proxy_override`, `winhttp_proxy_bypass`, and `env_no_proxy` are never read [INFO] [stdout] --> src/network/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NetworkEnvironmentReport { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub wininet_proxy_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub winhttp_proxy: Option, [INFO] [stdout] 13 | pub winhttp_proxy_bypass: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub env_no_proxy: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEnvironmentReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_model_in_list` is never used [INFO] [stdout] --> src/model_test.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | pub async fn test_model_in_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `platform_tag` is never used [INFO] [stdout] --> src/platform/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn platform_tag() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_windows` is never used [INFO] [stdout] --> src/platform/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn is_windows() -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_macos` is never used [INFO] [stdout] --> src/platform/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_macos() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_linux` is never used [INFO] [stdout] --> src/platform/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn is_linux() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_posix` is never used [INFO] [stdout] --> src/platform/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn is_posix() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_log_file_path` is never used [INFO] [stdout] --> src/logging/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_log_file_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_log_dir` is never used [INFO] [stdout] --> src/logging/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn show_log_dir() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_log_dir` is never used [INFO] [stdout] --> src/logging/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn open_log_dir() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/runtime_options.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl RuntimeOptions { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_disable_ssl_strict`, `set_force_stream`, and `set_stream_mode` are never used [INFO] [stdout] --> src/runtime_options.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl SharedRuntimeOptions { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_disable_ssl_strict(&self, enabled: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_force_stream(&self, enabled: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn set_stream_mode(&self, mode: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_INVALID_ARGUMENT` is never used [INFO] [stdout] --> src/error_codes.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ERR_INVALID_ARGUMENT: &str = "MTGA-000-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_OPERATION_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ERR_OPERATION_FAILED: &str = "MTGA-000-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NOT_IMPLEMENTED` is never used [INFO] [stdout] --> src/error_codes.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ERR_NOT_IMPLEMENTED: &str = "MTGA-000-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PERMISSION_DENIED` is never used [INFO] [stdout] --> src/error_codes.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ERR_PERMISSION_DENIED: &str = "MTGA-000-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_TIMEOUT` is never used [INFO] [stdout] --> src/error_codes.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const ERR_TIMEOUT: &str = "MTGA-000-0006"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CANCELLED` is never used [INFO] [stdout] --> src/error_codes.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const ERR_CANCELLED: &str = "MTGA-000-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const ERR_CONFIG_NOT_FOUND: &str = "MTGA-001-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_PARSE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const ERR_CONFIG_PARSE_FAILED: &str = "MTGA-001-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_SAVE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const ERR_CONFIG_SAVE_FAILED: &str = "MTGA-001-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_INVALID` is never used [INFO] [stdout] --> src/error_codes.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const ERR_CONFIG_INVALID: &str = "MTGA-001-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_PROVIDER_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ERR_CONFIG_PROVIDER_NOT_FOUND: &str = "MTGA-001-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CONFIG_MODEL_ALIAS_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const ERR_CONFIG_MODEL_ALIAS_NOT_FOUND: &str = "MTGA-001-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MTGA_AUTH_KEY_MISSING` is never used [INFO] [stdout] --> src/error_codes.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const ERR_MTGA_AUTH_KEY_MISSING: &str = "MTGA-001-0008"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_ALIAS_MISSING` is never used [INFO] [stdout] --> src/error_codes.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const ERR_MODEL_ALIAS_MISSING: &str = "MTGA-001-0009"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_GENERATE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const ERR_CERT_GENERATE_FAILED: &str = "MTGA-002-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_CLEAN_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const ERR_CERT_CLEAN_FAILED: &str = "MTGA-002-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const ERR_CERT_NOT_FOUND: &str = "MTGA-002-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_INVALID` is never used [INFO] [stdout] --> src/error_codes.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ERR_CERT_INVALID: &str = "MTGA-002-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_EXPIRED` is never used [INFO] [stdout] --> src/error_codes.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ERR_CERT_EXPIRED: &str = "MTGA-002-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_READ_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const ERR_CERT_READ_FAILED: &str = "MTGA-002-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CERT_WRITE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const ERR_CERT_WRITE_FAILED: &str = "MTGA-002-0008"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ERR_HOSTS_NOT_FOUND: &str = "MTGA-003-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_READ_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ERR_HOSTS_READ_FAILED: &str = "MTGA-003-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_WRITE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const ERR_HOSTS_WRITE_FAILED: &str = "MTGA-003-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_BACKUP_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ERR_HOSTS_BACKUP_FAILED: &str = "MTGA-003-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_RESTORE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const ERR_HOSTS_RESTORE_FAILED: &str = "MTGA-003-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_ENTRY_EXISTS` is never used [INFO] [stdout] --> src/error_codes.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const ERR_HOSTS_ENTRY_EXISTS: &str = "MTGA-003-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_HOSTS_ENTRY_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ERR_HOSTS_ENTRY_NOT_FOUND: &str = "MTGA-003-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_ALREADY_RUNNING` is never used [INFO] [stdout] --> src/error_codes.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const ERR_PROXY_ALREADY_RUNNING: &str = "MTGA-004-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_NOT_RUNNING` is never used [INFO] [stdout] --> src/error_codes.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const ERR_PROXY_NOT_RUNNING: &str = "MTGA-004-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_START_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ERR_PROXY_START_FAILED: &str = "MTGA-004-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_STOP_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ERR_PROXY_STOP_FAILED: &str = "MTGA-004-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_BIND_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const ERR_PROXY_BIND_FAILED: &str = "MTGA-004-0006"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_TLS_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const ERR_PROXY_TLS_FAILED: &str = "MTGA-004-0007"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_CONFIG_RELOAD_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ERR_PROXY_CONFIG_RELOAD_FAILED: &str = "MTGA-004-0008"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_FORWARD_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const ERR_PROXY_FORWARD_FAILED: &str = "MTGA-004-0009"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PROXY_AUTH_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const ERR_PROXY_AUTH_FAILED: &str = "MTGA-004-0010"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_UNREACHABLE` is never used [INFO] [stdout] --> src/error_codes.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const ERR_NETWORK_UNREACHABLE: &str = "MTGA-005-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_DNS_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const ERR_NETWORK_DNS_FAILED: &str = "MTGA-005-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_CONNECTION_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const ERR_NETWORK_CONNECTION_FAILED: &str = "MTGA-005-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_NETWORK_TIMEOUT` is never used [INFO] [stdout] --> src/error_codes.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const ERR_NETWORK_TIMEOUT: &str = "MTGA-005-0005"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PLATFORM_NOT_SUPPORTED` is never used [INFO] [stdout] --> src/error_codes.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const ERR_PLATFORM_NOT_SUPPORTED: &str = "MTGA-006-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_PLATFORM_ELEVATION_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const ERR_PLATFORM_ELEVATION_FAILED: &str = "MTGA-006-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_UPDATE_CHECK_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const ERR_UPDATE_CHECK_FAILED: &str = "MTGA-007-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_UPDATE_NETWORK_ERROR` is never used [INFO] [stdout] --> src/error_codes.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | pub const ERR_UPDATE_NETWORK_ERROR: &str = "MTGA-007-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_UPDATE_PARSE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const ERR_UPDATE_PARSE_FAILED: &str = "MTGA-007-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_BACKUP_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const ERR_USER_DATA_BACKUP_FAILED: &str = "MTGA-008-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_RESTORE_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const ERR_USER_DATA_RESTORE_FAILED: &str = "MTGA-008-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_CLEAR_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const ERR_USER_DATA_CLEAR_FAILED: &str = "MTGA-008-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_USER_DATA_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const ERR_USER_DATA_NOT_FOUND: &str = "MTGA-008-0004"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_TEST_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | pub const ERR_MODEL_TEST_FAILED: &str = "MTGA-009-0001"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_LIST_FETCH_FAILED` is never used [INFO] [stdout] --> src/error_codes.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const ERR_MODEL_LIST_FETCH_FAILED: &str = "MTGA-009-0002"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_MODEL_NOT_FOUND` is never used [INFO] [stdout] --> src/error_codes.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub const ERR_MODEL_NOT_FOUND: &str = "MTGA-009-0003"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_source` is never used [INFO] [stdout] --> src/error_codes.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl CodedError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn with_source(self, source: impl fmt::Display) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WEB_PORT` is never used [INFO] [stdout] --> src/web/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const DEFAULT_WEB_PORT: u16 = 8080; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WEB_HOST` is never used [INFO] [stdout] --> src/web/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const DEFAULT_WEB_HOST: &str = "127.0.0.1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proxy/mod.rs:723:27 [INFO] [stdout] | [INFO] [stdout] 723 | if let Some(tx) = SHUTDOWN_TX.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/proxy/mod.rs:769:12 [INFO] [stdout] | [INFO] [stdout] 769 | if CONFIG_RELOAD_TX.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/web/mod.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(tx) = SHUTDOWN_TX.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.10s [INFO] running `Command { std: "docker" "inspect" "203603a5f5add46dc79e4fa17d8c537229dd894e3061984f6e31c1e05feb233a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "203603a5f5add46dc79e4fa17d8c537229dd894e3061984f6e31c1e05feb233a", kill_on_drop: false }` [INFO] [stdout] 203603a5f5add46dc79e4fa17d8c537229dd894e3061984f6e31c1e05feb233a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cc530a2421f2cd17400d2cdde7c8f0dda44a7747cd8d840ff9bc8f1ef48af0ba [INFO] running `Command { std: "docker" "start" "-a" "cc530a2421f2cd17400d2cdde7c8f0dda44a7747cd8d840ff9bc8f1ef48af0ba", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `linux::*` [INFO] [stderr] --> src/platform/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub use linux::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ca_common_name` [INFO] [stderr] --> src/cert/mod.rs:517:34 [INFO] [stderr] | [INFO] [stderr] 517 | pub fn is_ca_installed_in_system(ca_common_name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ca_common_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/proxy/mod.rs:760:34 [INFO] [stderr] | [INFO] [stderr] 760 | pub fn update_runtime_options(f: F) -> Result<()> [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/main.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | cli::ConfigSub::UseGroup { index } => { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stderr] [INFO] [stderr] warning: method `build_alias_provider_map` is never used [INFO] [stderr] --> src/config/mod.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 89 | impl Config { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn build_alias_provider_map(&self) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `is_proxy_running` is never used [INFO] [stderr] --> src/cert/mod.rs:512:8 [INFO] [stderr] | [INFO] [stderr] 512 | pub fn is_proxy_running() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `force_stream` is never used [INFO] [stderr] --> src/proxy/mod.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 59 | impl ProxyConfig { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn force_stream(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reload_config` is never used [INFO] [stderr] --> src/proxy/mod.rs:737:8 [INFO] [stderr] | [INFO] [stderr] 737 | pub fn reload_config() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_runtime_options` is never used [INFO] [stderr] --> src/proxy/mod.rs:760:8 [INFO] [stderr] | [INFO] [stderr] 760 | pub fn update_runtime_options(f: F) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `reset`, `has_pending_data`, and `is_done_received` are never used [INFO] [stderr] --> src/proxy/sse.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl SseProcessor { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn reset(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn has_pending_data(&self, buffer: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 168 | pub fn is_done_received(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_data_dir` is never used [INFO] [stderr] --> src/update/mod.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_data_dir() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_update_info_path` is never used [INFO] [stderr] --> src/update/mod.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get_update_info_path() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_data_dir` is never used [INFO] [stderr] --> src/user_data/mod.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn get_data_dir() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `wininet_proxy_override`, `winhttp_proxy_bypass`, and `env_no_proxy` are never read [INFO] [stderr] --> src/network/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct NetworkEnvironmentReport { [INFO] [stderr] | ------------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub wininet_proxy_override: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | pub winhttp_proxy: Option, [INFO] [stderr] 13 | pub winhttp_proxy_bypass: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub env_no_proxy: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NetworkEnvironmentReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `test_model_in_list` is never used [INFO] [stderr] --> src/model_test.rs:207:14 [INFO] [stderr] | [INFO] [stderr] 207 | pub async fn test_model_in_list( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `platform_tag` is never used [INFO] [stderr] --> src/platform/mod.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn platform_tag() -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_windows` is never used [INFO] [stderr] --> src/platform/mod.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn is_windows() -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_macos` is never used [INFO] [stderr] --> src/platform/mod.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn is_macos() -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_linux` is never used [INFO] [stderr] --> src/platform/mod.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn is_linux() -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_posix` is never used [INFO] [stderr] --> src/platform/mod.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn is_posix() -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_log_file_path` is never used [INFO] [stderr] --> src/logging/mod.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn get_log_file_path() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_log_dir` is never used [INFO] [stderr] --> src/logging/mod.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn show_log_dir() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `open_log_dir` is never used [INFO] [stderr] --> src/logging/mod.rs:74:8 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn open_log_dir() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/runtime_options.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl RuntimeOptions { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 30 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `set_disable_ssl_strict`, `set_force_stream`, and `set_stream_mode` are never used [INFO] [stderr] --> src/runtime_options.rs:141:12 [INFO] [stderr] | [INFO] [stderr] 111 | impl SharedRuntimeOptions { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn set_disable_ssl_strict(&self, enabled: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | pub fn set_force_stream(&self, enabled: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn set_stream_mode(&self, mode: Option) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_INVALID_ARGUMENT` is never used [INFO] [stderr] --> src/error_codes.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const ERR_INVALID_ARGUMENT: &str = "MTGA-000-0002"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_OPERATION_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const ERR_OPERATION_FAILED: &str = "MTGA-000-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_NOT_IMPLEMENTED` is never used [INFO] [stderr] --> src/error_codes.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const ERR_NOT_IMPLEMENTED: &str = "MTGA-000-0004"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PERMISSION_DENIED` is never used [INFO] [stderr] --> src/error_codes.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const ERR_PERMISSION_DENIED: &str = "MTGA-000-0005"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_TIMEOUT` is never used [INFO] [stderr] --> src/error_codes.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const ERR_TIMEOUT: &str = "MTGA-000-0006"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CANCELLED` is never used [INFO] [stderr] --> src/error_codes.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const ERR_CANCELLED: &str = "MTGA-000-0007"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CONFIG_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub const ERR_CONFIG_NOT_FOUND: &str = "MTGA-001-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CONFIG_PARSE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | pub const ERR_CONFIG_PARSE_FAILED: &str = "MTGA-001-0002"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CONFIG_SAVE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | pub const ERR_CONFIG_SAVE_FAILED: &str = "MTGA-001-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CONFIG_INVALID` is never used [INFO] [stderr] --> src/error_codes.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | pub const ERR_CONFIG_INVALID: &str = "MTGA-001-0004"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CONFIG_PROVIDER_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub const ERR_CONFIG_PROVIDER_NOT_FOUND: &str = "MTGA-001-0005"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CONFIG_MODEL_ALIAS_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const ERR_CONFIG_MODEL_ALIAS_NOT_FOUND: &str = "MTGA-001-0006"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_MTGA_AUTH_KEY_MISSING` is never used [INFO] [stderr] --> src/error_codes.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | pub const ERR_MTGA_AUTH_KEY_MISSING: &str = "MTGA-001-0008"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_MODEL_ALIAS_MISSING` is never used [INFO] [stderr] --> src/error_codes.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | pub const ERR_MODEL_ALIAS_MISSING: &str = "MTGA-001-0009"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CERT_GENERATE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const ERR_CERT_GENERATE_FAILED: &str = "MTGA-002-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CERT_CLEAN_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub const ERR_CERT_CLEAN_FAILED: &str = "MTGA-002-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CERT_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | pub const ERR_CERT_NOT_FOUND: &str = "MTGA-002-0004"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CERT_INVALID` is never used [INFO] [stderr] --> src/error_codes.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | pub const ERR_CERT_INVALID: &str = "MTGA-002-0005"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CERT_EXPIRED` is never used [INFO] [stderr] --> src/error_codes.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | pub const ERR_CERT_EXPIRED: &str = "MTGA-002-0006"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CERT_READ_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | pub const ERR_CERT_READ_FAILED: &str = "MTGA-002-0007"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_CERT_WRITE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | pub const ERR_CERT_WRITE_FAILED: &str = "MTGA-002-0008"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_HOSTS_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | pub const ERR_HOSTS_NOT_FOUND: &str = "MTGA-003-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_HOSTS_READ_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | pub const ERR_HOSTS_READ_FAILED: &str = "MTGA-003-0002"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_HOSTS_WRITE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:40:11 [INFO] [stderr] | [INFO] [stderr] 40 | pub const ERR_HOSTS_WRITE_FAILED: &str = "MTGA-003-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_HOSTS_BACKUP_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | pub const ERR_HOSTS_BACKUP_FAILED: &str = "MTGA-003-0004"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_HOSTS_RESTORE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:42:11 [INFO] [stderr] | [INFO] [stderr] 42 | pub const ERR_HOSTS_RESTORE_FAILED: &str = "MTGA-003-0005"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_HOSTS_ENTRY_EXISTS` is never used [INFO] [stderr] --> src/error_codes.rs:43:11 [INFO] [stderr] | [INFO] [stderr] 43 | pub const ERR_HOSTS_ENTRY_EXISTS: &str = "MTGA-003-0006"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_HOSTS_ENTRY_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | pub const ERR_HOSTS_ENTRY_NOT_FOUND: &str = "MTGA-003-0007"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_ALREADY_RUNNING` is never used [INFO] [stderr] --> src/error_codes.rs:48:11 [INFO] [stderr] | [INFO] [stderr] 48 | pub const ERR_PROXY_ALREADY_RUNNING: &str = "MTGA-004-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_NOT_RUNNING` is never used [INFO] [stderr] --> src/error_codes.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | pub const ERR_PROXY_NOT_RUNNING: &str = "MTGA-004-0002"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_START_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | pub const ERR_PROXY_START_FAILED: &str = "MTGA-004-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_STOP_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:51:11 [INFO] [stderr] | [INFO] [stderr] 51 | pub const ERR_PROXY_STOP_FAILED: &str = "MTGA-004-0004"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_BIND_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | pub const ERR_PROXY_BIND_FAILED: &str = "MTGA-004-0006"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_TLS_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:54:11 [INFO] [stderr] | [INFO] [stderr] 54 | pub const ERR_PROXY_TLS_FAILED: &str = "MTGA-004-0007"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_CONFIG_RELOAD_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | pub const ERR_PROXY_CONFIG_RELOAD_FAILED: &str = "MTGA-004-0008"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_FORWARD_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:56:11 [INFO] [stderr] | [INFO] [stderr] 56 | pub const ERR_PROXY_FORWARD_FAILED: &str = "MTGA-004-0009"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PROXY_AUTH_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:57:11 [INFO] [stderr] | [INFO] [stderr] 57 | pub const ERR_PROXY_AUTH_FAILED: &str = "MTGA-004-0010"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_NETWORK_UNREACHABLE` is never used [INFO] [stderr] --> src/error_codes.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | pub const ERR_NETWORK_UNREACHABLE: &str = "MTGA-005-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_NETWORK_DNS_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | pub const ERR_NETWORK_DNS_FAILED: &str = "MTGA-005-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_NETWORK_CONNECTION_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:63:11 [INFO] [stderr] | [INFO] [stderr] 63 | pub const ERR_NETWORK_CONNECTION_FAILED: &str = "MTGA-005-0004"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_NETWORK_TIMEOUT` is never used [INFO] [stderr] --> src/error_codes.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | pub const ERR_NETWORK_TIMEOUT: &str = "MTGA-005-0005"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PLATFORM_NOT_SUPPORTED` is never used [INFO] [stderr] --> src/error_codes.rs:67:11 [INFO] [stderr] | [INFO] [stderr] 67 | pub const ERR_PLATFORM_NOT_SUPPORTED: &str = "MTGA-006-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_PLATFORM_ELEVATION_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:69:11 [INFO] [stderr] | [INFO] [stderr] 69 | pub const ERR_PLATFORM_ELEVATION_FAILED: &str = "MTGA-006-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_UPDATE_CHECK_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | pub const ERR_UPDATE_CHECK_FAILED: &str = "MTGA-007-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_UPDATE_NETWORK_ERROR` is never used [INFO] [stderr] --> src/error_codes.rs:73:11 [INFO] [stderr] | [INFO] [stderr] 73 | pub const ERR_UPDATE_NETWORK_ERROR: &str = "MTGA-007-0002"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_UPDATE_PARSE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:74:11 [INFO] [stderr] | [INFO] [stderr] 74 | pub const ERR_UPDATE_PARSE_FAILED: &str = "MTGA-007-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_USER_DATA_BACKUP_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | pub const ERR_USER_DATA_BACKUP_FAILED: &str = "MTGA-008-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_USER_DATA_RESTORE_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:78:11 [INFO] [stderr] | [INFO] [stderr] 78 | pub const ERR_USER_DATA_RESTORE_FAILED: &str = "MTGA-008-0002"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_USER_DATA_CLEAR_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | pub const ERR_USER_DATA_CLEAR_FAILED: &str = "MTGA-008-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_USER_DATA_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:80:11 [INFO] [stderr] | [INFO] [stderr] 80 | pub const ERR_USER_DATA_NOT_FOUND: &str = "MTGA-008-0004"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_MODEL_TEST_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:83:11 [INFO] [stderr] | [INFO] [stderr] 83 | pub const ERR_MODEL_TEST_FAILED: &str = "MTGA-009-0001"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_MODEL_LIST_FETCH_FAILED` is never used [INFO] [stderr] --> src/error_codes.rs:84:11 [INFO] [stderr] | [INFO] [stderr] 84 | pub const ERR_MODEL_LIST_FETCH_FAILED: &str = "MTGA-009-0002"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ERR_MODEL_NOT_FOUND` is never used [INFO] [stderr] --> src/error_codes.rs:85:11 [INFO] [stderr] | [INFO] [stderr] 85 | pub const ERR_MODEL_NOT_FOUND: &str = "MTGA-009-0003"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_source` is never used [INFO] [stderr] --> src/error_codes.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 96 | impl CodedError { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn with_source(self, source: impl fmt::Display) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_WEB_PORT` is never used [INFO] [stderr] --> src/web/mod.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | pub const DEFAULT_WEB_PORT: u16 = 8080; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_WEB_HOST` is never used [INFO] [stderr] --> src/web/mod.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | pub const DEFAULT_WEB_HOST: &str = "127.0.0.1"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/proxy/mod.rs:723:27 [INFO] [stderr] | [INFO] [stderr] 723 | if let Some(tx) = SHUTDOWN_TX.take() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/proxy/mod.rs:769:12 [INFO] [stderr] | [INFO] [stderr] 769 | if CONFIG_RELOAD_TX.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/web/mod.rs:171:27 [INFO] [stderr] | [INFO] [stderr] 171 | if let Some(tx) = SHUTDOWN_TX.take() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `mtga` (bin "mtga" test) generated 84 warnings (run `cargo fix --bin "mtga" -p mtga --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mtga-c3deef817a16fc40) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test error_codes::tests::test_coded_error ... ok [INFO] [stdout] test error_codes::tests::test_error_help ... ok [INFO] [stdout] test error_codes::tests::test_format_error ... ok [INFO] [stdout] test proxy::auth::tests::test_auth_verify ... ok [INFO] [stdout] test network::tests::test_port_check ... ok [INFO] [stdout] test proxy::auth::tests::test_build_route ... ok [INFO] [stdout] test proxy::auth::tests::test_normalize_middle_route ... ok [INFO] [stdout] test runtime_options::tests::test_runtime_options_update ... ok [INFO] [stdout] test runtime_options::tests::test_shared_runtime_options ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc530a2421f2cd17400d2cdde7c8f0dda44a7747cd8d840ff9bc8f1ef48af0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc530a2421f2cd17400d2cdde7c8f0dda44a7747cd8d840ff9bc8f1ef48af0ba", kill_on_drop: false }` [INFO] [stdout] cc530a2421f2cd17400d2cdde7c8f0dda44a7747cd8d840ff9bc8f1ef48af0ba