[INFO] fetching crate socks-router 0.2.2...
[INFO] checking socks-router-0.2.2 against 1.95.0 for pr-155915
[INFO] extracting crate socks-router 0.2.2 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate socks-router 0.2.2
[INFO] finished tweaking crates.io crate socks-router 0.2.2
[INFO] tweaked toml for crates.io crate socks-router 0.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate socks-router 0.2.2 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate socks-router 0.2.2 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded os_str_bytes v6.4.1
[INFO] [stderr]   Downloaded clap_lex v0.3.1
[INFO] [stderr]   Downloaded is-terminal v0.4.3
[INFO] [stderr]   Downloaded serde_json v1.0.93
[INFO] [stderr]   Downloaded clap_derive v4.1.0
[INFO] [stderr]   Downloaded anyhow v1.0.69
[INFO] [stderr]   Downloaded tokio-stream v0.1.11
[INFO] [stderr]   Downloaded clap v4.1.4
[INFO] [stderr]   Downloaded h2 v0.3.15
[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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f12562ccabc4e41f72b3707c0494605fa33d5fd4fadb28bd42f12b3245b6b994
[INFO] running `Command { std: "docker" "start" "-a" "f12562ccabc4e41f72b3707c0494605fa33d5fd4fadb28bd42f12b3245b6b994", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f12562ccabc4e41f72b3707c0494605fa33d5fd4fadb28bd42f12b3245b6b994", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f12562ccabc4e41f72b3707c0494605fa33d5fd4fadb28bd42f12b3245b6b994", kill_on_drop: false }`
[INFO] [stdout] f12562ccabc4e41f72b3707c0494605fa33d5fd4fadb28bd42f12b3245b6b994
[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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea5bcca431fa9453d685a5d526e6eb39ec101a83a99a682e2a8cde6776231426
[INFO] running `Command { std: "docker" "start" "-a" "ea5bcca431fa9453d685a5d526e6eb39ec101a83a99a682e2a8cde6776231426", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling futures-core v0.3.26
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling tokio v1.25.0
[INFO] [stderr]     Checking futures-sink v0.3.26
[INFO] [stderr]     Checking lock_api v0.4.9
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling futures-util v0.3.26
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling io-lifetimes v1.0.5
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-channel v0.3.26
[INFO] [stderr]    Compiling rustix v0.36.8
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling serde_json v1.0.93
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling async-trait v0.1.64
[INFO] [stderr]     Checking os_str_bytes v6.4.1
[INFO] [stderr]    Compiling anyhow v1.0.69
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]     Checking clap_lex v0.3.1
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking rustls-pemfile v0.2.1
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.16
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]     Checking parking_lot_core v0.9.7
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking filetime v0.2.20
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking headers v0.3.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking notify v5.1.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking is-terminal v0.4.3
[INFO] [stderr]     Checking multipart v0.18.0
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling clap_derive v4.1.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking tungstenite v0.17.3
[INFO] [stderr]     Checking clap v4.1.4
[INFO] [stderr]     Checking tokio-util v0.7.7
[INFO] [stderr]     Checking tokio-stream v0.1.11
[INFO] [stderr]     Checking tokio-tungstenite v0.17.2
[INFO] [stderr]     Checking h2 v0.3.15
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking hyper v0.14.24
[INFO] [stderr]     Checking warp v0.3.3
[INFO] [stderr]     Checking socks-router v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info_span`
[INFO] [stdout]   --> src/main.rs:13:47
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tracing::{debug, debug_span, error, info, info_span, trace, Instrument};
[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: `write`
[INFO] [stdout]  --> src/pkts/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 |     fmt::{self, write},
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse::IResult`
[INFO] [stdout]   --> src/pkts/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use parse::IResult;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `trace`, and `warn`
[INFO] [stdout]   --> src/server/mod.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                      ^^^^^        ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info_span`
[INFO] [stdout]   --> src/main.rs:13:47
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tracing::{debug, debug_span, error, info, info_span, trace, Instrument};
[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: `write`
[INFO] [stdout]  --> src/pkts/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 |     fmt::{self, write},
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse::IResult`
[INFO] [stdout]   --> src/pkts/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use parse::IResult;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `trace`, and `warn`
[INFO] [stdout]   --> src/server/mod.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{debug, error, info, trace, warn};
[INFO] [stdout]    |                      ^^^^^        ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_tcp_connect_client` is never used
[INFO] [stdout]   --> src/client.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn make_tcp_connect_client<A: ToSocketAddrs>(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_u8` is never used
[INFO] [stdout]   --> src/pkts/mod.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl AuthMethod {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pkts/mod.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl AuthMethodProposal {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 81 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `address_port_into_socket_addr` is never used
[INFO] [stdout]    --> src/pkts/mod.rs:240:10
[INFO] [stdout]     |
[INFO] [stdout] 240 | async fn address_port_into_socket_addr<A: Borrow<Address>>(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `as_socketaddr`, `bind`, and `udp_associate` are never used
[INFO] [stdout]    --> src/pkts/mod.rs:281:18
[INFO] [stdout]     |
[INFO] [stdout] 280 | impl Request {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 281 |     pub async fn as_socketaddr(&self) -> Result<SocketAddr, tokio::io::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub fn bind(address: Address, port: u16) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn udp_associate(address: Address, port: u16) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_socketaddr` is never used
[INFO] [stdout]    --> src/pkts/mod.rs:395:18
[INFO] [stdout]     |
[INFO] [stdout] 394 | impl Reply {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 395 |     pub async fn as_socketaddr(&self) -> Result<SocketAddr, tokio::io::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotUtf8Domain` is never constructed
[INFO] [stdout]   --> src/pkts/parse.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     NotUtf8Domain(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `authenticator` and `router` are never read
[INFO] [stdout]   --> src/server/mod.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct Server<A: ServerAuthenticator, R: Router> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 85 |     authenticator: A,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 86 |     router: R,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_debounced` is never used
[INFO] [stdout]   --> src/watcher.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl AsyncWatcher {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn next_debounced(&mut self, interval: Duration) -> Result<Vec<Event>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[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]    --> src/pkts/mod.rs:262:32
[INFO] [stdout]     |
[INFO] [stdout] 262 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `FromPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stdout] 263 | #[repr(u8)]
[INFO] [stdout] 264 | pub enum Command {
[INFO] [stdout]     |          ------- `Command` 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]    --> src/pkts/mod.rs:262:47
[INFO] [stdout]     |
[INFO] [stdout] 262 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                               ^----------
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               `ToPrimitive` is not local
[INFO] [stdout]     |                                               move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Command`
[INFO] [stdout] 263 | #[repr(u8)]
[INFO] [stdout] 264 | pub enum Command {
[INFO] [stdout]     |          ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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: this warning originates in the derive macro `ToPrimitive` (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]    --> src/pkts/mod.rs:341:32
[INFO] [stdout]     |
[INFO] [stdout] 341 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `FromPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReplyCode`
[INFO] [stdout] 342 | #[repr(u8)]
[INFO] [stdout] 343 | pub enum ReplyCode {
[INFO] [stdout]     |          --------- `ReplyCode` 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: 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]    --> src/pkts/mod.rs:341:47
[INFO] [stdout]     |
[INFO] [stdout] 341 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                               ^----------
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               `ToPrimitive` is not local
[INFO] [stdout]     |                                               move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReplyCode`
[INFO] [stdout] 342 | #[repr(u8)]
[INFO] [stdout] 343 | pub enum ReplyCode {
[INFO] [stdout]     |          --------- `ReplyCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn read(&self) -> OnceRwLockReadGuard<T> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn read(&self) -> OnceRwLockReadGuard<'_, T> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn write(&self) -> OnceRwLockWriteGuard<T> {
[INFO] [stdout]     |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn write(&self) -> OnceRwLockWriteGuard<'_, T> {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_tcp_connect_client` is never used
[INFO] [stdout]   --> src/client.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn make_tcp_connect_client<A: ToSocketAddrs>(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_u8` is never used
[INFO] [stdout]   --> src/pkts/mod.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl AuthMethod {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pkts/mod.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl AuthMethodProposal {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 81 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `address_port_into_socket_addr` is never used
[INFO] [stdout]    --> src/pkts/mod.rs:240:10
[INFO] [stdout]     |
[INFO] [stdout] 240 | async fn address_port_into_socket_addr<A: Borrow<Address>>(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `as_socketaddr`, `bind`, and `udp_associate` are never used
[INFO] [stdout]    --> src/pkts/mod.rs:281:18
[INFO] [stdout]     |
[INFO] [stdout] 280 | impl Request {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 281 |     pub async fn as_socketaddr(&self) -> Result<SocketAddr, tokio::io::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub fn bind(address: Address, port: u16) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn udp_associate(address: Address, port: u16) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_socketaddr` is never used
[INFO] [stdout]    --> src/pkts/mod.rs:395:18
[INFO] [stdout]     |
[INFO] [stdout] 394 | impl Reply {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 395 |     pub async fn as_socketaddr(&self) -> Result<SocketAddr, tokio::io::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotUtf8Domain` is never constructed
[INFO] [stdout]   --> src/pkts/parse.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     NotUtf8Domain(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `authenticator` and `router` are never read
[INFO] [stdout]   --> src/server/mod.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct Server<A: ServerAuthenticator, R: Router> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 85 |     authenticator: A,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 86 |     router: R,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_debounced` is never used
[INFO] [stdout]   --> src/watcher.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl AsyncWatcher {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn next_debounced(&mut self, interval: Duration) -> Result<Vec<Event>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[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]    --> src/pkts/mod.rs:262:32
[INFO] [stdout]     |
[INFO] [stdout] 262 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `FromPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stdout] 263 | #[repr(u8)]
[INFO] [stdout] 264 | pub enum Command {
[INFO] [stdout]     |          ------- `Command` 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]    --> src/pkts/mod.rs:262:47
[INFO] [stdout]     |
[INFO] [stdout] 262 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                               ^----------
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               `ToPrimitive` is not local
[INFO] [stdout]     |                                               move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Command`
[INFO] [stdout] 263 | #[repr(u8)]
[INFO] [stdout] 264 | pub enum Command {
[INFO] [stdout]     |          ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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: this warning originates in the derive macro `ToPrimitive` (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]    --> src/pkts/mod.rs:341:32
[INFO] [stdout]     |
[INFO] [stdout] 341 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^------------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `FromPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReplyCode`
[INFO] [stdout] 342 | #[repr(u8)]
[INFO] [stdout] 343 | pub enum ReplyCode {
[INFO] [stdout]     |          --------- `ReplyCode` 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: 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]    --> src/pkts/mod.rs:341:47
[INFO] [stdout]     |
[INFO] [stdout] 341 | #[derive(Debug, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                               ^----------
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               `ToPrimitive` is not local
[INFO] [stdout]     |                                               move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReplyCode`
[INFO] [stdout] 342 | #[repr(u8)]
[INFO] [stdout] 343 | pub enum ReplyCode {
[INFO] [stdout]     |          --------- `ReplyCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn read(&self) -> OnceRwLockReadGuard<T> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn read(&self) -> OnceRwLockReadGuard<'_, T> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn write(&self) -> OnceRwLockWriteGuard<T> {
[INFO] [stdout]     |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn write(&self) -> OnceRwLockWriteGuard<'_, T> {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "ea5bcca431fa9453d685a5d526e6eb39ec101a83a99a682e2a8cde6776231426", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea5bcca431fa9453d685a5d526e6eb39ec101a83a99a682e2a8cde6776231426", kill_on_drop: false }`
[INFO] [stdout] ea5bcca431fa9453d685a5d526e6eb39ec101a83a99a682e2a8cde6776231426
