Hi there! I'm trying to set up some CI for a HOI4 mod and would like to use this library if possible; however, I'm having a hard time getting it to build on Linux. It looks like the build is trying to invoke a RunFsc.sh
file that doesn't exist; I can't find the .cmd
version either.
Starting Target: Build (==> Restore)
dotnet build
Microsoft (R) Build Engine version 16.0.225-preview+g5ebeba52a1 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Paket version 5.194.3
The last restore is still up to date. Nothing left to do.
Performance:
- Runtime: 76 milliseconds
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'FSharpx.Collections 1.17.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'Newtonsoft.Json.FSharp 3.2.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'NodaTime 1.4.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
Restore completed in 45.88 ms for /home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj.
/home/wtchappell/ws/cli/artifacts/tmp/Debug/dotnet/sdk/3.0.100-preview-009752/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(142,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
Paket version 5.194.3
The last restore is still up to date. Nothing left to do.
Performance:
- Runtime: 81 milliseconds
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'FSharpx.Collections 1.17.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'Newtonsoft.Json.FSharp 3.2.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'NodaTime 1.4.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/Common/Constants.fs(44,6): warning FS0346: The struct, record or union type 'Effect' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()' [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
/home/wtchappell/ws/cwtools/CWTools/Common/Constants.fs(61,6): warning FS0346: The struct, record or union type 'ScriptedEffect' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()' [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
/home/wtchappell/ws/cwtools/CWTools/Common/Constants.fs(77,6): warning FS0346: The struct, record or union type 'DocEffect' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()' [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
/home/wtchappell/ws/cli/artifacts/tmp/Debug/dotnet/sdk/3.0.100-preview-009752/FSharp/Microsoft.FSharp.Targets(265,9): error MSB6006: "RunFsc.sh" exited with code 139. [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
Build FAILED.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'FSharpx.Collections 1.17.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'Newtonsoft.Json.FSharp 3.2.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'NodaTime 1.4.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'FSharpx.Collections 1.17.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'Newtonsoft.Json.FSharp 3.2.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj : warning NU1701: Package 'NodaTime 1.4.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
/home/wtchappell/ws/cwtools/CWTools/Common/Constants.fs(44,6): warning FS0346: The struct, record or union type 'Effect' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()' [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
/home/wtchappell/ws/cwtools/CWTools/Common/Constants.fs(61,6): warning FS0346: The struct, record or union type 'ScriptedEffect' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()' [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
/home/wtchappell/ws/cwtools/CWTools/Common/Constants.fs(77,6): warning FS0346: The struct, record or union type 'DocEffect' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()' [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
/home/wtchappell/ws/cli/artifacts/tmp/Debug/dotnet/sdk/3.0.100-preview-009752/FSharp/Microsoft.FSharp.Targets(265,9): error MSB6006: "RunFsc.sh" exited with code 139. [/home/wtchappell/ws/cwtools/CWTools/CWTools.fsproj]
9 Warning(s)
1 Error(s)
Time Elapsed 00:00:11.54
Running build failed.
Error:
System.Exception: dotnet build failed
at [email protected] (System.String message) [0x00001] in <c7e4655799f4413aa9606b20e8831743>:0
at FSI_0005.Build.runDotnet (System.String workingDir, System.String args) [0x00048] in <c7e4655799f4413aa9606b20e8831743>:0
at [email protected] (System.String p) [0x0000a] in <c7e4655799f4413aa9606b20e8831743>:0
at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] action, System.Collections.Generic.IEnumerable`1[T] source) [0x0002d] in <5893d081904cf4daa745038381d09358>:0
at [email protected] (Microsoft.FSharp.Core.Unit _arg3) [0x0000b] in <c7e4655799f4413aa9606b20e8831743>:0
at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00049] in <5ae96a91ccf1c534a7450383916ae95a>:0
---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target Duration
------ --------
Clean 00:00:09.9402610
Restore 00:00:04.9642390
Build Failure
Total: 00:00:28.9605720
---------------------------------------------------------------------
Status: Failure
---------------------------------------------------------------------
---------------------------------------------------------------------
1) System.Exception: dotnet build failed
at [email protected] (System.String message) [0x00001] in <c7e4655799f4413aa9606b20e8831743>:0
at FSI_0005.Build.runDotnet (System.String workingDir, System.String args) [0x00048] in <c7e4655799f4413aa9606b20e8831743>:0
at [email protected] (System.String p) [0x0000a] in <c7e4655799f4413aa9606b20e8831743>:0
at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] action, System.Collections.Generic.IEnumerable`1[T] source) [0x0002d] in <5893d081904cf4daa745038381d09358>:0
at [email protected] (Microsoft.FSharp.Core.Unit _arg3) [0x0000b] in <c7e4655799f4413aa9606b20e8831743>:0
at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00049] in <5ae96a91ccf1c534a7450383916ae95a>:0
---------------------------------------------------------------------
>>> elapsed time 34s