Skip to content

Fix the format issue in the CI #2069

Fix the format issue in the CI

Fix the format issue in the CI #2069

Triggered via pull request January 14, 2024 21:15
Status Failure
Total duration 22m 0s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

6 errors
FSAC.lsp.Ionide WorkspaceLoader.CodeFix-tests.ReplaceWithSuggestion.can change namespace in open: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Diagnostic with code 39 should suggest name. There isn't any element which satisfies given assertion <fun:validateDiags@2685-3>. at FsAutoComplete.Tests.CodeFixTests.Tests.validateDiags@2681-2.Invoke(Diagnostic[] diags) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\CodeFixTests\Tests.fs:line 2683 at Utils.CursorbasedTests.CodeFix.checkFixAt@44.Invoke(Unit unitVar) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\Utils\CursorbasedTests.fs:line 45 at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
Build on windows-latest for 6.0
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.CodeFix-tests.ReplaceWithSuggestion.can change namespace in open: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Diagnostic with code 39 should suggest name. There isn't any element which satisfies given assertion <fun:validateDiags@2685-3>. at FsAutoComplete.Tests.CodeFixTests.Tests.validateDiags@2681-2.Invoke(Diagnostic[] diags) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\CodeFixTests\Tests.fs:line 2683 at Utils.CursorbasedTests.CodeFix.checkFixAt@44.Invoke(Unit unitVar) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\Utils\CursorbasedTests.fs:line 45 at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on windows-latest for 8.0
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.CodeFix-tests.RenameParamToMatchSignature.can rename parameter with backticks in signature in F# function: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
No matching CodeAction. Available code actions were: [|{ Title = "Add explicit type annotation" Kind = Some "refactor" Diagnostics = None IsPreferred = None Disabled = None Edit = Some { Changes = None DocumentChanges = Some [|{ TextDocument = { Uri = "file:///Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/TestCases/CodeFixTests/RenameParamToMatchSignature/Code.fs" Version = Some 0 } Edits = [|{ Range = { Start = { Line = 2 Character = 6 } End = { Line = 2 Character = 6 } } NewText = "(" }; { Range = { Start = { Line = 2 Character = 8 } End = { Line = 2 Character = 8 } } NewText = ": " }; { Range = { Start = { Line = 2 Character = 8 } End = { Line = 2 Character = 8 } } NewText = "int" }; { Range = { Start = { Line = 2 Character = 8 } End = { Line = 2 Character = 8 } } NewText = ")" }|] }|] } Command = None Data = None }; { Title = "Generate placeholder XML documentation" Kind = Some "refactor" Diagnostics = None IsPreferred = None Disabled = None Edit = Some { Changes = None DocumentChanges = Some [|{ TextDocument = { Uri = "file:///Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/TestCases/CodeFixTests/RenameParamToMatchSignature/Code.fs" Version = Some 0 } Edits = [|{ Range = { Start = { Line = 2 Character = 0 } End = { Line = 2 Character = 0 } } NewText = "/// <summary></summary> /// <returns></returns> " }|] }|] } Command = None Data = None }; { Title = "Replace with 'value1'" Kind = Some "quickfix" Diagnostics = Some [|{ Range = { Start = { Line = 2 Character = 6 } End = { Line = 2 Character = 8 } } Severity = Some Warning Code = Some "3218" CodeDescription = Some { Href = Some https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/compiler-messages/fs3218 } Source = Some "F# Compiler" Message = "The argument names in the signature 'value1' and implementation 'v1' do not match. The argument name from the signature file will be used. This may cause problems when debugging or profiling." RelatedInformation = Some [||] Tags = None Data = None }|] IsPreferred = None Disabled = None Edit = Some { Changes = None DocumentChanges = Some [|{ TextDocument = { Uri = "file:///Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/TestCases/CodeFixTests/RenameParamToMatchSignature/Code.fs" Version = Some 0 } Edits = [|{ Range = { Start = { Line = 2 Character = 6 } End = { Line = 2
Build on macos-latest for 8.0
Process completed with exit code 1.