Skip to content

Instantly share code, notes, and snippets.

@wz1000
Created July 19, 2019 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wz1000/8c1bdc4b1f41fcdb0592533ed09da1aa to your computer and use it in GitHub Desktop.
Save wz1000/8c1bdc4b1f41fcdb0592533ed09da1aa to your computer and use it in GitHub Desktop.
ghcDispatcher:got request 2 with id: Just (IdInt 2)
("lookupCradle","/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs",GhcModuleCache {cradleCache = Data.Trie.fromList [], uriCaches = fromList [], currentCradle = Nothing})
("New cradle","/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs")
Cradle {cradleRootDir = "/home/zubin/haskell-ide-engine/test/testdata", cradleOptsProg = CradleAction: bios}
res
(ExitSuccess,"Building all executables for `testdata' once. After a successful build of all of them, only specified executables will be rebuilt.\ntestdata> configure (exe)\nConfiguring testdata-0.1.0.0...\n[1 of 5] Compiling CabalHelper.Shared.Common ( .stack-work/cabal-helper/CabalHelper/Shared/Common.hs, .stack-work/cabal-helper/CabalHelper/Shared/Common.o )\n[2 of 5] Compiling CabalHelper.Shared.InterfaceTypes ( .stack-work/cabal-helper/CabalHelper/Shared/InterfaceTypes.hs, .stack-work/cabal-helper/CabalHelper/Shared/InterfaceTypes.o )\n[3 of 5] Compiling CabalHelper.Runtime.Compat ( .stack-work/cabal-helper/CabalHelper/Runtime/Compat.hs, .stack-work/cabal-helper/CabalHelper/Runtime/Compat.o )\n[4 of 5] Compiling CabalHelper.Runtime.HelperMain ( .stack-work/cabal-helper/CabalHelper/Runtime/HelperMain.hs, .stack-work/cabal-helper/CabalHelper/Runtime/HelperMain.o )\n[5 of 5] Compiling Main ( .stack-work/cabal-helper/CabalHelper/Runtime/Main.hs, .stack-work/cabal-helper/Main.o )\nLinking ./.stack-work/cabal-helper/cabal-helper ...\n",["-fbuilding-cabal-package","-O","-outputdir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-odir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-hidir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-stubdir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-i","-i.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-i.","-i.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/autogen","-i.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/global-autogen","-I.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/autogen","-I.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/global-autogen","-I.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-optP-include","-optP.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/zubin/.stack/snapshots/x86_64-linux/103998032a082d2ae5e0a854e4c3e86059610158e852fef3b73d8c514e7c2193/8.6.5/pkgdb","-package-db","/home/zubin/haskell-ide-engine/test/testdata/.stack-work/install/x86_64-linux/103998032a082d2ae5e0a854e4c3e86059610158e852fef3b73d8c514e7c2193/8.6.5/pkgdb","-package-id","base-4.12.0.0","-XHaskell2010","/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs"],"/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs")
["-fbuilding-cabal-package","-O","-outputdir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-odir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-hidir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-stubdir",".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-i","-i.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-i.","-i.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/autogen","-i.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/global-autogen","-I.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/autogen","-I.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/global-autogen","-I.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp","-optP-include","-optP.stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/zubin/.stack/snapshots/x86_64-linux/103998032a082d2ae5e0a854e4c3e86059610158e852fef3b73d8c514e7c2193/8.6.5/pkgdb","-package-db","/home/zubin/haskell-ide-engine/test/testdata/.stack-work/install/x86_64-linux/103998032a082d2ae5e0a854e4c3e86059610158e852fef3b73d8c514e7c2193/8.6.5/pkgdb","-package-id","base-4.12.0.0","-XHaskell2010","/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs"]
31
(["/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs"],0)
loading (1, 1)
["/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs"]
setTypecheckedModule: before ghc-mod
Loading file
setTypecheckedModule: before ghc-mod
Loading file
loadFile:2 /home/zubin/haskell-ide-engine/test/testdata
loadFile:3 0
"Here***"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"package flags [-package-id base-4.12.0.0{unit base-4.12.0.0 True ([])}]"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"loading package database /home/zubin/.ghcup/ghc/8.6.5/lib/ghc-8.6.5/package.conf.d"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"loading package database /home/zubin/.stack/snapshots/x86_64-linux/103998032a082d2ae5e0a854e4c3e86059610158e852fef3b73d8c514e7c2193/8.6.5/pkgdb"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"loading package database /home/zubin/haskell-ide-engine/test/testdata/.stack-work/install/x86_64-linux/103998032a082d2ae5e0a854e4c3e86059610158e852fef3b73d8c514e7c2193/8.6.5/pkgdb"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"wired-in package ghc-prim mapped to ghc-prim-0.5.3"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"wired-in package integer-gmp mapped to integer-gmp-1.0.2.0"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"wired-in package base mapped to base-4.12.0.0"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"wired-in package rts mapped to rts"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"wired-in package template-haskell mapped to template-haskell-2.14.0.0"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"wired-in package ghc mapped to ghc-8.6.5"
setTargets
(/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs , /home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs)
[*/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs]
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"*** Chasing dependencies:"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Chasing modules from: /home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Running the pipeline"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Running phase Cpp HsSrcFile"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Running phase HsPp HsSrcFile"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"!!! Chasing dependencies: finished in 3.42 milliseconds, allocated 1.192 megabytes"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Chasing dependencies: alloc=1249896 time=3.415"
modGraph
[ModSummary {
ms_hs_date = 2019-06-14 19:30:10.30643144 UTC
ms_mod = Main,
ms_textual_imps = [(Nothing, Prelude)]
ms_srcimps = []
}]
modGraph
[ModLocation {ml_hs_file = Just "/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs", ml_hi_file = "/home/zubin/.cache/haskell-ide-engine/70325ab0eb20cf612a2792ebf048868fc996031e/Main.hi", ml_obj_file = ".stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/applyrefact/applyrefact-tmp/Main.o"}]
"Use hook"
hidir
Just [/, h, o, m, e, /, z, u, b, i, n, /, ., c, a, c, h, e, /, h,
a, s, k, e, l, l, -, i, d, e, -, e, n, g, i, n, e, /, 7, 0, 3, 2,
5, a, b, 0, e, b, 2, 0, c, f, 6, 1, 2, a, 2, 7, 9, 2, e, b, f, 0,
4, 8, 8, 6, 8, f, c, 9, 9, 6, 0, 3, 1, e]
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Stable obj: []\nStable BCO: [\NULESf6v :-> Main]"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"unload: retaining objs []"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"unload: retaining bcos []"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Ready for upsweep\n [NONREC\n ModSummary {\n ms_hs_date = 2019-06-14 19:30:10.30643144 UTC\n ms_mod = main:Main,\n ms_textual_imps = [(Nothing,\n {/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs:1:1}\n Prelude)]\n ms_srcimps = []\n }]"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"*** Deleting temp files:"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Deleting: "
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"skipping stable BCO mod: Main"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Upsweep completely successful."
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"*** Deleting temp files:"
(UnhelpfulSpan "<no location info>",Left "<no location info>")
Writing err"Deleting: "
loaded
/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs
/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs
("tms",[])
File, loaded
setTypecheckedModule: after ghc-mod
Diags: fromList []
setTypecheckedModule: Didn't get typechecked or parsed module for: "/home/zubin/haskell-ide-engine/test/testdata/FuncTest.hs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment