Skip to content

Use embed UI

Use embed UI #6

Triggered via push February 21, 2024 14:42
Status Failure
Total duration 58s
Artifacts 1

bot.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 13 warnings, and 10 notices
inspect
Issues found.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: Bot/Coc.cs#L165
Private member 'Coc.Donate25Async' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
inspect
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.AddAccessibilityModifiers.CSharpAddAccessibilityModifiersDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0040" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.AddRequiredParentheses.CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0048" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.AddRequiredParentheses.CSharpAddRequiredPatternParenthesesDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0048" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.ForEachCast.CSharpForEachCastDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0220" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.MakeFieldReadonly.CSharpMakeFieldReadonlyDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0044" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.MatchFolderAndNamespace.CSharpMatchFolderAndNamespaceDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0130" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.RemoveUnnecessaryNullableDirective.CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0240" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.UseCoalesceExpression.CSharpUseCoalesceExpressionForIfNullStatementCheckDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0270" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.ConvertNamespace.ConvertToBlockScopedNamespaceDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0160" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L1
"[AD0001] Analyzer 'Microsoft.CodeAnalysis.CSharp.ConvertNamespace.ConvertToFileScopedNamespaceDiagnosticAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'.'. System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.DiagnosticSeverity Microsoft.CodeAnalysis.Diagnostics.AnalysisContext.get_MinimumReportedSeverity()'. at Microsoft.CodeAnalysis.CodeStyle.AbstractBuiltInCodeStyleDiagnosticAnalyzer.Initialize(AnalysisContext context) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c.<ExecuteInitializeMethod>b__37_0(ValueTuple`2 data) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 200 at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1177 ----- Suppress the following diagnostics to disable this analyzer: IDE0161" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs
inspect: Bot/Coc.cs#L31
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(31,1043)
inspect: Bot/Coc.cs#L33
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(33,1133)
inspect: Bot/Coc.cs#L43
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(43,1521)
inspect: Bot/Coc.cs#L51
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(51,1709)
inspect: Bot/Coc.cs#L68
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(68,2228)
inspect: Bot/Coc.cs#L68
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(68,2252)
inspect: Bot/Coc.cs#L142
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(142,4524)
inspect: Bot/Coc.cs#L156
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(156,5059)
inspect: Bot/Dc/Cmds.cs#L10
"[UnusedType.Global] Class 'Cmds' is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Dc/Cmds.cs(10,189)
inspect: Bot/Dc/Cmds.cs#L14
"[UnusedMember.Global] Method 'ShutdownAsync' is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Dc/Cmds.cs(14,314)

Artifacts

Produced during runtime
Name Size
Bot Expired
8.37 MB