Skip to content

Update code for latest nightly builds #365

Update code for latest nightly builds

Update code for latest nightly builds #365

Triggered via pull request August 13, 2024 12:58
@NycroVNycroV
synchronize #167
NycroV:dev
Status Failure
Total duration 57s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 21 warnings
build (Debug): src/Lavalink4NET.DSharpPlus.Nightly/DiscordClientWrapper.cs#L147
'IShardOrchestrator' does not contain a definition for 'ConnectedShardCount' and no accessible extension method 'ConnectedShardCount' accepting a first argument of type 'IShardOrchestrator' could be found (are you missing a using directive or an assembly reference?)
build (Debug): src/Lavalink4NET.DSharpPlus.Nightly/DiscordClientWrapper.cs#L147
'IShardOrchestrator' does not contain a definition for 'ConnectedShardCount' and no accessible extension method 'ConnectedShardCount' accepting a first argument of type 'IShardOrchestrator' could be found (are you missing a using directive or an assembly reference?)
build (Debug)
Process completed with exit code 1.
build (Release)
The job was canceled because "Debug" failed.
build (Release): src/Lavalink4NET.DSharpPlus.Nightly/DiscordClientWrapper.cs#L147
'IShardOrchestrator' does not contain a definition for 'ConnectedShardCount' and no accessible extension method 'ConnectedShardCount' accepting a first argument of type 'IShardOrchestrator' could be found (are you missing a using directive or an assembly reference?)
build (Release): src/Lavalink4NET.DSharpPlus.Nightly/DiscordClientWrapper.cs#L147
'IShardOrchestrator' does not contain a definition for 'ConnectedShardCount' and no accessible extension method 'ConnectedShardCount' accepting a first argument of type 'IShardOrchestrator' could be found (are you missing a using directive or an assembly reference?)
build (Release)
The operation was canceled.
build (Debug)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L45
Argument 1 should be passed with 'ref' or 'in' keyword
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L67
Cannot convert null literal to non-nullable reference type.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L73
Cannot convert null literal to non-nullable reference type.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L78
Cannot convert null literal to non-nullable reference type.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L83
Cannot convert null literal to non-nullable reference type.
build (Debug): src/Lavalink4NET.Rest/LavalinkApiClient.cs#L441
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Lavalink4NET.Rest.Entities.Tracks.StrictSearchBehavior)5' is not covered.
build (Debug): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L15
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Debug): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L48
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Debug): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L111
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build (Debug): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L37
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build (Release): src/Lavalink4NET.Rest/LavalinkApiClient.cs#L441
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Lavalink4NET.Rest.Entities.Tracks.StrictSearchBehavior)5' is not covered.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L45
Argument 1 should be passed with 'ref' or 'in' keyword
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L67
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L73
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L78
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L83
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/LavalinkApiClient.cs#L441
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Lavalink4NET.Rest.Entities.Tracks.StrictSearchBehavior)5' is not covered.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L67
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L73
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L78
Cannot convert null literal to non-nullable reference type.