[INFO] fetching crate libp2p-pubsub-core 0.1.0... [INFO] testing libp2p-pubsub-core-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libp2p-pubsub-core 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate libp2p-pubsub-core 0.1.0 [INFO] finished tweaking crates.io crate libp2p-pubsub-core 0.1.0 [INFO] tweaked toml for crates.io crate libp2p-pubsub-core 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libp2p-pubsub-core 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding asynchronous-codec v0.6.2 (available: v0.7.0) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.14.0) [INFO] [stderr] Adding libp2p v0.52.4 (available: v0.56.0) [INFO] [stderr] Adding prost v0.12.6 (available: v0.14.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding sha2 v0.10.9 (available: v0.11.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9acdab4b36f3a96624a55cef0888a9e44fced472ee2e05485938a53e0c644573 [INFO] running `Command { std: "docker" "start" "-a" "9acdab4b36f3a96624a55cef0888a9e44fced472ee2e05485938a53e0c644573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9acdab4b36f3a96624a55cef0888a9e44fced472ee2e05485938a53e0c644573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9acdab4b36f3a96624a55cef0888a9e44fced472ee2e05485938a53e0c644573", kill_on_drop: false }` [INFO] [stdout] 9acdab4b36f3a96624a55cef0888a9e44fced472ee2e05485938a53e0c644573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b77b408b1a86c80c6e7bac7d44796541362c40876d38a726c98e4edd8a9ef99 [INFO] running `Command { std: "docker" "start" "-a" "6b77b408b1a86c80c6e7bac7d44796541362c40876d38a726c98e4edd8a9ef99", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling match-lookup v0.1.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.17 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling data-encoding-macro v0.1.19 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling libp2p-identity v0.2.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling libp2p-pubsub-proto v0.1.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-ticker v0.0.3 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling libp2p-pubsub-common v0.1.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling prost v0.12.6 [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-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 libp2p-pubsub-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::KeepAlive::Until`: Use `swarm::Config::with_idle_connection_timeout` instead. See for details. [INFO] [stdout] --> src/conn_handler/handler.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | return KeepAlive::Until(self.last_io_activity + self.idle_timeout); [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/conn_handler/handler.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/framing/message.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.69s [INFO] running `Command { std: "docker" "inspect" "6b77b408b1a86c80c6e7bac7d44796541362c40876d38a726c98e4edd8a9ef99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b77b408b1a86c80c6e7bac7d44796541362c40876d38a726c98e4edd8a9ef99", kill_on_drop: false }` [INFO] [stdout] 6b77b408b1a86c80c6e7bac7d44796541362c40876d38a726c98e4edd8a9ef99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc75beb7d45cac2f7e84ab1979ef09099a802d941a26004c1b00b8c53ea1cbae [INFO] running `Command { std: "docker" "start" "-a" "cc75beb7d45cac2f7e84ab1979ef09099a802d941a26004c1b00b8c53ea1cbae", kill_on_drop: false }` [INFO] [stderr] Compiling libp2p-core v0.40.1 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling libp2p-swarm v0.43.7 [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 libp2p-pubsub-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::KeepAlive::Until`: Use `swarm::Config::with_idle_connection_timeout` instead. See for details. [INFO] [stdout] --> src/conn_handler/handler.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | return KeepAlive::Until(self.last_io_activity + self.idle_timeout); [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/conn_handler/handler.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testlib` [INFO] [stdout] --> src/services/framing/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use testlib; [INFO] [stdout] | ^^^^^^^ no external crate `testlib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testlib` [INFO] [stdout] --> src/services/connections/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testlib; [INFO] [stdout] | ^^^^^^^ no external crate `testlib` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::services::framing::tests::downstream::testlib` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testlib` [INFO] [stdout] --> src/services/message_cache/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use testlib; [INFO] [stdout] | ^^^^^^^ no external crate `testlib` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::services::framing::tests::downstream::testlib` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testlib` [INFO] [stdout] --> src/services/subscriptions/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use testlib; [INFO] [stdout] | ^^^^^^^ no external crate `testlib` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::services::framing::tests::downstream::testlib` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `time` in `tokio` [INFO] [stdout] --> src/services/message_cache/tests.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | tokio::time::sleep(Duration::from_millis(60)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/lib.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/macros/cfg.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | #[cfg(feature = "time")] [INFO] [stdout] | ---------------- the item is gated behind the `time` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `time` in `tokio` [INFO] [stdout] --> src/services/message_cache/tests.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | tokio::time::sleep(Duration::from_millis(60)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/lib.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/macros/cfg.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | #[cfg(feature = "time")] [INFO] [stdout] | ---------------- the item is gated behind the `time` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `time` in `tokio` [INFO] [stdout] --> src/services/message_cache/tests.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | tokio::time::sleep(Duration::from_millis(60)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/lib.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/macros/cfg.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | #[cfg(feature = "time")] [INFO] [stdout] | ---------------- the item is gated behind the `time` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/framing/message.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `libp2p::libp2p_swarm::KeepAlive::Until`: Use `swarm::Config::with_idle_connection_timeout` instead. See for details. [INFO] [stdout] --> src/conn_handler/handler.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | return KeepAlive::Until(self.last_io_activity + self.idle_timeout); [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/conn_handler/handler.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | Self::Error, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/framing/message.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(src, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 148 - assert_eq!(src, &remote_peer); [INFO] [stdout] 148 + assert_eq!(src, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(src, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 152 - assert_eq!(src, &remote_peer); [INFO] [stdout] 152 + assert_eq!(src, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(src, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 184 - assert_eq!(src, &remote_peer); [INFO] [stdout] 184 + assert_eq!(src, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(action, &subscription_request_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `SubscriptionAction`, found `&SubscriptionAction` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 185 - assert_eq!(action, &subscription_request_a); [INFO] [stdout] 185 + assert_eq!(action, subscription_request_a); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | assert_eq!(src, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 188 - assert_eq!(src, &remote_peer); [INFO] [stdout] 188 + assert_eq!(src, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(action, &subscription_request_b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `SubscriptionAction`, found `&SubscriptionAction` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 189 - assert_eq!(action, &subscription_request_b); [INFO] [stdout] 189 + assert_eq!(action, subscription_request_b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | assert_eq!(dest, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 242 - assert_eq!(dest, &remote_peer); [INFO] [stdout] 242 + assert_eq!(dest, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | let frame = decode_frame(frame); [INFO] [stdout] | ------------ ^^^^^ expected `&Bytes`, found `Bytes` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/services/framing/tests.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn decode_frame(frame: &Bytes) -> FrameProto { [INFO] [stdout] | ^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 246 | let frame = decode_frame(&frame); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(dest, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 278 - assert_eq!(dest, &remote_peer); [INFO] [stdout] 278 + assert_eq!(dest, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/framing/tests.rs:285:38 [INFO] [stdout] | [INFO] [stdout] 285 | let frame = decode_frame(frame); [INFO] [stdout] | ------------ ^^^^^ expected `&Bytes`, found `Bytes` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/services/framing/tests.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn decode_frame(frame: &Bytes) -> FrameProto { [INFO] [stdout] | ^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 285 | let frame = decode_frame(&frame); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(topic, &topic_a.hash()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `TopicHash`, found `&TopicHash` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 210 - assert_eq!(topic, &topic_a.hash()); [INFO] [stdout] 210 + assert_eq!(topic, topic_a.hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(dest, &peer_a); [INFO] [stdout] | ^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 250 - assert_eq!(dest, &peer_a); [INFO] [stdout] 250 + assert_eq!(dest, peer_a); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(dest, &peer_b); [INFO] [stdout] | ^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 256 - assert_eq!(dest, &peer_b); [INFO] [stdout] 256 + assert_eq!(dest, peer_b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(peer, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 324 - assert_eq!(peer, &remote_peer); [INFO] [stdout] 324 + assert_eq!(peer, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(topic, &topic_a.hash()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `TopicHash`, found `&TopicHash` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 325 - assert_eq!(topic, &topic_a.hash()); [INFO] [stdout] 325 + assert_eq!(topic, topic_a.hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | assert_eq!(peer, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 328 - assert_eq!(peer, &remote_peer); [INFO] [stdout] 328 + assert_eq!(peer, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:329:27 [INFO] [stdout] | [INFO] [stdout] 329 | assert_eq!(topic, &topic_b.hash()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `TopicHash`, found `&TopicHash` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 329 - assert_eq!(topic, &topic_b.hash()); [INFO] [stdout] 329 + assert_eq!(topic, topic_b.hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | assert_eq!(peer, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 437 - assert_eq!(peer, &remote_peer); [INFO] [stdout] 437 + assert_eq!(peer, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:438:27 [INFO] [stdout] | [INFO] [stdout] 438 | assert_eq!(topic, &topic_a.hash()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `TopicHash`, found `&TopicHash` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 438 - assert_eq!(topic, &topic_a.hash()); [INFO] [stdout] 438 + assert_eq!(topic, topic_a.hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 441 | assert_eq!(peer, &remote_peer); [INFO] [stdout] | ^^^^^^^^^^^^ expected `PeerId`, found `&PeerId` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 441 - assert_eq!(peer, &remote_peer); [INFO] [stdout] 441 + assert_eq!(peer, remote_peer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/subscriptions/tests.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | assert_eq!(topic, &topic_b.hash()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `TopicHash`, found `&TopicHash` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 442 - assert_eq!(topic, &topic_b.hash()); [INFO] [stdout] 442 + assert_eq!(topic, topic_b.hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-pubsub-core` (lib test) due to 28 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cc75beb7d45cac2f7e84ab1979ef09099a802d941a26004c1b00b8c53ea1cbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc75beb7d45cac2f7e84ab1979ef09099a802d941a26004c1b00b8c53ea1cbae", kill_on_drop: false }` [INFO] [stdout] cc75beb7d45cac2f7e84ab1979ef09099a802d941a26004c1b00b8c53ea1cbae