Skip to content

Optimize muxer selection along with its tests #170

Optimize muxer selection along with its tests

Optimize muxer selection along with its tests #170

Triggered via pull request August 16, 2024 23:36
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 1.
Test: src/libp2p/Libp2p.Core/PeerFactory.cs#L189
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/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/PeerContext.cs#L11
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test: src/libp2p/Libp2p.Core/PeerContext.cs#L12
Non-nullable property 'LocalPeer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test: src/libp2p/Libp2p.Core/PeerContext.cs#L13
Non-nullable property 'RemotePeer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test: src/libp2p/Libp2p.Core/PeerContext.cs#L14
Non-nullable property 'RemoteEndpoint' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test: src/libp2p/Libp2p.Core/PeerFactory.cs#L189
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/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/PeerContext.cs#L11
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test: src/libp2p/Libp2p.Core/PeerContext.cs#L12
Non-nullable property 'LocalPeer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test: src/libp2p/Libp2p.Core/PeerContext.cs#L13
Non-nullable property 'RemotePeer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test: src/libp2p/Libp2p.Core/PeerContext.cs#L14
Non-nullable property 'RemoteEndpoint' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.