Skip to content

[CI] New build action #1

[CI] New build action

[CI] New build action #1

Triggered via pull request February 13, 2024 20:54
Status Failure
Total duration 3m 9s
Artifacts

dotnet.yml

on: pull_request
Build and Test on Linux
1m 3s
Build and Test on Linux
Build, Test and Pack on Windows
2m 56s
Build, Test and Pack on Windows
Windows Deploy
0s
Windows Deploy
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
Build and Test on Linux: src/Discord.Net.Interactions/Utilities/ApplicationCommandRestUtil.cs#L166
'ModuleInfo.DefaultPermission' is obsolete: 'To be deprecated soon, use IsEnabledInDm and DefaultMemberPermissions instead.'
Build and Test on Linux: src/Discord.Net.Interactions/Info/Commands/ContextCommands/ContextCommandInfo.cs#L42
'ContextCommandBuilder.DefaultPermission' is obsolete: 'To be deprecated soon, use IsEnabledInDm and DefaultMemberPermissions instead.'
Build and Test on Linux: src/Discord.Net.Interactions/Info/Commands/SlashCommandInfo.cs#L52
'SlashCommandBuilder.DefaultPermission' is obsolete: 'To be deprecated soon, use IsEnabledInDm and DefaultMemberPermissions instead.'
Build and Test on Linux: src/Discord.Net.Interactions/Info/ModuleInfo.cs#L128
'ModuleInfo.DefaultPermission' is obsolete: 'To be deprecated soon, use IsEnabledInDm and DefaultMemberPermissions instead.'
Build and Test on Linux: src/Discord.Net.Interactions/Info/ModuleInfo.cs#L128
'ModuleBuilder.DefaultPermission' is obsolete: 'To be deprecated soon, use IsEnabledInDm and DefaultMemberPermissions instead.'
Build and Test on Linux: src/Discord.Net.Interactions/Builders/ModuleClassBuilder.cs#L83
'DefaultPermissionAttribute' is obsolete: 'Soon to be deprecated, use Permissions-v2 attributes like EnabledInDmAttribute and DefaultMemberPermissionsAttribute'
Build and Test on Linux: src/Discord.Net.Interactions/Builders/ModuleClassBuilder.cs#L85
'ModuleBuilder.DefaultPermission' is obsolete: 'To be deprecated soon, use IsEnabledInDm and DefaultMemberPermissions instead.'
Build and Test on Linux: src/Discord.Net.Interactions/Builders/ModuleClassBuilder.cs#L180
'DefaultPermissionAttribute' is obsolete: 'Soon to be deprecated, use Permissions-v2 attributes like EnabledInDmAttribute and DefaultMemberPermissionsAttribute'
Build and Test on Linux: src/Discord.Net.Interactions/Builders/ModuleClassBuilder.cs#L182
'SlashCommandBuilder.DefaultPermission' is obsolete: 'To be deprecated soon, use IsEnabledInDm and DefaultMemberPermissions instead.'
Build and Test on Linux: src/Discord.Net.Interactions/Builders/ModuleClassBuilder.cs#L235
'DefaultPermissionAttribute' is obsolete: 'Soon to be deprecated, use Permissions-v2 attributes like EnabledInDmAttribute and DefaultMemberPermissionsAttribute'
Build, Test and Pack on Windows
Process completed with exit code 1.
Build and Test on Linux
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build and Test on Linux
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build and Test on Linux: samples/InteractionFramework/InteractionHandler.cs#L42
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 and Test on Linux: samples/InteractionFramework/Modules/ExampleModule.cs#L64
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 and Test on Linux: samples/InteractionFramework/Program.cs#L54
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 and Test on Linux: samples/InteractionFramework/InteractionHandler.cs#L83
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 and Test on Linux: src/Discord.Net.Analyzers/GuildAccessAnalyzer.cs#L21
The diagnostic title should not contain a period, nor any line return character, nor any leading or trailing whitespaces
Build and Test on Linux: src/Discord.Net.Analyzers/GuildAccessAnalyzer.cs#L21
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
Build and Test on Linux: src/Discord.Net.Analyzers/GuildAccessAnalyzer.cs#L21
The diagnostic title should not contain a period, nor any line return character, nor any leading or trailing whitespaces
Build and Test on Linux: src/Discord.Net.Analyzers/GuildAccessAnalyzer.cs#L21
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
Build, Test and Pack on Windows
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.