Merge pull request #38 from AssemblyAI/niels/update-samples #60
ci.yml
on: push
compile
27s
tests
2m 6s
publish
0s
Annotations
1 error and 24 warnings
tests
Process completed with exit code 1.
|
compile
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
compile
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
compile:
src/AssemblyAI/UserAgent.cs#L17
Possible null reference argument for parameter 'a' in 'Dictionary<string, UserAgentItem> UserAgent.Merge(Dictionary<string, UserAgentItem?> a, Dictionary<string, UserAgentItem?> b)'.
|
compile:
src/AssemblyAI/UserAgent.cs#L17
Possible null reference argument for parameter 'b' in 'Dictionary<string, UserAgentItem> UserAgent.Merge(Dictionary<string, UserAgentItem?> a, Dictionary<string, UserAgentItem?> b)'.
|
compile:
src/AssemblyAI/UserAgent.cs#L17
Nullability of reference types in value of type 'Dictionary<string, UserAgentItem>' doesn't match target type 'Dictionary<string, UserAgentItem?>'.
|
compile:
src/AssemblyAI/Realtime/WebsocketClient/Models/DisconnectionInfo.cs#L66
Possible null reference argument for parameter 'closeStatusDescription' in 'DisconnectionInfo.DisconnectionInfo(DisconnectionType type, WebSocketCloseStatus? closeStatus, string closeStatusDescription, string subProtocol, Exception exception)'.
|
compile:
src/AssemblyAI/Realtime/WebsocketClient/Models/DisconnectionInfo.cs#L67
Possible null reference argument for parameter 'subProtocol' in 'DisconnectionInfo.DisconnectionInfo(DisconnectionType type, WebSocketCloseStatus? closeStatus, string closeStatusDescription, string subProtocol, Exception exception)'.
|
compile:
src/AssemblyAI/UserAgent.cs#L29
Dereference of a possibly null reference.
|
compile:
src/AssemblyAI/Core/RawClient.cs#L68
Dereference of a possibly null reference.
|
compile:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L42
Possible null reference argument for parameter 'clientFactory' in 'Func<Uri, CancellationToken, Task<WebSocket>> WebsocketClient.GetClientFactory(Func<ClientWebSocket> clientFactory)'.
|
compile:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L42
Cannot convert null literal to non-nullable reference type.
|
compile:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L53
Possible null reference argument for parameter 'clientFactory' in 'Func<Uri, CancellationToken, Task<WebSocket>> WebsocketClient.GetClientFactory(Func<ClientWebSocket> clientFactory)'.
|
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests:
src/AssemblyAI/UserAgent.cs#L17
Possible null reference argument for parameter 'a' in 'Dictionary<string, UserAgentItem> UserAgent.Merge(Dictionary<string, UserAgentItem?> a, Dictionary<string, UserAgentItem?> b)'.
|
tests:
src/AssemblyAI/UserAgent.cs#L17
Possible null reference argument for parameter 'b' in 'Dictionary<string, UserAgentItem> UserAgent.Merge(Dictionary<string, UserAgentItem?> a, Dictionary<string, UserAgentItem?> b)'.
|
tests:
src/AssemblyAI/UserAgent.cs#L17
Nullability of reference types in value of type 'Dictionary<string, UserAgentItem>' doesn't match target type 'Dictionary<string, UserAgentItem?>'.
|
tests:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L42
Possible null reference argument for parameter 'clientFactory' in 'Func<Uri, CancellationToken, Task<WebSocket>> WebsocketClient.GetClientFactory(Func<ClientWebSocket> clientFactory)'.
|
tests:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L42
Cannot convert null literal to non-nullable reference type.
|
tests:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L53
Possible null reference argument for parameter 'clientFactory' in 'Func<Uri, CancellationToken, Task<WebSocket>> WebsocketClient.GetClientFactory(Func<ClientWebSocket> clientFactory)'.
|
tests:
src/AssemblyAI/UserAgent.cs#L29
Dereference of a possibly null reference.
|
tests:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L63
Non-nullable field '_lastChanceTimer' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
tests:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L63
Non-nullable field '_errorReconnectTimer' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
tests:
src/AssemblyAI/Realtime/WebsocketClient/WebsocketClient.cs#L63
Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|