Tested in MacOS M2.
Indexed `HaskellCodeExplorer` and `hakyll`.
90% OK. Except… something wrong with `TemplateHaskell`. It will crash external interpreter `error: External interpreter terminated (-6)`
Full log
```
liuzichao@192 haskell-code-explorer % ./index
Copying from
/Users/liuzichao/haskell-code-explorer/.stack-work/install/x86_64-osx/62c7a51c416fd62026c848c6dc231d6b66491d4bb3d8e4b33bfabc2d067c5a4b/9.10.2/bin/deriveConstants
to /Users/liuzichao/.local/bin/deriveConstants.
Copying from
/Users/liuzichao/haskell-code-explorer/.stack-work/install/x86_64-osx/62c7a51c416fd62026c848c6dc231d6b66491d4bb3d8e4b33bfabc2d067c5a4b/9.10.2/bin/genprimopcode
to /Users/liuzichao/.local/bin/genprimopcode.
Copying from
/Users/liuzichao/haskell-code-explorer/.stack-work/install/x86_64-osx/62c7a51c416fd62026c848c6dc231d6b66491d4bb3d8e4b33bfabc2d067c5a4b/9.10.2/bin/haskell-code-indexer
to /Users/liuzichao/.local/bin/haskell-code-indexer.
Copying from
/Users/liuzichao/haskell-code-explorer/.stack-work/install/x86_64-osx/62c7a51c416fd62026c848c6dc231d6b66491d4bb3d8e4b33bfabc2d067c5a4b/9.10.2/bin/haskell-code-server
to /Users/liuzichao/.local/bin/haskell-code-server.
Copied executables to /Users/liuzichao/.local/bin/:
* deriveConstants
* genprimopcode
* haskell-code-indexer
* haskell-code-server
2025-10-14 15:21:37.526532 CST : [info] haskell-code-indexer version 0.2.0.0, GHC version 9.10.2.0
2025-10-14 15:21:37.527251 CST : [debug] IndexerConfig {configPackageDirectoryPath = ".", configPackageDistDirRelativePath = Nothing, configOutputDirectoryName = Nothing, configLog = StdOut, configMinLogLevel = LevelDebug, configSourceCodePreprocessing = AfterPreprocessing, configCompression = Gzip, configGhcOptions = [], configIgnoreDirectories = []}
2025-10-14 15:21:37.528145 CST : [info] Found stack.yaml. Executing "stack path --dist-dir" to get dist directory.
2025-10-14 15:21:37.922169 CST : [info] Stack dist directory : .stack-work/dist/x86_64-osx/ghc-9.10.2
2025-10-14 15:21:37.929306 CST : [info] Indexing haskell-code-explorer-0.2.0.0
2025-10-14 15:21:37.929442 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:21:37.929453 CST : [debug] indexBuildComponent
2025-10-14 15:21:37.931267 CST : [debug] Component id : lib
2025-10-14 15:21:37.931292 CST : [debug] Modules : ["HaskellCodeExplorer.PackageInfo","HaskellCodeExplorer.ModuleInfo","HaskellCodeExplorer.Types","HaskellCodeExplorer.Preprocessor","HaskellCodeExplorer.GhcUtils","HaskellCodeExplorer.AST.RenamedSource","HaskellCodeExplorer.AST.TypecheckedSource"]
2025-10-14 15:21:37.931327 CST : [debug] srcDirs : ["src",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:21:37.931339 CST : [debug] GHC command line options : -Wall -O2 -funbox-strict-fields -i/Users/liuzichao/haskell-code-explorer/src -i/Users/liuzichao/haskell-code-explorer/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER HaskellCodeExplorer.PackageInfo HaskellCodeExplorer.ModuleInfo HaskellCodeExplorer.Types HaskellCodeExplorer.Preprocessor HaskellCodeExplorer.GhcUtils HaskellCodeExplorer.AST.RenamedSource HaskellCodeExplorer.AST.TypecheckedSource
2025-10-14 15:21:37.968215 CST : [debug] setTarget : [main:HaskellCodeExplorer.PackageInfo,
main:HaskellCodeExplorer.ModuleInfo,
main:HaskellCodeExplorer.Types,
main:HaskellCodeExplorer.Preprocessor,
main:HaskellCodeExplorer.GhcUtils,
main:HaskellCodeExplorer.AST.RenamedSource,
main:HaskellCodeExplorer.AST.TypecheckedSource]
2025-10-14 15:21:37.968504 CST : [debug] load LoadAllTargets
2025-10-14 15:22:08.736919 CST : [debug] getModuleGraph
2025-10-14 15:22:08.737498 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/src/HaskellCodeExplorer/Types.hs
2025-10-14 15:22:11.836647 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/src/HaskellCodeExplorer/Preprocessor.hs
2025-10-14 15:22:12.083998 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/src/HaskellCodeExplorer/GhcUtils.hs
2025-10-14 15:22:12.454423 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/src/HaskellCodeExplorer/AST/RenamedSource.hs
2025-10-14 15:22:12.626407 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/src/HaskellCodeExplorer/AST/TypecheckedSource.hs
2025-10-14 15:22:13.118701 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/src/HaskellCodeExplorer/ModuleInfo.hs
2025-10-14 15:22:14.832168 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/src/HaskellCodeExplorer/PackageInfo.hs
2025-10-14 15:22:15.153865 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:22:15.153927 CST : [debug] indexBuildComponent
2025-10-14 15:22:15.156293 CST : [debug] Component id : exe-haskell-code-server
2025-10-14 15:22:15.156361 CST : [debug] Modules : ["app/Server.hs"]
2025-10-14 15:22:15.156372 CST : [debug] srcDirs : ["app","src",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:22:15.156381 CST : [debug] GHC command line options : -Wall -O2 -rtsopts -funbox-strict-fields -i/Users/liuzichao/haskell-code-explorer/app -i/Users/liuzichao/haskell-code-explorer/src -i/Users/liuzichao/haskell-code-explorer/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER app/Server.hs
2025-10-14 15:22:15.182518 CST : [debug] setTarget : [main:app/Server.hs]
2025-10-14 15:22:15.182578 CST : [debug] load LoadAllTargets
2025-10-14 15:22:22.553905 CST : [debug] getModuleGraph
2025-10-14 15:22:22.554104 CST : [info] Indexing /Users/liuzichao/haskell-code-explorer/app/Store.hs
2025-10-14 15:22:24.020008 CST : [info] Indexing app/Server.hs
2025-10-14 15:22:25.41603 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:22:25.416104 CST : [debug] indexBuildComponent
2025-10-14 15:22:25.419714 CST : [debug] Component id : exe-haskell-code-indexer
2025-10-14 15:22:25.41975 CST : [debug] Modules : ["app/Indexer.hs"]
2025-10-14 15:22:25.419759 CST : [debug] srcDirs : ["app",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:22:25.419771 CST : [debug] GHC command line options : -Wall -rtsopts -O2 -funbox-strict-fields -package ghc -XMonoLocalBinds -i/Users/liuzichao/haskell-code-explorer/app -i/Users/liuzichao/haskell-code-explorer/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER app/Indexer.hs
2025-10-14 15:22:25.430631 CST : [debug] setTarget : [main:app/Indexer.hs]
2025-10-14 15:22:25.430694 CST : [debug] load LoadAllTargets
2025-10-14 15:22:27.018623 CST : [debug] getModuleGraph
2025-10-14 15:22:27.018757 CST : [info] Indexing app/Indexer.hs
2025-10-14 15:22:28.72198 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:22:28.722038 CST : [debug] indexBuildComponent
2025-10-14 15:22:28.724278 CST : [debug] Component id : test-test
2025-10-14 15:22:28.724314 CST : [debug] Modules : ["test/Main.hs"]
2025-10-14 15:22:28.724324 CST : [debug] srcDirs : ["test",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:22:28.724347 CST : [debug] GHC command line options : -Wall -i/Users/liuzichao/haskell-code-explorer/test -i/Users/liuzichao/haskell-code-explorer/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER test/Main.hs
2025-10-14 15:22:28.733064 CST : [debug] setTarget : [main:test/Main.hs]
2025-10-14 15:22:28.733096 CST : [debug] load LoadAllTargets
2025-10-14 15:22:30.190645 CST : [debug] getModuleGraph
2025-10-14 15:22:30.190777 CST : [info] Indexing test/Main.hs
2025-10-14 15:22:33.268919 CST : [debug] Output directory : ./.haskell-code-explorer
2025-10-14 15:22:36.037892 CST : [info] Finished
Cabal file warning in /Users/liuzichao/hakyll/hakyll.cabal@188:3: The field "autogen-modules" is available only since the Cabal specification version 2.0. This field will be ignored.
2025-10-14 15:22:41.395926 CST : [info] haskell-code-indexer version 0.2.0.0, GHC version 9.10.2.0
Cabal file warning in /Users/liuzichao/hakyll/hakyll.cabal@188:3: The field "autogen-modules" is available only since the Cabal specification version 2.0. This field will be ignored.
2025-10-14 15:22:41.39666 CST : [debug] IndexerConfig {configPackageDirectoryPath = "../hakyll", configPackageDistDirRelativePath = Nothing, configOutputDirectoryName = Nothing, configLog = StdOut, configMinLogLevel = LevelDebug, configSourceCodePreprocessing = AfterPreprocessing, configCompression = Gzip, configGhcOptions = [], configIgnoreDirectories = []}
2025-10-14 15:22:41.397247 CST : [info] Found stack.yaml. Executing "stack path --dist-dir" to get dist directory.
2025-10-14 15:22:41.705788 CST : [info] Stack dist directory : .stack-work/dist/x86_64-osx/ghc-9.10.2
2025-10-14 15:22:41.731056 CST : [info] Indexing hakyll-4.16.7.1
2025-10-14 15:22:41.731108 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:22:41.731115 CST : [debug] indexBuildComponent
2025-10-14 15:22:41.732333 CST : [debug] Component id : lib
2025-10-14 15:22:41.732353 CST : [debug] Modules : ["Hakyll","Hakyll.Commands","Hakyll.Core.Compiler","Hakyll.Core.Compiler.Internal","Hakyll.Core.Configuration","Hakyll.Core.Dependencies","Hakyll.Core.File","Hakyll.Core.Identifier","Hakyll.Core.Identifier.Pattern","Hakyll.Core.Item","Hakyll.Core.Logger","Hakyll.Core.Metadata","Hakyll.Core.Provider","Hakyll.Core.Provider.Metadata","Hakyll.Core.Routes","Hakyll.Core.Rules","Hakyll.Core.Rules.Internal","Hakyll.Core.Runtime","Hakyll.Core.Store","Hakyll.Core.UnixFilter","Hakyll.Core.Util.File","Hakyll.Core.Util.String","Hakyll.Core.Writable","Hakyll.Main","Hakyll.Web.CompressCss","Hakyll.Web.Feed","Hakyll.Web.Html","Hakyll.Web.Html.RelativizeUrls","Hakyll.Web.Meta.JSONLD","Hakyll.Web.Meta.OpenGraph","Hakyll.Web.Meta.TwitterCard","Hakyll.Web.Paginate","Hakyll.Web.Redirect","Hakyll.Web.Tags","Hakyll.Web.Template","Hakyll.Web.Template.Context","Hakyll.Web.Template.Internal","Hakyll.Web.Template.Internal.Element","Hakyll.Web.Template.Internal.Trim","Hakyll.Web.Template.List","Hakyll.Web.Pandoc","Hakyll.Web.Pandoc.Biblio","Hakyll.Web.Pandoc.FileType","Data.List.Extended","Data.Yaml.Extended","Hakyll.Check","Hakyll.Core.Compiler.Require","Hakyll.Core.Identifier.Pattern.Internal","Hakyll.Core.Item.SomeItem","Hakyll.Core.Provider.Internal","Hakyll.Core.Provider.MetadataCache","Hakyll.Core.Util.Parser","Paths_hakyll","Hakyll.Preview.Poll","Hakyll.Preview.Server","Hakyll.Web.Pandoc.Binary"]
2025-10-14 15:22:41.732439 CST : [debug] srcDirs : ["lib",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:22:41.732452 CST : [debug] GHC command line options : -Wall -XHaskell2010 -DPREVIEW_SERVER -DWATCH_SERVER -DCHECK_EXTERNAL -DUSE_PANDOC -i/Users/liuzichao/hakyll/lib -i/Users/liuzichao/hakyll/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER Hakyll Hakyll.Commands Hakyll.Core.Compiler Hakyll.Core.Compiler.Internal Hakyll.Core.Configuration Hakyll.Core.Dependencies Hakyll.Core.File Hakyll.Core.Identifier Hakyll.Core.Identifier.Pattern Hakyll.Core.Item Hakyll.Core.Logger Hakyll.Core.Metadata Hakyll.Core.Provider Hakyll.Core.Provider.Metadata Hakyll.Core.Routes Hakyll.Core.Rules Hakyll.Core.Rules.Internal Hakyll.Core.Runtime Hakyll.Core.Store Hakyll.Core.UnixFilter Hakyll.Core.Util.File Hakyll.Core.Util.String Hakyll.Core.Writable Hakyll.Main Hakyll.Web.CompressCss Hakyll.Web.Feed Hakyll.Web.Html Hakyll.Web.Html.RelativizeUrls Hakyll.Web.Meta.JSONLD Hakyll.Web.Meta.OpenGraph Hakyll.Web.Meta.TwitterCard Hakyll.Web.Paginate Hakyll.Web.Redirect Hakyll.Web.Tags Hakyll.Web.Template Hakyll.Web.Template.Context Hakyll.Web.Template.Internal Hakyll.Web.Template.Internal.Element Hakyll.Web.Template.Internal.Trim Hakyll.Web.Template.List Hakyll.Web.Pandoc Hakyll.Web.Pandoc.Biblio Hakyll.Web.Pandoc.FileType Data.List.Extended Data.Yaml.Extended Hakyll.Check Hakyll.Core.Compiler.Require Hakyll.Core.Identifier.Pattern.Internal Hakyll.Core.Item.SomeItem Hakyll.Core.Provider.Internal Hakyll.Core.Provider.MetadataCache Hakyll.Core.Util.Parser Paths_hakyll Hakyll.Preview.Poll Hakyll.Preview.Server Hakyll.Web.Pandoc.Binary
2025-10-14 15:22:41.753725 CST : [debug] setTarget : [main:Hakyll, main:Hakyll.Commands, main:Hakyll.Core.Compiler,
main:Hakyll.Core.Compiler.Internal, main:Hakyll.Core.Configuration,
main:Hakyll.Core.Dependencies, main:Hakyll.Core.File,
main:Hakyll.Core.Identifier, main:Hakyll.Core.Identifier.Pattern,
main:Hakyll.Core.Item, main:Hakyll.Core.Logger,
main:Hakyll.Core.Metadata, main:Hakyll.Core.Provider,
main:Hakyll.Core.Provider.Metadata, main:Hakyll.Core.Routes,
main:Hakyll.Core.Rules, main:Hakyll.Core.Rules.Internal,
main:Hakyll.Core.Runtime, main:Hakyll.Core.Store,
main:Hakyll.Core.UnixFilter, main:Hakyll.Core.Util.File,
main:Hakyll.Core.Util.String, main:Hakyll.Core.Writable,
main:Hakyll.Main, main:Hakyll.Web.CompressCss,
main:Hakyll.Web.Feed, main:Hakyll.Web.Html,
main:Hakyll.Web.Html.RelativizeUrls, main:Hakyll.Web.Meta.JSONLD,
main:Hakyll.Web.Meta.OpenGraph, main:Hakyll.Web.Meta.TwitterCard,
main:Hakyll.Web.Paginate, main:Hakyll.Web.Redirect,
main:Hakyll.Web.Tags, main:Hakyll.Web.Template,
main:Hakyll.Web.Template.Context,
main:Hakyll.Web.Template.Internal,
main:Hakyll.Web.Template.Internal.Element,
main:Hakyll.Web.Template.Internal.Trim,
main:Hakyll.Web.Template.List, main:Hakyll.Web.Pandoc,
main:Hakyll.Web.Pandoc.Biblio, main:Hakyll.Web.Pandoc.FileType,
main:Data.List.Extended, main:Data.Yaml.Extended,
main:Hakyll.Check, main:Hakyll.Core.Compiler.Require,
main:Hakyll.Core.Identifier.Pattern.Internal,
main:Hakyll.Core.Item.SomeItem, main:Hakyll.Core.Provider.Internal,
main:Hakyll.Core.Provider.MetadataCache,
main:Hakyll.Core.Util.Parser, main:Paths_hakyll,
main:Hakyll.Preview.Poll, main:Hakyll.Preview.Server,
main:Hakyll.Web.Pandoc.Binary]
2025-10-14 15:22:41.754274 CST : [debug] load LoadAllTargets
ghc-iserv: internal error: ASSERTION FAILED: file rts/linker/MachO.c, line 969
(GHC version 9.10.2 for x86_64_apple_darwin)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
<no location info>: error: External interpreter terminated (-6)
2025-10-14 15:22:45.266054 CST : [debug] getModuleGraph
2025-10-14 15:22:45.266621 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Data/List/Extended.hs
2025-10-14 15:22:46.257335 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Data/Yaml/Extended.hs
2025-10-14 15:22:47.172382 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Configuration.hs
2025-10-14 15:22:47.345567 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Identifier.hs
2025-10-14 15:22:47.503442 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Identifier/Pattern/Internal.hs
2025-10-14 15:22:47.587299 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Logger.hs
2025-10-14 15:22:47.656745 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Store.hs
2025-10-14 15:22:47.752057 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Util/File.hs
2025-10-14 15:22:47.801423 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Provider/Internal.hs
2025-10-14 15:22:47.88286 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Util/Parser.hs
2025-10-14 15:22:47.920279 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Util/String.hs
2025-10-14 15:22:47.961338 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Identifier/Pattern.hs
2025-10-14 15:22:48.05351 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Dependencies.hs
2025-10-14 15:22:48.1266 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Metadata.hs
2025-10-14 15:22:48.194509 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Provider/Metadata.hs
2025-10-14 15:22:48.261083 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Provider/MetadataCache.hs
2025-10-14 15:22:48.301682 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Provider.hs
2025-10-14 15:22:48.332664 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Routes.hs
2025-10-14 15:22:48.423169 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Compiler/Internal.hs
2025-10-14 15:22:48.548239 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Item.hs
2025-10-14 15:22:48.587068 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Compiler/Require.hs
2025-10-14 15:22:49.292478 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Compiler.hs
2025-10-14 15:22:49.391029 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/UnixFilter.hs
2025-10-14 15:22:49.449119 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Writable.hs
2025-10-14 15:22:49.480195 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Item/SomeItem.hs
2025-10-14 15:22:49.504419 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Rules/Internal.hs
2025-10-14 15:22:49.558986 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Runtime.hs
2025-10-14 15:22:49.715873 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/Rules.hs
2025-10-14 15:22:49.863905 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Core/File.hs
2025-10-14 15:22:49.909403 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Preview/Poll.hs
2025-10-14 15:22:49.951948 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Preview/Server.hs
2025-10-14 15:22:49.997596 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/CompressCss.hs
2025-10-14 15:22:50.048093 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Html.hs
2025-10-14 15:22:50.141461 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Html/RelativizeUrls.hs
2025-10-14 15:22:50.172422 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Pandoc/Binary.hs
2025-10-14 15:22:50.234928 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Pandoc/FileType.hs
2025-10-14 15:22:50.273123 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Pandoc.hs
2025-10-14 15:22:50.367832 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Pandoc/Biblio.hs
2025-10-14 15:22:50.449156 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Redirect.hs
2025-10-14 15:22:50.502005 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Template/Context.hs
2025-10-14 15:22:50.649723 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Tags.hs
2025-10-14 15:22:50.760915 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Paginate.hs
2025-10-14 15:22:50.82611 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Template/Internal/Element.hs
2025-10-14 15:22:50.924398 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Template/Internal/Trim.hs
2025-10-14 15:22:50.971703 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Template/Internal.hs
2025-10-14 15:22:51.661889 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Template.hs
2025-10-14 15:22:51.70604 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Meta/TwitterCard.hs
2025-10-14 15:22:51.736508 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Meta/OpenGraph.hs
2025-10-14 15:22:51.766479 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Meta/JSONLD.hs
2025-10-14 15:22:51.816445 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Template/List.hs
2025-10-14 15:22:51.868086 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Web/Feed.hs
2025-10-14 15:22:51.873017 CST : [error] Error while indexing HaskellModulePath {getHaskellModulePath = "/Users/liuzichao/hakyll/lib/Hakyll/Web/Feed.hs"} : External interpreter terminated (-6)
2025-10-14 15:22:51.873076 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Check.hs
2025-10-14 15:22:51.989472 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Commands.hs
2025-10-14 15:22:52.063156 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll/Main.hs
2025-10-14 15:22:52.156161 CST : [info] Indexing /Users/liuzichao/hakyll/lib/Hakyll.hs
2025-10-14 15:22:52.158591 CST : [error] Error while indexing HaskellModulePath {getHaskellModulePath = "/Users/liuzichao/hakyll/lib/Hakyll.hs"} : /Users/liuzichao/hakyll/lib/Hakyll.hs:56:1: error: [GHC-58427]
attempting to use module `main:Hakyll.Web.Feed' (/Users/liuzichao/hakyll/lib/Hakyll/Web/Feed.hs) which is not loaded
2025-10-14 15:22:52.166323 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:22:52.166361 CST : [debug] indexBuildComponent
2025-10-14 15:22:52.167271 CST : [debug] Component id : exe-hakyll-website
2025-10-14 15:22:52.167322 CST : [debug] Modules : ["web/site.hs"]
2025-10-14 15:22:52.167336 CST : [debug] srcDirs : ["web",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:22:52.167361 CST : [debug] GHC command line options : -Wall -threaded -XHaskell2010 -i/Users/liuzichao/hakyll/web -i/Users/liuzichao/hakyll/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER web/site.hs
2025-10-14 15:22:52.178806 CST : [debug] setTarget : [main:web/site.hs]
2025-10-14 15:22:52.178873 CST : [debug] load LoadAllTargets
2025-10-14 15:22:53.235175 CST : [debug] getModuleGraph
2025-10-14 15:22:53.23533 CST : [info] Indexing web/site.hs
2025-10-14 15:22:53.849865 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:22:53.849918 CST : [debug] indexBuildComponent
2025-10-14 15:22:53.850553 CST : [debug] Component id : exe-hakyll-init
2025-10-14 15:22:53.850575 CST : [debug] Modules : ["src/Init.hs"]
2025-10-14 15:22:53.850584 CST : [debug] srcDirs : ["src",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:22:53.850595 CST : [debug] GHC command line options : -Wall -threaded -XHaskell2010 -i/Users/liuzichao/hakyll/src -i/Users/liuzichao/hakyll/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER src/Init.hs
2025-10-14 15:22:53.860588 CST : [debug] setTarget : [main:src/Init.hs]
2025-10-14 15:22:53.860643 CST : [debug] load LoadAllTargets
2025-10-14 15:22:54.732083 CST : [debug] getModuleGraph
2025-10-14 15:22:54.732169 CST : [info] Indexing src/Init.hs
2025-10-14 15:22:54.885127 CST : [debug] ------------------------------------------------------------------------
2025-10-14 15:22:54.885182 CST : [debug] indexBuildComponent
2025-10-14 15:22:54.887835 CST : [debug] Component id : test-hakyll-tests
2025-10-14 15:22:54.887873 CST : [debug] Modules : ["tests/TestSuite.hs"]
2025-10-14 15:22:54.887882 CST : [debug] srcDirs : ["tests",".stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen"]
2025-10-14 15:22:54.887894 CST : [debug] GHC command line options : -Wall -threaded -XHaskell2010 -DPREVIEW_SERVER -DWATCH_SERVER -DCHECK_EXTERNAL -DUSE_PANDOC -i/Users/liuzichao/hakyll/tests -i/Users/liuzichao/hakyll/.stack-work/dist/x86_64-osx/ghc-9.10.2/build/autogen -DHASKELL_CODE_INDEXER tests/TestSuite.hs
2025-10-14 15:22:54.895881 CST : [debug] setTarget : [main:tests/TestSuite.hs]
2025-10-14 15:22:54.895917 CST : [debug] load LoadAllTargets
ghc-iserv: internal error: ASSERTION FAILED: file rts/linker/MachO.c, line 969
(GHC version 9.10.2 for x86_64_apple_darwin)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
<no location info>: error: External interpreter terminated (-6)
2025-10-14 15:22:57.836961 CST : [debug] getModuleGraph
2025-10-14 15:22:57.837278 CST : [info] Indexing /Users/liuzichao/hakyll/tests/TestSuite/Util.hs
2025-10-14 15:22:58.794967 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Template/Tests.hs
2025-10-14 15:22:58.799721 CST : [error] Error while indexing HaskellModulePath {getHaskellModulePath = "/Users/liuzichao/hakyll/tests/Hakyll/Web/Template/Tests.hs"} : External interpreter terminated (-6)
2025-10-14 15:22:58.79976 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Template/Context/Tests.hs
2025-10-14 15:22:59.604961 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Tags/Tests.hs
2025-10-14 15:22:59.684828 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Pandoc/FileType/Tests.hs
2025-10-14 15:22:59.727937 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
2025-10-14 15:23:00.021265 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Html/Tests.hs
2025-10-14 15:23:00.115297 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs
2025-10-14 15:23:00.162349 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/Feed/Tests.hs
2025-10-14 15:23:00.197499 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Web/CompressCss/Tests.hs
2025-10-14 15:23:00.226348 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Util/String/Tests.hs
2025-10-14 15:23:00.258121 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/UnixFilter/Tests.hs
2025-10-14 15:23:00.292838 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Store/Tests.hs
2025-10-14 15:23:00.33408 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Runtime/Tests.hs
2025-10-14 15:23:00.412718 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Rules/Tests.hs
2025-10-14 15:23:01.097991 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Routes/Tests.hs
2025-10-14 15:23:01.132209 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Provider/Tests.hs
2025-10-14 15:23:01.160093 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Provider/Metadata/Tests.hs
2025-10-14 15:23:01.197058 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Identifier/Tests.hs
2025-10-14 15:23:01.237107 CST : [info] Indexing /Users/liuzichao/hakyll/tests/Hakyll/Core/Dependencies/Tests.hs
2025-10-14 15:23:01.270814 CST : [info] Indexing tests/TestSuite.hs
2025-10-14 15:23:01.272197 CST : [error] Error while indexing HaskellModulePath {getHaskellModulePath = "tests/TestSuite.hs"} : tests/TestSuite.hs:31:1: error: [GHC-58427]
attempting to use module `main:Hakyll.Web.Template.Tests' (/Users/liuzichao/hakyll/tests/Hakyll/Web/Template/Tests.hs) which is not loaded
2025-10-14 15:23:01.293694 CST : [debug] Output directory : ../hakyll/.haskell-code-explorer
2025-10-14 15:23:01.6327 CST : [info] Finished
liuzichao@192 haskell-code-explorer %
```