[INFO] cloning repository https://github.com/Asone/nostr-banhammer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Asone/nostr-banhammer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsone%2Fnostr-banhammer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsone%2Fnostr-banhammer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 873173744975178d096ce2c5606bde06e7245421
[INFO] checking Asone/nostr-banhammer against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsone%2Fnostr-banhammer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Asone/nostr-banhammer
[INFO] finished tweaking git repo https://github.com/Asone/nostr-banhammer
[INFO] tweaked toml for git repo https://github.com/Asone/nostr-banhammer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Asone/nostr-banhammer on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Asone/nostr-banhammer 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-0-tc1/source/banhammer_cli/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded prost-derive v0.12.1
[INFO] [stderr]   Downloaded anstream v0.6.4
[INFO] [stderr]   Downloaded protoc v2.28.0
[INFO] [stderr]   Downloaded secp256k1 v0.28.0
[INFO] [stderr]   Downloaded anstyle v1.0.4
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.1
[INFO] [stderr]   Downloaded prost v0.12.1
[INFO] [stderr]   Downloaded prost-build v0.12.1
[INFO] [stderr]   Downloaded serde_yaml v0.9.25
[INFO] [stderr]   Downloaded unsafe-libyaml v0.2.9
[INFO] [stderr]   Downloaded clap v4.4.7
[INFO] [stderr]   Downloaded prost-types v0.12.1
[INFO] [stderr]   Downloaded prettyplease v0.2.15
[INFO] [stderr]   Downloaded tempfile v3.8.0
[INFO] [stderr]   Downloaded clap_builder v4.4.7
[INFO] [stderr]   Downloaded petgraph v0.6.4
[INFO] [stderr]   Downloaded tabled v0.14.0
[INFO] [stderr]   Downloaded papergrid v0.10.0
[INFO] [stderr]   Downloaded num v0.4.1
[INFO] [stderr]   Downloaded secp256k1-sys v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2a96ce135e1f96e4d4993878c3b35f905b599e66711e006b4686e4df67fd2fc
[INFO] running `Command { std: "docker" "start" "-a" "e2a96ce135e1f96e4d4993878c3b35f905b599e66711e006b4686e4df67fd2fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2a96ce135e1f96e4d4993878c3b35f905b599e66711e006b4686e4df67fd2fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2a96ce135e1f96e4d4993878c3b35f905b599e66711e006b4686e4df67fd2fc", kill_on_drop: false }`
[INFO] [stdout] e2a96ce135e1f96e4d4993878c3b35f905b599e66711e006b4686e4df67fd2fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d550efa262230ec661a61bf53fd0dc9c9fc1bea74a95cf632336697667a3d696
[INFO] running `Command { std: "docker" "start" "-a" "d550efa262230ec661a61bf53fd0dc9c9fc1bea74a95cf632336697667a3d696", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/banhammer_cli/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling rustix v0.38.20
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling linux-raw-sys v0.4.10
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]     Checking indexmap v1.9.3
[INFO] [stderr]    Compiling prettyplease v0.2.15
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking anstream v0.6.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking clap_builder v4.4.7
[INFO] [stderr]     Checking bytecount v0.6.7
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking papergrid v0.10.0
[INFO] [stderr]     Checking unsafe-libyaml v0.2.9
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking which v4.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling tempfile v3.8.0
[INFO] [stderr]     Checking protoc v2.28.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tabled_derive v0.6.0
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking tabled v0.14.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling prost-derive v0.12.1
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling num-derive v0.4.1
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling prost v0.12.1
[INFO] [stderr]     Checking clap v4.4.7
[INFO] [stderr]    Compiling prost-types v0.12.1
[INFO] [stderr]     Checking secp256k1 v0.28.0
[INFO] [stderr]    Compiling prost-build v0.12.1
[INFO] [stderr]    Compiling tonic-build v0.10.2
[INFO] [stderr]    Compiling banhammer_grpc v1.0.0 (/opt/rustwide/workdir/banhammer_grpc)
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking serde_json v1.0.107
[INFO] [stderr]     Checking serde_yaml v0.9.25
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.10.2
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> banhammer_grpc/src/lib.rs:11:65
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, FromPrimitive)]
[INFO] [stdout]    |                                                                 ^------------
[INFO] [stdout]    |                                                                 |
[INFO] [stdout]    |                                                                 `FromPrimitive` is not local
[INFO] [stdout]    |                                                                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BanTypesEnum`
[INFO] [stdout] 12 | pub enum BanTypesEnum {
[INFO] [stdout]    |          ------------ `BanTypesEnum` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> banhammer_grpc/src/lib.rs:11:65
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, FromPrimitive)]
[INFO] [stdout]    |                                                                 ^------------
[INFO] [stdout]    |                                                                 |
[INFO] [stdout]    |                                                                 `FromPrimitive` is not local
[INFO] [stdout]    |                                                                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BanTypesEnum`
[INFO] [stdout] 12 | pub enum BanTypesEnum {
[INFO] [stdout]    |          ------------ `BanTypesEnum` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking banhammer_cli v0.1.0 (/opt/rustwide/workdir/banhammer_cli)
[INFO] [stderr]     Checking banhammer v0.1.0 (/opt/rustwide/workdir/banhammer)
[INFO] [stdout] warning: unused variable: `validators`
[INFO] [stdout]  --> banhammer_cli/src/lib.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn get(label: &str, validators: Option<Vec<fn(String) -> bool>>) -> String {
[INFO] [stdout]   |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validators`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Input` is never constructed
[INFO] [stdout]  --> banhammer_cli/src/lib.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Input;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]  --> banhammer_cli/src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Input {
[INFO] [stdout]   | ---------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn get(label: &str, validators: Option<Vec<fn(String) -> bool>>) -> String {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> banhammer/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `DateTime`
[INFO] [stdout]   --> banhammer/src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt`
[INFO] [stdout]  --> banhammer/src/hammer.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt, path::Path};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `validators`
[INFO] [stdout]  --> banhammer_cli/src/lib.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn get(label: &str, validators: Option<Vec<fn(String) -> bool>>) -> String {
[INFO] [stdout]   |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validators`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Input` is never constructed
[INFO] [stdout]  --> banhammer_cli/src/lib.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Input;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]  --> banhammer_cli/src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Input {
[INFO] [stdout]   | ---------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn get(label: &str, validators: Option<Vec<fn(String) -> bool>>) -> String {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]   --> banhammer/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> banhammer/src/admin.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         request: Request<RemoveBanRequest>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `banhammer_lock`
[INFO] [stdout]   --> banhammer/src/admin.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let banhammer_lock = &self.banhammer.lock().await;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_banhammer_lock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> banhammer/src/admin.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         request: Request<StateRequest>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BanTypesEnum`
[INFO] [stdout]  --> banhammer_cli/src/handler.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     BanTypesEnum,
[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 imports: `BanType` and `BanTypesEnum`
[INFO] [stdout]  --> banhammer_cli/src/main.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 |     grpc::{validation_control_client::ValidationControlClient, BanType},
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 7 |     BanTypesEnum,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> banhammer/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `DateTime`
[INFO] [stdout]   --> banhammer/src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt`
[INFO] [stdout]  --> banhammer/src/hammer.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt, path::Path};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply`
[INFO] [stdout]    --> banhammer/src/hammer.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         reply: EventReply,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> banhammer/src/hammer.rs:341:13
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mut ban = Ban {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> banhammer/src/hammer.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let mut ban = Ban {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> banhammer/src/hammer.rs:382:13
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let mut ban = Ban {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `banhammer`
[INFO] [stdout]    --> banhammer/src/hammer.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |         let banhammer = BanHammer {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_banhammer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> banhammer/src/hammer.rs:398:13
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let mut ban = Ban {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `banhammer`
[INFO] [stdout]    --> banhammer/src/hammer.rs:404:13
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let banhammer = BanHammer {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_banhammer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply`
[INFO] [stdout]   --> banhammer/src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         reply: EventReply,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `addr` is never read
[INFO] [stdout]   --> banhammer/src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct EventAuthz {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 28 |     addr: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `dict` are never read
[INFO] [stdout]    --> banhammer/src/main.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct AuthorizationServerConfig {
[INFO] [stdout]     |            ------------------------- fields in this struct
[INFO] [stdout] 178 |     addr: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 179 |     dict: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> banhammer_cli/src/handler.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> banhammer_cli/src/handler.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Subcommands::State => {
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 67 |             Subcommands::List { ban_type } => {
[INFO] [stdout]    |             ------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 73 |             Subcommands::Remove { index, ban_type } => {
[INFO] [stdout]    |             --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 83 |             Subcommands::Add => {
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BanTypesEnum`
[INFO] [stdout]  --> banhammer_cli/src/handler.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     BanTypesEnum,
[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: `super::*`
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BanType` and `BanTypesEnum`
[INFO] [stdout]  --> banhammer_cli/src/main.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 |     grpc::{validation_control_client::ValidationControlClient, BanType},
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 7 |     BanTypesEnum,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout]   --> banhammer_cli/src/handler.rs:53:62
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub async fn dispatcher(&mut self, command: Subcommands, opts: CliOptions) {
[INFO] [stdout]    |                                                              ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let response = self.client.remove_ban(request).await;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:173:16
[INFO] [stdout]     |
[INFO] [stdout] 173 |             Ok(r) => {}
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |             Err(e) => {}
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `save` is never read
[INFO] [stdout]   --> banhammer_cli/src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CliOptions {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 25 |     save: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CliOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> banhammer_cli/src/handler.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> banhammer_cli/src/handler.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Subcommands::State => {
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 67 |             Subcommands::List { ban_type } => {
[INFO] [stdout]    |             ------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 73 |             Subcommands::Remove { index, ban_type } => {
[INFO] [stdout]    |             --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 83 |             Subcommands::Add => {
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]   --> banhammer/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> banhammer/src/admin.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         request: Request<RemoveBanRequest>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `banhammer_lock`
[INFO] [stdout]   --> banhammer/src/admin.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let banhammer_lock = &self.banhammer.lock().await;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_banhammer_lock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> banhammer/src/admin.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         request: Request<StateRequest>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply`
[INFO] [stdout]    --> banhammer/src/hammer.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         reply: EventReply,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout]   --> banhammer_cli/src/handler.rs:53:62
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub async fn dispatcher(&mut self, command: Subcommands, opts: CliOptions) {
[INFO] [stdout]    |                                                              ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply`
[INFO] [stdout]   --> banhammer/src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         reply: EventReply,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let response = self.client.remove_ban(request).await;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:173:16
[INFO] [stdout]     |
[INFO] [stdout] 173 |             Ok(r) => {}
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |             Err(e) => {}
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `addr` is never read
[INFO] [stdout]   --> banhammer/src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct EventAuthz {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 28 |     addr: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `dict` are never read
[INFO] [stdout]    --> banhammer/src/main.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct AuthorizationServerConfig {
[INFO] [stdout]     |            ------------------------- fields in this struct
[INFO] [stdout] 178 |     addr: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 179 |     dict: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `save` is never read
[INFO] [stdout]   --> banhammer_cli/src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CliOptions {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 25 |     save: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CliOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_list_handler` is never used
[INFO] [stdout]    --> banhammer_cli/src/handler.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 197 |     fn test_list_handler() {}
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.88s
[INFO] running `Command { std: "docker" "inspect" "d550efa262230ec661a61bf53fd0dc9c9fc1bea74a95cf632336697667a3d696", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d550efa262230ec661a61bf53fd0dc9c9fc1bea74a95cf632336697667a3d696", kill_on_drop: false }`
[INFO] [stdout] d550efa262230ec661a61bf53fd0dc9c9fc1bea74a95cf632336697667a3d696
