Skip to content

refactor(transport-interop): prefer project references and standardize config #438

refactor(transport-interop): prefer project references and standardize config

refactor(transport-interop): prefer project references and standardize config #438

Re-run triggered February 2, 2026 18:43
Status Failure
Total duration 56s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
Test
Process completed with exit code 2.
Test: src/libp2p/Libp2p.Core.Tests/VarintTests.cs#L9
The actual value should not be a constant - perhaps the actual value and the expected value have switched places (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2007.md)
Test: src/libp2p/Libp2p.Core.Tests/VarintTests.cs#L8
The actual value should not be a constant - perhaps the actual value and the expected value have switched places (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2007.md)
Test: src/libp2p/Libp2p.Core.TestsBase/E2e/TestBuilder.cs#L29
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.TestsBase/LocalPeerStub.cs#L45
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/Stream.cs#L11
The field 'ChannelStream.logger' is never used
Test: src/libp2p/Libp2p.Core/TransportContext.cs#L28
Parameter 'Activity? context' 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#L28
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/TransportContext.cs#L28
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/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/Context/NewSessionContext.cs#L19
'NewSessionContext.Activity' hides inherited member 'ContextBase.Activity'. Use the new keyword if hiding was intended.
Test: src/libp2p/Libp2p.Protocols.Pubsub/PubsubRouter.cs#L223
Dereference of a possibly null reference.
Test: src/libp2p/Libp2p.Protocols.Noise/NoiseProtocol.cs#L20
Parameter 'multiplexerSettings' is unread.
Test: src/libp2p/Libp2p.Core.Benchmarks/Benchmarks.cs#L27
Non-nullable field 'revChan' 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.Benchmarks/Benchmarks.cs#L26
Non-nullable field 'chan' 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/Stream.cs#L11
The field 'ChannelStream.logger' is never used
Test: src/libp2p/Libp2p.Core/TransportContext.cs#L28
Parameter 'Activity? context' 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#L28
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/TransportContext.cs#L28
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/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/Context/NewSessionContext.cs#L19
'NewSessionContext.Activity' hides inherited member 'ContextBase.Activity'. Use the new keyword if hiding was intended.