Skip to content

cmds/helpverify: fix formatting error #20

cmds/helpverify: fix formatting error

cmds/helpverify: fix formatting error #20

Re-run triggered November 7, 2023 18:04
Status Success
Total duration 32s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: Settings/ServerApiSettings.cs#L5
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/ServerApiSettings.cs#L6
Non-nullable property 'Username' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/ServerApiSettings.cs#L7
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/DiscordSettings.cs#L32
Non-nullable property 'Token' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/DiscordSettings.cs#L34
Non-nullable property 'Roles' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/DiscordSettings.cs#L35
Non-nullable property 'Channels' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Program.cs#L33
The type 'app.Services.RunnerService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'app.Services.RunnerService?' doesn't match 'class' constraint.
build: Program.cs#L33
The type 'app.Services.RunnerService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'app.Services.RunnerService?' doesn't match constraint type 'Microsoft.Extensions.Hosting.IHostedService'.
build: Program.cs#L33
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, RunnerService?>' (possibly because of nullability attributes).
build: Program.cs#L48
Dereference of a possibly null reference.