Skip to content

Add constraints to return types inner generics #2474

Add constraints to return types inner generics

Add constraints to return types inner generics #2474

Triggered via pull request January 14, 2025 04:36
Status Failure
Total duration 18m 48s
Artifacts

build.yml

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

Annotations

37 errors and 5 warnings
analyze
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
FSAC.lsp.Ionide WorkspaceLoader.BackgroundCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on ubuntu-latest for 8.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on ubuntu-latest for 8.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on ubuntu-latest for 8.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.TransparentCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on ubuntu-latest for 8.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
Build on ubuntu-latest for 9.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.BackgroundCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on ubuntu-latest for 9.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on ubuntu-latest for 9.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.TransparentCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on ubuntu-latest for 9.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.BackgroundCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 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 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on windows-latest for 8.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on windows-latest for 9.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.BackgroundCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 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 9.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on windows-latest for 9.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.TransparentCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 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 9.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.TransparentCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on macos-13 for 8.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
Build on macos-13 for 8.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
Build on windows-latest for 8.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.TransparentCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in D:\a\FsAutoComplete\FsAutoComplete\test\FsAutoComplete.Tests.Lsp\CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 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 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.BackgroundCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on macos-13 for 8.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on macos-13 for 8.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.TransparentCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on macos-13 for 9.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
Build on macos-13 for 9.0 WorkspaceLoader TransparentCompiler
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.BackgroundCompiler.tooltip evaluation.tests.tooltip for line 91 character 25 should be 'static member GetAwaiter: awaitable: 'Awaitable (requires member GetAwaiter ) -> Awaiter<^Awaiter
Should have gotten signature but got Some { Contents = C3 [|C2 { Language = "fsharp" Value = "'Awaitable (requires member GetAwaiter)" }; C1 ""; C1 "<a href='command:fsharp.showDocumentation?%5B%7B%20%22XmlDocSig%22%3A%20%22%22%2C%20%22AssemblyName%22%3A%20%22Script%22%20%7D%5D'>Open the documentation</a>"|] Range = None } at FsAutoComplete.Tests.CoreTest.verifySignature@282-7.Invoke(String msg) at FsAutoComplete.Tests.CoreTest.verifySignature@279-6.Invoke(FSharpResult`2 _arg6) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/CoreTests.fs:line 282 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$FSharp-Core>.$Async.once@1468-2.Invoke(Unit unitVar0) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1468 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Build on macos-13 for 9.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
Build on macos-13 for 9.0 WorkspaceLoader BackgroundCompiler
Process completed with exit code 1.
analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build on ubuntu-latest for 8.0 WorkspaceLoader BackgroundCompiler
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build on ubuntu-latest for 8.0 WorkspaceLoader TransparentCompiler
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build on ubuntu-latest for 9.0 WorkspaceLoader BackgroundCompiler
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build on ubuntu-latest for 9.0 WorkspaceLoader TransparentCompiler
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636