Skip to content

Add an example showcasing how to implement a custom network behavior and access streams #14835

Add an example showcasing how to implement a custom network behavior and access streams

Add an example showcasing how to implement a custom network behavior and access streams #14835

Triggered via pull request December 5, 2023 17:42
Status Failure
Total duration 7m 45s
Artifacts

ci.yml

on: pull_request
gather_published_crates
7s
gather_published_crates
Run all WASM tests
1m 38s
Run all WASM tests
Compile with MSRV
37s
Compile with MSRV
Check rustdoc intra-doc links
42s
Check rustdoc intra-doc links
IPFS Integration tests
1m 5s
IPFS Integration tests
examples
1m 27s
examples
semver
7m 4s
semver
rustfmt
7s
rustfmt
manifest_lint
8s
manifest_lint
Check for changes in proto files
23s
Check for changes in proto files
Ensure that `Cargo.lock` is up-to-date
17s
Ensure that `Cargo.lock` is up-to-date
cargo-deny
25s
cargo-deny
Matrix: clippy
Matrix: cross
Matrix: feature_matrix
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

37 errors
rustfmt: examples/escape-hatch/src/lib.rs#L1
Diff in /home/runner/work/rust-libp2p/rust-libp2p/examples/escape-hatch/src/lib.rs
rustfmt: examples/escape-hatch/src/lib.rs#L11
Diff in /home/runner/work/rust-libp2p/rust-libp2p/examples/escape-hatch/src/lib.rs
rustfmt: examples/escape-hatch/src/lib.rs#L19
Diff in /home/runner/work/rust-libp2p/rust-libp2p/examples/escape-hatch/src/lib.rs
rustfmt: examples/escape-hatch/src/lib.rs#L44
Diff in /home/runner/work/rust-libp2p/rust-libp2p/examples/escape-hatch/src/lib.rs
rustfmt: examples/escape-hatch/src/lib.rs#L78
Diff in /home/runner/work/rust-libp2p/rust-libp2p/examples/escape-hatch/src/lib.rs
rustfmt: examples/escape-hatch/src/main.rs#L1
Diff in /home/runner/work/rust-libp2p/rust-libp2p/examples/escape-hatch/src/main.rs
rustfmt: examples/escape-hatch/src/main.rs#L7
Diff in /home/runner/work/rust-libp2p/rust-libp2p/examples/escape-hatch/src/main.rs
rustfmt
Process completed with exit code 1.
Compile with MSRV: examples/escape-hatch/src/lib.rs#L2
unused import: `Instant`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L3
unused imports: `future::Either`, `prelude::*`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L4
unused import: `quic::Connection`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L5
unused imports: `Multiaddr`, `Transport`, `transport::MemoryTransport`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L6
unused imports: `distributions`, `prelude::*`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L7
unused import: `futures_timer::Delay`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L52
unused variable: `e`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L88
unused variable: `peer`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L60
unused variable: `e`
Compile with MSRV: examples/escape-hatch/src/lib.rs#L25
fields `config`, `events`, and `protocol` are never read
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L2
unused import: `Instant`
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L3
unused imports: `future::Either`, `prelude::*`
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L4
unused import: `quic::Connection`
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L5
unused imports: `Multiaddr`, `Transport`, `transport::MemoryTransport`
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L6
unused imports: `distributions`, `prelude::*`
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L7
unused import: `futures_timer::Delay`
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L53
this `else` branch is empty
clippy (nightly-2023-09-10): examples/escape-hatch/src/lib.rs#L61
this `else` branch is empty
examples: examples/escape-hatch/src/lib.rs#L4
unresolved import `libp2p::quic`
examples: examples/escape-hatch/src/lib.rs#L2
unused import: `Instant`
examples: examples/escape-hatch/src/lib.rs#L3
unused imports: `future::Either`, `prelude::*`
examples: examples/escape-hatch/src/lib.rs#L5
unused imports: `Multiaddr`, `Transport`, `transport::MemoryTransport`
examples: examples/escape-hatch/src/lib.rs#L6
unused imports: `distributions`, `prelude::*`
examples: examples/escape-hatch/src/lib.rs#L7
unused import: `futures_timer::Delay`
examples: examples/escape-hatch/src/lib.rs#L52
unused variable: `e`
examples: examples/escape-hatch/src/lib.rs#L88
unused variable: `peer`
examples
Process completed with exit code 101.