Skip to content

feat(autonatv2): Implement autonat v2 #80

feat(autonatv2): Implement autonat v2

feat(autonatv2): Implement autonat v2 #80

Triggered via pull request November 18, 2023 16:21
Status Failure
Total duration 4m 11s
Artifacts

ci.yml

on: pull_request
gather_published_crates
13s
gather_published_crates
Run all WASM tests
2m 37s
Run all WASM tests
Compile with MSRV
55s
Compile with MSRV
Check rustdoc intra-doc links
59s
Check rustdoc intra-doc links
IPFS Integration tests
44s
IPFS Integration tests
examples
37s
examples
semver
3m 54s
semver
rustfmt
12s
rustfmt
manifest_lint
10s
manifest_lint
Check for changes in proto files
28s
Check for changes in proto files
Ensure that `Cargo.lock` is up-to-date
15s
Ensure that `Cargo.lock` is up-to-date
cargo-deny
24s
cargo-deny
Matrix: clippy
Matrix: cross
Matrix: feature_matrix
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

168 errors
rustfmt: core/src/transport/and_then.rs#L20
Diff in /home/runner/work/rust-libp2p/rust-libp2p/core/src/transport/and_then.rs
rustfmt: misc/ip-global/src/lib.rs#L5
Diff in /home/runner/work/rust-libp2p/rust-libp2p/misc/ip-global/src/lib.rs
rustfmt: protocols/autonatv2/src/client/behaviour.rs#L1
Diff in /home/runner/work/rust-libp2p/rust-libp2p/protocols/autonatv2/src/client/behaviour.rs
rustfmt: protocols/autonatv2/src/client/handler/dial_back.rs#L8
Diff in /home/runner/work/rust-libp2p/rust-libp2p/protocols/autonatv2/src/client/handler/dial_back.rs
rustfmt: protocols/autonatv2/src/client/handler.rs#L9
Diff in /home/runner/work/rust-libp2p/rust-libp2p/protocols/autonatv2/src/client/handler.rs
rustfmt: protocols/autonatv2/src/client/handler.rs#L25
Diff in /home/runner/work/rust-libp2p/rust-libp2p/protocols/autonatv2/src/client/handler.rs
rustfmt
Process completed with exit code 1.
Check for changes in proto files
Process completed with exit code 1.
examples: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
examples
Process completed with exit code 101.
Compile with select features (mdns tcp dns tokio): misc/connection-limits/src/lib.rs#L275
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Compile with select features (mdns tcp dns tokio)
Process completed with exit code 101.
Compile with select features (mdns tcp dns async-std): misc/allow-block-list/src/lib.rs#L223
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Compile with select features (mdns tcp dns async-std): misc/connection-limits/src/lib.rs#L275
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Compile with select features (mdns tcp dns async-std)
Process completed with exit code 101.
Compile on wasm32-unknown-emscripten: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Compile on wasm32-unknown-emscripten
Process completed with exit code 101.
Compile on wasm32-wasi
The job was canceled because "wasm32-unknown-emscripten" failed.
Compile on wasm32-wasi: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Compile on wasm32-wasi
Process completed with exit code 101.
IPFS Integration tests: transports/dns/src/lib.rs#L213
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
IPFS Integration tests: transports/dns/src/lib.rs#L209
method `dial` has 2 parameters but the declaration in trait `dial` has 3
IPFS Integration tests: transports/dns/src/lib.rs#L337
this method takes 2 arguments but 1 argument was supplied
IPFS Integration tests: transports/dns/src/lib.rs#L338
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
IPFS Integration tests
Process completed with exit code 101.
Compile on wasm32-unknown-unknown
The job was canceled because "wasm32-unknown-emscripten" failed.
Compile on wasm32-unknown-unknown: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Compile on wasm32-unknown-unknown
Process completed with exit code 101.
clippy (nightly-2023-09-10): misc/ip-global/src/lib.rs#L71
manual `RangeInclusive::contains` implementation
clippy (nightly-2023-09-10): misc/ip-global/src/lib.rs#L239
manual `RangeInclusive::contains` implementation
clippy (nightly-2023-09-10)
Process completed with exit code 101.
Compile on x86_64-pc-windows-msvc
The job was canceled because "wasm32-unknown-emscripten" failed.
Compile on x86_64-pc-windows-msvc
The operation was canceled.
Compile with MSRV: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Compile with MSRV
Process completed with exit code 101.
Compile on x86_64-apple-darwin
The job was canceled because "wasm32-unknown-emscripten" failed.
Compile on x86_64-apple-darwin
The operation was canceled.
Check rustdoc intra-doc links: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Check rustdoc intra-doc links
Process completed with exit code 101.
Test ip-global
Process completed with exit code 2.
Test libp2p-autonatv2: protocols/autonatv2/src/request_response.rs#L9
unused imports: `read_length_prefixed`, `write_length_prefixed`
Test libp2p-autonatv2: protocols/autonatv2/src/request_response.rs#L13
unused imports: `BytesReader`, `MessageRead`, `MessageWrite`, `Writer`
Test libp2p-autonatv2: protocols/autonatv2/src/client/handler/dial_back.rs#L11
not all trait items implemented, missing: `FromBehaviour`, `ToBehaviour`, `Error`, `InboundProtocol`, `OutboundProtocol`, `InboundOpenInfo`, `OutboundOpenInfo`, `listen_protocol`, `poll`, `on_behaviour_event`, `on_connection_event`
Test libp2p-autonatv2
Process completed with exit code 101.
Test libp2p-floodsub: protocols/floodsub/src/layer.rs#L346
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-floodsub
Process completed with exit code 101.
Test libp2p-allow-block-list: misc/allow-block-list/src/lib.rs#L223
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-allow-block-list
Process completed with exit code 101.
Test libp2p-autonat: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-autonat
Process completed with exit code 101.
Test libp2p-connection-limits: misc/connection-limits/src/lib.rs#L275
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-connection-limits
Process completed with exit code 101.
Test libp2p-core
Process completed with exit code 1.
Test libp2p-dns: transports/dns/src/lib.rs#L213
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-dns: transports/dns/src/lib.rs#L209
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-dns: transports/dns/src/lib.rs#L337
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L338
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
Test libp2p-dns
Process completed with exit code 101.
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour.rs#L3279
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour.rs#L3279
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour/tests.rs#L209
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour/tests.rs#L259
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour/tests.rs#L581
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour/tests.rs#L4108
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour/tests.rs#L4129
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour/tests.rs#L4159
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-gossipsub
Process completed with exit code 101.
Test libp2p-dcutr: transports/dns/src/lib.rs#L213
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-dcutr: transports/dns/src/lib.rs#L209
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-dcutr: transports/dns/src/lib.rs#L337
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dcutr: transports/dns/src/lib.rs#L338
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
Test libp2p-dcutr: protocols/relay/src/priv_client/transport.rs#L198
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-dcutr: protocols/relay/src/behaviour.rs#L311
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-dcutr: protocols/relay/src/priv_client.rs#L175
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-dcutr: protocols/relay/src/priv_client/transport.rs#L166
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-dcutr: protocols/relay/src/behaviour.rs#L328
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-dcutr
Process completed with exit code 101.
Test libp2p-metrics: protocols/relay/src/priv_client/transport.rs#L198
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-metrics: protocols/relay/src/behaviour.rs#L311
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-metrics: protocols/relay/src/priv_client.rs#L175
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-metrics: protocols/relay/src/priv_client/transport.rs#L166
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-metrics: protocols/gossipsub/src/behaviour.rs#L3279
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-metrics: protocols/relay/src/behaviour.rs#L328
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-metrics
Process completed with exit code 101.
Test libp2p-memory-connection-limits: misc/memory-connection-limits/src/lib.rs#L175
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-memory-connection-limits
Process completed with exit code 101.
Test libp2p-kad: protocols/kad/src/behaviour/test.rs#L1300
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-kad: protocols/kad/src/behaviour/test.rs#L1350
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-kad: protocols/kad/src/behaviour/test.rs#L1354
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-kad
Process completed with exit code 101.
Test libp2p-identify
Process completed with exit code 1.
Test libp2p: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p
Process completed with exit code 101.
Test libp2p-mdns: protocols/mdns/src/behaviour.rs#L260
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-mdns
Process completed with exit code 101.
Test libp2p-ping: protocols/ping/src/protocol.rs#L116
this method takes 2 arguments but 1 argument was supplied
Test libp2p-ping
Process completed with exit code 101.
Test libp2p-perf: transports/dns/src/lib.rs#L213
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-perf: transports/dns/src/lib.rs#L209
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-perf: transports/dns/src/lib.rs#L337
this method takes 2 arguments but 1 argument was supplied
Test libp2p-perf: transports/dns/src/lib.rs#L338
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
Test libp2p-perf
Process completed with exit code 101.
Test libp2p-swarm-derive
Process completed with exit code 1.
Test libp2p-relay: protocols/relay/src/priv_client/transport.rs#L198
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-relay: protocols/relay/src/behaviour.rs#L311
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-relay: protocols/relay/src/priv_client.rs#L175
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-relay: protocols/relay/src/priv_client/transport.rs#L166
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-relay: protocols/relay/src/behaviour.rs#L328
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-relay
Process completed with exit code 101.
Test libp2p-rendezvous: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-rendezvous
Process completed with exit code 101.
Test libp2p-pnet: transports/websocket/src/framed.rs#L157
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-pnet: transports/websocket/src/lib.rs#L209
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-pnet: transports/websocket/src/lib.rs#L205
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-pnet: transports/websocket/src/framed.rs#L153
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-pnet: transports/websocket/src/framed.rs#L316
this method takes 2 arguments but 1 argument was supplied
Test libp2p-pnet: transports/websocket/src/framed.rs#L317
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
Test libp2p-pnet: transports/websocket/src/lib.rs#L206
this method takes 2 arguments but 1 argument was supplied
Test libp2p-pnet: transports/websocket/src/lib.rs#L213
no method named `dial_as_listener` found for struct `Map` in the current scope
Test libp2p-pnet
Process completed with exit code 101.
Test libp2p-request-response: protocols/request-response/src/lib.rs#L775
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-request-response
Process completed with exit code 101.
Test libp2p-upnp: protocols/upnp/src/behaviour.rs#L246
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-upnp
Process completed with exit code 101.
Test libp2p-swarm-test
Process completed with exit code 255.
Test libp2p-webrtc-websys: transports/webrtc-websys/src/transport.rs#L92
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-webrtc-websys: transports/webrtc-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-webrtc-websys
Process completed with exit code 101.
Test libp2p-uds: transports/uds/src/lib.rs#L173
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-uds: transports/uds/src/lib.rs#L173
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-uds: transports/uds/src/lib.rs#L163
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-uds: transports/uds/src/lib.rs#L163
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-uds: transports/uds/src/lib.rs#L177
this method takes 2 arguments but 1 argument was supplied
Test libp2p-uds: transports/uds/src/lib.rs#L177
this method takes 2 arguments but 1 argument was supplied
Test libp2p-uds
Process completed with exit code 101.
Test libp2p-quic: transports/quic/src/transport.rs#L305
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-quic: transports/quic/src/transport.rs#L259
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-quic
Process completed with exit code 101.
Run all WASM tests
Process completed with exit code 1.
Test libp2p-websocket-websys: transports/websocket-websys/src/lib.rs#L100
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-websocket-websys: transports/websocket-websys/src/lib.rs#L85
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-websocket-websys
Process completed with exit code 101.
Test libp2p-swarm: swarm/tests/connection_close.rs#L64
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-swarm
Process completed with exit code 101.
Test libp2p-server: protocols/relay/src/priv_client/transport.rs#L198
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-server: protocols/relay/src/behaviour.rs#L311
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-server: protocols/relay/src/priv_client.rs#L175
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-server: protocols/relay/src/priv_client/transport.rs#L166
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-server: protocols/relay/src/behaviour.rs#L328
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-server
Process completed with exit code 101.
Test libp2p-tcp
Process completed with exit code 1.
Test libp2p-webtransport-websys: transports/webtransport-websys/src/transport.rs#L86
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-webtransport-websys: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-webtransport-websys: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-webtransport-websys
Process completed with exit code 101.
Test libp2p-webrtc: transports/webrtc/src/tokio/transport.rs#L154
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-webrtc: transports/webrtc/src/tokio/transport.rs#L121
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-webrtc: transports/webrtc/src/tokio/transport.rs#L162
this method takes 2 arguments but 1 argument was supplied
Test libp2p-webrtc
Process completed with exit code 101.
Test libp2p-websocket: transports/dns/src/lib.rs#L213
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-websocket: transports/dns/src/lib.rs#L209
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-websocket: transports/dns/src/lib.rs#L337
this method takes 2 arguments but 1 argument was supplied
Test libp2p-websocket: transports/dns/src/lib.rs#L338
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
Test libp2p-websocket
Process completed with exit code 101.
semver
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1