[INFO] fetching crate socksx 0.1.1...
[INFO] testing socksx-0.1.1 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate socksx 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate socksx 0.1.1
[INFO] finished tweaking crates.io crate socksx 0.1.1
[INFO] tweaked toml for crates.io crate socksx 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate socksx 0.1.1 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate socksx 0.1.1 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded percent-encoding v2.1.0
[INFO] [stderr]   Downloaded matches v0.1.8
[INFO] [stderr]   Downloaded num_cpus v1.13.0
[INFO] [stderr]   Downloaded async-trait v0.1.50
[INFO] [stderr]   Downloaded scopeguard v1.1.0
[INFO] [stderr]   Downloaded os_type v2.3.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.18
[INFO] [stderr]   Downloaded quote v1.0.9
[INFO] [stderr]   Downloaded instant v0.1.9
[INFO] [stderr]   Downloaded lock_api v0.4.4
[INFO] [stderr]   Downloaded bitflags v1.2.1
[INFO] [stderr]   Downloaded parking_lot_core v0.8.3
[INFO] [stderr]   Downloaded once_cell v1.8.0
[INFO] [stderr]   Downloaded parking_lot v0.11.1
[INFO] [stderr]   Downloaded smallvec v1.6.1
[INFO] [stderr]   Downloaded redox_syscall v0.2.9
[INFO] [stderr]   Downloaded unicode-normalization v0.1.19
[INFO] [stderr]   Downloaded futures-task v0.3.15
[INFO] [stderr]   Downloaded tokio-macros v1.2.0
[INFO] [stderr]   Downloaded atty v0.2.14
[INFO] [stderr]   Downloaded vec_map v0.8.2
[INFO] [stderr]   Downloaded version_check v0.9.3
[INFO] [stderr]   Downloaded cipher v0.3.0
[INFO] [stderr]   Downloaded futures-core v0.3.15
[INFO] [stderr]   Downloaded adler v1.0.2
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.7
[INFO] [stderr]   Downloaded form_urlencoded v1.0.1
[INFO] [stderr]   Downloaded unicode-xid v0.2.2
[INFO] [stderr]   Downloaded autocfg v1.0.1
[INFO] [stderr]   Downloaded winapi-util v0.1.5
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.19
[INFO] [stderr]   Downloaded either v1.6.1
[INFO] [stderr]   Downloaded os_str_bytes v2.4.0
[INFO] [stderr]   Downloaded lazy_static v1.4.0
[INFO] [stderr]   Downloaded heck v0.3.3
[INFO] [stderr]   Downloaded miow v0.3.7
[INFO] [stderr]   Downloaded num-derive v0.3.3
[INFO] [stderr]   Downloaded human-panic v1.0.3
[INFO] [stderr]   Downloaded url v2.2.2
[INFO] [stderr]   Downloaded memoffset v0.6.4
[INFO] [stderr]   Downloaded strsim v0.10.0
[INFO] [stderr]   Downloaded proc-macro-error-attr v1.0.4
[INFO] [stderr]   Downloaded cpufeatures v0.1.5
[INFO] [stderr]   Downloaded tinyvec_macros v0.1.0
[INFO] [stderr]   Downloaded slab v0.4.3
[INFO] [stderr]   Downloaded futures-sink v0.3.15
[INFO] [stderr]   Downloaded futures-macro v0.3.15
[INFO] [stderr]   Downloaded futures-io v0.3.15
[INFO] [stderr]   Downloaded thiserror v1.0.25
[INFO] [stderr]   Downloaded thiserror-impl v1.0.25
[INFO] [stderr]   Downloaded getrandom v0.2.3
[INFO] [stderr]   Downloaded futures-channel v0.3.15
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded proc-macro-error v1.0.4
[INFO] [stderr]   Downloaded rustc-demangle v0.1.20
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.0
[INFO] [stderr]   Downloaded futures-executor v0.3.15
[INFO] [stderr]   Downloaded pin-project-lite v0.2.6
[INFO] [stderr]   Downloaded uuid v0.8.2
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded termcolor v1.1.2
[INFO] [stderr]   Downloaded addr2line v0.15.2
[INFO] [stderr]   Downloaded futures v0.3.15
[INFO] [stderr]   Downloaded humantime v2.1.0
[INFO] [stderr]   Downloaded unicode-width v0.1.8
[INFO] [stderr]   Downloaded chacha20 v0.7.1
[INFO] [stderr]   Downloaded generic-array v0.14.4
[INFO] [stderr]   Downloaded typenum v1.13.0
[INFO] [stderr]   Downloaded unicode-bidi v0.3.5
[INFO] [stderr]   Downloaded log v0.4.14
[INFO] [stderr]   Downloaded memchr v2.4.0
[INFO] [stderr]   Downloaded bytes v1.0.1
[INFO] [stderr]   Downloaded num-traits v0.2.14
[INFO] [stderr]   Downloaded cc v1.0.68
[INFO] [stderr]   Downloaded env_logger v0.8.4
[INFO] [stderr]   Downloaded textwrap v0.12.1
[INFO] [stderr]   Downloaded indexmap v1.6.2
[INFO] [stderr]   Downloaded anyhow v1.0.41
[INFO] [stderr]   Downloaded miniz_oxide v0.4.4
[INFO] [stderr]   Downloaded tinyvec v1.2.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.27
[INFO] [stderr]   Downloaded toml v0.5.8
[INFO] [stderr]   Downloaded serde_derive v1.0.126
[INFO] [stderr]   Downloaded backtrace v0.3.60
[INFO] [stderr]   Downloaded serde v1.0.126
[INFO] [stderr]   Downloaded hashbrown v0.9.1
[INFO] [stderr]   Downloaded aho-corasick v0.7.18
[INFO] [stderr]   Downloaded mio v0.7.13
[INFO] [stderr]   Downloaded unicode-segmentation v1.7.1
[INFO] [stderr]   Downloaded itertools v0.10.1
[INFO] [stderr]   Downloaded ntapi v0.3.6
[INFO] [stderr]   Downloaded clap v3.0.0-beta.2
[INFO] [stderr]   Downloaded futures-util v0.3.15
[INFO] [stderr]   Downloaded idna v0.2.3
[INFO] [stderr]   Downloaded nix v0.21.0
[INFO] [stderr]   Downloaded regex v1.5.4
[INFO] [stderr]   Downloaded syn v1.0.73
[INFO] [stderr]   Downloaded object v0.25.3
[INFO] [stderr]   Downloaded regex-syntax v0.6.25
[INFO] [stderr]   Downloaded tokio v1.7.1
[INFO] [stderr]   Downloaded libc v0.2.97
[INFO] [stderr]   Downloaded gimli v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4593cf3710bc299a841c4b4ccc1a9b80a11447cb5583b427da811494e79914df
[INFO] running `Command { std: "docker" "start" "-a" "4593cf3710bc299a841c4b4ccc1a9b80a11447cb5583b427da811494e79914df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4593cf3710bc299a841c4b4ccc1a9b80a11447cb5583b427da811494e79914df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4593cf3710bc299a841c4b4ccc1a9b80a11447cb5583b427da811494e79914df", kill_on_drop: false }`
[INFO] [stdout] 4593cf3710bc299a841c4b4ccc1a9b80a11447cb5583b427da811494e79914df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e389eec1ca37515fd67d36dcf7d3eb75a0b6983021e41536b267ad9c5fb18e7
[INFO] running `Command { std: "docker" "start" "-a" "8e389eec1ca37515fd67d36dcf7d3eb75a0b6983021e41536b267ad9c5fb18e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.15
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling futures-io v0.3.15
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling object v0.25.3
[INFO] [stderr]    Compiling tokio v1.7.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling rustc-demangle v0.1.20
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling anyhow v1.0.41
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling textwrap v0.12.1
[INFO] [stderr]    Compiling backtrace v0.3.60
[INFO] [stderr]    Compiling os_str_bytes v2.4.0
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling nix v0.21.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling addr2line v0.15.2
[INFO] [stderr]    Compiling os_type v2.3.0
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling tokio-macros v1.2.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling clap v3.0.0-beta.2
[INFO] [stderr]    Compiling futures-executor v0.3.15
[INFO] [stderr]    Compiling futures v0.3.15
[INFO] [stderr]    Compiling human-panic v1.0.3
[INFO] [stderr]    Compiling socksx v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `chain` is never read
[INFO] [stdout]   --> src/socks5/s5_handler.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Socks5Handler {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 12 |     credentials: Option<Credentials>,
[INFO] [stdout] 13 |     chain: Vec<ProxyAddress>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Socks5Handler` has a derived impl for the trait `Clone`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/socks5/mod.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Command`
[INFO] [stdout] 15 | pub enum Socks5Command {
[INFO] [stdout]    |          ------------- `Socks5Command` 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/socks5/mod.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Reply`
[INFO] [stdout] 54 | pub enum Socks5Reply {
[INFO] [stdout]    |          ----------- `Socks5Reply` 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/socks6/mod.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Clone, Debug, 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_AuthMethod`
[INFO] [stdout] 23 | pub enum AuthMethod {
[INFO] [stdout]    |          ---------- `AuthMethod` 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/socks6/mod.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Command`
[INFO] [stdout] 32 | pub enum Socks6Command {
[INFO] [stdout]    |          ------------- `Socks6Command` 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/socks6/mod.rs:267:24
[INFO] [stdout]     |
[INFO] [stdout] 267 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]     |                        ^------------
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        `FromPrimitive` is not local
[INFO] [stdout]     |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Reply`
[INFO] [stdout] 268 | pub enum Socks6Reply {
[INFO] [stdout]     |          ----------- `Socks6Reply` 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/socks6/options.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, 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_AuthMethod`
[INFO] [stdout] 6 | pub enum AuthMethod {
[INFO] [stdout]   |          ---------- `AuthMethod` 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: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         setup_panic!(Metadata {
[INFO] [stdout] 59 | |             name: "SOCKSX".into(),
[INFO] [stdout] 60 | |             version: env!("CARGO_PKG_VERSION").into(),
[INFO] [stdout] 61 | |             authors: env!("CARGO_PKG_AUTHORS").replace(":", ", ").into(),
[INFO] [stdout] 62 | |             homepage: env!("CARGO_PKG_HOMEPAGE").into(),
[INFO] [stdout] 63 | |         });
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.07s
[INFO] running `Command { std: "docker" "inspect" "8e389eec1ca37515fd67d36dcf7d3eb75a0b6983021e41536b267ad9c5fb18e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e389eec1ca37515fd67d36dcf7d3eb75a0b6983021e41536b267ad9c5fb18e7", kill_on_drop: false }`
[INFO] [stdout] 8e389eec1ca37515fd67d36dcf7d3eb75a0b6983021e41536b267ad9c5fb18e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f180084db8edae9018632725a5fe5cc02c064fc6adc4bd2a75c9b9768c2ea67
[INFO] running `Command { std: "docker" "start" "-a" "4f180084db8edae9018632725a5fe5cc02c064fc6adc4bd2a75c9b9768c2ea67", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling cpufeatures v0.1.5
[INFO] [stdout] warning: field `chain` is never read
[INFO] [stdout]   --> src/socks5/s5_handler.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Socks5Handler {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 12 |     credentials: Option<Credentials>,
[INFO] [stdout] 13 |     chain: Vec<ProxyAddress>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Socks5Handler` has a derived impl for the trait `Clone`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/socks5/mod.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Command`
[INFO] [stdout] 15 | pub enum Socks5Command {
[INFO] [stdout]    |          ------------- `Socks5Command` 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/socks5/mod.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Reply`
[INFO] [stdout] 54 | pub enum Socks5Reply {
[INFO] [stdout]    |          ----------- `Socks5Reply` 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/socks6/mod.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Clone, Debug, 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_AuthMethod`
[INFO] [stdout] 23 | pub enum AuthMethod {
[INFO] [stdout]    |          ---------- `AuthMethod` 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/socks6/mod.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Command`
[INFO] [stdout] 32 | pub enum Socks6Command {
[INFO] [stdout]    |          ------------- `Socks6Command` 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/socks6/mod.rs:267:24
[INFO] [stdout]     |
[INFO] [stdout] 267 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]     |                        ^------------
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        `FromPrimitive` is not local
[INFO] [stdout]     |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Reply`
[INFO] [stdout] 268 | pub enum Socks6Reply {
[INFO] [stdout]     |          ----------- `Socks6Reply` 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/socks6/options.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, 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_AuthMethod`
[INFO] [stdout] 6 | pub enum AuthMethod {
[INFO] [stdout]   |          ---------- `AuthMethod` 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] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling chacha20 v0.7.1
[INFO] [stderr]    Compiling socksx v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         setup_panic!(Metadata {
[INFO] [stdout] 59 | |             name: "SOCKSX".into(),
[INFO] [stdout] 60 | |             version: env!("CARGO_PKG_VERSION").into(),
[INFO] [stdout] 61 | |             authors: env!("CARGO_PKG_AUTHORS").replace(":", ", ").into(),
[INFO] [stdout] 62 | |             homepage: env!("CARGO_PKG_HOMEPAGE").into(),
[INFO] [stdout] 63 | |         });
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `chain` is never read
[INFO] [stdout]   --> src/socks5/s5_handler.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Socks5Handler {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 12 |     credentials: Option<Credentials>,
[INFO] [stdout] 13 |     chain: Vec<ProxyAddress>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Socks5Handler` has a derived impl for the trait `Clone`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/socks5/mod.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Command`
[INFO] [stdout] 15 | pub enum Socks5Command {
[INFO] [stdout]    |          ------------- `Socks5Command` 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/socks5/mod.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Reply`
[INFO] [stdout] 54 | pub enum Socks5Reply {
[INFO] [stdout]    |          ----------- `Socks5Reply` 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/socks6/mod.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Clone, Debug, 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_AuthMethod`
[INFO] [stdout] 23 | pub enum AuthMethod {
[INFO] [stdout]    |          ---------- `AuthMethod` 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/socks6/mod.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                        ^------------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Command`
[INFO] [stdout] 32 | pub enum Socks6Command {
[INFO] [stdout]    |          ------------- `Socks6Command` 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/socks6/mod.rs:267:24
[INFO] [stdout]     |
[INFO] [stdout] 267 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]     |                        ^------------
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        `FromPrimitive` is not local
[INFO] [stdout]     |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Reply`
[INFO] [stdout] 268 | pub enum Socks6Reply {
[INFO] [stdout]     |          ----------- `Socks6Reply` 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/socks6/options.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, 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_AuthMethod`
[INFO] [stdout] 6 | pub enum AuthMethod {
[INFO] [stdout]   |          ---------- `AuthMethod` 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.14s
[INFO] running `Command { std: "docker" "inspect" "4f180084db8edae9018632725a5fe5cc02c064fc6adc4bd2a75c9b9768c2ea67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f180084db8edae9018632725a5fe5cc02c064fc6adc4bd2a75c9b9768c2ea67", kill_on_drop: false }`
[INFO] [stdout] 4f180084db8edae9018632725a5fe5cc02c064fc6adc4bd2a75c9b9768c2ea67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b10475db30f8eecf2a5e30188613efe9ccf55c514e6cecd52f664b15deb12e07
[INFO] running `Command { std: "docker" "start" "-a" "b10475db30f8eecf2a5e30188613efe9ccf55c514e6cecd52f664b15deb12e07", kill_on_drop: false }`
[INFO] [stderr] warning: field `chain` is never read
[INFO] [stderr]   --> src/socks5/s5_handler.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct Socks5Handler {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] 12 |     credentials: Option<Credentials>,
[INFO] [stderr] 13 |     chain: Vec<ProxyAddress>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Socks5Handler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/socks5/mod.rs:14:24
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr]    |                        ^------------
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        `FromPrimitive` is not local
[INFO] [stderr]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Command`
[INFO] [stderr] 15 | pub enum Socks5Command {
[INFO] [stderr]    |          ------------- `Socks5Command` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = 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] [stderr]    = 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] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/socks5/mod.rs:53:24
[INFO] [stderr]    |
[INFO] [stderr] 53 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr]    |                        ^------------
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        `FromPrimitive` is not local
[INFO] [stderr]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks5Reply`
[INFO] [stderr] 54 | pub enum Socks5Reply {
[INFO] [stderr]    |          ----------- `Socks5Reply` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = 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] [stderr]    = 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] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/socks6/mod.rs:22:24
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[derive(Clone, Debug, FromPrimitive)]
[INFO] [stderr]    |                        ^------------
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        `FromPrimitive` is not local
[INFO] [stderr]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AuthMethod`
[INFO] [stderr] 23 | pub enum AuthMethod {
[INFO] [stderr]    |          ---------- `AuthMethod` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = 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] [stderr]    = 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] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/socks6/mod.rs:31:24
[INFO] [stderr]    |
[INFO] [stderr] 31 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr]    |                        ^------------
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        `FromPrimitive` is not local
[INFO] [stderr]    |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Command`
[INFO] [stderr] 32 | pub enum Socks6Command {
[INFO] [stderr]    |          ------------- `Socks6Command` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = 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] [stderr]    = 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] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/socks6/mod.rs:267:24
[INFO] [stderr]     |
[INFO] [stderr] 267 | #[derive(Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr]     |                        ^------------
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        `FromPrimitive` is not local
[INFO] [stderr]     |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Socks6Reply`
[INFO] [stderr] 268 | pub enum Socks6Reply {
[INFO] [stderr]     |          ----------- `Socks6Reply` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/socks6/options.rs:5:24
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Clone, Debug, FromPrimitive)]
[INFO] [stderr]   |                        ^------------
[INFO] [stderr]   |                        |
[INFO] [stderr]   |                        `FromPrimitive` is not local
[INFO] [stderr]   |                        move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AuthMethod`
[INFO] [stderr] 6 | pub enum AuthMethod {
[INFO] [stderr]   |          ---------- `AuthMethod` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `socksx` (lib) generated 7 warnings
[INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stderr]   --> src/main.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 58 | /         setup_panic!(Metadata {
[INFO] [stderr] 59 | |             name: "SOCKSX".into(),
[INFO] [stderr] 60 | |             version: env!("CARGO_PKG_VERSION").into(),
[INFO] [stderr] 61 | |             authors: env!("CARGO_PKG_AUTHORS").replace(":", ", ").into(),
[INFO] [stderr] 62 | |             homepage: env!("CARGO_PKG_HOMEPAGE").into(),
[INFO] [stderr] 63 | |         });
[INFO] [stderr]    | |__________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `socksx` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr] warning: `socksx` (bin "socksx" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/socksx-237bced31f0e3172)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test socks6::chain::tests::abc ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/socksx-6ae1e0ace6d0838a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests socksx
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b10475db30f8eecf2a5e30188613efe9ccf55c514e6cecd52f664b15deb12e07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b10475db30f8eecf2a5e30188613efe9ccf55c514e6cecd52f664b15deb12e07", kill_on_drop: false }`
[INFO] [stdout] b10475db30f8eecf2a5e30188613efe9ccf55c514e6cecd52f664b15deb12e07
