SaturnFramework / Saturn.Cli

A dotnet CLI tool for Saturn projects providing code generation and scaffolding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when building: Unsupported log file format. Latest supported version is 8, the log file has version 9.

dharmatech opened this issue · comments

I changed the version in global.json to:

3.1.405

to match what was on my system.

When I ran dotnet fake build, these errors shows up:

image

The full output is included below.

Ultimately, I was able to build by installing SDK version 3.1.200 on my system. So I'm good. :-) However, it would be nice if using newer versions of the SDK were supported for building the project.

PS C:\Users\dharm\Dropbox\Documents\VisualStudio\Saturn.Cli\Saturn.Cli id field> dotnet fake build
Extracted Paket.Restore.targets to: C:\Users\dharm\Dropbox\Documents\VisualStudio\Saturn.Cli\Saturn.Cli id field\.paket\Paket.Restore.targets (Can be disabled with PAKET_SKIP_RESTORE_TARGETS=true)
Starting full restore process.
Downloading System.Net.Http 4.3.4 (Build)
Downloading Microsoft.Build.Utilities.Core 16.5 (Build)
Downloading BlackFox.VsWhere 1.0 (Build)
Downloading runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Downloading System.Security.Cryptography.Algorithms 4.3.1 (Build)
Download of runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 1 second. (281 kbit/s, 0 MB)
Downloading runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of System.Security.Cryptography.Algorithms 4.3.1 (Build) done in 1 second. (2319 kbit/s, 0 MB)
Downloading System.Security.Cryptography.OpenSsl 4.7 (Build)
Download of Microsoft.Build.Utilities.Core 16.5 (Build) done in 1 second. (2833 kbit/s, 0 MB)
Download of System.Net.Http 4.3.4 (Build) done in 1 second. (3036 kbit/s, 0 MB)
Downloading MSBuild.StructuredLogger 2.0.174 (Build)
Downloading System.Net.Primitives 4.3.1 (Build)
Download of BlackFox.VsWhere 1.0 (Build) done in 1 second. (232 kbit/s, 0 MB)
Downloading Fake.Api.GitHub 5.19.1 (Build)
Download of runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 674 milliseconds. (616 kbit/s, 0 MB)
Downloading runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of System.Net.Primitives 4.3.1 (Build) done in 715 milliseconds. (8711 kbit/s, 0 MB)
Downloading System.Reactive.Compatibility 4.4.1 (Build)
Download of MSBuild.StructuredLogger 2.0.174 (Build) done in 1 second. (1501 kbit/s, 0 MB)
Downloading NuGet.Common 5.5.1 (Build)
Download of runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 742 milliseconds. (564 kbit/s, 0 MB)
Downloading runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of System.Security.Cryptography.OpenSsl 4.7 (Build) done in 1 second. (1731 kbit/s, 0 MB)
Downloading System.Security.Cryptography.X509Certificates 4.3.2 (Build)
Download of Fake.Api.GitHub 5.19.1 (Build) done in 1 second. (503 kbit/s, 0 MB)
Downloading Fake.Core.CommandLineParsing 5.19.1 (Build)
Download of System.Reactive.Compatibility 4.4.1 (Build) done in 869 milliseconds. (192 kbit/s, 0 MB)
Downloading System.Reactive.Core 4.4.1 (Build)
Download of runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 727 milliseconds. (574 kbit/s, 0 MB)
Downloading runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of System.Security.Cryptography.X509Certificates 4.3.2 (Build) done in 786 milliseconds. (3693 kbit/s, 0 MB)
Downloading System.Threading.Overlapped 4.3 (Build)
Download of NuGet.Common 5.5.1 (Build) done in 1 second. (1214 kbit/s, 0 MB)
Downloading NuGet.Configuration 5.5.1 (Build)
Download of System.Reactive.Core 4.4.1 (Build) done in 705 milliseconds. (570 kbit/s, 0 MB)
Downloading System.Reactive.Interfaces 4.4.1 (Build)
Download of Fake.Core.CommandLineParsing 5.19.1 (Build) done in 1 second. (1403 kbit/s, 0 MB)
Downloading Fake.Core.Context 5.19.1 (Build)
Download of runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 631 milliseconds. (662 kbit/s, 0 MB)
Downloading runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of System.Threading.Overlapped 4.3 (Build) done in 686 milliseconds. (1955 kbit/s, 0 MB)
Downloading System.Threading.Tasks.Dataflow 4.11 (Build)
Download of System.Reactive.Interfaces 4.4.1 (Build) done in 645 milliseconds. (611 kbit/s, 0 MB)
Downloading System.Reactive.Linq 4.4.1 (Build)
Download of NuGet.Configuration 5.5.1 (Build) done in 1 second. (1401 kbit/s, 0 MB)
Downloading NuGet.Frameworks 5.5.1 (Build)
Download of Fake.Core.Context 5.19.1 (Build) done in 786 milliseconds. (404 kbit/s, 0 MB)
Downloading Fake.Core.Environment 5.19.1 (Build)
Download of System.Threading.Tasks.Dataflow 4.11 (Build) done in 934 milliseconds. (3267 kbit/s, 0 MB)
Downloading System.Xml.ReaderWriter 4.3.1 (Build)
Download of System.Reactive.Linq 4.4.1 (Build) done in 687 milliseconds. (576 kbit/s, 0 MB)
Downloading System.Reactive.PlatformServices 4.4.1 (Build)
Download of runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 1 second. (319 kbit/s, 0 MB)
Downloading System.IO.FileSystem.Watcher 4.3 (Build)
Download of Fake.Core.Environment 5.19.1 (Build) done in 999 milliseconds. (476 kbit/s, 0 MB)
Downloading Fake.Core.FakeVar 5.19.1 (Build)
Download of System.Reactive.PlatformServices 4.4.1 (Build) done in 692 milliseconds. (566 kbit/s, 0 MB)
Downloading System.Reactive.Providers 4.4.1 (Build)
Download of NuGet.Frameworks 5.5.1 (Build) done in 1 second. (1174 kbit/s, 0 MB)
Downloading NuGet.Packaging 5.5.1 (Build)
Download of System.Xml.ReaderWriter 4.3.1 (Build) done in 905 milliseconds. (12287 kbit/s, 1 MB)
Downloading System.Xml.XPath.XmlDocument 4.3 (Build)
Download of System.IO.FileSystem.Watcher 4.3 (Build) done in 933 milliseconds. (1662 kbit/s, 0 MB)
Downloading System.Linq.Parallel 4.3 (Build)
Download of Fake.Core.FakeVar 5.19.1 (Build) done in 974 milliseconds. (230 kbit/s, 0 MB)
Downloading Fake.Core.Process 5.19.1 (Build)
Download of System.Xml.XPath.XmlDocument 4.3 (Build) done in 645 milliseconds. (1718 kbit/s, 0 MB)
Download of System.Reactive.Providers 4.4.1 (Build) done in 936 milliseconds. (418 kbit/s, 0 MB)
Downloading System.Reflection.Metadata 1.8 (Build)
Download of System.Linq.Parallel 4.3 (Build) done in 706 milliseconds. (5920 kbit/s, 0 MB)
Download of NuGet.Packaging 5.5.1 (Build) done in 1 second. (3843 kbit/s, 0 MB)
Downloading NuGet.Protocol 5.5.1 (Build)
Download of System.Reflection.Metadata 1.8 (Build) done in 940 milliseconds. (6212 kbit/s, 0 MB)
Downloading System.Resources.Extensions 4.7 (Build)
Download of Fake.Core.Process 5.19.1 (Build) done in 1 second. (2717 kbit/s, 0 MB)
Downloading Fake.Core.ReleaseNotes 5.19.1 (Build)
Download of NuGet.Protocol 5.5.1 (Build) done in 1 second. (4679 kbit/s, 0 MB)
Downloading NuGet.Versioning 5.5.1 (Build)
Download of System.Resources.Extensions 4.7 (Build) done in 859 milliseconds. (595 kbit/s, 0 MB)
Downloading System.Resources.Writer 4.3 (Build)
Download of Fake.Core.ReleaseNotes 5.19.1 (Build) done in 939 milliseconds. (699 kbit/s, 0 MB)
Downloading Fake.Core.SemVer 5.19.1 (Build)
Download of NuGet.Versioning 5.5.1 (Build) done in 982 milliseconds. (825 kbit/s, 0 MB)
Downloading Octokit 0.47 (Build)
Download of System.Resources.Writer 4.3 (Build) done in 872 milliseconds. (308 kbit/s, 0 MB)
Download of Fake.Core.SemVer 5.19.1 (Build) done in 928 milliseconds. (429 kbit/s, 0 MB)
Downloading Fake.Core.String 5.19.1 (Build)
Download of Octokit 0.47 (Build) done in 1 second. (6634 kbit/s, 0 MB)
Download of Fake.Core.String 5.19.1 (Build) done in 935 milliseconds. (478 kbit/s, 0 MB)
Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Downloading Fake.Core.Target 5.19.1 (Build)
Download of runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 759 milliseconds. (565 kbit/s, 0 MB)
Downloading runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of Fake.Core.Target 5.19.1 (Build) done in 1 second. (1169 kbit/s, 0 MB)
Downloading Fake.Core.Tasks 5.19.1 (Build)
Download of runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 736 milliseconds. (583 kbit/s, 0 MB)
Downloading runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 638 milliseconds. (653 kbit/s, 0 MB)
Downloading runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of Fake.Core.Tasks 5.19.1 (Build) done in 1 second. (170 kbit/s, 0 MB)
Downloading Fake.Core.Trace 5.19.1 (Build)
Download of runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 642 milliseconds. (649 kbit/s, 0 MB)
Downloading runtime.fedora.27-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of Fake.Core.Trace 5.19.1 (Build) done in 988 milliseconds. (1027 kbit/s, 0 MB)
Downloading Fake.Core.UserInput 5.19.1 (Build)
Download of runtime.fedora.27-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 642 milliseconds. (651 kbit/s, 0 MB)
Downloading runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of Fake.Core.UserInput 5.19.1 (Build) done in 885 milliseconds. (220 kbit/s, 0 MB)
Downloading Fake.Core.Xml 5.19.1 (Build)
Download of runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 658 milliseconds. (635 kbit/s, 0 MB)
Downloading runtime.native.System.Net.Http 4.3.1 (Build)
Download of runtime.native.System.Net.Http 4.3.1 (Build) done in 852 milliseconds. (279 kbit/s, 0 MB)
Downloading runtime.native.System.Security.Cryptography.Apple 4.3.1 (Build)
Download of Fake.Core.Xml 5.19.1 (Build) done in 915 milliseconds. (373 kbit/s, 0 MB)
Downloading Fake.DotNet.AssemblyInfoFile 5.19.1 (Build)
Download of runtime.native.System.Security.Cryptography.Apple 4.3.1 (Build) done in 803 milliseconds. (169 kbit/s, 0 MB)
Downloading runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of Fake.DotNet.AssemblyInfoFile 5.19.1 (Build) done in 1 second. (384 kbit/s, 0 MB)
Downloading Fake.DotNet.Cli 5.19.1 (Build)
Download of runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 767 milliseconds. (274 kbit/s, 0 MB)
Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 761 milliseconds. (561 kbit/s, 0 MB)
Downloading runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of Fake.DotNet.Cli 5.19.1 (Build) done in 1 second. (1211 kbit/s, 0 MB)
Downloading Fake.DotNet.MSBuild 5.19.1 (Build)
Download of runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 623 milliseconds. (685 kbit/s, 0 MB)
Downloading runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build)
Download of runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 (Build) done in 1 second. (408 kbit/s, 0 MB)
Downloading runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.1 (Build)
Download of Fake.DotNet.MSBuild 5.19.1 (Build) done in 1 second. (510 kbit/s, 0 MB)
Downloading Fake.DotNet.NuGet 5.19.1 (Build)
Download of runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.1 (Build) done in 634 milliseconds. (247 kbit/s, 0 MB)
Download of Fake.DotNet.NuGet 5.19.1 (Build) done in 986 milliseconds. (1484 kbit/s, 0 MB)
Downloading Fake.DotNet.Paket 5.19.1 (Build)
Download of Fake.DotNet.Paket 5.19.1 (Build) done in 1 second. (836 kbit/s, 0 MB)
Downloading Fake.IO.FileSystem 5.19.1 (Build)
Download of Fake.IO.FileSystem 5.19.1 (Build) done in 1 second. (1125 kbit/s, 0 MB)
Downloading Fake.Net.Http 5.19.1 (Build)
Download of Fake.Net.Http 5.19.1 (Build) done in 950 milliseconds. (578 kbit/s, 0 MB)
Downloading Fake.Tools.Git 5.19.1 (Build)
Download of Fake.Tools.Git 5.19.1 (Build) done in 807 milliseconds. (903 kbit/s, 0 MB)
Downloading FSharp.Control.Reactive 4.2 (Build)
Download of FSharp.Control.Reactive 4.2 (Build) done in 1 second. (2050 kbit/s, 0 MB)
Downloading FSharp.Core 4.7.1 (Build)
Download of FSharp.Core 4.7.1 (Build) done in 1 second. (16816 kbit/s, 2 MB)
Downloading Microsoft.Build 16.5 (Build)
Download of Microsoft.Build 16.5 (Build) done in 1 second. (20049 kbit/s, 2 MB)
Downloading Microsoft.Build.Framework 16.5 (Build)
Download of Microsoft.Build.Framework 16.5 (Build) done in 902 milliseconds. (1768 kbit/s, 0 MB)
Downloading Microsoft.Build.Tasks.Core 16.5 (Build)
Download of Microsoft.Build.Tasks.Core 16.5 (Build) done in 1 second. (10708 kbit/s, 1 MB)
Downloading Argu 6.0
Download of Argu 6.0 done in 877 milliseconds. (1577 kbit/s, 0 MB)
Downloading ConsoleTables 2.4.1
Download of ConsoleTables 2.4.1 done in 860 milliseconds. (378 kbit/s, 0 MB)
Downloading Hopac 0.4.1
Download of Hopac 0.4.1 done in 1 second. (4266 kbit/s, 0 MB)
Downloading Http.fs 5.4
Download of Http.fs 5.4 done in 1 second. (2192 kbit/s, 0 MB)
run Pack
Building project with version: LocalBuild
Shortened DependencyGraph for Target Pack:
<== Pack
   <== Publish
      <== Default
         <== Build
            <== Restore
               <== AssemblyInfo
                  <== Clean

The running order is:
Group - 1
  - Clean
Group - 2
  - AssemblyInfo
Group - 3
  - Restore
Group - 4
  - Build
Group - 5
  - Default
Group - 6
  - Publish
Group - 7
  - Pack
Starting target 'Clean'
Finished (Success) 'Clean' in 00:00:00.0102194
Starting target 'AssemblyInfo'
Finished (Success) 'AssemblyInfo' in 00:00:00.0282022
Starting target 'Restore'
Starting task 'DotNet:restore'
C:\Users\dharm\Dropbox\Documents\VisualStudio\Saturn.Cli\Saturn.Cli id field> "C:\Program Files\dotnet\dotnet.EXE"  msbuild /version /nologo (In: false, Out: true, Err: true)
16.7.2.52901
C:\Users\dharm\Dropbox\Documents\VisualStudio\Saturn.Cli\Saturn.Cli id field> "C:\Program Files\dotnet\dotnet.EXE"  restore "" /nodeReuse:False "/bl:C:\Users\dharm\AppData\Local\Temp\tmp56A7.tmp.binlog" (In: false, Out: false, Err: false)
C:\Program Files\dotnet\sdk\3.1.405\MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\3.1.405\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\3.1.405\dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:C:\Users\dharm\AppData\Local\Temp\tmp56A7.tmp.binlog /nodeReuse:False .\Saturn.Dotnet.sln
  Determining projects to restore...
  Restored C:\Users\dharm\Dropbox\Documents\VisualStudio\Saturn.Cli\Saturn.Cli id field\src\Saturn.Cli\Saturn.Cli.fsproj (in 431 ms).
Finished (Failed) 'DotNet:restore' in 00:00:01.8930799
Finished (Failed) 'Restore' in 00:00:01.8977478

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target         Duration
------         --------
Clean          00:00:00.0026464
AssemblyInfo   00:00:00.0242711
Restore        00:00:01.8969712   (Unsupported log file format. Latest supported version is 8, the log file has version 9.)
Build          00:00:00           (skipped)
Default        00:00:00           (skipped)
Publish        00:00:00           (skipped)
Pack           00:00:00           (skipped)
Total:         00:00:02.0063568
Status:        Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Restore' failed.
-> One or more errors occurred. (Unsupported log file format. Latest supported version is 8, the log file has version 9.)
-> NotSupportedException: Unsupported log file format. Latest supported version is 8, the log file has version 9.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.241.2' at the top of your dependencies file (C:\Users\dharm\Dropbox\Documents\VisualStudio\Saturn.Cli\Saturn.Cli id field\paket.dependencies).
Read https://github.com/fsharp/FAKE/issues/2193 for details.
Warning: The fake-runner has not been updated for at least 12 months. Please consider upgrading to get latest bugfixes, improved suggestions and F# features.
Performance:
 - Cli parsing: 178 milliseconds
 - Packages: 35 seconds
   - Disk IO: 1 second
   - Average Download Time: 354 milliseconds
   - Number of downloads: 80
   - Average Request Time: 220 milliseconds
   - Number of Requests: 80
   - Creating Runtime Graph: 63 milliseconds
   - Retrieve Assembly List: 518 milliseconds
 - Script compiling: 3 seconds
 - Script analyzing: 162 milliseconds
 - Script running: 2 seconds
 - Script cleanup: 14 milliseconds
 - Runtime: 42 seconds