[INFO] fetching crate cs_mwc-libp2p-core 0.27.3... [INFO] testing cs_mwc-libp2p-core-0.27.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate cs_mwc-libp2p-core 0.27.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate cs_mwc-libp2p-core 0.27.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cs_mwc-libp2p-core 0.27.3 [INFO] tweaked toml for crates.io crate cs_mwc-libp2p-core 0.27.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cs_mwc-libp2p-core 0.27.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cs_mwc-libp2p-core 0.27.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e8e0af84b01cc15a7cb6b9a2f85290c1c777c26a197f821aac29b15dfeeb4b5 [INFO] running `Command { std: "docker" "start" "-a" "8e8e0af84b01cc15a7cb6b9a2f85290c1c777c26a197f821aac29b15dfeeb4b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e8e0af84b01cc15a7cb6b9a2f85290c1c777c26a197f821aac29b15dfeeb4b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8e0af84b01cc15a7cb6b9a2f85290c1c777c26a197f821aac29b15dfeeb4b5", kill_on_drop: false }` [INFO] [stdout] 8e8e0af84b01cc15a7cb6b9a2f85290c1c777c26a197f821aac29b15dfeeb4b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f50e32dfd0732d2d7a6af7e63a6a1cd1c96f61070bded126ea14cf2bf3cab5 [INFO] running `Command { std: "docker" "start" "-a" "76f50e32dfd0732d2d7a6af7e63a6a1cd1c96f61070bded126ea14cf2bf3cab5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling cs_mwc-libp2p-core v0.27.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling parity-multiaddr v0.11.2 [INFO] [stdout] warning: struct `OutboundSubstreamId` is never constructed [INFO] [stdout] --> src/connection/substream.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct OutboundSubstreamId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/connection/pool.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 106 | ConnectionClosed { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 114 | pool: &'a mut Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer` is never read [INFO] [stdout] --> src/connection/pool.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 120 | PendingConnectionError { [INFO] [stdout] | ---------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 131 | peer: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/pool.rs:724:13 [INFO] [stdout] | [INFO] [stdout] 724 | Pending(PendingConnection<'a, TInEvent>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 724 - Pending(PendingConnection<'a, TInEvent>), [INFO] [stdout] 724 + Pending(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `marker` is never read [INFO] [stdout] --> src/transport/and_then.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct AndThenFuture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | marker: PhantomPinned, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AndThenFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn connection(&mut self, id: ConnectionId) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 304 | -> Option> [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 304 | -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn connections(&mut self) -> [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 335 | / EstablishedConnectionIter< [INFO] [stdout] 336 | | impl Iterator, [INFO] [stdout] 337 | | TInEvent, [INFO] [stdout] 338 | | TOutEvent, [INFO] [stdout] 339 | | THandler, [INFO] [stdout] 340 | | TTrans::Error, [INFO] [stdout] 341 | | ::Error> [INFO] [stdout] | |____________________________________________________________- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | EstablishedConnectionIter<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:347:28 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn some_connection(&mut self) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 348 | -> EstablishedConnection [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | -> EstablishedConnection<'_, TInEvent> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.34s [INFO] running `Command { std: "docker" "inspect" "76f50e32dfd0732d2d7a6af7e63a6a1cd1c96f61070bded126ea14cf2bf3cab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f50e32dfd0732d2d7a6af7e63a6a1cd1c96f61070bded126ea14cf2bf3cab5", kill_on_drop: false }` [INFO] [stdout] 76f50e32dfd0732d2d7a6af7e63a6a1cd1c96f61070bded126ea14cf2bf3cab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 695fb99b726f850d084d05b33de333ff2283944cad256d124cdcfce705fec430 [INFO] running `Command { std: "docker" "start" "-a" "695fb99b726f850d084d05b33de333ff2283944cad256d124cdcfce705fec430", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling parity-multiaddr v0.11.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling cs_mwc-libp2p-core v0.27.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `OutboundSubstreamId` is never constructed [INFO] [stdout] --> src/connection/substream.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct OutboundSubstreamId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/connection/pool.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 106 | ConnectionClosed { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 114 | pool: &'a mut Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer` is never read [INFO] [stdout] --> src/connection/pool.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 120 | PendingConnectionError { [INFO] [stdout] | ---------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 131 | peer: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/pool.rs:724:13 [INFO] [stdout] | [INFO] [stdout] 724 | Pending(PendingConnection<'a, TInEvent>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 724 - Pending(PendingConnection<'a, TInEvent>), [INFO] [stdout] 724 + Pending(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `marker` is never read [INFO] [stdout] --> src/transport/and_then.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct AndThenFuture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | marker: PhantomPinned, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AndThenFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn connection(&mut self, id: ConnectionId) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 304 | -> Option> [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 304 | -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn connections(&mut self) -> [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 335 | / EstablishedConnectionIter< [INFO] [stdout] 336 | | impl Iterator, [INFO] [stdout] 337 | | TInEvent, [INFO] [stdout] 338 | | TOutEvent, [INFO] [stdout] 339 | | THandler, [INFO] [stdout] 340 | | TTrans::Error, [INFO] [stdout] 341 | | ::Error> [INFO] [stdout] | |____________________________________________________________- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | EstablishedConnectionIter<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:347:28 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn some_connection(&mut self) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 348 | -> EstablishedConnection [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | -> EstablishedConnection<'_, TInEvent> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_mplex` [INFO] [stdout] --> tests/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use mwc_libp2p_mplex as mplex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_mplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_mplex` [INFO] [stdout] --> tests/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use mwc_libp2p_mplex as mplex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_mplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_noise` [INFO] [stdout] --> tests/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use mwc_libp2p_noise as noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/network_dial_error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use mwc_libp2p_core::multiaddr::multiaddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | use cs_mwc_libp2p_core::multiaddr::multiaddr; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_tcp` [INFO] [stdout] --> tests/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use mwc_libp2p_tcp as tcp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/network_dial_error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/network_dial_error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_noise` [INFO] [stdout] --> tests/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use mwc_libp2p_noise as noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_tcp` [INFO] [stdout] --> tests/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use mwc_libp2p_tcp as tcp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_mplex` [INFO] [stdout] --> tests/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use mwc_libp2p_mplex as mplex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_mplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-libp2p-core` (test "util") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cs_mwc-libp2p-core` (test "network_dial_error") due to 8 previous errors [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_noise` [INFO] [stdout] --> tests/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use mwc_libp2p_noise as noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/connection_limits.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use mwc_libp2p_core::multiaddr::{multiaddr, Multiaddr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | use cs_mwc_libp2p_core::multiaddr::{multiaddr, Multiaddr}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_tcp` [INFO] [stdout] --> tests/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use mwc_libp2p_tcp as tcp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/connection_limits.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/connection_limits.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mwc_libp2p_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_mwc_libp2p_core::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_mplex` [INFO] [stdout] --> tests/util.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use mwc_libp2p_mplex as mplex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_mplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_noise` [INFO] [stdout] --> tests/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use mwc_libp2p_noise as noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_tcp` [INFO] [stdout] --> tests/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use mwc_libp2p_tcp as tcp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mwc_libp2p_core::transport::{Transport, MemoryTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | use cs_mwc_libp2p_core::transport::{Transport, MemoryTransport}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use mwc_libp2p_core::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | use cs_mwc_libp2p_core::identity; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use mwc_libp2p_core::upgrade::{self, UpgradeInfo, InboundUpgrade, OutboundUpgrade}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 26 | use cs_mwc_libp2p_core::upgrade::{self, UpgradeInfo, InboundUpgrade, OutboundUpgrade}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_core` [INFO] [stdout] --> tests/transport_upgrade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use mwc_libp2p_core::upgrade::{self, UpgradeInfo, InboundUpgrade, OutboundUpgrade}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 26 | use cs_mwc_libp2p_core::upgrade::{self, UpgradeInfo, InboundUpgrade, OutboundUpgrade}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_mplex` [INFO] [stdout] --> tests/transport_upgrade.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use mwc_libp2p_mplex::MplexConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mwc_libp2p_mplex`, use `cargo add mwc_libp2p_mplex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_noise` [INFO] [stdout] --> tests/transport_upgrade.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use mwc_libp2p_noise as noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `mwc_libp2p_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-libp2p-core` (test "connection_limits") due to 8 previous errors [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/transport_upgrade.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | fn upgrade_inbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Info` implemented for `HelloUpgrade`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 53 - fn upgrade_inbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] 53 + fn upgrade_inbound(self, mut socket: C, _: ::Info) -> Self::Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/transport_upgrade.rs:53:63 [INFO] [stdout] | [INFO] [stdout] 53 | fn upgrade_inbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Future` implemented for `HelloUpgrade`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 53 - fn upgrade_inbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] 53 + fn upgrade_inbound(self, mut socket: C, _: Self::Info) -> ::Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/transport_upgrade.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn upgrade_outbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Info` implemented for `HelloUpgrade`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 71 - fn upgrade_outbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] 71 + fn upgrade_outbound(self, mut socket: C, _: ::Info) -> Self::Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/transport_upgrade.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 71 | fn upgrade_outbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Future` implemented for `HelloUpgrade`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 71 - fn upgrade_outbound(self, mut socket: C, _: Self::Info) -> Self::Future { [INFO] [stdout] 71 + fn upgrade_outbound(self, mut socket: C, _: Self::Info) -> ::Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-libp2p-core` (test "transport_upgrade") due to 15 previous errors [INFO] [stdout] warning: struct `OutboundSubstreamId` is never constructed [INFO] [stdout] --> src/connection/substream.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct OutboundSubstreamId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/connection/pool.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 106 | ConnectionClosed { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 114 | pool: &'a mut Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer` is never read [INFO] [stdout] --> src/connection/pool.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 120 | PendingConnectionError { [INFO] [stdout] | ---------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 131 | peer: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/pool.rs:724:13 [INFO] [stdout] | [INFO] [stdout] 724 | Pending(PendingConnection<'a, TInEvent>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 724 - Pending(PendingConnection<'a, TInEvent>), [INFO] [stdout] 724 + Pending(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `marker` is never read [INFO] [stdout] --> src/transport/and_then.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct AndThenFuture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | marker: PhantomPinned, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AndThenFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn connection(&mut self, id: ConnectionId) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 304 | -> Option> [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 304 | -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn connections(&mut self) -> [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 335 | / EstablishedConnectionIter< [INFO] [stdout] 336 | | impl Iterator, [INFO] [stdout] 337 | | TInEvent, [INFO] [stdout] 338 | | TOutEvent, [INFO] [stdout] 339 | | THandler, [INFO] [stdout] 340 | | TTrans::Error, [INFO] [stdout] 341 | | ::Error> [INFO] [stdout] | |____________________________________________________________- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | EstablishedConnectionIter<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network/peer.rs:347:28 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn some_connection(&mut self) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 348 | -> EstablishedConnection [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | -> EstablishedConnection<'_, TInEvent> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "695fb99b726f850d084d05b33de333ff2283944cad256d124cdcfce705fec430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695fb99b726f850d084d05b33de333ff2283944cad256d124cdcfce705fec430", kill_on_drop: false }` [INFO] [stdout] 695fb99b726f850d084d05b33de333ff2283944cad256d124cdcfce705fec430