Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.5.0 to 4.7.0 #524

Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.5.0 to 4.7.0

b7cf4ea
Select commit
Loading
Failed to load commit list.
Closed

Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.5.0 to 4.7.0 #524

Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.5.0 to 4.7.0
b7cf4ea
Select commit
Loading
Failed to load commit list.
Azure Pipelines / IDisposableAnalyzers-CI failed Sep 19, 2023 in 13m 55s

Build #20230919.3 had test failures

Details

Tests

  • Failed: 26 (0.79%, 0 new, 26 recurring)
  • Passed: 3,240 (98.27%)
  • Other: 31 (0.94%)
  • Total: 3,297

Annotations

Check failure on line 2034 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IDisposableAnalyzers-CI

Build log #L2034

Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 2039 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IDisposableAnalyzers-CI

Build log #L2039

Dotnet command failed with non-zero exit code on the following projects : [ '' ]

Check failure on line 1 in IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Valid<AssignmentAnalyzer>.DiscardCachedOutParameter("out FileStream _")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IDisposableAnalyzers-CI

IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Valid<AssignmentAnalyzer>.DiscardCachedOutParameter("out FileStream _")

Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8601 Possible null reference assignment.
  at line 11 and character 53 in file C.cs | public static bool M(int i) => TryGet(i, out ↓FileStream _);
Raw output
   at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
   at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IReadOnlyList`1 diagnostics, AllowedCompilerDiagnostics allowedCompilerDiagnostics)
   at Gu.Roslyn.Asserts.RoslynAssert.Valid(DiagnosticAnalyzer analyzer, String code, Settings settings)
   at IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Valid`1.DiscardCachedOutParameter(String expression) in D:\a\1\s\IDisposableAnalyzers.Test\IDISP001DisposeCreatedTests\Valid.Cached.cs:line 65

Check failure on line 1 in IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Diagnostics+OutParameter.DiscardedFileOpenReadStatementBody("out FileStream _")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IDisposableAnalyzers-CI

IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Diagnostics+OutParameter.DiscardedFileOpenReadStatementBody("out FileStream _")

Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8601 Possible null reference assignment.
  at line 10 and character 38 in file C.cs | return TryM(fileName, out ↓FileStream _);
Raw output
   at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
   at Gu.Roslyn.Asserts.RoslynAssert.Diagnostics(DiagnosticAnalyzer analyzer, DiagnosticsAndSources diagnosticsAndSources, Settings settings)
   at Gu.Roslyn.Asserts.RoslynAssert.Diagnostics(DiagnosticAnalyzer analyzer, ExpectedDiagnostic expectedDiagnostic, String code, Settings settings)
   at IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests.Diagnostics.OutParameter.DiscardedFileOpenReadStatementBody(String expression) in D:\a\1\s\IDisposableAnalyzers.Test\IDISP001DisposeCreatedTests\Diagnostics.OutParameter.cs:line 113

Check failure on line 1 in IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(IDisposableAnalyzers.SemanticModelCacheAnalyzer)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IDisposableAnalyzers-CI

IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(IDisposableAnalyzers.SemanticModelCacheAnalyzer)

Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8601 Possible null reference assignment.
  at line 97 and character 52 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.Statements.TryFirstOfType(out ↓ReturnStatementSyntax _))
CS8601 Possible null reference assignment.
  at line 107 and character 60 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.SharesAncestor(disposable, out ↓MemberDeclarationSyntax _);
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCreated(ExpressionSyntax expression)'.
  at line 29 and character 54 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | if (walker.Values.TryFirst(x => IsCreated(↓x), out _) &&
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCachedOrInjected(ExpressionSyntax expression)'.
  at line 30 and character 63 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | walker.Values.TryFirst(x => IsCachedOrInjected(↓x) && !IsNop(x), out _))
Raw output
   at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
   at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IReadOnlyList`1 diagnostics, AllowedCompilerDiagnostics allowedCompilerDiagnostics)
   at Gu.Roslyn.Asserts.RoslynAssert.Valid(DiagnosticAnalyzer analyzer, Solution solution)
   at IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(DiagnosticAnalyzer analyzer) in D:\a\1\s\IDisposableAnalyzers.Test\AllAnalyzersValid.cs:line 57

Check failure on line 1 in IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(IDisposableAnalyzers.ArgumentAnalyzer)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IDisposableAnalyzers-CI

IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(IDisposableAnalyzers.ArgumentAnalyzer)

Gu.Roslyn.Asserts.AssertException : Expected no diagnostics, found:
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCreated(ExpressionSyntax expression)'.
  at line 29 and character 54 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | if (walker.Values.TryFirst(x => IsCreated(↓x), out _) &&
CS8604 Possible null reference argument for parameter 'expression' in 'bool IsCachedOrInjected(ExpressionSyntax expression)'.
  at line 30 and character 63 in file D:\a\1\s\IDisposableAnalyzers\Analyzers\MethodReturnValuesAnalyzer.cs | walker.Values.TryFirst(x => IsCachedOrInjected(↓x) && !IsNop(x), out _))
CS8601 Possible null reference assignment.
  at line 97 and character 52 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.Statements.TryFirstOfType(out ↓ReturnStatementSyntax _))
CS8601 Possible null reference assignment.
  at line 107 and character 60 in file D:\a\1\s\IDisposableAnalyzers\Helpers\Disposable.IsCreation.cs | block.SharesAncestor(disposable, out ↓MemberDeclarationSyntax _);
Raw output
   at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IEnumerable`1 diagnostics)
   at Gu.Roslyn.Asserts.RoslynAssert.NoDiagnostics(IReadOnlyList`1 diagnostics, AllowedCompilerDiagnostics allowedCompilerDiagnostics)
   at Gu.Roslyn.Asserts.RoslynAssert.Valid(DiagnosticAnalyzer analyzer, Solution solution)
   at IDisposableAnalyzers.Test.AllAnalyzersValid.AnalyzersProject(DiagnosticAnalyzer analyzer) in D:\a\1\s\IDisposableAnalyzers.Test\AllAnalyzersValid.cs:line 57