[INFO] fetching crate kamilata 0.2.0... [INFO] testing kamilata-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate kamilata 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate kamilata 0.2.0 [INFO] finished tweaking crates.io crate kamilata 0.2.0 [INFO] tweaked toml for crates.io crate kamilata 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kamilata 0.2.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 332 packages to latest compatible versions [INFO] [stderr] Adding asynchronous-codec v0.6.2 (available: v0.7.0) [INFO] [stderr] Adding colored v2.2.0 (available: v3.1.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding libp2p v0.52.4 (available: v0.56.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded multibase v0.9.2 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded protocol-derive v3.4.0 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded asynchronous-codec v0.6.2 [INFO] [stderr] Downloaded quinn-udp v0.4.1 [INFO] [stderr] Downloaded libp2p v0.52.4 [INFO] [stderr] Downloaded libp2p-dns v0.40.1 [INFO] [stderr] Downloaded base256emoji v1.0.2 [INFO] [stderr] Downloaded data-encoding-macro v0.1.19 [INFO] [stderr] Downloaded enum-as-inner v0.5.1 [INFO] [stderr] Downloaded libp2p-tls v0.2.1 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.2.0 [INFO] [stderr] Downloaded match-lookup v0.1.2 [INFO] [stderr] Downloaded libp2p-mdns v0.44.0 [INFO] [stderr] Downloaded libp2p-connection-limits v0.2.1 [INFO] [stderr] Downloaded der-parser v8.2.0 [INFO] [stderr] Downloaded socket2 v0.4.10 [INFO] [stderr] Downloaded widestring v1.2.1 [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] [stderr] Downloaded libp2p-swarm v0.43.7 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] [stderr] Downloaded asn1-rs v0.5.2 [INFO] [stderr] Downloaded x509-parser v0.15.1 [INFO] [stderr] Downloaded quinn-proto v0.10.6 [INFO] [stderr] Downloaded netlink-packet-route v0.28.0 [INFO] [stderr] Downloaded trust-dns-proto v0.22.0 [INFO] [stderr] Downloaded rtnetlink v0.20.0 [INFO] [stderr] Downloaded quinn v0.10.2 [INFO] [stderr] Downloaded attohttpc v0.24.1 [INFO] [stderr] Downloaded libp2p-core v0.40.1 [INFO] [stderr] Downloaded libp2p-identity v0.2.13 [INFO] [stderr] Downloaded netlink-sys v0.8.8 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] [stderr] Downloaded libp2p-tcp v0.40.1 [INFO] [stderr] Downloaded igd-next v0.14.3 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded bs58 v0.5.1 [INFO] [stderr] Downloaded const-str v0.4.3 [INFO] [stderr] Downloaded ipconfig v0.3.4 [INFO] [stderr] Downloaded resolv-conf v0.7.6 [INFO] [stderr] Downloaded futures-rustls v0.24.0 [INFO] [stderr] Downloaded rcgen v0.10.0 [INFO] [stderr] Downloaded oid-registry v0.6.1 [INFO] [stderr] Downloaded libp2p-quic v0.9.3 [INFO] [stderr] Downloaded netlink-packet-core v0.8.1 [INFO] [stderr] Downloaded netlink-proto v0.12.0 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded libp2p-noise v0.43.2 [INFO] [stderr] Downloaded if-addrs v0.15.0 [INFO] [stderr] Downloaded libp2p-upnp v0.1.1 [INFO] [stderr] Downloaded libp2p-yamux v0.44.1 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.17 [INFO] [stderr] Downloaded asn1-rs-derive v0.4.0 [INFO] [stderr] Downloaded asn1-rs-impl v0.1.0 [INFO] [stderr] Downloaded if-watch v3.2.2 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded protocol v3.4.0 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30f43ce635ab47ef6475dae73b4487d3e3093e9c4201226466a7dd1aa1319bce [INFO] running `Command { std: "docker" "start" "-a" "30f43ce635ab47ef6475dae73b4487d3e3093e9c4201226466a7dd1aa1319bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30f43ce635ab47ef6475dae73b4487d3e3093e9c4201226466a7dd1aa1319bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f43ce635ab47ef6475dae73b4487d3e3093e9c4201226466a7dd1aa1319bce", kill_on_drop: false }` [INFO] [stdout] 30f43ce635ab47ef6475dae73b4487d3e3093e9c4201226466a7dd1aa1319bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b0c05f546e8cca6ada4b9f47a665e8132064f289a410bc92a53cd4b5326f3d [INFO] running `Command { std: "docker" "start" "-a" "71b0c05f546e8cca6ada4b9f47a665e8132064f289a410bc92a53cd4b5326f3d", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling match-lookup v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.17 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling data-encoding-macro v0.1.19 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling libp2p-identity v0.2.13 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling libp2p-core v0.40.1 [INFO] [stderr] Compiling protocol-derive v3.4.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling libp2p-swarm v0.43.7 [INFO] [stderr] Compiling libp2p-yamux v0.44.1 [INFO] [stderr] Compiling protocol v3.4.0 [INFO] [stderr] Compiling libp2p-noise v0.43.2 [INFO] [stderr] Compiling libp2p-allow-block-list v0.2.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.2.1 [INFO] [stderr] Compiling libp2p v0.52.4 [INFO] [stderr] Compiling kamilata v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `implied_bounds_entailment` has been removed: converted into hard error, see PR #117984 for more information [INFO] [stdout] --> src/handler.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[warn(implied_bounds_entailment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::ConnectionHandlerEvent::Close`: To close a connection, use `ToSwarm::CloseConnection` or `Swarm::close_connection`. See for more details. [INFO] [stdout] --> src/handler.rs:244:76 [INFO] [stdout] | [INFO] [stdout] 244 | ... return Poll::Ready(ConnectionHandlerEvent::Close( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `libp2p::libp2p_swarm::ConnectionHandler::Error`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/handler.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/packets.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, protocol::Protocol)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MinTargetMax` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_MinTargetMax` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `protocol::Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `protocol::Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `protocol::Protocol` (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/packets.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RequestPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RequestPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RequestPacket` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_RequestPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GetFiltersPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_GetFiltersPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Query` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Query` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SearchPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_SearchPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResponsePacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResponsePacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResponsePacket` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_ResponsePacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UpdateFiltersPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_UpdateFiltersPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Route` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Route` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RoutesPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RoutesPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResultPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResultPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DisconnectPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_DisconnectPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.89s [INFO] running `Command { std: "docker" "inspect" "71b0c05f546e8cca6ada4b9f47a665e8132064f289a410bc92a53cd4b5326f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b0c05f546e8cca6ada4b9f47a665e8132064f289a410bc92a53cd4b5326f3d", kill_on_drop: false }` [INFO] [stdout] 71b0c05f546e8cca6ada4b9f47a665e8132064f289a410bc92a53cd4b5326f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e89ae715718e114a37ef6663a42467dc0845c1b3b6e0a825aaf2ce161917de66 [INFO] running `Command { std: "docker" "start" "-a" "e89ae715718e114a37ef6663a42467dc0845c1b3b6e0a825aaf2ce161917de66", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.40.1 [INFO] [stderr] Compiling libp2p-swarm v0.43.7 [INFO] [stderr] Compiling libp2p-noise v0.43.2 [INFO] [stderr] Compiling libp2p-yamux v0.44.1 [INFO] [stderr] Compiling libp2p-connection-limits v0.2.1 [INFO] [stderr] Compiling libp2p-allow-block-list v0.2.0 [INFO] [stderr] Compiling libp2p v0.52.4 [INFO] [stderr] Compiling kamilata v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `implied_bounds_entailment` has been removed: converted into hard error, see PR #117984 for more information [INFO] [stdout] --> src/handler.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[warn(implied_bounds_entailment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::ConnectionHandlerEvent::Close`: To close a connection, use `ToSwarm::CloseConnection` or `Swarm::close_connection`. See for more details. [INFO] [stdout] --> src/handler.rs:244:76 [INFO] [stdout] | [INFO] [stdout] 244 | ... return Poll::Ready(ConnectionHandlerEvent::Close( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `libp2p::libp2p_swarm::ConnectionHandler::Error`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/handler.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `implied_bounds_entailment` has been removed: converted into hard error, see PR #117984 for more information [INFO] [stdout] --> src/handler.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[warn(implied_bounds_entailment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::ConnectionHandlerEvent::Close`: To close a connection, use `ToSwarm::CloseConnection` or `Swarm::close_connection`. See for more details. [INFO] [stdout] --> src/handler.rs:244:76 [INFO] [stdout] | [INFO] [stdout] 244 | ... return Poll::Ready(ConnectionHandlerEvent::Close( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `libp2p::libp2p_swarm::ConnectionHandler::Error`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/handler.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/packets.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, protocol::Protocol)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MinTargetMax` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_MinTargetMax` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `protocol::Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `protocol::Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `protocol::Protocol` (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/packets.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RequestPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RequestPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RequestPacket` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_RequestPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GetFiltersPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_GetFiltersPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Query` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Query` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SearchPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_SearchPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResponsePacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResponsePacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResponsePacket` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_ResponsePacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UpdateFiltersPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_UpdateFiltersPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Route` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Route` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RoutesPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RoutesPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResultPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResultPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DisconnectPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_DisconnectPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/packets.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, protocol::Protocol)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MinTargetMax` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_MinTargetMax` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `protocol::Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `protocol::Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `protocol::Protocol` (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/packets.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RequestPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RequestPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RequestPacket` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_RequestPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GetFiltersPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_GetFiltersPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Query` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Query` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SearchPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_SearchPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResponsePacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResponsePacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResponsePacket` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_ResponsePacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UpdateFiltersPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_UpdateFiltersPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Route` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Route` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RoutesPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RoutesPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ResultPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResultPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Protocol, Debug, Clone)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DisconnectPacket` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_DisconnectPacket` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logger::*` [INFO] [stdout] --> tests/common/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use logger::*; [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: `client::*` [INFO] [stdout] --> tests/common/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use client::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kamilata::prelude::*` [INFO] [stdout] --> tests/common/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(self) use kamilata::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> tests/common/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::swarm::dial_opts::DialOpts` [INFO] [stdout] --> tests/common/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use libp2p::swarm::dial_opts::DialOpts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> tests/common/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub use tokio::{time::sleep, sync::RwLock}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> tests/common/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub use std::{time::Duration, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> tests/minimal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kamilata::prelude::*` [INFO] [stdout] --> tests/common/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(self) use kamilata::prelude::*; [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: `kamilata::prelude::*` [INFO] [stdout] --> tests/common/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(self) use kamilata::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:3:132 [INFO] [stdout] | [INFO] [stdout] 3 | ..., PeerId, Transport, Swarm, Multiaddr, swarm::{SwarmEvent, SwarmBuilder}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let mut swarm = SwarmBuilder::with_tokio_executor(transport, behaviour, local_peer_id).build(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:3:132 [INFO] [stdout] | [INFO] [stdout] 3 | ..., PeerId, Transport, Swarm, Multiaddr, swarm::{SwarmEvent, SwarmBuilder}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let mut swarm = SwarmBuilder::with_tokio_executor(transport, behaviour, local_peer_id).build(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:3:132 [INFO] [stdout] | [INFO] [stdout] 3 | ..., PeerId, Transport, Swarm, Multiaddr, swarm::{SwarmEvent, SwarmBuilder}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let mut swarm = SwarmBuilder::with_tokio_executor(transport, behaviour, local_peer_id).build(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kamilata::prelude::*` [INFO] [stdout] --> tests/common/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(self) use kamilata::prelude::*; [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: `libp2p::swarm::dial_opts::DialOpts` [INFO] [stdout] --> tests/common/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use libp2p::swarm::dial_opts::DialOpts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:3:132 [INFO] [stdout] | [INFO] [stdout] 3 | ..., PeerId, Transport, Swarm, Multiaddr, swarm::{SwarmEvent, SwarmBuilder}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stdout] --> tests/common/client.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let mut swarm = SwarmBuilder::with_tokio_executor(transport, behaviour, local_peer_id).build(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.82s [INFO] running `Command { std: "docker" "inspect" "e89ae715718e114a37ef6663a42467dc0845c1b3b6e0a825aaf2ce161917de66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e89ae715718e114a37ef6663a42467dc0845c1b3b6e0a825aaf2ce161917de66", kill_on_drop: false }` [INFO] [stdout] e89ae715718e114a37ef6663a42467dc0845c1b3b6e0a825aaf2ce161917de66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fbb8ccfce1bdfe08cff5600e8dcd438d44ef7540435d85e7ce4dc9b41e73eeb5 [INFO] running `Command { std: "docker" "start" "-a" "fbb8ccfce1bdfe08cff5600e8dcd438d44ef7540435d85e7ce4dc9b41e73eeb5", kill_on_drop: false }` [INFO] [stderr] warning: lint `implied_bounds_entailment` has been removed: converted into hard error, see PR #117984 for more information [INFO] [stderr] --> src/handler.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | #[warn(implied_bounds_entailment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::ConnectionHandlerEvent::Close`: To close a connection, use `ToSwarm::CloseConnection` or `Swarm::close_connection`. See for more details. [INFO] [stderr] --> src/handler.rs:244:76 [INFO] [stderr] | [INFO] [stderr] 244 | ... return Poll::Ready(ConnectionHandlerEvent::Close( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated type `libp2p::libp2p_swarm::ConnectionHandler::Error`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stderr] --> src/handler.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | Self::Error, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Query` is never constructed [INFO] [stderr] --> src/packets.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct Query { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/config.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, protocol::Protocol)] [INFO] [stderr] | -^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MinTargetMax` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_MinTargetMax` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `protocol::Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `protocol::Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `protocol::Protocol` (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/packets.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `RequestPacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RequestPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `RequestPacket` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_RequestPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `GetFiltersPacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_GetFiltersPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:99:10 [INFO] [stderr] | [INFO] [stderr] 99 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Query` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Query` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SearchPacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_SearchPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ResponsePacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResponsePacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ResponsePacket` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_ResponsePacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:129:10 [INFO] [stderr] | [INFO] [stderr] 129 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `UpdateFiltersPacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_UpdateFiltersPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:135:10 [INFO] [stderr] | [INFO] [stderr] 135 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Route` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Route` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:144:10 [INFO] [stderr] | [INFO] [stderr] 144 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `RoutesPacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_RoutesPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:150:10 [INFO] [stderr] | [INFO] [stderr] 150 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ResultPacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ResultPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (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/packets.rs:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | #[derive(Protocol, Debug, Clone)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `DisconnectPacket` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_DisconnectPacket` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_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 `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kamilata` (lib) generated 17 warnings [INFO] [stderr] warning: `kamilata` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: unused import: `kamilata::prelude::*` [INFO] [stderr] --> tests/common/mod.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | pub(self) use kamilata::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stderr] --> tests/common/client.rs:3:132 [INFO] [stderr] | [INFO] [stderr] 3 | ..., PeerId, Transport, Swarm, Multiaddr, swarm::{SwarmEvent, SwarmBuilder}}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `libp2p::libp2p_swarm::SwarmBuilder`: Use the new `libp2p::SwarmBuilder` instead of `libp2p::swarm::SwarmBuilder` or create a `Swarm` directly via `Swarm::new`. [INFO] [stderr] --> tests/common/client.rs:116:25 [INFO] [stderr] | [INFO] [stderr] 116 | let mut swarm = SwarmBuilder::with_tokio_executor(transport, behaviour, local_peer_id).build(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `logger::*` [INFO] [stderr] --> tests/common/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use logger::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `client::*` [INFO] [stderr] --> tests/common/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use client::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kamilata::prelude::*` [INFO] [stderr] --> tests/common/mod.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | pub(self) use kamilata::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::*` [INFO] [stderr] --> tests/common/mod.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use log::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p::swarm::dial_opts::DialOpts` [INFO] [stderr] --> tests/common/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub use libp2p::swarm::dial_opts::DialOpts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `time::sleep` [INFO] [stderr] --> tests/common/mod.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | pub use tokio::{time::sleep, sync::RwLock}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `time::Duration` [INFO] [stderr] --> tests/common/mod.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | pub use std::{time::Duration, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::*` [INFO] [stderr] --> tests/minimal.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use common::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kamilata` (test "priorities") generated 3 warnings (run `cargo fix --test "priorities" -p kamilata` to apply 1 suggestion) [INFO] [stderr] warning: `kamilata` (test "search") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `kamilata` (test "minimal") generated 10 warnings (2 duplicates) (run `cargo fix --test "minimal" -p kamilata` to apply 8 suggestions) [INFO] [stderr] warning: `kamilata` (test "limits") generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kamilata-8a64db3df7b936cb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test filters::tests::bit_ops ... ok [INFO] [stdout] test filters::tests::or_ops ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/limits.rs (/opt/rustwide/target/debug/deps/limits-3cb85bd406a815b9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test limits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.64s [INFO] [stdout] [INFO] [stderr] Running tests/minimal.rs (/opt/rustwide/target/debug/deps/minimal-181f25b7cf63a419) [INFO] [stderr] Running tests/priorities.rs (/opt/rustwide/target/debug/deps/priorities-49ad2b0e43813891) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test speed_priority ... ok [INFO] [stdout] test relevance_priority ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.32s [INFO] [stdout] [INFO] [stderr] Running tests/search.rs (/opt/rustwide/target/debug/deps/search-1f667658a0e7752b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test search ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kamilata [INFO] [stderr] warning: lint `implied_bounds_entailment` has been removed: converted into hard error, see PR #117984 for more information [INFO] [stderr] --> src/handler.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | #[warn(implied_bounds_entailment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/config.rs - config::KamilataConfig::approve_leecher (line 112) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbb8ccfce1bdfe08cff5600e8dcd438d44ef7540435d85e7ce4dc9b41e73eeb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb8ccfce1bdfe08cff5600e8dcd438d44ef7540435d85e7ce4dc9b41e73eeb5", kill_on_drop: false }` [INFO] [stdout] fbb8ccfce1bdfe08cff5600e8dcd438d44ef7540435d85e7ce4dc9b41e73eeb5