haskell-language-server
haskell-language-server copied to clipboard
use OsPath in NormalizedFilePath
I'm having trouble with running cabal bench ghcide locally. Below are the logs. Let's try it in the CI.
Benchmark benchHist: RUNNING...
# git (for bench-results/binaries/upstream/commitid)
# ghcide-bench (for bench-results/unprofiled/cabal/upstream/completions.csv bench-results/unprofiled/cabal/upstream/completions.gcStats.log bench-results/unprofiled/cabal/upstream/completions.output.log bench-results/unprofiled/cabal/upstream/completions.eventlog bench-results/unprofiled/cabal/upstream/completions.hp)
Config {verbosity = All, shakeProfiling = Nothing, otMemoryProfiling = Nothing, outputCSV = "bench-results/unprofiled/cabal/upstream/completions.csv", buildTool = Cabal, ghcideOptions = ["+RTS -l -Sbench-results/unprofiled/cabal/upstream/completions.gcStats.log -RTS"], matches = ["completions"], repetitions = Just 50, ghcide = "bench-results/binaries/upstream/ghcide", timeoutLsp = 300, example = Example {exampleName = "name", exampleDetails = Right (ExamplePackage {packageName = "Cabal", packageVersion = Version {versionBranch = [3,0,0,0], versionTags = []}}), exampleModules = ["Distribution/Simple.hs","Distribution/Types/Module.hs"], exampleExtraArgs = []}}
# cabal (for bench-results/binaries/HEAD/ghcide bench-results/binaries/HEAD/ghc.path)
# ghcide-bench (for bench-results/unprofiled/cabal/upstream/code_actions_after_cradle_edit.csv bench-results/unprofiled/cabal/upstream/code_actions_after_cradle_edit.gcStats.log bench-results/unprofiled/cabal/upstream/code_actions_after_cradle_edit.output.log bench-results/unprofiled/cabal/upstream/code_actions_after_cradle_edit.eventlog bench-results/unprofiled/cabal/upstream/code_actions_after_cradle_edit.hp)
Error when running Shake build system:
at want, called at bench/hist/Main.hs:83:13 in main:Main
* Depends on: all
at need, called at src/Development/Benchmark/Rules.hs:177:9 in shake-bench-0.1.1.0-inplace:Development.Benchmark.Rules
* Depends on: bench-results/unprofiled/cabal/upstream/completions.svg
at loadRunLog, called at src/Development/Benchmark/Rules.hs:421:17 in shake-bench-0.1.1.0-inplace:Development.Benchmark.Rules
at readFileLines, called at src/Development/Benchmark/Rules.hs:575:10 in shake-bench-0.1.1.0-inplace:Development.Benchmark.Rules
at readFile', called at src/Development/Shake/Internal/Derived.hs:131:30 in shake-0.19.6-e7f1dd36dd6af865d4a59d67596fddeea4106f96e2b2d330f91bbb3315aeacff:Development.Shake.Internal.Derived
at need, called at src/Development/Shake/Internal/Derived.hs:118:15 in shake-0.19.6-e7f1dd36dd6af865d4a59d67596fddeea4106f96e2b2d330f91bbb3315aeacff:Development.Shake.Internal.Derived
* Depends on: bench-results/unprofiled/cabal/upstream/completions.gcStats.log
at &%>, called at src/Development/Benchmark/Rules.hs:303:7 in shake-bench-0.1.1.0-inplace:Development.Benchmark.Rules
* Depends on: bench-results/unprofiled/cabal/upstream/completions.csv bench-results/unprofiled/cabal/upstream/completions.gcStats.log bench-results/unprofiled/cabal/upstream/completions.output.log bench-results/unprofiled/cabal/upstream/completions.eventlog bench-results/unprofiled/cabal/upstream/completions.hp
* Raised the exception:
ghcide.eventlog: renameFile:renamePath:rename: does not exist (No such file or directory)
Update: Oh no, benchmark in CI uses ghc 8.10.7, which is not compatible even with filepath-compat (it requires newer text and bytestring, both of them can not be reinstalled due to ghc can not be reinstalled)