[INFO] fetching crate next-web-security 0.1.0... [INFO] checking next-web-security-0.1.0 against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] extracting crate next-web-security 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate next-web-security 0.1.0 [INFO] finished tweaking crates.io crate next-web-security 0.1.0 [INFO] tweaked toml for crates.io crate next-web-security 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate next-web-security 0.1.0 on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate next-web-security 0.1.0 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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3376f8a99c332e0d9f371b9a551527eba693c8a0cac9a4580d57acad23c3678d [INFO] running `Command { std: "docker" "start" "-a" "3376f8a99c332e0d9f371b9a551527eba693c8a0cac9a4580d57acad23c3678d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3376f8a99c332e0d9f371b9a551527eba693c8a0cac9a4580d57acad23c3678d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3376f8a99c332e0d9f371b9a551527eba693c8a0cac9a4580d57acad23c3678d", kill_on_drop: false }` [INFO] [stdout] 3376f8a99c332e0d9f371b9a551527eba693c8a0cac9a4580d57acad23c3678d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e64ddb215867aa9ce3e8b5ab2dbfbd05502fd167174a856f797c9eb0dc827142 [INFO] running `Command { std: "docker" "start" "-a" "e64ddb215867aa9ce3e8b5ab2dbfbd05502fd167174a856f797c9eb0dc827142", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling compression-codecs v0.4.35 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling rudi-core v0.1.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking bcrypt v0.16.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling from-attr-core v0.1.3 [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.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling from-attr-macro v0.1.3 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling from-attr v0.1.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.36 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.7 [INFO] [stderr] Checking reqwest v0.12.25 [INFO] [stderr] Checking next-web-core v0.1.5 [INFO] [stderr] Compiling rudi-macro-dev v0.1.3 [INFO] [stderr] Checking rudi-dev v0.8.7 [INFO] [stderr] Checking next-web-security v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/shiro/core/cache/cache_manager.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{any::Any, collections::HashMap, fmt::Display, sync::Arc}; [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: `next_web_core::async_trait` [INFO] [stdout] --> src/shiro/core/mgt/default_subject_factory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use next_web_core::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mgt::subject_factory::SubjectFactory`, `subject::Subject`, and `web::subject::web_subject_context::WebSubjectContext` [INFO] [stdout] --> src/shiro/core/mgt/default_subject_factory.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | core::{mgt::subject_factory::SubjectFactory, subject::Subject}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | web::subject::web_subject_context::WebSubjectContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/shiro/core/session/mgt/default_validating_session_manager.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{error, info, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SessionId` [INFO] [stdout] --> src/shiro/core/session/mgt/default_validating_session_manager.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | Session, SessionError, SessionId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::util::object::AnyObject` [INFO] [stdout] --> src/shiro/core/session/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::util::object::AnyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subject::web_subject::WebSubject` [INFO] [stdout] --> src/shiro/core/subject/support/delegating_subject.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 28 | web::{mgt::web_security_manager::WebSecurityManager, subject::web_subject::WebSubject}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::web::subject::web_subject::WebSubject` [INFO] [stdout] --> src/shiro/core/subject/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::web::subject::web_subject::WebSubject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/shiro/core/cache/cache_manager.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{any::Any, collections::HashMap, fmt::Display, sync::Arc}; [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: `next_web_core::async_trait` [INFO] [stdout] --> src/shiro/core/mgt/default_subject_factory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use next_web_core::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mgt::subject_factory::SubjectFactory`, `subject::Subject`, and `web::subject::web_subject_context::WebSubjectContext` [INFO] [stdout] --> src/shiro/core/mgt/default_subject_factory.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | core::{mgt::subject_factory::SubjectFactory, subject::Subject}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | web::subject::web_subject_context::WebSubjectContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/shiro/core/util/object.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/shiro/core/session/mgt/default_validating_session_manager.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{error, info, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SessionId` [INFO] [stdout] --> src/shiro/core/session/mgt/default_validating_session_manager.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | Session, SessionError, SessionId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::util::object::AnyObject` [INFO] [stdout] --> src/shiro/core/session/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::core::util::object::AnyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subject::web_subject::WebSubject` [INFO] [stdout] --> src/shiro/core/subject/support/delegating_subject.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 28 | web::{mgt::web_security_manager::WebSecurityManager, subject::web_subject::WebSubject}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::web::subject::web_subject::WebSubject` [INFO] [stdout] --> src/shiro/core/subject/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::web::subject::web_subject::WebSubject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/shiro/core/util/object.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 195 | cache.insert(todo!(), info); [INFO] [stdout] | ------- ^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 195 | cache.insert(todo!(), info); [INFO] [stdout] | ------- ^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nameable::Nameable` [INFO] [stdout] --> src/shiro/core/realm/authorizing_realm.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | traits::{nameable::Nameable, required::Required}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/authc/credential/simple_credentials_matcher.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | token: &dyn crate::core::authc::authentication_token::AuthenticationToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/shiro/core/authc/credential/simple_credentials_matcher.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | info: &dyn crate::core::authc::authentication_info::AuthenticationInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realms` [INFO] [stdout] --> src/shiro/core/authc/pam/modular_realm_authenticator.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn set_realms(&mut self, realms: Vec) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_realms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authentication_token` [INFO] [stdout] --> src/shiro/core/authc/pam/modular_realm_authenticator.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | authentication_token: &dyn crate::core::authc::authentication_token::AuthenticationToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authentication_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/authc/pam/modular_realm_authenticator.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | principals: &dyn crate::core::subject::principal_collection::PrincipalCollection, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/shiro/core/authc/username_password_token.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realms` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn set_realms(&mut self, realms: Vec) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_realms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | permission: &dyn Permission, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | permission: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | permissions: &[&str], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | permissions: &[Box], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | permissions: &[Box], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | permissions: &[&str], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | permission: &dyn Permission, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | permission: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | principals: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | permissions: &[Box], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | principals: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | permissions: &[&str], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role_identifier` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | role_identifier: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role_identifiers` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | role_identifiers: &[&str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_identifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role_identifiers` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | role_identifiers: &[&str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_identifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | role: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roles` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | roles: &[&str], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_roles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/permission/wildcard_permission_resolver.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | fn resolve_permission(&self, permission: &str) -> Box { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/shiro/core/authz/authorization_error.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/shiro/core/cache/default_cache_manager.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_cache(&self, name: &str) -> Option<&std::collections::HashMap> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_bus` [INFO] [stdout] --> src/shiro/core/cache/default_cache_manager.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_event_bus(&mut self, event_bus: DefaultEventBus) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/crypto/cipher/aes_cipher_service.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | fn encrypt(&self, data: &[u8], key: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/crypto/cipher/aes_cipher_service.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | fn decrypt(&self, encrypted: &[u8], key: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/shiro/core/event/support/default_event_bus.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn publish(&self, event: crate::core::util::object::Object) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/shiro/core/event/support/default_event_bus.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn register(&mut self, event: crate::core::util::object::Object) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/shiro/core/event/support/default_event_bus.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn unregister(&mut self, event: crate::core::util::object::Object) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/mgt/default_remember_me_manager.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn serialize(&self, principals: &dyn PrincipalCollection) -> Result, BoxError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/shiro/core/mgt/default_remember_me_manager.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn deserialize(&self, bytes: &[u8]) -> Result, BoxError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nameable::Nameable` [INFO] [stdout] --> src/shiro/core/realm/authorizing_realm.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | traits::{nameable::Nameable, required::Required}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/authc/credential/simple_credentials_matcher.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | token: &dyn crate::core::authc::authentication_token::AuthenticationToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/shiro/core/authc/credential/simple_credentials_matcher.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | info: &dyn crate::core::authc::authentication_info::AuthenticationInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realms` [INFO] [stdout] --> src/shiro/core/authc/pam/modular_realm_authenticator.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn set_realms(&mut self, realms: Vec) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_realms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authentication_token` [INFO] [stdout] --> src/shiro/core/authc/pam/modular_realm_authenticator.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | authentication_token: &dyn crate::core::authc::authentication_token::AuthenticationToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authentication_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/authc/pam/modular_realm_authenticator.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | principals: &dyn crate::core::subject::principal_collection::PrincipalCollection, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/shiro/core/authc/username_password_token.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realms` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn set_realms(&mut self, realms: Vec) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_realms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | permission: &dyn Permission, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | permission: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | permissions: &[&str], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | permissions: &[Box], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | permissions: &[Box], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | permissions: &[&str], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | permission: &dyn Permission, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | permission: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | principals: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | permissions: &[Box], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | principals: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | permissions: &[&str], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role_identifier` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | role_identifier: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role_identifiers` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | role_identifiers: &[&str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_identifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role_identifiers` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | role_identifiers: &[&str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_identifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | role: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | principal: Option<&dyn PrincipalCollection>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roles` [INFO] [stdout] --> src/shiro/core/authz/modular_realm_authorizer.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | roles: &[&str], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_roles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/shiro/core/authz/permission/wildcard_permission_resolver.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | fn resolve_permission(&self, permission: &str) -> Box { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/shiro/core/authz/authorization_error.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/shiro/core/cache/default_cache_manager.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_cache(&self, name: &str) -> Option<&std::collections::HashMap> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_bus` [INFO] [stdout] --> src/shiro/core/cache/default_cache_manager.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_event_bus(&mut self, event_bus: DefaultEventBus) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/crypto/cipher/aes_cipher_service.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | fn encrypt(&self, data: &[u8], key: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/crypto/cipher/aes_cipher_service.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | fn decrypt(&self, encrypted: &[u8], key: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/shiro/core/event/support/default_event_bus.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn publish(&self, event: crate::core::util::object::Object) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/shiro/core/event/support/default_event_bus.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn register(&mut self, event: crate::core::util::object::Object) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/shiro/core/event/support/default_event_bus.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn unregister(&mut self, event: crate::core::util::object::Object) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/mgt/default_remember_me_manager.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn serialize(&self, principals: &dyn PrincipalCollection) -> Result, BoxError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/shiro/core/mgt/default_remember_me_manager.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn deserialize(&self, bytes: &[u8]) -> Result, BoxError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authentication_token` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | fn supports(&self,authentication_token: &dyn AuthenticationToken) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authentication_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | token: &dyn AuthenticationToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_manager` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_cache_manager(&mut self, cache_manager: DefaultCacheManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_bus` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn set_event_bus(&mut self, event_bus: DefaultEventBus) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let key = self.get_authentication_cache_key_from_token(token); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let key = self.get_authentication_cache_key_from_principals(principals); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:336:24 [INFO] [stdout] | [INFO] [stdout] 336 | fn supports(&self, token: &dyn AuthenticationToken) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authentication_token` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | fn supports(&self,authentication_token: &dyn AuthenticationToken) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authentication_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | token: &dyn AuthenticationToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_manager` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_cache_manager(&mut self, cache_manager: DefaultCacheManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_bus` [INFO] [stdout] --> src/shiro/core/realm/simple_account_realm.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn set_event_bus(&mut self, event_bus: DefaultEventBus) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let key = self.get_authentication_cache_key_from_token(token); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let key = self.get_authentication_cache_key_from_principals(principals); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:336:24 [INFO] [stdout] | [INFO] [stdout] 336 | fn supports(&self, token: &dyn AuthenticationToken) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/realm/caching_realm.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_available_principal(&self, principals: &dyn PrincipalCollection) -> Object { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authentication_token` [INFO] [stdout] --> src/shiro/core/realm/caching_realm.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | fn supports(&self, authentication_token: &dyn AuthenticationToken) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authentication_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/realm/caching_realm.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | token: &dyn AuthenticationToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/shiro/core/session/mgt/default_session_context.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn put_all(&mut self, values: Vec<(String, Object)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(id: SessionId) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn set_timeout(&self, timeout: i64) -> Result<(), SessionError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | async fn get_attribute(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | async fn set_attribute(&self, key: &str, value: SessionValue) -> Result<(), SessionError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | async fn set_attribute(&self, key: &str, value: SessionValue) -> Result<(), SessionError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | async fn remove_attribute(&self, key: &str) -> Result, SessionError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | async fn create(&self, session: Arc) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn read(&self, session_id: &SessionId) -> Option<&Arc> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principals` [INFO] [stdout] --> src/shiro/core/realm/caching_realm.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_available_principal(&self, principals: &dyn PrincipalCollection) -> Object { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authentication_token` [INFO] [stdout] --> src/shiro/core/realm/caching_realm.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | fn supports(&self, authentication_token: &dyn AuthenticationToken) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authentication_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | async fn update(&self, session: Arc) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | async fn delete(&self, session: &dyn Session) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/shiro/core/realm/caching_realm.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | token: &dyn AuthenticationToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/shiro/core/session/mgt/default_session_context.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn put_all(&mut self, values: Vec<(String, Object)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/native_session_manager.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | async fn after_stopped(&self, session: &dyn Session) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/native_session_manager.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | async fn on_change(&self, session: &Arc) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ise` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | ise: SessionError, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | session: &dyn Session, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | req: &mut dyn HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | resp: &mut dyn HttpResponse, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(id: SessionId) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn set_timeout(&self, timeout: i64) -> Result<(), SessionError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | async fn get_attribute(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | async fn set_attribute(&self, key: &str, value: SessionValue) -> Result<(), SessionError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | async fn set_attribute(&self, key: &str, value: SessionValue) -> Result<(), SessionError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/shiro/core/session/mgt/delegating_session.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | async fn remove_attribute(&self, key: &str) -> Result, SessionError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | async fn create(&self, session: Arc) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn read(&self, session_id: &SessionId) -> Option<&Arc> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | async fn update(&self, session: Arc) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | async fn delete(&self, session: &dyn Session) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/subject/support/default_subject_context.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(session) = self.resolve_session() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/native_session_manager.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | async fn after_stopped(&self, session: &dyn Session) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/native_session_manager.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | async fn on_change(&self, session: &Arc) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ise` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | ise: SessionError, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | session: &dyn Session, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | req: &mut dyn HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/shiro/core/session/mgt/validating_session_manager.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | resp: &mut dyn HttpResponse, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/shiro/core/subject/support/default_subject_context.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(session) = self.resolve_session() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ae` [INFO] [stdout] --> src/shiro/web/filter/authc/form_authentication_filter.rs:121:68 [INFO] [stdout] | [INFO] [stdout] 121 | fn set_failure_attribute(&self, request: &mut dyn HttpRequest, ae: &AuthenticationError) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ae` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ae` [INFO] [stdout] --> src/shiro/web/filter/authc/form_authentication_filter.rs:121:68 [INFO] [stdout] | [INFO] [stdout] 121 | fn set_failure_attribute(&self, request: &mut dyn HttpRequest, ae: &AuthenticationError) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ae` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mapped_value` [INFO] [stdout] --> src/shiro/web/filter/authz/authorization_filter.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mapped_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mapped_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/shiro/web/filter/authz/authorization_filter.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | request: &mut dyn HttpRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/shiro/web/filter/authz/authorization_filter.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | response: &mut dyn HttpResponse, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mapped_value` [INFO] [stdout] --> src/shiro/web/filter/authz/authorization_filter.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mapped_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mapped_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/shiro/web/filter/authz/authorization_filter.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | request: &mut dyn HttpRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/shiro/web/filter/authz/authorization_filter.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | response: &mut dyn HttpResponse, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/shiro/web/session/mgt/default_web_session_manager.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | req: &mut dyn HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/shiro/web/session/mgt/default_web_session_manager.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | req: &mut dyn HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/shiro/web/session/mgt/default_web_session_context.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | fn put_all(&mut self, values: Vec<(String, crate::core::util::object::Object)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/shiro/web/session/mgt/default_web_session_context.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | fn put_all(&mut self, values: Vec<(String, crate::core::util::object::Object)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `password`, and `host` are never read [INFO] [stdout] --> src/shiro/core/authc/username_password_token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UsernamePasswordToken { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 13 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | remember_me: bool, [INFO] [stdout] 16 | host: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsernamePasswordToken` has derived impls for the traits `Debug` and `Clone`, 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: struct `PermissionWrapper` is never constructed [INFO] [stdout] --> src/shiro/core/authz/permission/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct PermissionWrapper(Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/shiro/core/mgt/default_subject_dao.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl DefaultSubjectDAO { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn is_empty(&self, pc: &dyn PrincipalCollection) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_id` is never used [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl MemorySessionDAO { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 12 | fn generate_id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MILLIS_PER_HOUR` is never used [INFO] [stdout] --> src/shiro/core/session/mgt/simple_session.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 25 | impl SimpleSession { [INFO] [stdout] | ------------------ associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | const MILLIS_PER_HOUR: i64 = 60 * Self::MILLIS_PER_MINUTE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SECURITY_MANAGER` is never used [INFO] [stdout] --> src/shiro/core/subject/support/default_subject_context.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 36 | impl DefaultSubjectContext { [INFO] [stdout] | -------------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | const SECURITY_MANAGER: &str = stringify!(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_session_context` is never used [INFO] [stdout] --> src/shiro/core/subject/support/delegating_subject.rs:496:8 [INFO] [stdout] | [INFO] [stdout] 495 | impl DelegatingSubject { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 496 | fn create_session_context(&self) -> impl SessionContext + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GMT_TIME_ZONE_ID` is never used [INFO] [stdout] --> src/shiro/web/mod.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 96 | impl SimpleCookie { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | const GMT_TIME_ZONE_ID: &str = "GMT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_non_ascii` and `block_traversal` are never read [INFO] [stdout] --> src/shiro/web/filter/invalid_request_filter.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InvalidRequestFilter { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | block_non_ascii: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | block_traversal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidRequestFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_default_filters` is never used [INFO] [stdout] --> src/shiro/web/filter/mgt/default_filter_chain_manager.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DefaultFilterChainManager { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn add_default_filters(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `REQUEST` and `RESPONSE` are never used [INFO] [stdout] --> src/shiro/web/session/mgt/default_web_session_context.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 15 | impl DefaultWebSessionContext { [INFO] [stdout] | ----------------------------- associated constants in this implementation [INFO] [stdout] 16 | const REQUEST: &'static str = stringify!(format!("{}.REQUEST", std::any::type_name::())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | const RESPONSE: &'static str = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `SERVLET_REQUEST` and `SERVLET_RESPONSE` are never used [INFO] [stdout] --> src/shiro/web/subject/support/default_web_subject_context.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | impl DefaultWebSubjectContext { [INFO] [stdout] | ----------------------------- associated constants in this implementation [INFO] [stdout] 29 | const SERVLET_REQUEST: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | stringify!(format!("{}.SERVLET_REQUEST", std::any::type_name::())); [INFO] [stdout] 31 | const SERVLET_RESPONSE: &str = stringify!(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `fetch_add` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | let instance_number = Self::INSTANCE_COUNT.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | --------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `INSTANCE_COUNT` is a interior mutable `const` item of type `AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const INSTANCE_COUNT` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] = note: `#[warn(const_item_interior_mutations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `fetch_add` [INFO] [stdout] --> src/shiro/core/realm/authorizing_realm.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | let instance_number = Self::INSTANCE_COUNT.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | --------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `INSTANCE_COUNT` is a interior mutable `const` item of type `AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const INSTANCE_COUNT` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `password`, and `host` are never read [INFO] [stdout] --> src/shiro/core/authc/username_password_token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UsernamePasswordToken { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 13 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | remember_me: bool, [INFO] [stdout] 16 | host: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsernamePasswordToken` has derived impls for the traits `Debug` and `Clone`, 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: struct `PermissionWrapper` is never constructed [INFO] [stdout] --> src/shiro/core/authz/permission/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct PermissionWrapper(Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/shiro/core/mgt/default_subject_dao.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl DefaultSubjectDAO { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn is_empty(&self, pc: &dyn PrincipalCollection) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_id` is never used [INFO] [stdout] --> src/shiro/core/session/mgt/eis/memory_session_dao.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl MemorySessionDAO { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 12 | fn generate_id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MILLIS_PER_HOUR` is never used [INFO] [stdout] --> src/shiro/core/session/mgt/simple_session.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 25 | impl SimpleSession { [INFO] [stdout] | ------------------ associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | const MILLIS_PER_HOUR: i64 = 60 * Self::MILLIS_PER_MINUTE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SECURITY_MANAGER` is never used [INFO] [stdout] --> src/shiro/core/subject/support/default_subject_context.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 36 | impl DefaultSubjectContext { [INFO] [stdout] | -------------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | const SECURITY_MANAGER: &str = stringify!(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_session_context` is never used [INFO] [stdout] --> src/shiro/core/subject/support/delegating_subject.rs:496:8 [INFO] [stdout] | [INFO] [stdout] 495 | impl DelegatingSubject { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 496 | fn create_session_context(&self) -> impl SessionContext + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GMT_TIME_ZONE_ID` is never used [INFO] [stdout] --> src/shiro/web/mod.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 96 | impl SimpleCookie { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | const GMT_TIME_ZONE_ID: &str = "GMT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_non_ascii` and `block_traversal` are never read [INFO] [stdout] --> src/shiro/web/filter/invalid_request_filter.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InvalidRequestFilter { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | block_non_ascii: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | block_traversal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidRequestFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_default_filters` is never used [INFO] [stdout] --> src/shiro/web/filter/mgt/default_filter_chain_manager.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DefaultFilterChainManager { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn add_default_filters(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `REQUEST` and `RESPONSE` are never used [INFO] [stdout] --> src/shiro/web/session/mgt/default_web_session_context.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 15 | impl DefaultWebSessionContext { [INFO] [stdout] | ----------------------------- associated constants in this implementation [INFO] [stdout] 16 | const REQUEST: &'static str = stringify!(format!("{}.REQUEST", std::any::type_name::())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | const RESPONSE: &'static str = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `SERVLET_REQUEST` and `SERVLET_RESPONSE` are never used [INFO] [stdout] --> src/shiro/web/subject/support/default_web_subject_context.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | impl DefaultWebSubjectContext { [INFO] [stdout] | ----------------------------- associated constants in this implementation [INFO] [stdout] 29 | const SERVLET_REQUEST: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | stringify!(format!("{}.SERVLET_REQUEST", std::any::type_name::())); [INFO] [stdout] 31 | const SERVLET_RESPONSE: &str = stringify!(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `fetch_add` [INFO] [stdout] --> src/shiro/core/realm/authenticating_realm.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | let instance_number = Self::INSTANCE_COUNT.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | --------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `INSTANCE_COUNT` is a interior mutable `const` item of type `AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const INSTANCE_COUNT` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] = note: `#[warn(const_item_interior_mutations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `fetch_add` [INFO] [stdout] --> src/shiro/core/realm/authorizing_realm.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | let instance_number = Self::INSTANCE_COUNT.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | --------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `INSTANCE_COUNT` is a interior mutable `const` item of type `AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const INSTANCE_COUNT` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.47s [INFO] running `Command { std: "docker" "inspect" "e64ddb215867aa9ce3e8b5ab2dbfbd05502fd167174a856f797c9eb0dc827142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64ddb215867aa9ce3e8b5ab2dbfbd05502fd167174a856f797c9eb0dc827142", kill_on_drop: false }` [INFO] [stdout] e64ddb215867aa9ce3e8b5ab2dbfbd05502fd167174a856f797c9eb0dc827142