[INFO] cloning repository https://github.com/dao-galaxy/bloom-p2p
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dao-galaxy/bloom-p2p" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdao-galaxy%2Fbloom-p2p", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdao-galaxy%2Fbloom-p2p'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 860c93bf42effdf45d87af5e4d6a54862f9523f2
[INFO] testing dao-galaxy/bloom-p2p against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdao-galaxy%2Fbloom-p2p" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dao-galaxy/bloom-p2p
[INFO] finished tweaking git repo https://github.com/dao-galaxy/bloom-p2p
[INFO] tweaked toml for git repo https://github.com/dao-galaxy/bloom-p2p written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dao-galaxy/bloom-p2p on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dao-galaxy/bloom-p2p 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.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/network/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hermit-abi v0.1.13
[INFO] [stderr]   Downloaded rlp v0.4.5
[INFO] [stderr]   Downloaded quote v1.0.6
[INFO] [stderr]   Downloaded timer v0.2.0
[INFO] [stderr]   Downloaded jsonrpc-server-utils v14.2.0
[INFO] [stderr]   Downloaded hex-literal-impl v0.2.2
[INFO] [stderr]   Downloaded ctrlc v3.1.4
[INFO] [stderr]   Downloaded enr v0.1.0
[INFO] [stderr]   Downloaded assert_matches v1.3.0
[INFO] [stderr]   Downloaded env_logger v0.5.13
[INFO] [stderr]   Downloaded igd v0.10.2
[INFO] [stderr]   Downloaded base64 v0.12.1
[INFO] [stderr]   Downloaded base64 v0.9.3
[INFO] [stderr]   Downloaded aes v0.3.2
[INFO] [stderr]   Downloaded syn v1.0.30
[INFO] [stderr]   Downloaded secp256k1-sys v0.1.2
[INFO] [stderr]   Downloaded addr2line v0.12.2
[INFO] [stderr]   Downloaded serde v1.0.111
[INFO] [stderr]   Downloaded backtrace v0.3.49
[INFO] [stderr]   Downloaded jsonrpc-core v14.2.0
[INFO] [stderr]   Downloaded derive_more v0.99.7
[INFO] [stderr]   Downloaded aes-soft v0.3.3
[INFO] [stderr]   Downloaded attohttpc v0.10.1
[INFO] [stderr]   Downloaded cc v1.0.41
[INFO] [stderr]   Downloaded parity-scale-codec v1.3.0
[INFO] [stderr]   Downloaded jsonrpc-pubsub v14.2.0
[INFO] [stderr]   Downloaded serde_json v1.0.53
[INFO] [stderr]   Downloaded ipnetwork v0.12.8
[INFO] [stderr]   Downloaded aes-ctr v0.3.0
[INFO] [stderr]   Downloaded secp256k1 v0.17.2
[INFO] [stderr]   Downloaded block-modes v0.3.3
[INFO] [stderr]   Downloaded parity-crypto v0.6.2
[INFO] [stderr]   Downloaded snap v1.0.0
[INFO] [stderr]   Downloaded impl-rlp v0.2.1
[INFO] [stderr]   Downloaded aesni v0.6.0
[INFO] [stderr]   Downloaded jsonrpc-core-client v14.2.0
[INFO] [stderr]   Downloaded jsonrpc-derive v14.2.1
[INFO] [stderr]   Downloaded jsonrpc-tcp-server v14.2.0
[INFO] [stderr]   Downloaded keccak-hash v0.5.1
[INFO] [stderr]   Downloaded natpmp v0.2.0
[INFO] [stderr]   Downloaded ctr v0.3.2
[INFO] [stderr]   Downloaded ripemd160 v0.8.0
[INFO] [stderr]   Downloaded tokio-uds v0.2.6
[INFO] [stderr]   Downloaded hex-literal v0.2.1
[INFO] [stderr]   Downloaded xmltree v0.10.0
[INFO] [stderr]   Downloaded parity-bytes v0.1.2
[INFO] [stderr]   Downloaded scrypt v0.2.0
[INFO] [stderr]   Downloaded home v0.5.3
[INFO] [stderr]   Downloaded parity-path v0.1.3
[INFO] [stderr]   Downloaded ethbloom v0.9.2
[INFO] [stderr]   Downloaded adler32 v1.1.0
[INFO] [stderr]   Downloaded jsonrpc-client-transports v14.2.0
[INFO] [stderr]   Downloaded ethereum-types v0.9.2
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.2
[INFO] [stderr]   Downloaded serde_derive v1.0.111
[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" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89f1f89e68bafba34d4d12d7b3d101816bcea44b491a86458888d01bd07ffada
[INFO] running `Command { std: "docker" "start" "-a" "89f1f89e68bafba34d4d12d7b3d101816bcea44b491a86458888d01bd07ffada", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89f1f89e68bafba34d4d12d7b3d101816bcea44b491a86458888d01bd07ffada", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89f1f89e68bafba34d4d12d7b3d101816bcea44b491a86458888d01bd07ffada", kill_on_drop: false }`
[INFO] [stdout] 89f1f89e68bafba34d4d12d7b3d101816bcea44b491a86458888d01bd07ffada
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e49215065ccd33ed909ba310cd53b6b039e57523a0b4071f1bd59c9ceb1bd20
[INFO] running `Command { std: "docker" "start" "-a" "2e49215065ccd33ed909ba310cd53b6b039e57523a0b4071f1bd59c9ceb1bd20", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/network/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling futures v0.1.29
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling smallvec v1.4.0
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling cc v1.0.41
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling rlp v0.4.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling radium v0.3.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling byte-slice-cast v0.3.5
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling impl-rlp v0.2.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling secp256k1-sys v0.1.2
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling uint v0.8.3
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-cipher-trait v0.6.2
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling aes-soft v0.3.3
[INFO] [stderr]    Compiling stream-cipher v0.3.2
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling adler32 v1.1.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling ctr v0.3.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling secp256k1 v0.17.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling snap v1.0.0
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling zeroize v1.1.0
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling scrypt v0.2.0
[INFO] [stderr]    Compiling aes-ctr v0.3.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling aes v0.3.2
[INFO] [stderr]    Compiling ripemd160 v0.8.0
[INFO] [stderr]    Compiling block-modes v0.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling natpmp v0.2.0
[INFO] [stderr]    Compiling bstr v0.2.13
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling fixed-hash v0.6.1
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling timer v0.2.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling xmltree v0.10.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling addr2line v0.12.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling base64 v0.12.1
[INFO] [stderr]    Compiling home v0.5.3
[INFO] [stderr]    Compiling ipnetwork v0.12.8
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling parity-path v0.1.3
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling enr v0.1.0
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling parity-bytes v0.1.2
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling attohttpc v0.10.1
[INFO] [stderr]    Compiling igd v0.10.2
[INFO] [stderr]    Compiling globset v0.4.5
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling backtrace v0.3.49
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]    Compiling derive_more v0.99.7
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling structopt-derive v0.4.8
[INFO] [stderr]    Compiling ctrlc v3.1.4
[INFO] [stderr]    Compiling structopt v0.3.15
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling impl-serde v0.3.1
[INFO] [stderr]    Compiling parity-scale-codec v1.3.0
[INFO] [stderr]    Compiling serde_json v1.0.53
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling ethbloom v0.9.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling jsonrpc-core v14.2.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.4
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling jsonrpc-pubsub v14.2.0
[INFO] [stderr]    Compiling jsonrpc-derive v14.2.1
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.6
[INFO] [stderr]    Compiling jsonrpc-client-transports v14.2.0
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling ethcore-io v1.12.0 (/opt/rustwide/workdir/io)
[INFO] [stderr]    Compiling jsonrpc-server-utils v14.2.0
[INFO] [stderr]    Compiling jsonrpc-core-client v14.2.0
[INFO] [stderr]    Compiling jsonrpc-tcp-server v14.2.0
[INFO] [stderr]    Compiling impl-codec v0.4.2
[INFO] [stderr]    Compiling primitive-types v0.7.2
[INFO] [stderr]    Compiling ethereum-types v0.9.2
[INFO] [stderr]    Compiling keccak-hash v0.5.1
[INFO] [stderr]    Compiling parity-crypto v0.6.2
[INFO] [stderr]    Compiling ethcore-network v1.12.0 (/opt/rustwide/workdir/network)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> network/src/client_version.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone,Debug,PartialEq,Eq,Serialize)]
[INFO] [stdout]    |                                   ^--------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Serialize` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ParityClientData`
[INFO] [stdout] 39 | pub struct ParityClientData {
[INFO] [stdout]    |            ---------------- `ParityClientData` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network/src/client_version.rs:101:35
[INFO] [stdout]     |
[INFO] [stdout] 101 | #[derive(Clone,Debug,Eq,PartialEq,Serialize)]
[INFO] [stdout]     |                                   ^--------
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   `Serialize` is not local
[INFO] [stdout]     |                                   move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ClientVersion`
[INFO] [stdout] 102 | pub enum ClientVersion {
[INFO] [stdout]     |          ------------- `ClientVersion` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ethcore-network-devp2p v1.12.0 (/opt/rustwide/workdir/network-devp2p)
[INFO] [stdout] warning: field `protocol` is never read
[INFO] [stdout]    --> network-devp2p/src/connection.rs:265:6
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub struct Packet {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 265 |     pub protocol: u16,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `peer_type` is never read
[INFO] [stdout]    --> network-devp2p/src/node_table.rs:194:6
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub struct Node {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub peer_type: PeerType,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` 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 `is_global_s` is never used
[INFO] [stdout]   --> network-devp2p/src/ip_utils.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait SocketAddrExt {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 38 |     /// Returns true if the address appears to be globally routable.
[INFO] [stdout] 39 |     fn is_global_s(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> network-devp2p/src/connection.rs:375:3
[INFO] [stdout]     |
[INFO] [stdout] 375 |         &mut packet[..HEADER_LEN].copy_from_slice(&mut header);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let _ = &mut packet[..HEADER_LEN].copy_from_slice(&mut header);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> network-devp2p/src/connection.rs:379:3
[INFO] [stdout]     |
[INFO] [stdout] 379 |         &mut packet[32..32 + len].copy_from_slice(payload);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let _ = &mut packet[32..32 + len].copy_from_slice(payload);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> network-devp2p/src/connection.rs:450:3
[INFO] [stdout]     |
[INFO] [stdout] 450 |         &mut enc[..].copy_from_slice(prev.as_bytes());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 450 |         let _ = &mut enc[..].copy_from_slice(prev.as_bytes());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `[u16; 8]` is dropped at end of statement
[INFO] [stdout]    --> network-devp2p/src/node_table.rs:101:42
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let o: *const u8 = a.ip().segments().as_ptr() as *const u8;
[INFO] [stdout]     |                                    ----------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this `[u16; 8]` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `[u16; 8]` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` 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]    --> network-devp2p/src/node_table.rs:547:11
[INFO] [stdout]     |
[INFO] [stdout] 547 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeTable`
[INFO] [stdout] 548 |     pub struct NodeTable {
[INFO] [stdout]     |                --------- `NodeTable` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:547:22
[INFO] [stdout]     |
[INFO] [stdout] 547 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Deserialize` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeTable`
[INFO] [stdout] 548 |     pub struct NodeTable {
[INFO] [stdout]     |                --------- `NodeTable` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]    --> network-devp2p/src/node_table.rs:552:11
[INFO] [stdout]     |
[INFO] [stdout] 552 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeContact`
[INFO] [stdout] 553 |     pub enum NodeContact {
[INFO] [stdout]     |              ----------- `NodeContact` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:552:22
[INFO] [stdout]     |
[INFO] [stdout] 552 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Deserialize` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeContact`
[INFO] [stdout] 553 |     pub enum NodeContact {
[INFO] [stdout]     |              ----------- `NodeContact` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]    --> network-devp2p/src/node_table.rs:573:11
[INFO] [stdout]     |
[INFO] [stdout] 573 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node`
[INFO] [stdout] 574 |     pub struct Node {
[INFO] [stdout]     |                ---- `Node` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:573:22
[INFO] [stdout]     |
[INFO] [stdout] 573 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Deserialize` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Node`
[INFO] [stdout] 574 |     pub struct Node {
[INFO] [stdout]     |                ---- `Node` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bloom-p2p v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/commands/client_cmd.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json;
[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: `Ipv4Addr`
[INFO] [stdout]  --> src/commands/client_cmd.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stdout]   |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Tx_pool` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Tx_pool {},
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `TxPool`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Node_buckets` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Node_buckets {},
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeBuckets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Send_tx` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Send_tx {
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `SendTx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Peers_sub` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Peers_sub {
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `PeersSub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Peers_unsub` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Peers_unsub {
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PeersUnsub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello_info`
[INFO] [stdout]   --> src/server.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let hello_info: String = rlp_obj.at(0).unwrap().as_val().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_info`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (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/rpc.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Info`
[INFO] [stdout] 18 | pub struct Info {
[INFO] [stdout]    |            ---- `Info` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Info`
[INFO] [stdout] 18 | pub struct Info {
[INFO] [stdout]    |            ---- `Info` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/rpc.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Peers`
[INFO] [stdout] 24 | pub struct Peers {
[INFO] [stdout]    |            ----- `Peers` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Peers`
[INFO] [stdout] 24 | pub struct Peers {
[INFO] [stdout]    |            ----- `Peers` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/rpc.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node`
[INFO] [stdout] 30 | pub struct Node {
[INFO] [stdout]    |            ---- `Node` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Node`
[INFO] [stdout] 30 | pub struct Node {
[INFO] [stdout]    |            ---- `Node` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Serialize` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PeerInfo`
[INFO] [stdout] 39 | pub struct PeerInfo {
[INFO] [stdout]    |            -------- `PeerInfo` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Deserialize` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PeerInfo`
[INFO] [stdout] 39 | pub struct PeerInfo {
[INFO] [stdout]    |            -------- `PeerInfo` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Serialize` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Tx`
[INFO] [stdout] 44 | pub struct Tx {
[INFO] [stdout]    |            -- `Tx` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Deserialize` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Tx`
[INFO] [stdout] 44 | pub struct Tx {
[INFO] [stdout]    |            -- `Tx` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Default, Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                 ^--------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `Serialize` is not local
[INFO] [stdout]    |                                 move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TxPool`
[INFO] [stdout] 49 | pub struct TxPool {
[INFO] [stdout]    |            ------ `TxPool` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:48:44
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Default, Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                            ^----------
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            `Deserialize` is not local
[INFO] [stdout]    |                                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TxPool`
[INFO] [stdout] 49 | pub struct TxPool {
[INFO] [stdout]    |            ------ `TxPool` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_peers(&self) -> RwLockReadGuard<HashMap<PeerId, PeerInfo>> {
[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] 61 |     pub fn get_peers(&self) -> RwLockReadGuard<'_, HashMap<PeerId, PeerInfo>> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.15s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.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" "2e49215065ccd33ed909ba310cd53b6b039e57523a0b4071f1bd59c9ceb1bd20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e49215065ccd33ed909ba310cd53b6b039e57523a0b4071f1bd59c9ceb1bd20", kill_on_drop: false }`
[INFO] [stdout] 2e49215065ccd33ed909ba310cd53b6b039e57523a0b4071f1bd59c9ceb1bd20
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31f3285ae8f7f36989ff1207858ba16c2da640e6da66416a83562576fae04888
[INFO] running `Command { std: "docker" "start" "-a" "31f3285ae8f7f36989ff1207858ba16c2da640e6da66416a83562576fae04888", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/network/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> network/src/client_version.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone,Debug,PartialEq,Eq,Serialize)]
[INFO] [stdout]    |                                   ^--------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Serialize` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ParityClientData`
[INFO] [stdout] 39 | pub struct ParityClientData {
[INFO] [stdout]    |            ---------------- `ParityClientData` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network/src/client_version.rs:101:35
[INFO] [stdout]     |
[INFO] [stdout] 101 | #[derive(Clone,Debug,Eq,PartialEq,Serialize)]
[INFO] [stdout]     |                                   ^--------
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   `Serialize` is not local
[INFO] [stdout]     |                                   move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ClientVersion`
[INFO] [stdout] 102 | pub enum ClientVersion {
[INFO] [stdout]     |          ------------- `ClientVersion` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protocol` is never read
[INFO] [stdout]    --> network-devp2p/src/connection.rs:265:6
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub struct Packet {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 265 |     pub protocol: u16,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `peer_type` is never read
[INFO] [stdout]    --> network-devp2p/src/node_table.rs:194:6
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub struct Node {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub peer_type: PeerType,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` 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 `is_global_s` is never used
[INFO] [stdout]   --> network-devp2p/src/ip_utils.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait SocketAddrExt {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 38 |     /// Returns true if the address appears to be globally routable.
[INFO] [stdout] 39 |     fn is_global_s(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> network-devp2p/src/connection.rs:375:3
[INFO] [stdout]     |
[INFO] [stdout] 375 |         &mut packet[..HEADER_LEN].copy_from_slice(&mut header);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let _ = &mut packet[..HEADER_LEN].copy_from_slice(&mut header);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> network-devp2p/src/connection.rs:379:3
[INFO] [stdout]     |
[INFO] [stdout] 379 |         &mut packet[32..32 + len].copy_from_slice(payload);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let _ = &mut packet[32..32 + len].copy_from_slice(payload);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> network-devp2p/src/connection.rs:450:3
[INFO] [stdout]     |
[INFO] [stdout] 450 |         &mut enc[..].copy_from_slice(prev.as_bytes());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 450 |         let _ = &mut enc[..].copy_from_slice(prev.as_bytes());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `[u16; 8]` is dropped at end of statement
[INFO] [stdout]    --> network-devp2p/src/node_table.rs:101:42
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let o: *const u8 = a.ip().segments().as_ptr() as *const u8;
[INFO] [stdout]     |                                    ----------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this `[u16; 8]` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `[u16; 8]` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` 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]    --> network-devp2p/src/node_table.rs:547:11
[INFO] [stdout]     |
[INFO] [stdout] 547 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeTable`
[INFO] [stdout] 548 |     pub struct NodeTable {
[INFO] [stdout]     |                --------- `NodeTable` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:547:22
[INFO] [stdout]     |
[INFO] [stdout] 547 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Deserialize` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeTable`
[INFO] [stdout] 548 |     pub struct NodeTable {
[INFO] [stdout]     |                --------- `NodeTable` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]    --> network-devp2p/src/node_table.rs:552:11
[INFO] [stdout]     |
[INFO] [stdout] 552 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeContact`
[INFO] [stdout] 553 |     pub enum NodeContact {
[INFO] [stdout]     |              ----------- `NodeContact` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:552:22
[INFO] [stdout]     |
[INFO] [stdout] 552 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Deserialize` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeContact`
[INFO] [stdout] 553 |     pub enum NodeContact {
[INFO] [stdout]     |              ----------- `NodeContact` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]    --> network-devp2p/src/node_table.rs:573:11
[INFO] [stdout]     |
[INFO] [stdout] 573 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node`
[INFO] [stdout] 574 |     pub struct Node {
[INFO] [stdout]     |                ---- `Node` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:573:22
[INFO] [stdout]     |
[INFO] [stdout] 573 |     #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Deserialize` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Node`
[INFO] [stdout] 574 |     pub struct Node {
[INFO] [stdout]     |                ---- `Node` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bloom-p2p v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/commands/client_cmd.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json;
[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: `Ipv4Addr`
[INFO] [stdout]  --> src/commands/client_cmd.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stdout]   |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Tx_pool` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Tx_pool {},
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `TxPool`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Node_buckets` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Node_buckets {},
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeBuckets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Send_tx` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Send_tx {
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `SendTx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Peers_sub` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Peers_sub {
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `PeersSub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Peers_unsub` should have an upper camel case name
[INFO] [stdout]   --> src/commands/client_cmd.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Peers_unsub {
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PeersUnsub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello_info`
[INFO] [stdout]   --> src/server.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let hello_info: String = rlp_obj.at(0).unwrap().as_val().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_info`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (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/rpc.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Info`
[INFO] [stdout] 18 | pub struct Info {
[INFO] [stdout]    |            ---- `Info` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Info`
[INFO] [stdout] 18 | pub struct Info {
[INFO] [stdout]    |            ---- `Info` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/rpc.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Peers`
[INFO] [stdout] 24 | pub struct Peers {
[INFO] [stdout]    |            ----- `Peers` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Peers`
[INFO] [stdout] 24 | pub struct Peers {
[INFO] [stdout]    |            ----- `Peers` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/rpc.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node`
[INFO] [stdout] 30 | pub struct Node {
[INFO] [stdout]    |            ---- `Node` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Node`
[INFO] [stdout] 30 | pub struct Node {
[INFO] [stdout]    |            ---- `Node` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Serialize` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PeerInfo`
[INFO] [stdout] 39 | pub struct PeerInfo {
[INFO] [stdout]    |            -------- `PeerInfo` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Deserialize` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PeerInfo`
[INFO] [stdout] 39 | pub struct PeerInfo {
[INFO] [stdout]    |            -------- `PeerInfo` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Serialize` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Tx`
[INFO] [stdout] 44 | pub struct Tx {
[INFO] [stdout]    |            -- `Tx` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Deserialize` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Tx`
[INFO] [stdout] 44 | pub struct Tx {
[INFO] [stdout]    |            -- `Tx` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Default, Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                 ^--------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `Serialize` is not local
[INFO] [stdout]    |                                 move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TxPool`
[INFO] [stdout] 49 | pub struct TxPool {
[INFO] [stdout]    |            ------ `TxPool` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:48:44
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Default, Clone, Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                                            ^----------
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            `Deserialize` is not local
[INFO] [stdout]    |                                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TxPool`
[INFO] [stdout] 49 | pub struct TxPool {
[INFO] [stdout]    |            ------ `TxPool` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_peers(&self) -> RwLockReadGuard<HashMap<PeerId, PeerInfo>> {
[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] 61 |     pub fn get_peers(&self) -> RwLockReadGuard<'_, HashMap<PeerId, PeerInfo>> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.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" "31f3285ae8f7f36989ff1207858ba16c2da640e6da66416a83562576fae04888", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31f3285ae8f7f36989ff1207858ba16c2da640e6da66416a83562576fae04888", kill_on_drop: false }`
[INFO] [stdout] 31f3285ae8f7f36989ff1207858ba16c2da640e6da66416a83562576fae04888
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 33cac86c09dc9538f97c292300e74f4f16f6c0580a77ec6ababe787ff01ea9db
[INFO] running `Command { std: "docker" "start" "-a" "33cac86c09dc9538f97c292300e74f4f16f6c0580a77ec6ababe787ff01ea9db", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/network/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> network/src/client_version.rs:38:35
[INFO] [stderr]    |
[INFO] [stderr] 38 | #[derive(Clone,Debug,PartialEq,Eq,Serialize)]
[INFO] [stderr]    |                                   ^--------
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   `Serialize` is not local
[INFO] [stderr]    |                                   move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ParityClientData`
[INFO] [stderr] 39 | pub struct ParityClientData {
[INFO] [stderr]    |            ---------------- `ParityClientData` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network/src/client_version.rs:101:35
[INFO] [stderr]     |
[INFO] [stderr] 101 | #[derive(Clone,Debug,Eq,PartialEq,Serialize)]
[INFO] [stderr]     |                                   ^--------
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   `Serialize` is not local
[INFO] [stderr]     |                                   move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ClientVersion`
[INFO] [stderr] 102 | pub enum ClientVersion {
[INFO] [stderr]     |          ------------- `ClientVersion` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `ethcore-network` (lib) generated 2 warnings
[INFO] [stderr] warning: field `protocol` is never read
[INFO] [stderr]    --> network-devp2p/src/connection.rs:265:6
[INFO] [stderr]     |
[INFO] [stderr] 264 | pub struct Packet {
[INFO] [stderr]     |            ------ field in this struct
[INFO] [stderr] 265 |     pub protocol: u16,
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `peer_type` is never read
[INFO] [stderr]    --> network-devp2p/src/node_table.rs:194:6
[INFO] [stderr]     |
[INFO] [stderr] 191 | pub struct Node {
[INFO] [stderr]     |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 194 |     pub peer_type: PeerType,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_global_s` is never used
[INFO] [stderr]   --> network-devp2p/src/ip_utils.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub trait SocketAddrExt {
[INFO] [stderr]    |           ------------- method in this trait
[INFO] [stderr] 38 |     /// Returns true if the address appears to be globally routable.
[INFO] [stderr] 39 |     fn is_global_s(&self) -> bool;
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> network-devp2p/src/connection.rs:375:3
[INFO] [stderr]     |
[INFO] [stderr] 375 |         &mut packet[..HEADER_LEN].copy_from_slice(&mut header);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 375 |         let _ = &mut packet[..HEADER_LEN].copy_from_slice(&mut header);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> network-devp2p/src/connection.rs:379:3
[INFO] [stderr]     |
[INFO] [stderr] 379 |         &mut packet[32..32 + len].copy_from_slice(payload);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 379 |         let _ = &mut packet[32..32 + len].copy_from_slice(payload);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> network-devp2p/src/connection.rs:450:3
[INFO] [stderr]     |
[INFO] [stderr] 450 |         &mut enc[..].copy_from_slice(prev.as_bytes());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 450 |         let _ = &mut enc[..].copy_from_slice(prev.as_bytes());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: this creates a dangling pointer because temporary `[u16; 8]` is dropped at end of statement
[INFO] [stderr]    --> network-devp2p/src/node_table.rs:101:42
[INFO] [stderr]     |
[INFO] [stderr] 101 |                 let o: *const u8 = a.ip().segments().as_ptr() as *const u8;
[INFO] [stderr]     |                                    ----------------- ^^^^^^ pointer created here
[INFO] [stderr]     |                                    |
[INFO] [stderr]     |                                    this `[u16; 8]` is dropped at end of statement
[INFO] [stderr]     |
[INFO] [stderr]     = help: bind the `[u16; 8]` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stderr]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stderr]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr]     = note: `#[warn(dangling_pointers_from_temporaries)]` 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]    --> network-devp2p/src/node_table.rs:547:11
[INFO] [stderr]     |
[INFO] [stderr] 547 |     #[derive(Serialize, Deserialize)]
[INFO] [stderr]     |              ^--------
[INFO] [stderr]     |              |
[INFO] [stderr]     |              `Serialize` is not local
[INFO] [stderr]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeTable`
[INFO] [stderr] 548 |     pub struct NodeTable {
[INFO] [stderr]     |                --------- `NodeTable` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:547:22
[INFO] [stderr]     |
[INFO] [stderr] 547 |     #[derive(Serialize, Deserialize)]
[INFO] [stderr]     |                         ^----------
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         `Deserialize` is not local
[INFO] [stderr]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeTable`
[INFO] [stderr] 548 |     pub struct NodeTable {
[INFO] [stderr]     |                --------- `NodeTable` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]    --> network-devp2p/src/node_table.rs:552:11
[INFO] [stderr]     |
[INFO] [stderr] 552 |     #[derive(Serialize, Deserialize)]
[INFO] [stderr]     |              ^--------
[INFO] [stderr]     |              |
[INFO] [stderr]     |              `Serialize` is not local
[INFO] [stderr]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeContact`
[INFO] [stderr] 553 |     pub enum NodeContact {
[INFO] [stderr]     |              ----------- `NodeContact` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:552:22
[INFO] [stderr]     |
[INFO] [stderr] 552 |     #[derive(Serialize, Deserialize)]
[INFO] [stderr]     |                         ^----------
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         `Deserialize` is not local
[INFO] [stderr]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeContact`
[INFO] [stderr] 553 |     pub enum NodeContact {
[INFO] [stderr]     |              ----------- `NodeContact` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]    --> network-devp2p/src/node_table.rs:573:11
[INFO] [stderr]     |
[INFO] [stderr] 573 |     #[derive(Serialize, Deserialize)]
[INFO] [stderr]     |              ^--------
[INFO] [stderr]     |              |
[INFO] [stderr]     |              `Serialize` is not local
[INFO] [stderr]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node`
[INFO] [stderr] 574 |     pub struct Node {
[INFO] [stderr]     |                ---- `Node` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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]    --> network-devp2p/src/node_table.rs:573:22
[INFO] [stderr]     |
[INFO] [stderr] 573 |     #[derive(Serialize, Deserialize)]
[INFO] [stderr]     |                         ^----------
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         `Deserialize` is not local
[INFO] [stderr]     |                         move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Node`
[INFO] [stderr] 574 |     pub struct Node {
[INFO] [stderr]     |                ---- `Node` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `ethcore-network-devp2p` (lib) generated 13 warnings
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]  --> src/commands/client_cmd.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use serde_json;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]  --> src/commands/client_cmd.rs:4:16
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stderr]   |                ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Tx_pool` should have an upper camel case name
[INFO] [stderr]   --> src/commands/client_cmd.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     Tx_pool {},
[INFO] [stderr]    |     ^^^^^^^ help: convert the identifier to upper camel case: `TxPool`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Node_buckets` should have an upper camel case name
[INFO] [stderr]   --> src/commands/client_cmd.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     Node_buckets {},
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeBuckets`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Send_tx` should have an upper camel case name
[INFO] [stderr]   --> src/commands/client_cmd.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     Send_tx {
[INFO] [stderr]    |     ^^^^^^^ help: convert the identifier to upper camel case: `SendTx`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Peers_sub` should have an upper camel case name
[INFO] [stderr]   --> src/commands/client_cmd.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 38 |     Peers_sub {
[INFO] [stderr]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `PeersSub`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Peers_unsub` should have an upper camel case name
[INFO] [stderr]   --> src/commands/client_cmd.rs:44:5
[INFO] [stderr]    |
[INFO] [stderr] 44 |     Peers_unsub {
[INFO] [stderr]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PeersUnsub`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello_info`
[INFO] [stderr]   --> src/server.rs:79:13
[INFO] [stderr]    |
[INFO] [stderr] 79 |         let hello_info: String = rlp_obj.at(0).unwrap().as_val().unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_info`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (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/rpc.rs:17:10
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Serialize, Deserialize)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Info`
[INFO] [stderr] 18 | pub struct Info {
[INFO] [stderr]    |            ---- `Info` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:17:21
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Serialize, Deserialize)]
[INFO] [stderr]    |                     ^----------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Deserialize` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Info`
[INFO] [stderr] 18 | pub struct Info {
[INFO] [stderr]    |            ---- `Info` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/rpc.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 | #[derive(Serialize, Deserialize)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Peers`
[INFO] [stderr] 24 | pub struct Peers {
[INFO] [stderr]    |            ----- `Peers` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:23:21
[INFO] [stderr]    |
[INFO] [stderr] 23 | #[derive(Serialize, Deserialize)]
[INFO] [stderr]    |                     ^----------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Deserialize` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Peers`
[INFO] [stderr] 24 | pub struct Peers {
[INFO] [stderr]    |            ----- `Peers` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/rpc.rs:29:10
[INFO] [stderr]    |
[INFO] [stderr] 29 | #[derive(Serialize, Deserialize)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node`
[INFO] [stderr] 30 | pub struct Node {
[INFO] [stderr]    |            ---- `Node` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/rpc.rs:29:21
[INFO] [stderr]    |
[INFO] [stderr] 29 | #[derive(Serialize, Deserialize)]
[INFO] [stderr]    |                     ^----------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Deserialize` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Node`
[INFO] [stderr] 30 | pub struct Node {
[INFO] [stderr]    |            ---- `Node` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:38:24
[INFO] [stderr]    |
[INFO] [stderr] 38 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stderr]    |                        ^--------
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        `Serialize` is not local
[INFO] [stderr]    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PeerInfo`
[INFO] [stderr] 39 | pub struct PeerInfo {
[INFO] [stderr]    |            -------- `PeerInfo` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:38:35
[INFO] [stderr]    |
[INFO] [stderr] 38 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stderr]    |                                   ^----------
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   `Deserialize` is not local
[INFO] [stderr]    |                                   move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PeerInfo`
[INFO] [stderr] 39 | pub struct PeerInfo {
[INFO] [stderr]    |            -------- `PeerInfo` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:43:24
[INFO] [stderr]    |
[INFO] [stderr] 43 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stderr]    |                        ^--------
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        `Serialize` is not local
[INFO] [stderr]    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Tx`
[INFO] [stderr] 44 | pub struct Tx {
[INFO] [stderr]    |            -- `Tx` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:43:35
[INFO] [stderr]    |
[INFO] [stderr] 43 | #[derive(Clone, Debug, Serialize, Deserialize)]
[INFO] [stderr]    |                                   ^----------
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   `Deserialize` is not local
[INFO] [stderr]    |                                   move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Tx`
[INFO] [stderr] 44 | pub struct Tx {
[INFO] [stderr]    |            -- `Tx` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/server.rs:48:33
[INFO] [stderr]    |
[INFO] [stderr] 48 | #[derive(Default, Clone, Debug, Serialize, Deserialize)]
[INFO] [stderr]    |                                 ^--------
[INFO] [stderr]    |                                 |
[INFO] [stderr]    |                                 `Serialize` is not local
[INFO] [stderr]    |                                 move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TxPool`
[INFO] [stderr] 49 | pub struct TxPool {
[INFO] [stderr]    |            ------ `TxPool` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/server.rs:48:44
[INFO] [stderr]    |
[INFO] [stderr] 48 | #[derive(Default, Clone, Debug, Serialize, Deserialize)]
[INFO] [stderr]    |                                            ^----------
[INFO] [stderr]    |                                            |
[INFO] [stderr]    |                                            `Deserialize` is not local
[INFO] [stderr]    |                                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TxPool`
[INFO] [stderr] 49 | pub struct TxPool {
[INFO] [stderr]    |            ------ `TxPool` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/server.rs:61:22
[INFO] [stderr]    |
[INFO] [stderr] 61 |     pub fn get_peers(&self) -> RwLockReadGuard<HashMap<PeerId, PeerInfo>> {
[INFO] [stderr]    |                      ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 61 |     pub fn get_peers(&self) -> RwLockReadGuard<'_, HashMap<PeerId, PeerInfo>> {
[INFO] [stderr]    |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: `bloom-p2p` (bin "bloom-p2p" test) generated 21 warnings (run `cargo fix --bin "bloom-p2p" -p bloom-p2p --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bloom_p2p-3c88b071d9482346)
[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" "33cac86c09dc9538f97c292300e74f4f16f6c0580a77ec6ababe787ff01ea9db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33cac86c09dc9538f97c292300e74f4f16f6c0580a77ec6ababe787ff01ea9db", kill_on_drop: false }`
[INFO] [stdout] 33cac86c09dc9538f97c292300e74f4f16f6c0580a77ec6ababe787ff01ea9db
