Skip to content

feat(autonatv2): Implement autonat v2 #100

feat(autonatv2): Implement autonat v2

feat(autonatv2): Implement autonat v2 #100

Triggered via pull request December 27, 2023 18:05
Status Failure
Total duration 3m 53s
Artifacts

ci.yml

on: pull_request
gather_published_crates
10s
gather_published_crates
Run all WASM tests
1m 50s
Run all WASM tests
Compile with MSRV
53s
Compile with MSRV
Check rustdoc intra-doc links
39s
Check rustdoc intra-doc links
IPFS Integration tests
49s
IPFS Integration tests
examples
52s
examples
semver
3m 37s
semver
rustfmt
9s
rustfmt
manifest_lint
6s
manifest_lint
Check for changes in proto files
10s
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
29s
cargo-deny
Matrix: clippy
Matrix: cross
Matrix: feature_matrix
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

159 errors
Check for changes in proto files
Process completed with exit code 1.
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.
Compile with select features (mdns tcp dns tokio): 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 tokio): misc/connection-limits/src/lib.rs#L276
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)
The job was canceled because "mdns_tcp_dns_tokio" failed.
Compile with select features (mdns tcp dns async-std): transports/dns/src/lib.rs#L238
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Compile with select features (mdns tcp dns async-std): misc/connection-limits/src/lib.rs#L276
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/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): 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): transports/dns/src/lib.rs#L234
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile with select features (mdns tcp dns async-std): transports/dns/src/lib.rs#L362
this method takes 2 arguments but 1 argument was supplied
Compile with select features (mdns tcp dns async-std): transports/dns/src/lib.rs#L363
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
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/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
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: 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.
Compile on wasm32-wasi
The job was canceled because "wasm32-unknown-unknown_ub" failed.
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-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
The job was canceled because "wasm32-unknown-unknown_ub" failed.
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-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-wasi: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
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
Process completed with exit code 101.
Compile on wasm32-unknown-emscripten
The operation was canceled.
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.
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.
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.
IPFS Integration tests: transports/dns/src/lib.rs#L238
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
IPFS Integration tests: transports/dns/src/lib.rs#L234
method `dial` has 2 parameters but the declaration in trait `dial` has 3
IPFS Integration tests: transports/dns/src/lib.rs#L362
this method takes 2 arguments but 1 argument was supplied
IPFS Integration tests: transports/dns/src/lib.rs#L363
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.
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.
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 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.
clippy (nightly-2023-09-10): protocols/request-response/src/lib.rs#L775
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)
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-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-dns: transports/dns/src/lib.rs#L238
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-dns: transports/dns/src/lib.rs#L234
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-dns: transports/dns/src/lib.rs#L362
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dns: transports/dns/src/lib.rs#L363
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-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/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#L276
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-dcutr: transports/dns/src/lib.rs#L238
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-dcutr: transports/dns/src/lib.rs#L234
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-dcutr: transports/dns/src/lib.rs#L362
this method takes 2 arguments but 1 argument was supplied
Test libp2p-dcutr: transports/dns/src/lib.rs#L363
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
Process completed with exit code 101.
Test libp2p-core
Process completed with exit code 1.
Test libp2p-autonatv2
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-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.
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-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-perf: transports/dns/src/lib.rs#L238
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-perf: transports/dns/src/lib.rs#L234
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-perf: transports/dns/src/lib.rs#L362
this method takes 2 arguments but 1 argument was supplied
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: transports/dns/src/lib.rs#L363
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-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-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-pnet: transports/websocket/src/framed.rs#L156
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#L152
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-pnet: transports/websocket/src/framed.rs#L315
this method takes 2 arguments but 1 argument was supplied
Test libp2p-pnet: transports/websocket/src/framed.rs#L316
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-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-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-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.
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-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-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: 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-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-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.
Run all WASM tests
Process completed with exit code 1.
Test libp2p-websocket: transports/dns/src/lib.rs#L238
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Test libp2p-websocket: transports/dns/src/lib.rs#L234
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-websocket: transports/dns/src/lib.rs#L362
this method takes 2 arguments but 1 argument was supplied
Test libp2p-websocket: transports/websocket/src/framed.rs#L156
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-websocket: transports/websocket/src/lib.rs#L209
method `dial_as_listener` is not a member of trait `Transport`
Test libp2p-websocket: transports/websocket/src/lib.rs#L205
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-websocket: transports/websocket/src/framed.rs#L152
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Test libp2p-websocket: transports/websocket/src/framed.rs#L315
this method takes 2 arguments but 1 argument was supplied
Test libp2p-websocket: transports/websocket/src/framed.rs#L316
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: transports/dns/src/lib.rs#L363
no method named `dial_as_listener` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, T>` in the current scope
Test libp2p-server: 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-server
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