Skip to content

Pubsub discovery

Pubsub discovery #261

Triggered via pull request October 15, 2024 15:59
Status Failure
Total duration 42s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
Test: src/libp2p/Libp2p.Protocols.Pubsub/PubsubRouter.Topics.cs#L121
Conversion of a stackalloc expression of type 'byte' to type 'byte[]' is not possible.
Test: src/libp2p/Libp2p.Protocols.Pubsub/PubsubRouter.Topics.cs#L121
Conversion of a stackalloc expression of type 'byte' to type 'byte[]' is not possible.
Test
Process completed with exit code 1.
Test: src/libp2p/Libp2p.Core/PeerFactory.cs#L190
Nullability of reference types in return type of 'Identity? LocalPeer.Identity.get' doesn't match implicitly implemented member 'Identity IPeer.Identity.get' (possibly because of nullability attributes).
Test: src/libp2p/Libp2p.Core/ChannelFactory.cs#L17
Non-nullable field '_factories' 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#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/ChannelFactory.cs#L30
Possible null reference argument for parameter 'key' in 'IChannelFactory IDictionary<IProtocol, IChannelFactory>.this[IProtocol key]'.
Test: src/libp2p/Libp2p.Core/ChannelFactory.cs#L52
Possible null reference argument for parameter 'key' in 'IChannelFactory IDictionary<IProtocol, IChannelFactory>.this[IProtocol key]'.
Test: src/libp2p/Libp2p.Core/ChannelFactory.cs#L74
Possible null reference argument for parameter 'key' in 'IChannelFactory IDictionary<IProtocol, IChannelFactory>.this[IProtocol key]'.
Test: src/libp2p/Libp2p.Core/ChannelFactory.cs#L93
Possible null reference argument for parameter 'key' in 'IChannelFactory IDictionary<IProtocol, IChannelFactory>.this[IProtocol key]'.
Test: src/libp2p/Libp2p.Core/PeerFactory.cs#L19
Non-nullable field '_protocol' 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/PeerFactory.cs#L19
Non-nullable field '_upChannelFactory' 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/PeerFactory.cs#L27
Dereference of a possibly null reference.