Skip to content

feat(autonatv2): Implement autonat v2 #104

feat(autonatv2): Implement autonat v2

feat(autonatv2): Implement autonat v2 #104

Triggered via pull request December 27, 2023 19:36
Status Failure
Total duration 4m 5s
Artifacts

ci.yml

on: pull_request
gather_published_crates
5s
gather_published_crates
Run all WASM tests
1m 27s
Run all WASM tests
Compile with MSRV
53s
Compile with MSRV
Check rustdoc intra-doc links
45s
Check rustdoc intra-doc links
IPFS Integration tests
1m 21s
IPFS Integration tests
examples
28s
examples
semver
3m 53s
semver
rustfmt
5s
rustfmt
manifest_lint
8s
manifest_lint
Check for changes in proto files
12s
Check for changes in proto files
Ensure that `Cargo.lock` is up-to-date
9s
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

157 errors
rustfmt: misc/connection-limits/src/lib.rs#L18
Diff in /home/runner/work/rust-libp2p/rust-libp2p/misc/connection-limits/src/lib.rs
rustfmt: protocols/autonatv2/src/client/handler.rs#L2
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.
Compile with select features (mdns tcp dns tokio): 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
Compile with select features (mdns tcp dns tokio)
Process completed with exit code 101.
examples: protocols/autonat/src/behaviour.rs#L509
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
examples: protocols/autonat/src/behaviour.rs#L337
pattern does not mention field `port_use`
examples: protocols/autonat/src/behaviour.rs#L346
pattern does not mention field `port_use`
examples: protocols/autonat/src/behaviour.rs#L516
this method takes 5 arguments but 4 arguments were supplied
examples
Process completed with exit code 101.
Compile with select features (mdns tcp dns async-std)
The job was canceled because "mdns_tcp_dns_tokio" failed.
Compile with select features (mdns tcp dns async-std): 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
Compile with select features (mdns tcp dns async-std)
The operation was canceled.
Compile on wasm32-unknown-unknown: transports/websocket-websys/src/lib.rs#L104
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile on wasm32-unknown-unknown: transports/webtransport-websys/src/transport.rs#L86
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile on wasm32-unknown-unknown: transports/websocket-websys/src/lib.rs#L89
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile on wasm32-unknown-unknown: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile on wasm32-unknown-unknown
Process completed with exit code 101.
Compile on x86_64-pc-windows-msvc
The job was canceled because "wasm32-unknown-unknown_ub" failed.
Compile on x86_64-pc-windows-msvc
The operation was canceled.
Compile on wasm32-unknown-emscripten
The job was canceled because "wasm32-unknown-unknown_ub" failed.
Compile on wasm32-unknown-emscripten: transports/websocket-websys/src/lib.rs#L104
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile on wasm32-unknown-emscripten: transports/websocket-websys/src/lib.rs#L89
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile on wasm32-wasi
The job was canceled because "wasm32-unknown-unknown_ub" failed.
Compile on wasm32-unknown-emscripten: transports/webtransport-websys/src/transport.rs#L86
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile on wasm32-wasi: transports/websocket-websys/src/lib.rs#L104
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile on wasm32-unknown-emscripten: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile on wasm32-wasi: transports/webtransport-websys/src/transport.rs#L86
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile on wasm32-unknown-emscripten
Process completed with exit code 101.
Compile on wasm32-wasi: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile on wasm32-wasi: transports/websocket-websys/src/lib.rs#L89
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile on wasm32-wasi
Process completed with exit code 101.
Test libp2p-floodsub: protocols/floodsub/src/layer.rs#L344
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.
Compile on x86_64-apple-darwin
The job was canceled because "wasm32-unknown-unknown_ub" failed.
Compile on x86_64-apple-darwin
The operation was canceled.
Check rustdoc intra-doc links: protocols/relay/src/priv_client/transport.rs#L201
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Check rustdoc intra-doc links: protocols/relay/src/behaviour.rs#L326
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Check rustdoc intra-doc links: protocols/relay/src/priv_client.rs#L176
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Check rustdoc intra-doc links: protocols/relay/src/priv_client/transport.rs#L168
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Check rustdoc intra-doc links: protocols/relay/src/behaviour.rs#L343
missing field `port_use` in initializer of `ConnectedPoint`
Check rustdoc intra-doc links: protocols/gossipsub/src/behaviour.rs#L3009
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.
clippy (nightly-2023-09-10): protocols/relay/src/priv_client/transport.rs#L201
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
clippy (nightly-2023-09-10): protocols/relay/src/behaviour.rs#L326
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `libp2p_swarm::NetworkBehaviour::handle_established_outbound_connection` has 6
clippy (nightly-2023-09-10): protocols/relay/src/priv_client.rs#L176
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `libp2p_swarm::NetworkBehaviour::handle_established_outbound_connection` has 6
clippy (nightly-2023-09-10): protocols/relay/src/priv_client/transport.rs#L168
method `dial` has 2 parameters but the declaration in trait `libp2p_core::Transport::dial` has 3
clippy (nightly-2023-09-10): protocols/relay/src/behaviour.rs#L343
missing field `port_use` in initializer of `libp2p_core::ConnectedPoint`
clippy (nightly-2023-09-10)
Process completed with exit code 101.
Test libp2p-memory-connection-limits: misc/memory-connection-limits/src/lib.rs#L172
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.
Compile with MSRV: transports/webtransport-websys/src/transport.rs#L86
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile with MSRV: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile with MSRV: protocols/gossipsub/src/behaviour.rs#L3009
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.
Test libp2p-autonat: protocols/autonat/src/behaviour.rs#L509
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-autonat: protocols/autonat/src/behaviour.rs#L337
pattern does not mention field `port_use`
Test libp2p-autonat: protocols/autonat/src/behaviour.rs#L346
pattern does not mention field `port_use`
Test libp2p-autonat: protocols/autonat/src/behaviour.rs#L516
this method takes 5 arguments but 4 arguments were supplied
Test libp2p-autonat
Process completed with exit code 101.
Test libp2p-metrics: protocols/relay/src/priv_client/transport.rs#L201
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-metrics: protocols/relay/src/behaviour.rs#L326
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-metrics: protocols/gossipsub/src/behaviour.rs#L3009
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#L176
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#L168
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-metrics: protocols/relay/src/behaviour.rs#L343
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-metrics
Process completed with exit code 101.
Test libp2p-connection-limits: misc/connection-limits/src/lib.rs#L568
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-dns: transports/dns/src/lib.rs#L667
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-dns: transports/dns/src/lib.rs#L658
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-dns: transports/dns/src/lib.rs#L695
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L702
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L709
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L716
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L725
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L733
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L748
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L671
this method takes 2 arguments but 1 argument was supplied
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-autonatv2
Process completed with exit code 101.
Test libp2p-allow-block-list
Process completed with exit code 1.
Test libp2p-gossipsub: protocols/gossipsub/src/behaviour.rs#L3009
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-gossipsub
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-dcutr: protocols/relay/src/priv_client/transport.rs#L201
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-dcutr: protocols/relay/src/behaviour.rs#L326
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#L176
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#L168
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-dcutr: protocols/relay/src/behaviour.rs#L343
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-dcutr
Process completed with exit code 101.
Test libp2p-perf: transports/quic/src/transport.rs#L305
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-perf: transports/quic/src/transport.rs#L259
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-perf
Process completed with exit code 101.
Test libp2p-core
Process completed with exit code 1.
Test libp2p-relay: protocols/relay/src/priv_client/transport.rs#L201
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-relay: protocols/relay/src/behaviour.rs#L326
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#L176
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#L168
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-relay: protocols/relay/src/behaviour.rs#L343
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-relay
Process completed with exit code 101.
Test libp2p-kad: protocols/kad/src/behaviour/test.rs#L1302
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-kad: protocols/kad/src/behaviour/test.rs#L1352
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-kad: protocols/kad/src/behaviour/test.rs#L1356
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-kad
Process completed with exit code 101.
Test libp2p-uds: transports/uds/src/lib.rs#L172
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-uds: transports/uds/src/lib.rs#L172
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-uds: transports/uds/src/lib.rs#L162
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-uds: transports/uds/src/lib.rs#L162
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-uds: transports/uds/src/lib.rs#L176
this method takes 2 arguments but 1 argument was supplied
Test libp2p-uds: transports/uds/src/lib.rs#L176
this method takes 2 arguments but 1 argument was supplied
Test libp2p-uds
Process completed with exit code 101.
Test libp2p-rendezvous: protocols/rendezvous/src/client.rs#L206
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-rendezvous: protocols/rendezvous/src/server.rs#L138
method `handle_established_outbound_connection` has 5 parameters but the declaration in trait `handle_established_outbound_connection` has 6
Test libp2p-rendezvous: protocols/rendezvous/src/client.rs#L213
this method takes 5 arguments but 4 arguments were supplied
Test libp2p-rendezvous: protocols/rendezvous/src/server.rs#L145
this method takes 5 arguments but 4 arguments were supplied
Test libp2p-rendezvous
Process completed with exit code 101.
Test libp2p-tcp: transports/tcp/src/lib.rs#L1095
failed to resolve: use of undeclared crate or module `env_logger`
Test libp2p-tcp
Process completed with exit code 101.
Run all WASM tests
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-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-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.
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-server: protocols/relay/src/priv_client/transport.rs#L201
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-server: protocols/relay/src/behaviour.rs#L326
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#L176
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#L168
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-server: protocols/relay/src/behaviour.rs#L343
missing field `port_use` in initializer of `ConnectedPoint`
Test libp2p-server
Process completed with exit code 101.
Test libp2p-request-response
Process completed with exit code 1.
Test libp2p: protocols/gossipsub/src/behaviour.rs#L3009
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-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: swarm/tests/swarm_derive.rs#L402
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-websocket-websys: transports/websocket-websys/src/lib.rs#L104
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-websocket-websys: transports/websocket-websys/src/lib.rs#L89
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-websocket: transports/websocket/src/lib.rs#L339
this method takes 2 arguments but 1 argument was supplied
Test libp2p-websocket
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.
semver
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1