Skip to content

feat(autonatv2): Implement autonat v2 #92

feat(autonatv2): Implement autonat v2

feat(autonatv2): Implement autonat v2 #92

Triggered via pull request December 12, 2023 14:58
Status Failure
Total duration 4m 18s
Artifacts

ci.yml

on: pull_request
gather_published_crates
10s
gather_published_crates
Run all WASM tests
1m 26s
Run all WASM tests
Compile with MSRV
21s
Compile with MSRV
Check rustdoc intra-doc links
26s
Check rustdoc intra-doc links
IPFS Integration tests
21s
IPFS Integration tests
examples
37s
examples
semver
4m 4s
semver
rustfmt
16s
rustfmt
manifest_lint
14s
manifest_lint
Check for changes in proto files
13s
Check for changes in proto files
Ensure that `Cargo.lock` is up-to-date
16s
Ensure that `Cargo.lock` is up-to-date
cargo-deny
27s
cargo-deny
Matrix: clippy
Matrix: cross
Matrix: feature_matrix
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

172 errors
Check for changes in proto files
Process completed with exit code 1.
rustfmt: swarm/src/lib.rs#L595
Diff in /home/runner/work/rust-libp2p/rust-libp2p/swarm/src/lib.rs
rustfmt: swarm/src/lib.rs#L606
Diff in /home/runner/work/rust-libp2p/rust-libp2p/swarm/src/lib.rs
rustfmt: swarm/src/lib.rs#L1042
Diff in /home/runner/work/rust-libp2p/rust-libp2p/swarm/src/lib.rs
rustfmt: swarm/src/lib.rs#L2131
Diff in /home/runner/work/rust-libp2p/rust-libp2p/swarm/src/lib.rs
rustfmt: swarm/src/lib.rs#L2199
Diff in /home/runner/work/rust-libp2p/rust-libp2p/swarm/src/lib.rs
rustfmt: swarm/src/lib.rs#L2320
Diff in /home/runner/work/rust-libp2p/rust-libp2p/swarm/src/lib.rs
rustfmt: transports/tcp/src/lib.rs#L802
Diff in /home/runner/work/rust-libp2p/rust-libp2p/transports/tcp/src/lib.rs
rustfmt: transports/tcp/src/lib.rs#L1275
Diff in /home/runner/work/rust-libp2p/rust-libp2p/transports/tcp/src/lib.rs
rustfmt: transports/tcp/src/lib.rs#L1312
Diff in /home/runner/work/rust-libp2p/rust-libp2p/transports/tcp/src/lib.rs
rustfmt
Process completed with exit code 1.
Compile with select features (mdns tcp dns tokio): 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 tokio): 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#L238
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
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 tokio): 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 tokio): 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)
Process completed with exit code 101.
Compile with select features (mdns tcp dns tokio)
Process completed with exit code 101.
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-unknown-emscripten
Process completed with exit code 101.
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/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.
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.
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/websocket-websys/src/lib.rs#L89
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 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/quic/src/transport.rs#L305
method `dial_as_listener` is not a member of trait `Transport`
Compile with MSRV: transports/websocket-websys/src/lib.rs#L104
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: transports/websocket-websys/src/lib.rs#L89
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile with MSRV: transports/quic/src/transport.rs#L259
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Compile with MSRV
Process completed with exit code 101.
clippy (nightly-2023-09-10): core/src/transport/global_only.rs#L252
manual `RangeInclusive::contains` implementation
clippy (nightly-2023-09-10)
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: transports/webtransport-websys/src/transport.rs#L86
method `dial_as_listener` is not a member of trait `libp2p_core::Transport`
Check rustdoc intra-doc links: transports/webtransport-websys/src/transport.rs#L65
method `dial` has 2 parameters but the declaration in trait `dial` has 3
Check rustdoc intra-doc links
Process completed with exit code 101.
Compile on x86_64-pc-windows-msvc
The operation was canceled.
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.
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.
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: 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
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-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-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-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-autonatv2: protocols/autonatv2/src/server/behaviour.rs#L1
unused import: `std::fmt::Debug`
Test libp2p-autonatv2: protocols/autonatv2/src/server/handler/dial_back.rs#L18
unused import: `DIAL_BACK_PROTOCOL_NAME`
Test libp2p-autonatv2: protocols/autonatv2/src/server/handler/dial_request.rs#L7
unused import: `futures::future::FusedFuture`
Test libp2p-autonatv2
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-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-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-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: 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-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-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-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-pnet
Process completed with exit code 101.
Test libp2p-mdns
Process completed with exit code 101.
Test libp2p-tcp: transports/tcp/src/lib.rs#L1093
failed to resolve: use of undeclared crate or module `env_logger`
Test libp2p-tcp
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-core
Process completed with exit code 1.
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-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-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/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: 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-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-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.
Run all WASM tests
Process completed with exit code 1.
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: 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-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-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/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-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
Process completed with exit code 101.
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/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/dns/src/lib.rs#L362
this method takes 2 arguments but 1 argument was supplied
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-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-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-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.
semver
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1