[INFO] fetching crate kamilata 0.2.0... [INFO] testing kamilata-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kamilata 0.2.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kamilata 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 330 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699a10aa5b0816d55efe72749eebfe7a4661afac04255c046c0e6da0adafbf10 [INFO] running `Command { std: "docker" "start" "-a" "699a10aa5b0816d55efe72749eebfe7a4661afac04255c046c0e6da0adafbf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699a10aa5b0816d55efe72749eebfe7a4661afac04255c046c0e6da0adafbf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699a10aa5b0816d55efe72749eebfe7a4661afac04255c046c0e6da0adafbf10", kill_on_drop: false }` [INFO] [stdout] 699a10aa5b0816d55efe72749eebfe7a4661afac04255c046c0e6da0adafbf10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77c864dbdb5c11c698aa318e27b9fbe57aee76b2c61120e3023aaacb3a8094a4 [INFO] running `Command { std: "docker" "start" "-a" "77c864dbdb5c11c698aa318e27b9fbe57aee76b2c61120e3023aaacb3a8094a4", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [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 parking_lot_core v0.9.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.69 [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 tokio-util v0.7.16 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling protocol-derive v3.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.40.1 [INFO] [stderr] Compiling backtrace v0.3.76 [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 protocol v3.4.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.2.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.2.1 [INFO] [stderr] Compiling libp2p v0.52.4 [INFO] [stderr] Compiling kamilata v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `implied_bounds_entailment` has been removed: converted into hard error, see PR #117984 for more information [INFO] [stdout] --> src/handler.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[warn(implied_bounds_entailment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::ConnectionHandlerEvent::Close`: To close a connection, use `ToSwarm::CloseConnection` or `Swarm::close_connection`. See for more details. [INFO] [stdout] --> src/handler.rs:244:76 [INFO] [stdout] | [INFO] [stdout] 244 | ... return Poll::Ready(ConnectionHandlerEvent::Close( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `libp2p::libp2p_swarm::ConnectionHandler::Error`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/handler.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/packets.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 27.20s [INFO] running `Command { std: "docker" "inspect" "77c864dbdb5c11c698aa318e27b9fbe57aee76b2c61120e3023aaacb3a8094a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c864dbdb5c11c698aa318e27b9fbe57aee76b2c61120e3023aaacb3a8094a4", kill_on_drop: false }` [INFO] [stdout] 77c864dbdb5c11c698aa318e27b9fbe57aee76b2c61120e3023aaacb3a8094a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfec3cadc1d7c8ac6b4d41bb92b57941b33503db263b73e985393c4a419dbe2f [INFO] running `Command { std: "docker" "start" "-a" "cfec3cadc1d7c8ac6b4d41bb92b57941b33503db263b73e985393c4a419dbe2f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.40.1 [INFO] [stderr] Compiling libp2p-swarm v0.43.7 [INFO] [stderr] Compiling libp2p-noise v0.43.2 [INFO] [stderr] Compiling libp2p-yamux v0.44.1 [INFO] [stderr] Compiling libp2p-allow-block-list v0.2.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.2.1 [INFO] [stderr] Compiling libp2p v0.52.4 [INFO] [stderr] Compiling kamilata v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `implied_bounds_entailment` has been removed: converted into hard error, see PR #117984 for more information [INFO] [stdout] --> src/handler.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[warn(implied_bounds_entailment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::ConnectionHandlerEvent::Close`: To close a connection, use `ToSwarm::CloseConnection` or `Swarm::close_connection`. See for more details. [INFO] [stdout] --> src/handler.rs:244:76 [INFO] [stdout] | [INFO] [stdout] 244 | ... return Poll::Ready(ConnectionHandlerEvent::Close( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `libp2p::libp2p_swarm::ConnectionHandler::Error`: Will be removed together with `ConnectionHandlerEvent::Close`. See for details. [INFO] [stdout] --> src/handler.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `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: 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: `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: 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 17.80s [INFO] running `Command { std: "docker" "inspect" "cfec3cadc1d7c8ac6b4d41bb92b57941b33503db263b73e985393c4a419dbe2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfec3cadc1d7c8ac6b4d41bb92b57941b33503db263b73e985393c4a419dbe2f", kill_on_drop: false }` [INFO] [stdout] cfec3cadc1d7c8ac6b4d41bb92b57941b33503db263b73e985393c4a419dbe2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 898628eae23e04ca470a9042069503cc8872e5d68c29182b8c087d9fdeea8a9f [INFO] running `Command { std: "docker" "start" "-a" "898628eae23e04ca470a9042069503cc8872e5d68c29182b8c087d9fdeea8a9f", 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: `kamilata` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: unused import: `kamilata::prelude::*` [INFO] [stderr] --> tests/common/mod.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | pub(self) use kamilata::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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: 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: 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: `time::sleep` [INFO] [stderr] --> tests/common/mod.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | pub use tokio::{time::sleep, sync::RwLock}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `time::Duration` [INFO] [stderr] --> tests/common/mod.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | pub use std::{time::Duration, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::*` [INFO] [stderr] --> tests/minimal.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use common::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kamilata` (test "limits") generated 4 warnings (run `cargo fix --test "limits"` to apply 2 suggestions) [INFO] [stderr] warning: `kamilata` (test "search") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `kamilata` (test "priorities") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `kamilata` (test "minimal") generated 10 warnings (3 duplicates) (run `cargo fix --test "minimal"` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kamilata-ede3ba9811a20644) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test filters::tests::bit_ops ... ok [INFO] [stdout] test filters::tests::or_ops ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/limits.rs (/opt/rustwide/target/debug/deps/limits-30006e4a9a10bdcb) [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.69s [INFO] [stdout] [INFO] [stderr] Running tests/minimal.rs (/opt/rustwide/target/debug/deps/minimal-8a9f7c6d1febdccb) [INFO] [stderr] Running tests/priorities.rs (/opt/rustwide/target/debug/deps/priorities-ad969e3c27f3a7b6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test speed_priority ... ok [INFO] [stdout] test relevance_priority ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.36s [INFO] [stdout] [INFO] [stderr] Running tests/search.rs (/opt/rustwide/target/debug/deps/search-01ecd7a8a5e69ba2) [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.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "898628eae23e04ca470a9042069503cc8872e5d68c29182b8c087d9fdeea8a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "898628eae23e04ca470a9042069503cc8872e5d68c29182b8c087d9fdeea8a9f", kill_on_drop: false }` [INFO] [stdout] 898628eae23e04ca470a9042069503cc8872e5d68c29182b8c087d9fdeea8a9f