[INFO] cloning repository https://github.com/Vitus213/scutclient-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vitus213/scutclient-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVitus213%2Fscutclient-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVitus213%2Fscutclient-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdbf1dd31e3adc84e950e2a861f80755e41c6574 [INFO] checking Vitus213/scutclient-rs against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVitus213%2Fscutclient-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vitus213/scutclient-rs [INFO] finished tweaking git repo https://github.com/Vitus213/scutclient-rs [INFO] tweaked toml for git repo https://github.com/Vitus213/scutclient-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vitus213/scutclient-rs on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vitus213/scutclient-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982 [INFO] running `Command { std: "docker" "start" "38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking jiff v0.2.23 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking scutclient-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::Ipv4Addr` [INFO] [stdout] --> src/auth/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::net::Ipv4Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AUTH_8021X_RECV_DELAY` [INFO] [stdout] --> src/auth/mod.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::config::{Config, IfaceInfo, AUTH_8021X_RECV_DELAY, AUTH_8021X_RECV_TIMES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::drcom::DrcomPacket` [INFO] [stdout] --> src/auth/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::drcom::DrcomPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SERVER_PORT` [INFO] [stdout] --> src/drcom/packet.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::{Config, SERVER_PORT}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::Ipv4Addr` [INFO] [stdout] --> src/auth/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::net::Ipv4Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AUTH_8021X_RECV_DELAY` [INFO] [stdout] --> src/auth/mod.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::config::{Config, IfaceInfo, AUTH_8021X_RECV_DELAY, AUTH_8021X_RECV_TIMES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drcom_crc32` [INFO] [stdout] --> src/drcom/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{drcom_crc32, encrypt_drcom_info}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::drcom::DrcomPacket` [INFO] [stdout] --> src/auth/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::drcom::DrcomPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SERVER_PORT` [INFO] [stdout] --> src/drcom/packet.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::{Config, SERVER_PORT}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drcom_crc32` [INFO] [stdout] --> src/drcom/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{drcom_crc32, encrypt_drcom_info}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `offset` is never read [INFO] [stdout] --> src/auth/eapol.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | offset += 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `offset` is never read [INFO] [stdout] --> src/auth/eapol.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | offset += 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let mut drcom = drcom::DrcomState::new(config, auth.iface_info().ip)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Authenticated` is never constructed [INFO] [stdout] --> src/main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 169 | enum SessionEnd { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 173 | Authenticated, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionEnd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BROADCAST_ADDR` is never used [INFO] [stdout] --> src/auth/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const BROADCAST_ADDR: [u8; 6] = [0xff, 0xff, 0xff, 0xff, 0xff, 0xff]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNICAST_ADDR` is never used [INFO] [stdout] --> src/auth/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const UNICAST_ADDR: [u8; 6] = [0x01, 0xd0, 0xf8, 0x00, 0x00, 0x03]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETH_P_PAE` is never used [INFO] [stdout] --> src/auth/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const ETH_P_PAE: u16 = 0x888e; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_success` and `set_success` are never used [INFO] [stdout] --> src/auth/mod.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AuthState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_success(&mut self, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Packet`, `Key`, and `AsfAlert` are never constructed [INFO] [stdout] --> src/auth/eapol.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EapolType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | Packet = 0x00, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Key = 0x03, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | AsfAlert = 0x04, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EapolType` 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: constant `AUTH_8021X_RECV_DELAY` is never used [INFO] [stdout] --> src/config/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const AUTH_8021X_RECV_DELAY: u64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `try_parse_from` are never used [INFO] [stdout] --> src/config/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 103 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn try_parse_from(itr: I) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/config/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct IfaceInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfaceInfo` 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: field `package_id` is never read [INFO] [stdout] --> src/drcom/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DrcomState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | package_id: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_crc_md5_info` and `set_need_heartbeat` are never used [INFO] [stdout] --> src/drcom/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DrcomState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_crc_md5_info(&mut self, info: [u8; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_need_heartbeat(&mut self, need: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_str_to_bytes` is never used [INFO] [stdout] --> src/utils/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn hex_str_to_bytes(hex: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/config/mod.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[arg(skip = DEFAULT_VERSION.to_vec())] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 53 - #[arg(skip = DEFAULT_VERSION.to_vec())] [INFO] [stdout] 53 + #[arg(skip)] [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 53 - #[arg(skip = DEFAULT_VERSION.to_vec())] [INFO] [stdout] 53 + #[arg(skip) as Into<_>>::into(DEFAULT_VERSION.to_vec())] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 69 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 74 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 79 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 85 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | run_hook(config.online_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 130 | let _unused = run_hook(config.online_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scutclient-rs` (bin "scutclient-rs") due to 1 previous error; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let mut drcom = drcom::DrcomState::new(config, auth.iface_info().ip)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BROADCAST_ADDR` is never used [INFO] [stdout] --> src/auth/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const BROADCAST_ADDR: [u8; 6] = [0xff, 0xff, 0xff, 0xff, 0xff, 0xff]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNICAST_ADDR` is never used [INFO] [stdout] --> src/auth/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const UNICAST_ADDR: [u8; 6] = [0x01, 0xd0, 0xf8, 0x00, 0x00, 0x03]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETH_P_PAE` is never used [INFO] [stdout] --> src/auth/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const ETH_P_PAE: u16 = 0x888e; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_success` and `set_success` are never used [INFO] [stdout] --> src/auth/mod.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AuthState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_success(&mut self, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Packet`, `Key`, and `AsfAlert` are never constructed [INFO] [stdout] --> src/auth/eapol.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EapolType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | Packet = 0x00, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Key = 0x03, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | AsfAlert = 0x04, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EapolType` 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: constant `AUTH_8021X_RECV_DELAY` is never used [INFO] [stdout] --> src/config/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const AUTH_8021X_RECV_DELAY: u64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 103 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/config/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct IfaceInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfaceInfo` 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: field `package_id` is never read [INFO] [stdout] --> src/drcom/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DrcomState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | package_id: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_crc_md5_info` and `set_need_heartbeat` are never used [INFO] [stdout] --> src/drcom/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DrcomState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_crc_md5_info(&mut self, info: [u8; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_need_heartbeat(&mut self, need: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/config/mod.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[arg(skip = DEFAULT_VERSION.to_vec())] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 53 - #[arg(skip = DEFAULT_VERSION.to_vec())] [INFO] [stdout] 53 + #[arg(skip)] [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 53 - #[arg(skip = DEFAULT_VERSION.to_vec())] [INFO] [stdout] 53 + #[arg(skip) as Into<_>>::into(DEFAULT_VERSION.to_vec())] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 69 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 74 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 79 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 85 | let _unused = run_hook(config.offline_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | run_hook(config.online_hook.as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 130 | let _unused = run_hook(config.online_hook.as_deref()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scutclient-rs` (bin "scutclient-rs" test) due to 1 previous error; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982", kill_on_drop: false }` [INFO] [stdout] 38b54b057526b07212c713eacd2b41e0fde6f3e9ac51717e3e47f087bfd16982