[INFO] fetching crate kamilata 0.2.0... [INFO] testing kamilata-0.2.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate kamilata 0.2.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kamilata 0.2.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 341 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.0.0) [INFO] [stderr] Adding libp2p v0.52.4 (available: v0.56.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec17813aa02a7fce2d68053ec5af80c8aab375f8ac59ca4fe1a02c9f49380ad5 [INFO] running `Command { std: "docker" "start" "-a" "ec17813aa02a7fce2d68053ec5af80c8aab375f8ac59ca4fe1a02c9f49380ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec17813aa02a7fce2d68053ec5af80c8aab375f8ac59ca4fe1a02c9f49380ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec17813aa02a7fce2d68053ec5af80c8aab375f8ac59ca4fe1a02c9f49380ad5", kill_on_drop: false }` [INFO] [stdout] ec17813aa02a7fce2d68053ec5af80c8aab375f8ac59ca4fe1a02c9f49380ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e75f43ea91fdb0ac57b8995a74760b26c72a168a8ba75c133060c822518f5671 [INFO] running `Command { std: "docker" "start" "-a" "e75f43ea91fdb0ac57b8995a74760b26c72a168a8ba75c133060c822518f5671", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling protocol-derive v3.4.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling protocol v3.4.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling yamux v0.12.1 [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: 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)]` 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 1m 29s [INFO] running `Command { std: "docker" "inspect" "e75f43ea91fdb0ac57b8995a74760b26c72a168a8ba75c133060c822518f5671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75f43ea91fdb0ac57b8995a74760b26c72a168a8ba75c133060c822518f5671", kill_on_drop: false }` [INFO] [stdout] e75f43ea91fdb0ac57b8995a74760b26c72a168a8ba75c133060c822518f5671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d044196fa1ebfc8101a21580eb088c4a5e38bba3d3add6f13debe7a554ec22 [INFO] running `Command { std: "docker" "start" "-a" "a5d044196fa1ebfc8101a21580eb088c4a5e38bba3d3add6f13debe7a554ec22", kill_on_drop: false }` [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-yamux v0.44.1 [INFO] [stderr] Compiling libp2p-noise v0.43.2 [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)]` 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)]` 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: `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)]` 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 | ...rt, 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: `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)]` 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: 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 | ...rt, 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)]` 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: 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)]` 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 | ...rt, 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 | ...rt, 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 1m 10s [INFO] running `Command { std: "docker" "inspect" "a5d044196fa1ebfc8101a21580eb088c4a5e38bba3d3add6f13debe7a554ec22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d044196fa1ebfc8101a21580eb088c4a5e38bba3d3add6f13debe7a554ec22", kill_on_drop: false }` [INFO] [stdout] a5d044196fa1ebfc8101a21580eb088c4a5e38bba3d3add6f13debe7a554ec22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 164b9b1de0dc7103137c3df120a8a50664c5641ef8bc191f221e198161fa82b8 [INFO] running `Command { std: "docker" "start" "-a" "164b9b1de0dc7103137c3df120a8a50664c5641ef8bc191f221e198161fa82b8", 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)]` 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: 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)]` 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: 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 | ...rt, 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: `kamilata` (test "minimal") generated 10 warnings (run `cargo fix --test "minimal"` to apply 8 suggestions) [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `kamilata` (test "priorities") generated 3 warnings (2 duplicates) (run `cargo fix --test "priorities"` to apply 1 suggestion) [INFO] [stderr] warning: `kamilata` (test "search") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `kamilata` (test "limits") generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `kamilata` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kamilata-9215c211cc451f41) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test filters::tests::or_ops ... ok [INFO] [stdout] test filters::tests::bit_ops ... ok [INFO] [stderr] Running tests/limits.rs (/opt/rustwide/target/debug/deps/limits-ed1669fb51fa2a55) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [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.08s [INFO] [stdout] [INFO] [stderr] Running tests/minimal.rs (/opt/rustwide/target/debug/deps/minimal-986ef729a5ea7131) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/priorities.rs (/opt/rustwide/target/debug/deps/priorities-c581c8299efd51e4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test relevance_priority ... ok [INFO] [stdout] test speed_priority ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.04s [INFO] [stdout] [INFO] [stderr] Running tests/search.rs (/opt/rustwide/target/debug/deps/search-de463614201b071d) [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.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "164b9b1de0dc7103137c3df120a8a50664c5641ef8bc191f221e198161fa82b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164b9b1de0dc7103137c3df120a8a50664c5641ef8bc191f221e198161fa82b8", kill_on_drop: false }` [INFO] [stdout] 164b9b1de0dc7103137c3df120a8a50664c5641ef8bc191f221e198161fa82b8