Skip to content

C# bot

C# bot #65

Re-run triggered February 23, 2024 18:12
Status Failure
Total duration 1m 12s
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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/Bot/Clash/Donate25.cs(33,954)
inspect: Bot/Sql/Alt.cs#L15
"[UnusedMember.Global] Method 'GetOtherAlts' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/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/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(18,460)
inspect: Bot/Sql/Db.cs#L24
"[UnusedMethodReturnValue.Global] Method 'DeleteMembers' return value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(24,651)
inspect: Bot/Sql/Db.cs#L32
"[UnusedMethodReturnValue.Global] Method 'UpdateMain' return value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(32,1069)
inspect: Bot/Sql/Db.cs#L34
"[UnusedMember.Global] Method 'TryGetAlt' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(34,1149)
inspect: Bot/Sql/Main.cs#L21
"[UnusedMethodReturnValue.Global] Method 'Delete' return value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Main.cs(21,359)
inspect: Bot/Sql/Main.cs#L23
"[UnusedMethodReturnValue.Global] Method 'Insert' return value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Main.cs(23,415)

Artifacts

Produced during runtime
Name Size
Bot Expired
8.41 MB