Skip to content

Add session

Add session #288

Triggered via pull request December 16, 2024 17:24
@flcl42flcl42
synchronize #92
add-session
Status Failure
Total duration 2m 2s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 21 warnings
Test
Process completed with exit code 1.
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test: src/libp2p/Libp2p.Core/Stream.cs#L17
Non-nullable field 'logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'LocalPeer peer' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Test: src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'ProtocolRef proto' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Test: src/libp2p/Libp2p.Core/LocalPeer.Session.cs#L44
Converting null literal or possible null value to non-nullable type.
Test: src/libp2p/Libp2p.Core/LocalPeer.Session.cs#L44
Possible null reference return.
Test: src/libp2p/Libp2p.Core/Stream.cs#L11
The field 'ChannelStream.logger' is never used
Test: src/libp2p/Libp2p.Protocols.IpTcp/IpTcpProtocol.cs#L80
The variable 'e' is declared but never used
Test: src/libp2p/Libp2p.Protocols.IpTcp/IpTcpProtocol.cs#L100
The variable 'e' is declared but never used
Test: src/libp2p/Libp2p.Core.TestsBase/LocalPeerStub.cs#L44
Nullability of reference types in type of parameter 'addrs' of 'Task LocalPeerStub.StartListenAsync(Multiaddress[] addrs, CancellationToken token = default(CancellationToken))' doesn't match implicitly implemented member 'Task ILocalPeer.StartListenAsync(Multiaddress[]? addrs = null, CancellationToken token = default(CancellationToken))' (possibly because of nullability attributes).
Test: src/libp2p/Libp2p.Core.TestsBase/E2e/TestBuilder.cs#L28
Parameter 'PeerStore peerStore' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Test: src/libp2p/Libp2p.Core/Stream.cs#L17
Non-nullable field 'logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'LocalPeer peer' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Test: src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'ProtocolRef proto' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Test: src/libp2p/Libp2p.Core/LocalPeer.Session.cs#L44
Converting null literal or possible null value to non-nullable type.
Test: src/libp2p/Libp2p.Core/LocalPeer.Session.cs#L44
Possible null reference return.
Test: src/libp2p/Libp2p.Core/Stream.cs#L11
The field 'ChannelStream.logger' is never used
Test: src/libp2p/Libp2p.Protocols.Quic/QuicProtocol.cs#L129
Possible null reference argument for parameter 'certificate' in 'bool QuicProtocol.VerifyRemoteCertificate(Multiaddress remoteAddr, X509Certificate certificate)'.
Test: src/libp2p/Libp2p.Protocols.Noise/NoiseProtocol.cs#L19
Parameter 'multiplexerSettings' is unread.
Test: src/libp2p/Libp2p.Protocols.Yamux/YamuxProtocol.cs#L194
Converting null literal or possible null value to non-nullable type.
Test: src/libp2p/Libp2p.Protocols.Yamux/YamuxProtocol.cs#L285
The variable 'e' is declared but never used