Skip to content

Merge remote-tracking branch 'TCLrainbow/main' #7

Merge remote-tracking branch 'TCLrainbow/main'

Merge remote-tracking branch 'TCLrainbow/main' #7

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

bot.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 11 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/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/ClanUtil.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/Clash/ClanUtil.cs
inspect: Bot/Clash/Donate25.cs#L33
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/coc-clan/coc-clan/Bot/Clash/Donate25.cs(33,958)
inspect: Bot/Discord/Cmds.cs#L79
"[SuggestVarOrType_SimpleTypes] Use explicit type (simple types)" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(79,2123)
inspect: Bot/Discord/Cmds.cs#L84
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(84,2286)
inspect: Bot/Discord/Cmds.cs#L85
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(85,2301)
inspect: Bot/Sql/Alt.cs#L15
"[UnusedMember.Global] Method 'GetOtherAlts' is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Alt.cs(15,301)
inspect: Bot/Sql/Alt.cs#L17
"[UnusedMethodReturnValue.Global] Method 'UpdateMain' return value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Alt.cs(17,404)
inspect: Bot/Sql/Alt.cs#L23
"[UnusedMethodReturnValue.Global] Method 'Delete' return value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Alt.cs(23,518)
inspect: Bot/Sql/Db.cs#L18
"[UnusedMethodReturnValue.Global] Method 'AddMembers' return value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Db.cs(18,460)
inspect: Bot/Sql/Db.cs#L25
"[UnusedMethodReturnValue.Global] Method 'DeleteMembers' return value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Db.cs(25,765)
inspect: Bot/Sql/Db.cs#L33
"[UnusedMethodReturnValue.Global] Method 'UpdateDonation' return value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Db.cs(33,1203)

Artifacts

Produced during runtime
Name Size
Bot Expired
8.41 MB