fsprojects / FSharp.Configuration

The FSharp.Configuration project contains type providers for the configuration of .NET projects.
http://fsprojects.github.io/FSharp.Configuration/
Other
114 stars 63 forks source link

Build failure #151

Closed fangyi-zhou closed 2 years ago

fangyi-zhou commented 5 years ago
Paket version 5.206.0
The last restore is still up to date. Nothing left to do.
Performance:
 - Runtime: 106 milliseconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target All:
<== All
   <== RunTests
      <== Build
         <== AssemblyInfo
            <== Clean

The running order is:
  - Clean
  - AssemblyInfo
  - Build
  - RunTests
  - All
Running build with 1 worker
Starting Target: Clean 
Deleting contents of bin
Deleting contents of temp
Deleting contents of ./nuget/
Finished Target: Clean
Starting Target: AssemblyInfo (==> Clean)
Created AssemblyInfo file "src/FSharp.Configuration/AssemblyInfo.fs".
Finished Target: AssemblyInfo
Starting Target: Build (==> AssemblyInfo)
Building project: /home/fz315/FSharp.Configuration/FSharp.Configuration.sln
  /usr/bin/msbuild  /home/fz315/FSharp.Configuration/FSharp.Configuration.sln /t:Rebuild    /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"/home/fz315/FSharp.Configuration/packages/build/FAKE/tools/FakeLib.dll"
Microsoft (R) Build Engine version 16.0.0.0 for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 09/05/2019 13:55:22.
Project "/home/fz315/FSharp.Configuration/FSharp.Configuration.sln" on node 1 (Rebuild target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Any CPU".
Project "/home/fz315/FSharp.Configuration/FSharp.Configuration.sln" (1) is building "/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj" (2) on node 1 (Rebuild target(s)).
CoreClean:
  Deleting file "/home/fz315/FSharp.Configuration/src/FSharp.Configuration/obj/Release/FSharp.Configuration.fsprojAssemblyReference.cache".
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
  /usr/lib/mono/fsharp/fsc.exe -o:obj/Release/FSharp.Configuration.dll
  --debug:pdbonly
  --noframework
  --define:TRACE
  --doc:../../bin/FSharp.Configuration.XML
  --optimize+
  -r:/home/fz315/FSharp.Configuration/packages/FSharp.Core/lib/net40/FSharp.Core.dll
  -r:/usr/bin/../lib/mono/4.5/mscorlib.dll
  -r:/home/fz315/FSharp.Configuration/packages/SharpYaml/lib/net45/SharpYaml.dll
  -r:/usr/bin/../lib/mono/4.5/System.Configuration.dll
  -r:/usr/bin/../lib/mono/4.5/System.Core.dll
  -r:/usr/bin/../lib/mono/4.5/System.dll
  -r:/usr/bin/../lib/mono/4.5/System.Runtime.Caching.dll
  -r:/usr/bin/../lib/mono/4.5/System.Web.dll
  -r:/usr/bin/../lib/mono/4.5/System.Windows.Forms.dll
  --target:library
  --warn:3
  --warnaserror:76
  --fullpaths
  --flaterrors
  --subsystemversion:6.00
  --highentropyva+
  ../../paket-files/fsprojects/FSharp.TypeProviders.SDK/src/ProvidedTypes.fsi
  ../../paket-files/fsprojects/FSharp.TypeProviders.SDK/src/ProvidedTypes.fs
  ../../paket-files/fsprojects/FSharp.TypeProviders.SDK/src/ProvidedTypesTesting.fs
  AssemblyInfo.fs
  TypeProviders.Helper.fs
  ResXProvider.fs
  AppSettingsProvider.fs
  YamlConfigProvider.fs
  IniFileProvider.fs
  ConfigTypeProvider.fs
  /tmp/.NETFramework,Version=v4.5.AssemblyAttributes.fs

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(119,35): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Boolean.TryParse(value: ReadOnlySpan<char>, result: byref<bool>) : bool, Boolean.TryParse(value: string, result: byref<bool>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(120,34): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Int32.TryParse(s: ReadOnlySpan<char>, result: byref<int>) : bool, Int32.TryParse(s: string, result: byref<int>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(121,46): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Double.TryParse(s: ReadOnlySpan<char>, style: NumberStyles, provider: IFormatProvider, result: byref<float>) : bool, Double.TryParse(s: string, style: NumberStyles, provider: IFormatProvider, result: byref<float>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(123,35): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Guid.TryParse(input: ReadOnlySpan<char>, result: byref<Guid>) : bool, Guid.TryParse(input: string, result: byref<Guid>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(37,42): error FS0001: This expression was expected to have type    'Guid'    but here has type    'obj' [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(286,38): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(287,40): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(303,87): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(304,87): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(304,140): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(342,69): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(374,43): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(376,43): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(377,43): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(407,65): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(410,91): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(552,73): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(554,52): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/IniFileProvider.fs(110,59): error FS0001: All branches of a pattern match expression must have the same type. This expression was expected to have type 'int', but here has type 'obj'. [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/IniFileProvider.fs(116,59): error FS0001: All branches of a pattern match expression must have the same type. This expression was expected to have type 'bool', but here has type 'obj'. [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

/home/fz315/FSharp.Configuration/src/FSharp.Configuration/IniFileProvider.fs(122,59): error FS0001: All branches of a pattern match expression must have the same type. This expression was expected to have type 'float', but here has type 'obj'. [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
Done Building Project "/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj" (Rebuild target(s)) -- FAILED.
Done Building Project "/home/fz315/FSharp.Configuration/FSharp.Configuration.sln" (Rebuild target(s)) -- FAILED.

Build FAILED.

"/home/fz315/FSharp.Configuration/FSharp.Configuration.sln" (Rebuild target) (1) ->
"/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj" (Rebuild target) (2) ->
(CoreCompile target) -> 
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(286,38): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(287,40): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(303,87): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(304,87): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(304,140): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(342,69): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(374,43): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(376,43): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(377,43): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(407,65): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(410,91): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(552,73): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(554,52): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[_;_]' may indicate a case not covered by the pattern(s). [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

"/home/fz315/FSharp.Configuration/FSharp.Configuration.sln" (Rebuild target) (1) ->
"/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj" (Rebuild target) (2) ->
(CoreCompile target) -> 
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(119,35): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Boolean.TryParse(value: ReadOnlySpan<char>, result: byref<bool>) : bool, Boolean.TryParse(value: string, result: byref<bool>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(120,34): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Int32.TryParse(s: ReadOnlySpan<char>, result: byref<int>) : bool, Int32.TryParse(s: string, result: byref<int>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(121,46): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Double.TryParse(s: ReadOnlySpan<char>, style: NumberStyles, provider: IFormatProvider, result: byref<float>) : bool, Double.TryParse(s: string, style: NumberStyles, provider: IFormatProvider, result: byref<float>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/TypeProviders.Helper.fs(123,35): error FS0041: A unique overload for method 'TryParse' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: Guid.TryParse(input: ReadOnlySpan<char>, result: byref<Guid>) : bool, Guid.TryParse(input: string, result: byref<Guid>) : bool [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/YamlConfigProvider.fs(37,42): error FS0001: This expression was expected to have type    'Guid'    but here has type    'obj' [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/IniFileProvider.fs(110,59): error FS0001: All branches of a pattern match expression must have the same type. This expression was expected to have type 'int', but here has type 'obj'. [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/IniFileProvider.fs(116,59): error FS0001: All branches of a pattern match expression must have the same type. This expression was expected to have type 'bool', but here has type 'obj'. [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]
  /home/fz315/FSharp.Configuration/src/FSharp.Configuration/IniFileProvider.fs(122,59): error FS0001: All branches of a pattern match expression must have the same type. This expression was expected to have type 'float', but here has type 'obj'. [/home/fz315/FSharp.Configuration/src/FSharp.Configuration/FSharp.Configuration.fsproj]

    13 Warning(s)
    8 Error(s)

Time Elapsed 00:00:12.13

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target         Duration
------         --------
Clean          00:00:00.0027689
AssemblyInfo   00:00:00.0357582
Total:         00:00:13.1784224
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------

dotnet --info

.NET Core SDK (reflecting any global.json):
 Version:   2.1.504
 Commit:    91e160c7f0

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /home/fz315/.local/share/dotnetcore/sdk/2.1.504/

Host (useful for support):
  Version: 2.1.8
  Commit:  209f8aa25c

.NET Core SDKs installed:
  2.1.504 [/home/fz315/.local/share/dotnetcore/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.8 [/home/fz315/.local/share/dotnetcore/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.8 [/home/fz315/.local/share/dotnetcore/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.8 [/home/fz315/.local/share/dotnetcore/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

MSBuild version 16.0.0.0

sergey-tihon commented 2 years ago

Please try latest master, it builds on 3 platform and shout work for you