Skip to content

feat: Implement support for passing ITrackQueueItem for initial track #238

feat: Implement support for passing ITrackQueueItem for initial track

feat: Implement support for passing ITrackQueueItem for initial track #238

Triggered via push February 6, 2024 22:35
Status Failure
Total duration 53s
Artifacts

build.yml

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

Annotations

6 errors and 22 warnings
build (Debug): samples/Lavalink4NET.DSharpPlus.ExampleBot/Program.cs#L54
Cannot implicitly convert type 'Lavalink4NET.Players.TrackReference' to 'Lavalink4NET.Players.ITrackQueueItem'
build (Debug): samples/Lavalink4NET.DSharpPlus.ExampleBot/Program.cs#L54
Cannot implicitly convert type 'Lavalink4NET.Players.TrackReference' to 'Lavalink4NET.Players.ITrackQueueItem'
build (Debug)
Process completed with exit code 1.
build (Release): samples/Lavalink4NET.DSharpPlus.ExampleBot/Program.cs#L54
Cannot implicitly convert type 'Lavalink4NET.Players.TrackReference' to 'Lavalink4NET.Players.ITrackQueueItem'
build (Release): samples/Lavalink4NET.DSharpPlus.ExampleBot/Program.cs#L54
Cannot implicitly convert type 'Lavalink4NET.Players.TrackReference' to 'Lavalink4NET.Players.ITrackQueueItem'
build (Release)
Process completed with exit code 1.
build (Debug)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (Debug): src/Lavalink4NET.Rest/LavalinkApiClient.cs#L401
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): 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): 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): src/Lavalink4NET.Rest/LavalinkApiClient.cs#L401
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): 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 (Release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (Release): src/Lavalink4NET.Rest/LavalinkApiClient.cs#L401
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.
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#L401
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.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L83
Cannot convert null literal to non-nullable reference type.