[INFO] fetching crate radius-server 0.2.3... [INFO] building radius-server-0.2.3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate radius-server 0.2.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate radius-server 0.2.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate radius-server 0.2.3 [INFO] tweaked toml for crates.io crate radius-server 0.2.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate radius-server 0.2.3 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate radius-server 0.2.3 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5f11ddc52dde6e121f805589882a6e4ade9fb0d6dfa0279c35d4f36dfb1a0fb [INFO] running `Command { std: "docker" "start" "-a" "e5f11ddc52dde6e121f805589882a6e4ade9fb0d6dfa0279c35d4f36dfb1a0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5f11ddc52dde6e121f805589882a6e4ade9fb0d6dfa0279c35d4f36dfb1a0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f11ddc52dde6e121f805589882a6e4ade9fb0d6dfa0279c35d4f36dfb1a0fb", kill_on_drop: false }` [INFO] [stdout] e5f11ddc52dde6e121f805589882a6e4ade9fb0d6dfa0279c35d4f36dfb1a0fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 414b0541598f97b1f5629a5da389d42ab8eae805e59d8fc5a778b330da5c7c3e [INFO] running `Command { std: "docker" "start" "-a" "414b0541598f97b1f5629a5da389d42ab8eae805e59d8fc5a778b330da5c7c3e", kill_on_drop: false }` [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling radius-server v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::net::UdpSocket` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::UdpSocket; [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: `dict` [INFO] [stdout] --> src/handler.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> src/handler.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `vendor`, and `data_type` are never read [INFO] [stdout] --> src/dictionary.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RadiusAttributeDef { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] 8 | pub code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub vendor: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub data_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RadiusAttributeDef` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `vendors` is never read [INFO] [stdout] --> src/dictionary.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Dictionary { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | pub attributes: HashMap, [INFO] [stdout] 16 | pub vendors: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dictionary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_embedded` and `parse_from_str` are never used [INFO] [stdout] --> src/dictionary.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Dictionary { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 20 | pub fn load_embedded() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn parse_from_str(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_ACCOUNTING_REQUEST` is never used [INFO] [stdout] --> src/packet.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const CODE_ACCOUNTING_REQUEST: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_ACCOUNTING_RESPONSE` is never used [INFO] [stdout] --> src/packet.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CODE_ACCOUNTING_RESPONSE: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTR_ACCT_STATUS_TYPE` is never used [INFO] [stdout] --> src/packet.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ATTR_ACCT_STATUS_TYPE: u8 = 40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTR_ACCT_SESSION_ID` is never used [INFO] [stdout] --> src/packet.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ATTR_ACCT_SESSION_ID: u8 = 44; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTR_ACCT_SESSION_TIME` is never used [INFO] [stdout] --> src/packet.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ATTR_ACCT_SESSION_TIME: u8 = 46; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `vendor_specific` is never used [INFO] [stdout] --> src/packet.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RadiusAttribute { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn vendor_specific(vendor_id: u32, payload: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/packet.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl RadiusPacket { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn access_reject(identifier: u8, msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn access_challenge(identifier: u8, msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn log(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn reply_accept(&self, attributes: Vec) -> RadiusPacket { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn reply_reject(&self, message: &str) -> RadiusPacket { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn reply_challenge(&self, message: &str) -> RadiusPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn username(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radius_type_name` is never used [INFO] [stdout] --> src/packet.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn radius_type_name(typ: u8) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_vendor_specific` is never used [INFO] [stdout] --> src/packet.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn decode_vendor_specific(value: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountingPacket` is never constructed [INFO] [stdout] --> src/packet.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct AccountingPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AccountingAttribute` is never used [INFO] [stdout] --> src/packet.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | pub enum AccountingAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_accounting_request_authenticator` is never used [INFO] [stdout] --> src/handler.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn verify_accounting_request_authenticator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_accounting_response` is never used [INFO] [stdout] --> src/handler.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn build_accounting_response(identifier: u8, request_auth: [u8; 16], secret: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_accounting_async` is never used [INFO] [stdout] --> src/handler.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn serve_accounting_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.50s [INFO] running `Command { std: "docker" "inspect" "414b0541598f97b1f5629a5da389d42ab8eae805e59d8fc5a778b330da5c7c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414b0541598f97b1f5629a5da389d42ab8eae805e59d8fc5a778b330da5c7c3e", kill_on_drop: false }` [INFO] [stdout] 414b0541598f97b1f5629a5da389d42ab8eae805e59d8fc5a778b330da5c7c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e266c211d1ee8a9c82a4453095ab4b7bfcbe0ba6125a537cf2a97b54d63136b [INFO] running `Command { std: "docker" "start" "-a" "7e266c211d1ee8a9c82a4453095ab4b7bfcbe0ba6125a537cf2a97b54d63136b", kill_on_drop: false }` [INFO] [stderr] Compiling radius-server v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::net::UdpSocket` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::UdpSocket; [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: `dict` [INFO] [stdout] --> src/handler.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> src/handler.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `vendor`, and `data_type` are never read [INFO] [stdout] --> src/dictionary.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RadiusAttributeDef { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] 8 | pub code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub vendor: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub data_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RadiusAttributeDef` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `vendors` is never read [INFO] [stdout] --> src/dictionary.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Dictionary { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | pub attributes: HashMap, [INFO] [stdout] 16 | pub vendors: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dictionary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_embedded` and `parse_from_str` are never used [INFO] [stdout] --> src/dictionary.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Dictionary { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 20 | pub fn load_embedded() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn parse_from_str(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_ACCOUNTING_REQUEST` is never used [INFO] [stdout] --> src/packet.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const CODE_ACCOUNTING_REQUEST: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_ACCOUNTING_RESPONSE` is never used [INFO] [stdout] --> src/packet.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CODE_ACCOUNTING_RESPONSE: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTR_ACCT_STATUS_TYPE` is never used [INFO] [stdout] --> src/packet.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ATTR_ACCT_STATUS_TYPE: u8 = 40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTR_ACCT_SESSION_ID` is never used [INFO] [stdout] --> src/packet.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ATTR_ACCT_SESSION_ID: u8 = 44; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTR_ACCT_SESSION_TIME` is never used [INFO] [stdout] --> src/packet.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ATTR_ACCT_SESSION_TIME: u8 = 46; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `vendor_specific` is never used [INFO] [stdout] --> src/packet.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RadiusAttribute { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn vendor_specific(vendor_id: u32, payload: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/packet.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl RadiusPacket { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn access_reject(identifier: u8, msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn access_challenge(identifier: u8, msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn log(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn reply_accept(&self, attributes: Vec) -> RadiusPacket { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn reply_reject(&self, message: &str) -> RadiusPacket { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn reply_challenge(&self, message: &str) -> RadiusPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn username(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radius_type_name` is never used [INFO] [stdout] --> src/packet.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn radius_type_name(typ: u8) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_vendor_specific` is never used [INFO] [stdout] --> src/packet.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn decode_vendor_specific(value: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountingPacket` is never constructed [INFO] [stdout] --> src/packet.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct AccountingPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AccountingAttribute` is never used [INFO] [stdout] --> src/packet.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | pub enum AccountingAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_accounting_request_authenticator` is never used [INFO] [stdout] --> src/handler.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn verify_accounting_request_authenticator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_accounting_response` is never used [INFO] [stdout] --> src/handler.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn build_accounting_response(identifier: u8, request_auth: [u8; 16], secret: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_accounting_async` is never used [INFO] [stdout] --> src/handler.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn serve_accounting_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::UdpSocket` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::UdpSocket; [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: `dict` [INFO] [stdout] --> src/handler.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dict: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "7e266c211d1ee8a9c82a4453095ab4b7bfcbe0ba6125a537cf2a97b54d63136b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e266c211d1ee8a9c82a4453095ab4b7bfcbe0ba6125a537cf2a97b54d63136b", kill_on_drop: false }` [INFO] [stdout] 7e266c211d1ee8a9c82a4453095ab4b7bfcbe0ba6125a537cf2a97b54d63136b