[INFO] fetching crate cs_mwc-libp2p-mdns 0.28.2... [INFO] testing cs_mwc-libp2p-mdns-0.28.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cs_mwc-libp2p-mdns 0.28.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cs_mwc-libp2p-mdns 0.28.2 [INFO] finished tweaking crates.io crate cs_mwc-libp2p-mdns 0.28.2 [INFO] tweaked toml for crates.io crate cs_mwc-libp2p-mdns 0.28.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cs_mwc-libp2p-mdns 0.28.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cs_mwc-libp2p-mdns 0.28.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccc77c024fc5323cb8327d9421567f6dd5188974397996676a13b299efd82812 [INFO] running `Command { std: "docker" "start" "-a" "ccc77c024fc5323cb8327d9421567f6dd5188974397996676a13b299efd82812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccc77c024fc5323cb8327d9421567f6dd5188974397996676a13b299efd82812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc77c024fc5323cb8327d9421567f6dd5188974397996676a13b299efd82812", kill_on_drop: false }` [INFO] [stdout] ccc77c024fc5323cb8327d9421567f6dd5188974397996676a13b299efd82812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef5b99d14bc1c28a50a9c865bcf161ef51dbc5fc64df720253e241ec60216c57 [INFO] running `Command { std: "docker" "start" "-a" "ef5b99d14bc1c28a50a9c865bcf161ef51dbc5fc64df720253e241ec60216c57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling ring v0.16.20 [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 socket2 v0.4.10 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling if-watch v0.1.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 tempfile v3.22.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.69 [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 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 futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.5 [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-swarm v0.27.1 [INFO] [stderr] Compiling cs_mwc-libp2p-mdns v0.28.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.39s [INFO] running `Command { std: "docker" "inspect" "ef5b99d14bc1c28a50a9c865bcf161ef51dbc5fc64df720253e241ec60216c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5b99d14bc1c28a50a9c865bcf161ef51dbc5fc64df720253e241ec60216c57", kill_on_drop: false }` [INFO] [stdout] ef5b99d14bc1c28a50a9c865bcf161ef51dbc5fc64df720253e241ec60216c57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26e5f20da9c3d5782cb249f1124daff83040506aec15b7820c278d511e64c751 [INFO] running `Command { std: "docker" "start" "-a" "26e5f20da9c3d5782cb249f1124daff83040506aec15b7820c278d511e64c751", 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 proc-macro-crate v1.3.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling if-addrs v0.6.7 [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 rustix v0.38.44 [INFO] [stderr] Compiling multihash-derive v0.7.2 [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 which v4.4.2 [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-global-executor v2.4.1 [INFO] [stderr] Compiling cs_mwc-libp2p-core v0.27.3 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling cs_mwc-libp2p-swarm v0.27.1 [INFO] [stderr] Compiling cs_mwc-libp2p-mdns v0.28.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.14s [INFO] running `Command { std: "docker" "inspect" "26e5f20da9c3d5782cb249f1124daff83040506aec15b7820c278d511e64c751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e5f20da9c3d5782cb249f1124daff83040506aec15b7820c278d511e64c751", kill_on_drop: false }` [INFO] [stdout] 26e5f20da9c3d5782cb249f1124daff83040506aec15b7820c278d511e64c751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7bdea2a8fd8984200539dff12ed00874860bf923a41b862b6faa63491d768bd1 [INFO] running `Command { std: "docker" "start" "-a" "7bdea2a8fd8984200539dff12ed00874860bf923a41b862b6faa63491d768bd1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cs_mwc_libp2p_mdns-8ad728281804f27b) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test dns::tests::build_query_response_correct ... ok [INFO] [stdout] test service::tests::async_std::discover_long_peer_id ... ignored [INFO] [stdout] test service::tests::async_std::discover_normal_peer_id ... ignored [INFO] [stdout] test service::tests::async_std::respect_query_interval ... ignored [INFO] [stdout] test service::tests::tokio::discover_long_peer_id ... ignored [INFO] [stdout] test service::tests::tokio::discover_normal_peer_id ... ignored [INFO] [stdout] test service::tests::tokio::respect_query_interval ... ignored [INFO] [stdout] test dns::tests::build_service_discovery_response_correct ... ok [INFO] [stdout] test dns::tests::build_query_correct ... ok [INFO] [stdout] test dns::tests::test_segment_peer_id ... ok [INFO] [stderr] Doc-tests cs_mwc_libp2p_mdns [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/service.rs - service::MdnsService (line 62) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/service.rs - service::MdnsService (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mdns` [INFO] [stdout] --> src/service.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use mwc_libp2p_mdns::service::{MdnsPacket, build_query_response, build_service_discovery_response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mdns` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | use cs_mwc_libp2p_mdns::service::{MdnsPacket, build_query_response, build_service_discovery_response}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_libp2p_mdns` [INFO] [stdout] --> src/service.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let mut service = mwc_libp2p_mdns::service::MdnsService::new().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mwc_libp2p_mdns` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 72 | let mut service = cs_mwc_libp2p_mdns::service::MdnsService::new().await.unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 63 + use cs_mwc_libp2p_mdns::MdnsService; [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] help: if you import `MdnsService`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - let mut service = mwc_libp2p_mdns::service::MdnsService::new().await.unwrap(); [INFO] [stdout] 72 + let mut service = MdnsService::new().await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let mut service = mwc_libp2p_mdns::service::MdnsService::new().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/service.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let (mut service, packet) = service.next().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | service.enqueue_response(packet); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 74 | let (mut service, packet): (_, _) = service.next().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | println!("Discovered peer {:?}", peer.id()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/service.rs - service::MdnsService (line 62) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7bdea2a8fd8984200539dff12ed00874860bf923a41b862b6faa63491d768bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bdea2a8fd8984200539dff12ed00874860bf923a41b862b6faa63491d768bd1", kill_on_drop: false }` [INFO] [stdout] 7bdea2a8fd8984200539dff12ed00874860bf923a41b862b6faa63491d768bd1