Skip to content

Make test explorer work with fsac tests and fix an expecto test detec… #1827

Make test explorer work with fsac tests and fix an expecto test detec…

Make test explorer work with fsac tests and fix an expecto test detec… #1827

Triggered via push September 17, 2023 19:26
Status Failure
Total duration 30m 29s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

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

Annotations

10 errors
Build on ubuntu-latest for 6.0 stable
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.NamedText.empty file features.tests.no parsing/checking errors: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Timeout (00:02:00) at Expecto.TestModule.catchHandler@1-1(Int32 timeout, Exception _arg3) at Expecto.TestModule.timeoutAsync@127-9.Invoke(Exception exn) at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.NamedText.Unused Declarations.project.used private function variable: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
There should be no unused value diagnostic at cursor position. Expected list to have length 0, but length was 1. Seq: [|{ Range = { Start = { Line = 2 Character = 12 } End = { Line = 2 Character = 13 } } Severity = Some Hint Code = Some "FSAC0003" CodeDescription = None Source = Some "FSAC" Message = "This value is unused" RelatedInformation = Some [||] Tags = Some [|Unnecessary|] Data = None }|] at FsAutoComplete.Tests.UnusedDeclarationsTests.checkUsageAt@35-2.Invoke(Document _arg2) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/UnsedDeclarationsTests.fs:line 53 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 --- End of stack trace from previous location --- at Microsoft.FSharp.Control.AsyncResult`1.Commit() in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 455
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.Go to definition tests.Untitled GoTo Tests.can go to variable declaration: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Request failed: { Code = -32603 Message = "No line in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/bin/Release/net6.0/__Instrumented_FsAutoComplete.Tests.Lsp/Untitled-0.fsx at position (3,8)" Data = None } at FsAutoComplete.Tests.GoTo.untitledGotoTests@576-5.Invoke(String msg) at FsAutoComplete.Tests.GoTo.untitledGotoTests@575-4.Invoke(FSharpResult`2 res) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/GoToTests.fs:line 576 at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528 at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.clo@1085-116.Invoke(AsyncActivation`1 ctxt) at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
Build on macos-latest for 6.0 stable
Process completed with exit code 1.
Build on macos-latest for 7.0 preview
The job running on runner GitHub Actions 4 has exceeded the maximum execution time of 30 minutes.
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.NamedText.empty file features.tests.no parsing/checking errors: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Timeout (00:02:00) at Expecto.TestModule.catchHandler@1-1(Int32 timeout, Exception _arg3) at Expecto.TestModule.timeoutAsync@127-9.Invoke(Exception exn) at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
Build on macos-latest for 7.0 preview
The operation was canceled.