Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this is me trying to follow your example @fbmnds #124

Closed
wants to merge 6 commits into from
Closed

Conversation

haf
Copy link
Contributor

@haf haf commented Jul 29, 2014

You can run:

rake docs:api_quick

to get the error message.

Compilation errors:
 - (0, 0) Assuming assembly reference `FSharp.Core, Version=4.3.0.0,
   Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches assembly
`FSharp.Core, Version=4.3.1.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'. You may need to supply runtime policy
@@ -128,8 +129,42 @@ namespace :docs do
end
end

task :fsformatting do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you clean this directory or is it overwritten?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NuGet packages are 'immutable' not overwritten at all, just not re-downloaded after nuget verifies they are there.

cp_r overwrites files, yes, every time.

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

I put the error message in the commit message -- it's telling me I need a policy, but I don't know where to find one.

Policy

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

I need to think about it. Currently, the rationale is as follows:

  • the commandline tool comes with all necessary dlls including the fsharp compiler service so that I do not see any risk of intermangling this with your main installation that uses a older version
  • I doubt that this is a specific FSharp.Formatting issue; could it relate to an artefact of changes that you might have done when you discussed the resolution of FSharp.Core concerning the compiler service? I am referring to this discussion

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

I don't know what artefact I changed then. I just installed latest mono and I got my path linked with that.

I can try this on linux too if you want.

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

Same error. Not about the environment then.

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

If you clone this repo, checkout this branch you can create another PR and it will build automatically on the TC server -- that allows you to test anything without having me to do the typing. Just like last time, I have to move onto actual work now. I hope that the tool can be fixed so that it works.

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

your mono is based on net40, but FSharp.Formatting is compiled against net45 - I assume, checking...

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

yes, but only the commandline tool, not the other parts of the library - let me check, what options we have

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

Compiled with mono 3.4:

  mono buildsupport/FSharp.Formatting.CommandTool/tools/fsformatting.exe metadataFormat --generate --dllFiles Suave/bin/Release/suave.dll --outDir gh-pages/api --layoutRoots gh-pages/_fs_formatting/reference --sourceRepo https://github.com/SuaveIO/suave/tree/master/Suave --sourceFolder Suave --parameters page-description F# Suave page-author Ademar Gonzalez, Henrik Feldt project-author Ademar Gonzalez, Henrik Feldt github-link https://github.com/SuaveIO/suave project-github https://github.com/SuaveIO/suave project-nuget https://www.nuget.org/packages/Suave root http://suave.io project-name Suave
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=en-US, PublicKeyToken=null
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=en, PublicKeyToken=null
[1 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=en-US, PublicKeyToken=null
[1 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=en, PublicKeyToken=null
[4 sec] **** error: Unable to find the file 'Suave/bin/Release/suave.dll' in any of
 /usr/lib/mono/4.5
 /tmp
 /usr/lib/mono/4.0
[4 sec] **** warning: Assembly reference 'Suave/bin/Release/suave.dll' was not found or is invalid
[4 sec] Reading assembly: Suave/bin/Release/suave.dll
[4 sec] **** Skipping assembly 'suave' because was not found in resolved assembly list
[4 sec] Starting razor engine
[4 sec] Generating: index.html

Processing the file 'gh-pages/_fs_formatting/reference/namespaces.cshtml' failed
Source written to: '/tmp/tmpa2f92cb.tmp.cs'
Compilation errors:
 - (0, 0) Assuming assembly reference `FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches assembly `FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. You may need to supply runtime policy

[0 sec] received exception in MetadataFormat.Generate:
 System.Exception: Generating HTML failed.
  at FSharp.MetadataFormat.RazorRender.ProcessFile[IDictionary`2] (System.String source, Microsoft.FSharp.Core.FSharpOption`1 properties) [0x00000] in <filename unknown>:0
  at FSharp.MetadataFormat.MetadataFormat.Generate (Microsoft.FSharp.Collections.FSharpList`1 dllFiles, System.String outDir, IEnumerable`1 layoutRoots, Microsoft.FSharp.Core.FSharpOption`1 parameters, Microsoft.FSharp.Core.FSharpOption`1 namespaceTemplate, Microsoft.FSharp.Core.FSharpOption`1 moduleTemplate, Microsoft.FSharp.Core.FSharpOption`1 typeTemplate, Microsoft.FSharp.Core.FSharpOption`1 xmlFile, Microsoft.FSharp.Core.FSharpOption`1 sourceRepo, Microsoft.FSharp.Core.FSharpOption`1 sourceFolder, Microsoft.FSharp.Core.FSharpOption`1 publicOnly, Microsoft.FSharp.Core.FSharpOption`1 libDirs, Microsoft.FSharp.Core.FSharpOption`1 otherFlags, Microsoft.FSharp.Core.FSharpOption`1 markDownComments, Microsoft.FSharp.Core.FSharpOption`1 urlRangeHighlight) [0x00000] in <filename unknown>:0
  at FSharp.Formatting.Options.MetadataFormat.GenerateOptions.FSharp-Formatting-IExecutable-IExecutable-Execute () [0x00000] in <filename unknown>:0
/opt/teamcity-agent/work/d3f583fbace70547/Rakefile:157:in `block (2 levels) in <top (required)>'

So the same. It's probably the F# dll that has the issue.

-bash-4.1$ mono --version
Mono JIT compiler version 3.4.0 (tarball Sun Jun 29 20:27:50 UTC 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug
    LLVM:          supported, not enabled.
    GC:            sgen

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

I successfully built FSharp.Formatting with commandline tool on net40. This should be a PR to FSharp.Formatting as there was a similar issue already in the past.

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

see here:

[4 sec] **** error: Unable to find the file 'Suave/bin/Release/suave.dll' in any of /usr/lib/mono/4.5 /tmp /usr/lib/mono/4.0

It is again the search path issue. I´ll try with a PR as you describe above.

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

Leaving the office in 9 min.

However, the absolute path helped. Now I only have the policy error left.

Nuget fsharp.core.3 has a .policy file in it; perhaps that's something to use somehow? I can't find any docs about it.

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

I do no see a need to install fsharp.core for the commandline tool. It brings all necessary dlls with it. I find this confusing.

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

I think the problem is that mono has F# 4.3.0.0 and you have compiled this tool against 4.3.1.0. That's why suave hasn't upgraded F# version.

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

this makes sense.

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

hence, the problem would also exist, if one would call the FSharp.Formatting lib directly
the FSharp.Formatting library is compiled against net40 = 4.3.0.0

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

EOD (end of day, time for squash).

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

If you clone this repo, checkout this branch you can create another PR and it will build 
automatically on the TC server ...

doesn´t work because of previous, unrelated error:

[14:55:27][Step 2/4] Step rake (Command Line) failed
[14:55:27]Step 3/4: rake docs:push (Command Line)
[14:55:27][Step 3/4] Disabled build step rake docs:push (Command Line) is skipped

@fbmnds
Copy link

fbmnds commented Jul 29, 2014

If the formentioned PR on FSharp.Formatting will not be accepted, a straightforward alternative is to interface the FSharp.Formatting library via fsi.exe calling a customised generated.fsx (refer again to here and here as an example, that you already used in your Rakefile adjustments.

@haf
Copy link
Contributor Author

haf commented Jul 29, 2014

You are right, the mono upgrade destroyed the tests... Another yak.

If I were to continue debugging this, I would 1) create a build on tc that doesn't run all tests so we can continue playing around, 2) look into the policy file in the nuget I mentioned and try and add that to the tool, 3) go through all dependencies of all the dlls in that folder, transitively, and with dotPeek verify they are not linked to F# 4.3.1.0, 4) rebuild from source with correct F# linked.

@fbmnds
Copy link

fbmnds commented Jul 30, 2014

Refering to your points:

  1. I would put this effort into re-establishing a 100% clean baseline (remove all dependencies for FSharp.Formatting) for your own project. This would also be needed for further debugging.
  2. I am afraid that such approach would harm your project´s baseline.
  3. I can confirm, that only the tool was compiled against net45, all other libs against net40. You can see here that this has the desired effect on the F# compiler dependencies. At this point in time, I would not invest further effort on this other than minimal.
  4. I did this and filed the corresponding PR. If you put it on your TC server, we would have the ultimate root cause proof.

@fbmnds
Copy link

fbmnds commented Jul 30, 2014

My summary of the options so far:

  1. you could use your own fork of FSharp.Formatting for a recompiled commandline tool until @tpetricek accepted the PR or you wait for that.
  2. Using the FSharp.Formatting library via an alternative wrapper that does not add an own F# compiler dependency. I do not see that FAKE would be a great alternative as you could not use the DSL but would need to bypass it like FSharp.Formatting does. Otherwise, you´d ran into the same problem as the DSL calls the commandline tool. Hence, I would stick to my advice above.


task :fsformatting do
nuget_install 'FSharp.Core.Open.FS31'
nuget_install 'FSharp.Formatting.CommandTool'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fbmnds This is the only reference to the tool; a NuGet.exe install command.

@haf
Copy link
Contributor Author

haf commented Aug 10, 2014

Still not working with new version:

xbuild /verbosity:minimal suave.sln /property:Configuration=Release
XBuild Engine Version 12.0
Mono, Version 3.4.0.0
Copyright (C) 2005-2013 Various Mono authors
        Configuration: Release Platform: AnyCPU
/Users/henfel/dev/_vendor/suave/Suave/Socket.fs(149,15): warning FS0064: This construct causes code to be less generic than indicated by the type annotations. The type variable 'a has been constrained to be type 'unit'.
/Users/henfel/dev/_vendor/suave/Suave/Socket.fs(191,5): warning FS0064: This construct causes code to be less generic than indicated by the type annotations. The type variable 'a has been constrained to be type 'unit'.
/Users/henfel/dev/_vendor/suave/Suave/Web.fs(373,42): warning FS0025: Incomplete pattern matches on this expression. For example, the value 'NullContent' may indicate a case not covered by the pattern(s).
:  warning FS2003: An AssemblyVersionAttribute specified version '0.11.0.263e0c', but this value is invalid and has been ignored
Configuration: Release Platform: AnyCPU
:  warning FS2003: An AssemblyVersionAttribute specified version '0.11.0.263e0c', but this value is invalid and has been ignored
Configuration: Release Platform: AnyCPU
:  warning FS2003: An AssemblyVersionAttribute specified version '0.11.0.263e0c', but this value is invalid and has been ignored
Configuration: Release Platform: AnyCPU
:  warning FS2003: An AssemblyVersionAttribute specified version '0.11.0.263e0c', but this value is invalid and has been ignored
Configuration: Release Platform: AnyCPU
:  warning FS2003: An AssemblyVersionAttribute specified version '0.11.0.263e0c', but this value is invalid and has been ignored
Configuration: Release Platform: AnyCPU
Configuration: Release Platform: AnyCPU
:  warning FS2003: An AssemblyVersionAttribute specified version '0.11.0.263e0c', but this value is invalid and has been ignored
mono buildsupport/NuGet.exe install FSharp.Core.Open.FS31 -OutputDirectory buildsupport/ -ExcludeVersion
Using credentials from config. UserName: publisher
Installing 'FSharp.Core.Open.FS31 3.1.1.5'.
Successfully installed 'FSharp.Core.Open.FS31 3.1.1.5'.
mono buildsupport/NuGet.exe install FSharp.Formatting.CommandTool -OutputDirectory buildsupport/ -ExcludeVersion
Using credentials from config. UserName: publisher
Installing 'FSharp.Formatting.CommandTool 2.4.20'.
Successfully installed 'FSharp.Formatting.CommandTool 2.4.20'.
mono buildsupport/FSharp.Formatting.CommandTool/tools/fsformatting.exe metadataFormat --generate --dllFiles /Users/henfel/dev/_vendor/suave/Suave/bin/Release/suave.dll --outDir gh-pages/api --layoutRoots gh-pages/_fs_formatting/reference --sourceRepo https://github.com/SuaveIO/suave/tree/master/Suave --sourceFolder Suave --parameters page-description F# Suave page-author Ademar Gonzalez, Henrik Feldt project-author Ademar Gonzalez, Henrik Feldt github-link https://github.com/SuaveIO/suave project-github https://github.com/SuaveIO/suave project-nuget https://www.nuget.org/packages/Suave root http://suave.io project-name Suave
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=sv-SE, PublicKeyToken=null
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=sv, PublicKeyToken=null
[1 sec] Reading assembly: /Users/henfel/dev/_vendor/suave/Suave/bin/Release/suave.dll
[1 sec] Parsing assembly
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Starting razor engine
[2 sec] Generating: index.html
[2 sec] Resolving assembly: System.Web.Razor.resources, Version=2.0.0.0, Culture=sv-SE, PublicKeyToken=31bf3856ad364e35
[2 sec] Resolving assembly: System.Web.Razor.resources, Version=2.0.0.0, Culture=sv, PublicKeyToken=31bf3856ad364e35

Processing the file 'gh-pages/_fs_formatting/reference/namespaces.cshtml' failed
Source written to: '/var/folders/j7/wbmqw81j2_jcfwn6_hh0ltlh4zjfkz/T/tmp3818520a.tmp.cs'
Compilation errors:
 - (0, 0) Assuming assembly reference `FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches assembly `FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. You may need to supply runtime policy

[0 sec] received exception in MetadataFormat.Generate:
 System.Exception: Generating HTML failed.
  at FSharp.MetadataFormat.RazorRender.ProcessFile[IDictionary`2] (System.String source, Microsoft.FSharp.Core.FSharpOption`1 properties) [0x00000] in <filename unknown>:0
  at FSharp.MetadataFormat.MetadataFormat.Generate (Microsoft.FSharp.Collections.FSharpList`1 dllFiles, System.String outDir, IEnumerable`1 layoutRoots, Microsoft.FSharp.Core.FSharpOption`1 parameters, Microsoft.FSharp.Core.FSharpOption`1 namespaceTemplate, Microsoft.FSharp.Core.FSharpOption`1 moduleTemplate, Microsoft.FSharp.Core.FSharpOption`1 typeTemplate, Microsoft.FSharp.Core.FSharpOption`1 xmlFile, Microsoft.FSharp.Core.FSharpOption`1 sourceRepo, Microsoft.FSharp.Core.FSharpOption`1 sourceFolder, Microsoft.FSharp.Core.FSharpOption`1 publicOnly, Microsoft.FSharp.Core.FSharpOption`1 libDirs, Microsoft.FSharp.Core.FSharpOption`1 otherFlags, Microsoft.FSharp.Core.FSharpOption`1 markDownComments, Microsoft.FSharp.Core.FSharpOption`1 urlRangeHighlight) [0x00000] in <filename unknown>:0
  at FSharp.Formatting.Options.MetadataFormat.GenerateOptions.FSharp-Formatting-IExecutable-IExecutable-Execute () [0x00000] in <filename unknown>:0
rake aborted!
Albacore::CommandFailedError: Command failed with status (255):
  mono buildsupport/FSharp.Formatting.CommandTool/tools/fsformatting.exe metadataFormat --generate --dllFiles /Users/henfel/dev/_vendor/suave/Suave/bin/Release/suave.dll --outDir gh-pages/api --layoutRoots gh-pages/_fs_formatting/reference --sourceRepo https://github.com/SuaveIO/suave/tree/master/Suave --sourceFolder Suave --parameters page-description F# Suave page-author Ademar Gonzalez, Henrik Feldt project-author Ademar Gonzalez, Henrik Feldt github-link https://github.com/SuaveIO/suave project-github https://github.com/SuaveIO/suave project-nuget https://www.nuget.org/packages/Suave root http://suave.io project-name Suave
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=sv-SE, PublicKeyToken=null
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.57.0, Culture=sv, PublicKeyToken=null
[1 sec] Reading assembly: /Users/henfel/dev/_vendor/suave/Suave/bin/Release/suave.dll
[1 sec] Parsing assembly
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Error occurs. Current source file 'file:///Volumes/build-root-ramdisk/fsharp-fsharp-4a0382b/src/fsharp/FSharp.Core/prim-types.fs' doesn't reside in source folder 'file:///Users/henfel/dev/_vendor/suave/Suave'
[1 sec] Starting razor engine
[2 sec] Generating: index.html
[2 sec] Resolving assembly: System.Web.Razor.resources, Version=2.0.0.0, Culture=sv-SE, PublicKeyToken=31bf3856ad364e35
[2 sec] Resolving assembly: System.Web.Razor.resources, Version=2.0.0.0, Culture=sv, PublicKeyToken=31bf3856ad364e35

Processing the file 'gh-pages/_fs_formatting/reference/namespaces.cshtml' failed
Source written to: '/var/folders/j7/wbmqw81j2_jcfwn6_hh0ltlh4zjfkz/T/tmp3818520a.tmp.cs'
Compilation errors:
 - (0, 0) Assuming assembly reference `FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches assembly `FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. You may need to supply runtime policy

[0 sec] received exception in MetadataFormat.Generate:
 System.Exception: Generating HTML failed.
  at FSharp.MetadataFormat.RazorRender.ProcessFile[IDictionary`2] (System.String source, Microsoft.FSharp.Core.FSharpOption`1 properties) [0x00000] in <filename unknown>:0
  at FSharp.MetadataFormat.MetadataFormat.Generate (Microsoft.FSharp.Collections.FSharpList`1 dllFiles, System.String outDir, IEnumerable`1 layoutRoots, Microsoft.FSharp.Core.FSharpOption`1 parameters, Microsoft.FSharp.Core.FSharpOption`1 namespaceTemplate, Microsoft.FSharp.Core.FSharpOption`1 moduleTemplate, Microsoft.FSharp.Core.FSharpOption`1 typeTemplate, Microsoft.FSharp.Core.FSharpOption`1 xmlFile, Microsoft.FSharp.Core.FSharpOption`1 sourceRepo, Microsoft.FSharp.Core.FSharpOption`1 sourceFolder, Microsoft.FSharp.Core.FSharpOption`1 publicOnly, Microsoft.FSharp.Core.FSharpOption`1 libDirs, Microsoft.FSharp.Core.FSharpOption`1 otherFlags, Microsoft.FSharp.Core.FSharpOption`1 markDownComments, Microsoft.FSharp.Core.FSharpOption`1 urlRangeHighlight) [0x00000] in <filename unknown>:0
  at FSharp.Formatting.Options.MetadataFormat.GenerateOptions.FSharp-Formatting-IExecutable-IExecutable-Execute () [0x00000] in <filename unknown>:0
/Users/henfel/dev/_vendor/suave/Rakefile:157:in `block (2 levels) in <top (required)>'
Tasks: TOP => docs:api => docs:api_quick
(See full trace by running task with --trace)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants