docs: DOs and DONTs #133
docs: DOs and DONTs #133
Build #3073 had test failures
Details
- Failed: 4 (9.52%, 0 new, 4 recurring)
- Passed: 38 (90.48%)
- Other: 0 (0.00%)
- Total: 42
Annotations
Check failure on line 219 in Build log
azure-pipelines / jet.dotnet-templates
Build log #L219
Cmd.exe exited with code '1'.
Check failure on line 1 in Equinox.Templates.Tests.DotnetBuild.eqxweb
azure-pipelines / jet.dotnet-templates
Equinox.Templates.Tests.DotnetBuild.eqxweb
System.Exception : Process <dotnet build D:\a\1\s\scratch-area\eqxweb> Failed:
stdout: <MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
Restored D:\a\1\s\scratch-area\eqxweb\Domain\Domain.fsproj (in 704 ms).
Restored D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj (in 706 ms).
Domain -> D:\a\1\s\scratch-area\eqxweb\Domain\bin\Debug\net6.0\Domain.dll
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(66,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(62,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
Build FAILED.
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(66,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(62,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:06.16
>
stderr: <
>
Raw output
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1448.Invoke(String message)
at Equinox.Templates.Tests.Infrastructure.Process.run(String fileName, String args) in D:\a\1\s\tests\Equinox.Templates.Tests\Infrastructure.fs:line 27
at Equinox.Templates.Tests.DotnetBuild.run(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 45
at Equinox.Templates.Tests.DotnetBuild.eqxweb(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 71
Check failure on line 1 in Equinox.Templates.Tests.DotnetBuild.eqxweb
azure-pipelines / jet.dotnet-templates
Equinox.Templates.Tests.DotnetBuild.eqxweb
System.Exception : Process <dotnet build D:\a\1\s\scratch-area\eqxweb> Failed:
stdout: <MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
Restored D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj (in 703 ms).
Restored D:\a\1\s\scratch-area\eqxweb\Domain\Domain.fsproj (in 701 ms).
Domain -> D:\a\1\s\scratch-area\eqxweb\Domain\bin\Debug\net6.0\Domain.dll
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(92,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(88,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
Build FAILED.
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(92,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(88,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:06.58
>
stderr: <
>
Raw output
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1448.Invoke(String message)
at Equinox.Templates.Tests.Infrastructure.Process.run(String fileName, String args) in D:\a\1\s\tests\Equinox.Templates.Tests\Infrastructure.fs:line 27
at Equinox.Templates.Tests.DotnetBuild.run(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 45
at Equinox.Templates.Tests.DotnetBuild.eqxweb(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 71
Check failure on line 1 in Equinox.Templates.Tests.DotnetBuild.eqxweb
azure-pipelines / jet.dotnet-templates
Equinox.Templates.Tests.DotnetBuild.eqxweb
System.Exception : Process <dotnet build D:\a\1\s\scratch-area\eqxweb> Failed:
stdout: <MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
Restored D:\a\1\s\scratch-area\eqxweb\Domain\Domain.fsproj (in 686 ms).
Restored D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj (in 693 ms).
Domain -> D:\a\1\s\scratch-area\eqxweb\Domain\bin\Debug\net6.0\Domain.dll
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(76,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(72,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
Build FAILED.
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(76,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(72,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:06.15
>
stderr: <
>
Raw output
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1448.Invoke(String message)
at Equinox.Templates.Tests.Infrastructure.Process.run(String fileName, String args) in D:\a\1\s\tests\Equinox.Templates.Tests\Infrastructure.fs:line 27
at Equinox.Templates.Tests.DotnetBuild.run(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 45
at Equinox.Templates.Tests.DotnetBuild.eqxweb(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 71
Check failure on line 1 in Equinox.Templates.Tests.DotnetBuild.eqxweb
azure-pipelines / jet.dotnet-templates
Equinox.Templates.Tests.DotnetBuild.eqxweb
System.Exception : Process <dotnet build D:\a\1\s\scratch-area\eqxweb> Failed:
stdout: <MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
Restored D:\a\1\s\scratch-area\eqxweb\Domain\Domain.fsproj (in 707 ms).
Restored D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj (in 707 ms).
Domain -> D:\a\1\s\scratch-area\eqxweb\Domain\bin\Debug\net6.0\Domain.dll
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(99,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(95,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
Build FAILED.
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(99,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
D:\a\1\s\scratch-area\eqxweb\Web\Startup.fs(95,9): error FS0041: No overloads match for method 'UseCors'.\u001d\u001dKnown type of argument: unit\u001d\u001dAvailable overloads:\u001d - (extension) IApplicationBuilder.UseCors(configurePolicy: Action<AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>) : IApplicationBuilder // Argument 'configurePolicy' doesn't match\u001d - (extension) IApplicationBuilder.UseCors(policyName: string) : IApplicationBuilder // Argument 'policyName' doesn't match [D:\a\1\s\scratch-area\eqxweb\Web\Web.fsproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:06.07
>
stderr: <
>
Raw output
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1448.Invoke(String message)
at Equinox.Templates.Tests.Infrastructure.Process.run(String fileName, String args) in D:\a\1\s\tests\Equinox.Templates.Tests\Infrastructure.fs:line 27
at Equinox.Templates.Tests.DotnetBuild.run(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 45
at Equinox.Templates.Tests.DotnetBuild.eqxweb(String template, FSharpList`1 args) in D:\a\1\s\tests\Equinox.Templates.Tests\DotnetBuild.fs:line 71