[INFO] fetching crate cs_mwc-libp2p-mplex 0.27.2... [INFO] testing cs_mwc-libp2p-mplex-0.27.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cs_mwc-libp2p-mplex 0.27.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate cs_mwc-libp2p-mplex 0.27.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cs_mwc-libp2p-mplex 0.27.2 [INFO] tweaked toml for crates.io crate cs_mwc-libp2p-mplex 0.27.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cs_mwc-libp2p-mplex 0.27.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cs_mwc-libp2p-mplex 0.27.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v0.4.30 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded prost v0.7.0 [INFO] [stderr] Downloaded rw-stream-sink v0.2.1 [INFO] [stderr] Downloaded pin-project v0.4.30 [INFO] [stderr] Downloaded asn1_der_derive v0.1.2 [INFO] [stderr] Downloaded multistream-select v0.10.4 [INFO] [stderr] Downloaded unsigned-varint v0.5.1 [INFO] [stderr] Downloaded multihash v0.13.2 [INFO] [stderr] Downloaded parity-multiaddr v0.11.2 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded prost-derive v0.7.0 [INFO] [stderr] Downloaded prost-types v0.7.0 [INFO] [stderr] Downloaded cs_mwc-libp2p-core v0.27.3 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded multihash-derive v0.7.2 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded asn1_der v0.6.3 [INFO] [stderr] Downloaded prost-build v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e0c29413f0492dd55022fd19ffb09f9844516b606b735ca83f0380c6d8a4472 [INFO] running `Command { std: "docker" "start" "-a" "3e0c29413f0492dd55022fd19ffb09f9844516b606b735ca83f0380c6d8a4472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e0c29413f0492dd55022fd19ffb09f9844516b606b735ca83f0380c6d8a4472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0c29413f0492dd55022fd19ffb09f9844516b606b735ca83f0380c6d8a4472", kill_on_drop: false }` [INFO] [stdout] 3e0c29413f0492dd55022fd19ffb09f9844516b606b735ca83f0380c6d8a4472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35096e4224b1065eab8613e4398947e73f52c79fe8ff33ed206b2ef26835e43a [INFO] running `Command { std: "docker" "start" "-a" "35096e4224b1065eab8613e4398947e73f52c79fe8ff33ed206b2ef26835e43a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [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 toml_edit v0.19.15 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [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 parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling asn1_der_derive v0.1.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 pin-project v0.4.30 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling pin-project v1.1.10 [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 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [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] [stderr] Compiling cs_mwc-libp2p-mplex v0.27.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/io.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub use std::io::{Result, Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.55s [INFO] running `Command { std: "docker" "inspect" "35096e4224b1065eab8613e4398947e73f52c79fe8ff33ed206b2ef26835e43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35096e4224b1065eab8613e4398947e73f52c79fe8ff33ed206b2ef26835e43a", kill_on_drop: false }` [INFO] [stdout] 35096e4224b1065eab8613e4398947e73f52c79fe8ff33ed206b2ef26835e43a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a1532c57384433539dd03ce97f428208b1fb9daf639b512abe6ae84b453b3de [INFO] running `Command { std: "docker" "start" "-a" "6a1532c57384433539dd03ce97f428208b1fb9daf639b512abe6ae84b453b3de", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling parity-multiaddr v0.11.2 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling polling v3.11.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 [INFO] [stderr] Compiling cs_mwc-libp2p-mplex v0.27.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/io.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub use std::io::{Result, Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/io.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub use std::io::{Result, Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_tcp` [INFO] [stdout] --> tests/async_write.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use mwc_libp2p_tcp::TcpConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_tcp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - use mwc_libp2p_tcp::TcpConfig; [INFO] [stdout] 22 + use mwc_libp2p_core::TcpConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_libp2p_tcp` [INFO] [stdout] --> tests/two_peers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use mwc_libp2p_tcp::TcpConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_tcp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - use mwc_libp2p_tcp::TcpConfig; [INFO] [stdout] 22 + use mwc_libp2p_core::TcpConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] --> tests/async_write.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let mplex = cs_mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use cs_mwc_libp2p_mplex::MplexConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `MplexConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] 33 + let mplex = MplexConfig::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] --> tests/async_write.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | let mplex = cs_mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use cs_mwc_libp2p_mplex::MplexConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `MplexConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] 64 + let mplex = MplexConfig::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] --> tests/two_peers.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let mplex = cs_mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use cs_mwc_libp2p_mplex::MplexConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `MplexConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] 33 + let mplex = MplexConfig::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] --> tests/two_peers.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | let mplex = cs_mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use cs_mwc_libp2p_mplex::MplexConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `MplexConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] 64 + let mplex = MplexConfig::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] --> tests/two_peers.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 89 | let mplex = cs_mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use cs_mwc_libp2p_mplex::MplexConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `MplexConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 89 - let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] 89 + let mplex = MplexConfig::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] --> tests/two_peers.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mplex` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 125 | let mplex = cs_mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use cs_mwc_libp2p_mplex::MplexConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `MplexConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - let mplex = mwc_libp2p_mplex::MplexConfig::new(); [INFO] [stdout] 125 + let mplex = MplexConfig::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let addr = listener.next().await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let addr = listener.next().await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let client = listener [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | .next().await [INFO] [stdout] | |_________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let client = listener [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | .next().await [INFO] [stdout] 52 | | .unwrap() [INFO] [stdout] 53 | | .unwrap() [INFO] [stdout] 54 | | .into_upgrade().unwrap().0.await.unwrap(); [INFO] [stdout] | |____________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let client = listener [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | .next().await [INFO] [stdout] | |_________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let client = listener [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | .next().await [INFO] [stdout] 52 | | .unwrap() [INFO] [stdout] 53 | | .unwrap() [INFO] [stdout] 54 | | .into_upgrade().unwrap().0.await.unwrap(); [INFO] [stdout] | |____________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let mut outbound = muxing::outbound_from_ref_and_wrap(Arc::new(client)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let mut outbound = muxing::outbound_from_ref_and_wrap(Arc::new(client)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | outbound.read_to_end(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | outbound.read_to_end(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let client = Arc::new(transport.dial(rx.await.unwrap()).unwrap().await.unwrap()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let client = Arc::new(transport.dial(rx.await.unwrap()).unwrap().await.unwrap()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let client = Arc::new(transport.dial(rx.await.unwrap()).unwrap().await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(s) = muxing::event_from_ref_and_wrap(client.clone()).await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let client = Arc::new(transport.dial(rx.await.unwrap()).unwrap().await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(s) = muxing::event_from_ref_and_wrap(client.clone()).await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut inbound = loop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | inbound.write_all(b"hello world").await.unwrap(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `inbound` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let mut inbound: /* Type */ = loop { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | inbound.write_all(b"hello world").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut inbound = loop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | inbound.write_all(b"hello world").await.unwrap(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `inbound` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let mut inbound: /* Type */ = loop { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | inbound.close().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | inbound.write_all(b"hello world").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async_write.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | inbound.close().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let addr = listener.next().await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | let client = Arc::new(listener [INFO] [stdout] | _______________________________^ [INFO] [stdout] 107 | | .next().await [INFO] [stdout] | |_________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | let client = Arc::new(listener [INFO] [stdout] | _______________________________^ [INFO] [stdout] 107 | | .next().await [INFO] [stdout] 108 | | .unwrap() [INFO] [stdout] 109 | | .unwrap() [INFO] [stdout] 110 | | .into_upgrade().unwrap().0.await.unwrap()); [INFO] [stdout] | |____________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(s) = muxing::event_from_ref_and_wrap(client.clone()).await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut inbound = loop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | inbound.read_to_end(&mut buf).await.unwrap(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `inbound` an explicit type [INFO] [stdout] | [INFO] [stdout] 112 | let mut inbound: /* Type */ = loop { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | inbound.read_to_end(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | let client = transport.dial(rx.await.unwrap()).unwrap().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-libp2p-mplex` (test "async_write") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let client = transport.dial(rx.await.unwrap()).unwrap().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let mut outbound = muxing::outbound_from_ref_and_wrap(Arc::new(client)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | outbound.write_all(b"hello world").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/two_peers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | outbound.close().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-libp2p-mplex` (test "two_peers") due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "6a1532c57384433539dd03ce97f428208b1fb9daf639b512abe6ae84b453b3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1532c57384433539dd03ce97f428208b1fb9daf639b512abe6ae84b453b3de", kill_on_drop: false }` [INFO] [stdout] 6a1532c57384433539dd03ce97f428208b1fb9daf639b512abe6ae84b453b3de