You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run nix-shell -p lzma -p libxz -p clang, with ghc also coming from nix. cabal new-build all works. Run nvim in that shell.
Open src/Edna/Config/Definition.hs (uses TH: makeLenses) - fails. src/Edna/Dashboard/Error.hs - works.
If I remove all TH splices from failing module it starts to work too. Adding -fobject-code and -fexternal-interpreter does not help.
Expected behaviour
HLS works ;)
Actual behaviour
HLS publishes this diagnostics and does not try to go further:
haskell-language-server-8.10.4: loadArchive: Neither an archive, nor a fat archive: `/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++'
I also see a bunch of this in hls debug log:
2021-04-07 10:59:09.005019 [ThreadId 35] INFO hls: File:
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DsError
Message:
Internal error, getIdeGlobalExtras, no entry for IdeConfigurationVar
CallStack (from HasCallStack):
errorIO, called at src/Development/IDE/Core/Shake.hs:284:20 in
ghcide-1.0.0.0-inplace:Development.IDE.Core.Shake
Include debug information
Execute in the root of your project the command haskell-language-server --debug . and paste the logs here:
Debug output:
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /Users/maksbotan/.local/bin/haskell-language-server-8.10.4) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
2021-04-07 11:01:59.96037 [ThreadId 4] DEBUG hls: Set files of interest to: [(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Schema.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Parser.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Analysis/FourPL.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/UploadSpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/SampleData.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/DashboardSpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Schema.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/Gen.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/DB/Schema.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Error.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/Setup.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Schema.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/DB/DBSpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/DB/Gen.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/app/Main.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Util.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/Util/URISpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Error.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Error.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/Orphans.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Util/URI.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Spec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Types.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Library/Error.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Error.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/SMT/State.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/SMT/SMTSpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/LibrarySpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/ParserSpec.hs",OnDisk),(NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Orphans.hs",OnDisk)]
2021-04-07 11:01:59.969034 [ThreadId 30] INFO hls: File:
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DsError
Message:
�[0;91mInternal error, getIdeGlobalExtras, no entry for IdeConfigurationVar
CallStack (from HasCallStack):
errorIO, called at src/Development/IDE/Core/Shake.hs:284:20 in
ghcide-1.0.0.0-inplace:Development.IDE.Core.Shake�[0m
2021-04-07 11:01:59.971761 [ThreadId 101] INFO hls: Consulting the cradle for "src/Edna/Web/Swagger.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/Users/maksbotan/temp/edna/backend", cradleOptsProg = CradleAction: Cabal}
> Build profile: -w ghc-8.10.4 -O1
> In order, the following will be built (use -v for more details):
> - edna-0 (lib) (first run)
> Preprocessing library for edna-0..
2021-04-07 11:02:01.817719 [ThreadId 101] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build","-odir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build","-hidir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build","-stubdir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build","-i","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build","-isrc","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/global-autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/global-autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build","-optP-include","-optP/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/cabal_macros.h","-this-unit-id","edna-0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/Users/maksbotan/.cabal/store/ghc-8.10.4/package.db","-package-db","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/packagedb/ghc-8.10.4","-package-db","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/package.conf.inplace","-package-id","sn-1.5.5.1-3d590598","-package-id","sn-csng-0.2.0.0-a6335402","-package-id","base-4.14.1.0","-package-id","bm-cr-0.9.0.0-9724d95e","-package-id","bm-pstgrs-0.5.0.0-f1a2498d","-package-id","bytestring-0.10.12.0","-package-id","containers-0.6.2.1","-package-id","dt-dflt-0.7.1.1-5f339c76","-package-id","fmt-0.6.1.2-24b9b6e7","-package-id","mcrlns-0.4.11.2-303d906a","-package-id","mcrlns-pltfrm-0.4.1-9a6cb8d1","-package-id","ntwrk-r-2.6.3.0-c936b43f","-package-id","ntwrk-r-jsn-0.4.0.0-eb22c375","-package-id","ptprs-pplctv-0.15.1.0-048a79d1","-package-id","pstgrsql-smpl-0.6.4-675fe7ba","-package-id","rsrc-pl-0.2.3.2-9e44430f","-package-id","r-0.1.20.0-f24f4f0a","-package-id","srvnt-0.18.2-dc4fb2ae","-package-id","srvnt-mltprt-0.12-d178367a","-package-id","srvnt-srvr-0.18.2-c10d53ab","-package-id","srvnt-swggr-1.1.10-92ace83e","-package-id","srvnt-swggr--0.3.4.3.37.2-1071a426","-package-id","srvnt-swggr--cr-0.3.4-26e5bdc2","-package-id","srvnt-tl-0.1.0-7498c4f0","-package-id","splt-0.2.3.4-aa9770d3","-package-id","swggr2-2.6-ca903a87","-package-id","text-1.2.4.1","-package-id","time-1.9.3","-package-id","nvrsm-1.5.0-850278d9","-package-id","nrdrd-cntnrs-0.2.13.0-933492ca","-package-id","w-3.2.3-d2fbce7c","-package-id","w-xtr-3.1.6-6166a8ed","-package-id","wrp-3.3.14-08aeb0b4","-package-id","xlsx-0.8.2-95a6d408","-XHaskell2010","-XAllowAmbiguousTypes","-XBangPatterns","-XBlockArguments","-XConstraintKinds","-XDataKinds","-XDefaultSignatures","-XDeriveAnyClass","-XDeriveDataTypeable","-XDeriveFoldable","-XDeriveFunctor","-XDeriveGeneric","-XDeriveTraversable","-XDerivingStrategies","-XDerivingVia","-XEmptyCase","-XFlexibleContexts","-XFlexibleInstances","-XGADTs","-XGeneralizedNewtypeDeriving","-XLambdaCase","-XMultiParamTypeClasses","-XMultiWayIf","-XNamedFieldPuns","-XNegativeLiterals","-XNumDecimals","-XNoImplicitPrelude","-XOverloadedLabels","-XOverloadedStrings","-XPatternSynonyms","-XPolyKinds","-XQuasiQuotes","-XRankNTypes","-XRecordWildCards","-XRecursiveDo","-XScopedTypeVariables","-XStandaloneDeriving","-XStrictData","-XTemplateHaskell","-XTupleSections","-XTypeApplications","-XTypeFamilies","-XTypeOperators","-XUndecidableInstances","-XUndecidableSuperClasses","-XViewPatterns","Edna.Analysis.FourPL","Edna.Config.Definition","Edna.Config.Utils","Edna.Dashboard.DB.Query","Edna.Dashboard.DB.Schema","Edna.Dashboard.Error","Edna.Dashboard.Service","Edna.Dashboard.Web.API","Edna.Dashboard.Web.Types","Edna.DB.Connection","Edna.DB.Initialisation","Edna.DB.Integration","Edna.DB.Schema","Edna.Logging","Edna.Orphans","Edna.Setup","Edna.Web.API","Edna.Web.Server","Edna.Web.Swagger","Edna.Web.Handlers","Edna.Web.Types","Edna.ExperimentReader.Error","Edna.ExperimentReader.Parser","Edna.ExperimentReader.Types","Edna.Library.Error","Edna.Library.DB.Query","Edna.Library.DB.Schema","Edna.Library.Web.API","Edna.Library.Web.Types","Edna.Library.Service","Edna.Upload.Web.API","Edna.Upload.Web.Types","Edna.Upload.Error","Edna.Upload.Service","Edna.Upload.DB.Schema","Edna.Upload.DB.Query","Edna.Util","Edna.Util.URI","Paths_edna","Edna.Web.Error","-Weverything","-Wno-missing-exported-signatures","-Wno-missing-import-lists","-Wno-missed-specialisations","-Wno-all-missed-specialisations","-Wno-unsafe","-Wno-safe","-Wno-missing-local-signatures","-Wno-monomorphism-restriction","-Wno-implicit-prelude","-Wno-prepositive-qualified-module","-Wno-inferred-safe-imports","-Wno-missing-safe-haskell-mode","-hide-all-packages"], componentRoot = "/Users/maksbotan/temp/edna/backend", componentDependencies = ["edna.cabal","cabal.project","cabal.project.local"]},"/nix/store/z7hbni4my8fpn2mh151jnq38wixn4q82-ghc-8.10.4/lib/ghc-8.10.4")
2021-04-07 11:02:01.8966 [ThreadId 101] INFO hls: Using interface files cache dir: /Users/maksbotan/.cache/ghcide/edna-0-inplace-320ed4f9ea81c2b74803d9c874262fa64c5e426a
2021-04-07 11:02:01.896916 [ThreadId 101] INFO hls: Making new HscEnv[edna-0-inplace]
2021-04-07 11:02:01.908924 [ThreadId 101] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 448),fromList [("/Users/maksbotan/temp/edna/backend/hie.yaml",Just 2021-04-07 08:01:15.539422721 UTC),("cabal.project",Just 2021-04-07 07:25:52.654364305 UTC),("cabal.project.local",Nothing),("edna.cabal",Just 2021-04-07 07:25:26.074536597 UTC)])
2021-04-07 11:02:01.993855 [ThreadId 101] DEBUG hls: Known files updated: fromList [(TargetModule Edna.DB.Integration,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs"]),(TargetModule Edna.Dashboard.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs"]),(TargetModule Edna.Setup,["/Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs"]),(TargetModule Edna.Dashboard.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs"]),(TargetModule Edna.DB.Connection,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs"]),(TargetModule Edna.Web.Server,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs",["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs"]),(TargetModule Edna.Library.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs"]),(TargetModule Edna.Upload.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs"]),(TargetModule Edna.ExperimentReader.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Types.hs"]),(TargetModule Edna.Library.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs"]),(TargetModule Edna.Upload.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs"]),(TargetModule Edna.Web.Swagger,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs"]),(TargetModule Edna.Dashboard.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs"]),(TargetModule Edna.Web.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Error.hs"]),(TargetModule Edna.Util.URI,["/Users/maksbotan/temp/edna/backend/src/Edna/Util/URI.hs"]),(TargetModule Edna.Config.Definition,["/Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs"]),(TargetModule Edna.Dashboard.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs"]),(TargetModule Edna.Library.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs"]),(TargetModule Edna.Web.Handlers,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs"]),(TargetModule Edna.Logging,["/Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs"]),(TargetModule Edna.ExperimentReader.Parser,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Parser.hs"]),(TargetModule Paths_edna,["/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/Paths_edna.hs"]),(TargetModule Edna.Library.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs"]),(TargetModule Edna.Analysis.FourPL,["/Users/maksbotan/temp/edna/backend/src/Edna/Analysis/FourPL.hs"]),(TargetModule Edna.Upload.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Schema.hs"]),(TargetModule Edna.Orphans,["/Users/maksbotan/temp/edna/backend/src/Edna/Orphans.hs"]),(TargetModule Edna.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs"]),(TargetModule Edna.Config.Utils,["/Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs"]),(TargetModule Edna.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Schema.hs"]),(TargetModule Edna.Library.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Error.hs"]),(TargetModule Edna.Dashboard.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Schema.hs"]),(TargetModule Edna.ExperimentReader.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Error.hs"]),(TargetModule Edna.Upload.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs"]),(TargetModule Edna.Upload.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs"]),(TargetModule Edna.Util,["/Users/maksbotan/temp/edna/backend/src/Edna/Util.hs"]),(TargetModule Edna.DB.Initialisation,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs"]),(TargetModule Edna.Upload.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Error.hs"]),(TargetModule Edna.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs"]),(TargetModule Edna.Dashboard.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Error.hs"]),(TargetModule Edna.Library.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Schema.hs"])]
2021-04-07 11:02:01.995451 [ThreadId 101] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-04-07 11:02:01.995674 [ThreadId 18] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-04-07 11:02:02.001139 [ThreadId 160] INFO hls: Consulting the cradle for "test/Test/SwaggerSpec.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/Users/maksbotan/temp/edna/backend", cradleOptsProg = CradleAction: Cabal}
> Build profile: -w ghc-8.10.4 -O1
> In order, the following will be built (use -v for more details):
> - edna-0 (lib) (first run)
> - haskell-lexer-1.1 (lib:haskell-lexer) (requires download & build)
> - hspec-discover-2.7.8 (exe:hspec-discover) (requires build)
> - lifted-async-0.10.1.2 (lib) (requires download & build)
> - erf-2.0.0.0 (lib:erf) (requires download & build)
> - terminal-size-0.3.2.1 (lib) (requires download & build)
> - wl-pprint-annotated-0.1.0.1 (lib) (requires download & build)
> - pretty-show-1.10 (lib) (requires download & build)
> - concurrent-output-1.10.12 (lib) (requires download & build)
> - hedgehog-1.0.4 (lib) (requires download & build)
> - hspec-hedgehog-0.0.1.2 (lib) (requires download & build)
> - hedgehog-quickcheck-0.1.1 (lib) (requires download & build)
> - edna-0 (test:edna-test) (first run)
> Downloading haskell-lexer-1.1
> Starting hspec-discover-2.7.8 (exe:hspec-discover)
> Preprocessing library for edna-0..
> Building library for edna-0..
> Downloaded haskell-lexer-1.1
> Downloading erf-2.0.0.0
> Starting haskell-lexer-1.1 (all, legacy fallback)
> [ 1 of 40] Compiling Edna.Analysis.FourPL ( src/Edna/Analysis/FourPL.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Analysis/FourPL.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Analysis/FourPL.dyn_o )
> Downloaded erf-2.0.0.0
> Downloading terminal-size-0.3.2.1
> Starting erf-2.0.0.0 (all, legacy fallback)
> Downloaded terminal-size-0.3.2.1
> Downloading concurrent-output-1.10.12
> Starting terminal-size-0.3.2.1 (lib)
> Downloaded concurrent-output-1.10.12
> Downloading lifted-async-0.10.1.2
> Building hspec-discover-2.7.8 (exe:hspec-discover)
> Building haskell-lexer-1.1 (all, legacy fallback)
> Downloaded lifted-async-0.10.1.2
> Downloading pretty-show-1.10
> Starting lifted-async-0.10.1.2 (lib)
> Building erf-2.0.0.0 (all, legacy fallback)
> Downloaded pretty-show-1.10
> Downloading wl-pprint-annotated-0.1.0.1
> Downloaded wl-pprint-annotated-0.1.0.1
> Downloading hedgehog-1.0.4
> Starting wl-pprint-annotated-0.1.0.1 (lib)
> Building terminal-size-0.3.2.1 (lib)
> [ 2 of 40] Compiling Edna.Dashboard.DB.Schema ( src/Edna/Dashboard/DB/Schema.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/DB/Schema.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/DB/Schema.dyn_o )
> Downloaded hedgehog-1.0.4
> Downloading hedgehog-quickcheck-0.1.1
> Installing hspec-discover-2.7.8 (exe:hspec-discover)
> Completed hspec-discover-2.7.8 (exe:hspec-discover)
> Downloaded hedgehog-quickcheck-0.1.1
> Downloading hspec-hedgehog-0.0.1.2
> Building lifted-async-0.10.1.2 (lib)
> Installing erf-2.0.0.0 (all, legacy fallback)
> Building wl-pprint-annotated-0.1.0.1 (lib)
> Downloaded hspec-hedgehog-0.0.1.2
> Completed erf-2.0.0.0 (all, legacy fallback)
> Installing terminal-size-0.3.2.1 (lib)
> [ 3 of 40] Compiling Edna.ExperimentReader.Types ( src/Edna/ExperimentReader/Types.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/ExperimentReader/Types.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/ExperimentReader/Types.dyn_o )
> Completed terminal-size-0.3.2.1 (lib)
> Starting concurrent-output-1.10.12 (lib)
> Installing lifted-async-0.10.1.2 (lib)
> Completed lifted-async-0.10.1.2 (lib)
> [ 4 of 40] Compiling Edna.Library.DB.Schema ( src/Edna/Library/DB/Schema.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/DB/Schema.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/DB/Schema.dyn_o )
> Building concurrent-output-1.10.12 (lib)
> Installing wl-pprint-annotated-0.1.0.1 (lib)
> Completed wl-pprint-annotated-0.1.0.1 (lib)
> [ 5 of 40] Compiling Edna.Orphans ( src/Edna/Orphans.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Orphans.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Orphans.dyn_o )
> [ 6 of 40] Compiling Edna.Upload.DB.Schema ( src/Edna/Upload/DB/Schema.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/DB/Schema.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/DB/Schema.dyn_o )
> [ 7 of 40] Compiling Edna.DB.Schema ( src/Edna/DB/Schema.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Schema.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Schema.dyn_o )
> [ 8 of 40] Compiling Edna.Util ( src/Edna/Util.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Util.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Util.dyn_o )
> Installing concurrent-output-1.10.12 (lib)
> Completed concurrent-output-1.10.12 (lib)
> [ 9 of 40] Compiling Edna.Config.Definition ( src/Edna/Config/Definition.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Config/Definition.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Config/Definition.dyn_o )
> [10 of 40] Compiling Edna.DB.Connection ( src/Edna/DB/Connection.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Connection.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Connection.dyn_o )
> [11 of 40] Compiling Edna.Setup ( src/Edna/Setup.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Setup.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Setup.dyn_o )
> [12 of 40] Compiling Edna.DB.Integration ( src/Edna/DB/Integration.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Integration.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Integration.dyn_o )
> [13 of 40] Compiling Edna.Upload.DB.Query ( src/Edna/Upload/DB/Query.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/DB/Query.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/DB/Query.dyn_o )
> [14 of 40] Compiling Edna.Config.Utils ( src/Edna/Config/Utils.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Config/Utils.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Config/Utils.dyn_o )
> [15 of 40] Compiling Edna.Logging ( src/Edna/Logging.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Logging.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Logging.dyn_o )
> [16 of 40] Compiling Edna.DB.Initialisation ( src/Edna/DB/Initialisation.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Initialisation.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/DB/Initialisation.dyn_o )
> [17 of 40] Compiling Edna.Util.URI ( src/Edna/Util/URI.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Util/URI.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Util/URI.dyn_o )
> [18 of 40] Compiling Edna.Web.Error ( src/Edna/Web/Error.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Error.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Error.dyn_o )
> [19 of 40] Compiling Edna.Upload.Error ( src/Edna/Upload/Error.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Error.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Error.dyn_o )
> [20 of 40] Compiling Edna.Upload.Web.Types ( src/Edna/Upload/Web/Types.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Web/Types.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Web/Types.dyn_o )
> Installing haskell-lexer-1.1 (all, legacy fallback)
> Completed haskell-lexer-1.1 (all, legacy fallback)
> Starting pretty-show-1.10 (lib)
> [21 of 40] Compiling Edna.Library.Error ( src/Edna/Library/Error.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Error.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Error.dyn_o )
> Building pretty-show-1.10 (lib)
> [22 of 40] Compiling Edna.ExperimentReader.Error ( src/Edna/ExperimentReader/Error.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/ExperimentReader/Error.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/ExperimentReader/Error.dyn_o )
> [23 of 40] Compiling Edna.ExperimentReader.Parser ( src/Edna/ExperimentReader/Parser.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/ExperimentReader/Parser.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/ExperimentReader/Parser.dyn_o )
> [24 of 40] Compiling Edna.Dashboard.Error ( src/Edna/Dashboard/Error.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Error.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Error.dyn_o )
> [25 of 40] Compiling Edna.Web.Types ( src/Edna/Web/Types.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Types.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Types.dyn_o )
> [26 of 40] Compiling Edna.Library.Web.Types ( src/Edna/Library/Web/Types.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Web/Types.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Web/Types.dyn_o )
> Installing pretty-show-1.10 (lib)
> Completed pretty-show-1.10 (lib)
> Starting hedgehog-1.0.4 (lib)
> [27 of 40] Compiling Edna.Library.DB.Query ( src/Edna/Library/DB/Query.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/DB/Query.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/DB/Query.dyn_o )
> Building hedgehog-1.0.4 (lib)
> [28 of 40] Compiling Edna.Upload.Service ( src/Edna/Upload/Service.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Service.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Service.dyn_o )
> [29 of 40] Compiling Edna.Upload.Web.API ( src/Edna/Upload/Web/API.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Web/API.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Upload/Web/API.dyn_o )
> [30 of 40] Compiling Edna.Library.Service ( src/Edna/Library/Service.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Service.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Service.dyn_o )
> [31 of 40] Compiling Edna.Library.Web.API ( src/Edna/Library/Web/API.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Web/API.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Library/Web/API.dyn_o )
> [32 of 40] Compiling Edna.Dashboard.Web.Types ( src/Edna/Dashboard/Web/Types.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Web/Types.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Web/Types.dyn_o )
> [33 of 40] Compiling Edna.Dashboard.DB.Query ( src/Edna/Dashboard/DB/Query.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/DB/Query.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/DB/Query.dyn_o )
> [34 of 40] Compiling Edna.Dashboard.Service ( src/Edna/Dashboard/Service.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Service.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Service.dyn_o )
> [35 of 40] Compiling Edna.Dashboard.Web.API ( src/Edna/Dashboard/Web/API.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Web/API.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Dashboard/Web/API.dyn_o )
> [36 of 40] Compiling Edna.Web.API ( src/Edna/Web/API.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/API.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/API.dyn_o )
> [37 of 40] Compiling Edna.Web.Swagger ( src/Edna/Web/Swagger.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Swagger.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Swagger.dyn_o )
> [38 of 40] Compiling Edna.Web.Handlers ( src/Edna/Web/Handlers.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Handlers.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Handlers.dyn_o )
> [39 of 40] Compiling Edna.Web.Server ( src/Edna/Web/Server.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Server.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Edna/Web/Server.dyn_o )
> Installing hedgehog-1.0.4 (lib)
> Completed hedgehog-1.0.4 (lib)
> Starting hspec-hedgehog-0.0.1.2 (lib)
> Starting hedgehog-quickcheck-0.1.1 (lib)
> Building hspec-hedgehog-0.0.1.2 (lib)
> Building hedgehog-quickcheck-0.1.1 (lib)
> Installing hspec-hedgehog-0.0.1.2 (lib)
> Installing hedgehog-quickcheck-0.1.1 (lib)
> [40 of 40] Compiling Paths_edna ( /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/Paths_edna.hs, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Paths_edna.o, /Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/Paths_edna.dyn_o )
> Completed hspec-hedgehog-0.0.1.2 (lib)
> Completed hedgehog-quickcheck-0.1.1 (lib)
> Configuring test suite 'edna-test' for edna-0..
> Warning: The package has an extraneous version range for a dependency on an
> internal library: edna >=0 && ==0, edna >=0 && ==0. This version range
> includes the current package but isn't needed as the current package's library
> will always be used.
> Preprocessing test suite 'edna-test' for edna-0..
2021-04-07 11:03:08.995474 [ThreadId 160] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/edna-test-tmp","-odir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/edna-test-tmp","-hidir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/edna-test-tmp","-stubdir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/edna-test-tmp","-i","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/edna-test-tmp","-itest","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/autogen","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/global-autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/global-autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/edna-test-tmp","-optP-include","-optP/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/build/edna-test/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/Users/maksbotan/.cabal/store/ghc-8.10.4/package.db","-package-db","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/packagedb/ghc-8.10.4","-package-db","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/t/edna-test/package.conf.inplace","-package-id","QckChck-2.14.2-3ad577d3","-package-id","sn-1.5.5.1-3d590598","-package-id","base-4.14.1.0","-package-id","bm-cr-0.9.0.0-9724d95e","-package-id","bm-pstgrs-0.5.0.0-f1a2498d","-package-id","bytestring-0.10.12.0","-package-id","containers-0.6.2.1","-package-id","edna-0-inplace","-package-id","filepath-1.4.2.1","-package-id","hdghg-1.0.4-310b9632","-package-id","hdghg-qckchck-0.1.1-7563a922","-package-id","hspc-2.7.8-4235bab4","-package-id","hspc-hdghg-0.0.1.2-cbdbe978","-package-id","mcrlns-0.4.11.2-303d906a","-package-id","mcrlns-pltfrm-0.4.1-9a6cb8d1","-package-id","mmrph-1.1.4-a8aff780","-package-id","ntwrk-r-2.6.3.0-c936b43f","-package-id","r-0.1.20.0-f24f4f0a","-package-id","srvnt-swggr-1.1.10-92ace83e","-package-id","text-1.2.4.1","-package-id","time-1.9.3","-package-id","nvrsm-1.5.0-850278d9","-package-id","nrdrd-cntnrs-0.2.13.0-933492ca","-package-id","xlsx-0.8.2-95a6d408","-XHaskell2010","-XAllowAmbiguousTypes","-XBangPatterns","-XBlockArguments","-XConstraintKinds","-XDataKinds","-XDefaultSignatures","-XDeriveAnyClass","-XDeriveDataTypeable","-XDeriveFoldable","-XDeriveFunctor","-XDeriveGeneric","-XDeriveTraversable","-XDerivingStrategies","-XDerivingVia","-XEmptyCase","-XFlexibleContexts","-XFlexibleInstances","-XGADTs","-XGeneralizedNewtypeDeriving","-XLambdaCase","-XMultiParamTypeClasses","-XMultiWayIf","-XNamedFieldPuns","-XNegativeLiterals","-XNumDecimals","-XNoImplicitPrelude","-XOverloadedLabels","-XOverloadedStrings","-XPatternSynonyms","-XPolyKinds","-XQuasiQuotes","-XRankNTypes","-XRecordWildCards","-XRecursiveDo","-XScopedTypeVariables","-XStandaloneDeriving","-XStrictData","-XTemplateHaskell","-XTupleSections","-XTypeApplications","-XTypeFamilies","-XTypeOperators","-XUndecidableInstances","-XUndecidableSuperClasses","-XViewPatterns","test/Spec.hs","Test.DashboardSpec","Test.DB.DBSpec","Test.DB.Gen","Test.Gen","Test.LibrarySpec","Test.Orphans","Test.ParserSpec","Test.SampleData","Test.Setup","Test.SMT.SMTSpec","Test.SMT.State","Test.SwaggerSpec","Test.UploadSpec","Test.Util.URISpec","Paths_edna","-Weverything","-Wno-missing-exported-signatures","-Wno-missing-import-lists","-Wno-missed-specialisations","-Wno-all-missed-specialisations","-Wno-unsafe","-Wno-safe","-Wno-missing-local-signatures","-Wno-monomorphism-restriction","-Wno-implicit-prelude","-Wno-prepositive-qualified-module","-Wno-inferred-safe-imports","-Wno-missing-safe-haskell-mode","-Wno-incomplete-patterns","-with-rtsopts=-N -A64m -AL256m","-hide-all-packages"], componentRoot = "/Users/maksbotan/temp/edna/backend", componentDependencies = ["edna.cabal","cabal.project","cabal.project.local"]},"/nix/store/z7hbni4my8fpn2mh151jnq38wixn4q82-ghc-8.10.4/lib/ghc-8.10.4")
2021-04-07 11:03:09.079726 [ThreadId 160] INFO hls: Using interface files cache dir: /Users/maksbotan/.cache/ghcide/main-8e4561f07b18b4e57b532c877ae7b6bed5d57992
2021-04-07 11:03:09.080107 [ThreadId 160] INFO hls: Using interface files cache dir: /Users/maksbotan/.cache/ghcide/edna-0-inplace-a0f75fad28b1ceb9332243f22ce35ebeee41a444
2021-04-07 11:03:09.080338 [ThreadId 160] INFO hls: Making new HscEnv[main,edna-0-inplace]
2021-04-07 11:03:09.095218 [ThreadId 160] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 619),fromList [("/Users/maksbotan/temp/edna/backend/hie.yaml",Just 2021-04-07 08:01:15.539422721 UTC),("cabal.project",Just 2021-04-07 07:25:52.654364305 UTC),("cabal.project.local",Nothing),("edna.cabal",Just 2021-04-07 07:25:26.074536597 UTC)])
2021-04-07 11:03:09.119983 [ThreadId 160] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 620),fromList [("/Users/maksbotan/temp/edna/backend/hie.yaml",Just 2021-04-07 08:01:15.539422721 UTC),("cabal.project",Just 2021-04-07 07:25:52.654364305 UTC),("cabal.project.local",Nothing),("edna.cabal",Just 2021-04-07 07:25:26.074536597 UTC)])
2021-04-07 11:03:09.224757 [ThreadId 160] DEBUG hls: Known files updated: fromList [(TargetModule Edna.DB.Integration,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs"]),(TargetModule Edna.Dashboard.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs"]),(TargetModule Test.DB.DBSpec,["/Users/maksbotan/temp/edna/backend/test/Test/DB/DBSpec.hs"]),(TargetModule Edna.Setup,["/Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs"]),(TargetModule Edna.Dashboard.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs"]),(TargetModule Test.Setup,["/Users/maksbotan/temp/edna/backend/test/Test/Setup.hs"]),(TargetModule Edna.DB.Connection,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs"]),(TargetModule Edna.Web.Server,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs",["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs"]),(TargetModule Edna.Library.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs"]),(TargetModule Edna.Upload.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs"]),(TargetModule Test.Gen,["/Users/maksbotan/temp/edna/backend/test/Test/Gen.hs"]),(TargetModule Edna.ExperimentReader.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Types.hs"]),(TargetModule Edna.Library.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs"]),(TargetModule Edna.Upload.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs"]),(TargetModule Test.SMT.SMTSpec,["/Users/maksbotan/temp/edna/backend/test/Test/SMT/SMTSpec.hs"]),(TargetModule Test.SMT.State,["/Users/maksbotan/temp/edna/backend/test/Test/SMT/State.hs"]),(TargetModule Edna.Web.Swagger,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs"]),(TargetModule Edna.Dashboard.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs"]),(TargetModule Edna.Web.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Error.hs"]),(TargetModule Edna.Util.URI,["/Users/maksbotan/temp/edna/backend/src/Edna/Util/URI.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Util/URI.hs"]),(TargetModule Test.SwaggerSpec,["/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs"]),(TargetModule Test.DB.Gen,["/Users/maksbotan/temp/edna/backend/test/Test/DB/Gen.hs"]),(TargetModule Test.SampleData,["/Users/maksbotan/temp/edna/backend/test/Test/SampleData.hs"]),(TargetModule Test.UploadSpec,["/Users/maksbotan/temp/edna/backend/test/Test/UploadSpec.hs"]),(TargetModule Edna.Config.Definition,["/Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs"]),(TargetModule Edna.Dashboard.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs"]),(TargetModule Edna.Library.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs"]),(TargetModule Edna.Web.Handlers,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs"]),(TargetModule Edna.Logging,["/Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs"]),(TargetModule Edna.ExperimentReader.Parser,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Parser.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Parser.hs"]),(TargetModule Paths_edna,["/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/Paths_edna.hs","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/Paths_edna.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Spec.hs",["/Users/maksbotan/temp/edna/backend/test/Spec.hs"]),(TargetModule Test.LibrarySpec,["/Users/maksbotan/temp/edna/backend/test/Test/LibrarySpec.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs",["/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs"]),(TargetModule Edna.Library.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs"]),(TargetModule Edna.Analysis.FourPL,["/Users/maksbotan/temp/edna/backend/src/Edna/Analysis/FourPL.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Analysis/FourPL.hs"]),(TargetModule Edna.Upload.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Schema.hs"]),(TargetModule Edna.Orphans,["/Users/maksbotan/temp/edna/backend/src/Edna/Orphans.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Orphans.hs"]),(TargetModule Test.Orphans,["/Users/maksbotan/temp/edna/backend/test/Test/Orphans.hs"]),(TargetModule Edna.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs"]),(TargetModule Edna.Config.Utils,["/Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs"]),(TargetModule Edna.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Schema.hs"]),(TargetModule Test.DashboardSpec,["/Users/maksbotan/temp/edna/backend/test/Test/DashboardSpec.hs"]),(TargetModule Edna.Library.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Error.hs"]),(TargetModule Edna.Dashboard.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Schema.hs"]),(TargetModule Edna.ExperimentReader.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Error.hs"]),(TargetModule Edna.Upload.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs"]),(TargetModule Edna.Upload.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs"]),(TargetModule Test.Util.URISpec,["/Users/maksbotan/temp/edna/backend/test/Test/Util/URISpec.hs"]),(TargetModule Edna.Util,["/Users/maksbotan/temp/edna/backend/src/Edna/Util.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Util.hs"]),(TargetModule Edna.DB.Initialisation,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs"]),(TargetModule Edna.Upload.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Error.hs"]),(TargetModule Test.ParserSpec,["/Users/maksbotan/temp/edna/backend/test/Test/ParserSpec.hs"]),(TargetModule Edna.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs"]),(TargetModule Edna.Dashboard.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Error.hs"]),(TargetModule Edna.Library.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Schema.hs"])]
2021-04-07 11:03:09.226187 [ThreadId 121] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-04-07 11:03:09.226387 [ThreadId 160] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-04-07 11:03:09.240891 [ThreadId 278] INFO hls: Consulting the cradle for "app/Main.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/Users/maksbotan/temp/edna/backend", cradleOptsProg = CradleAction: Cabal}
> Build profile: -w ghc-8.10.4 -O1
> In order, the following will be built (use -v for more details):
> - edna-0 (exe:edna-server) (first run)
> Configuring executable 'edna-server' for edna-0..
> Warning: The package has an extraneous version range for a dependency on an
> internal library: edna >=0 && ==0, edna >=0 && ==0. This version range
> includes the current package but isn't needed as the current package's library
> will always be used.
> Preprocessing executable 'edna-server' for edna-0..
2021-04-07 11:03:11.274927 [ThreadId 278] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/edna-server-tmp","-odir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/edna-server-tmp","-hidir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/edna-server-tmp","-stubdir","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/edna-server-tmp","-i","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/edna-server-tmp","-iapp","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/autogen","-i/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/global-autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/global-autogen","-I/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/edna-server-tmp","-optP-include","-optP/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/build/edna-server/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/Users/maksbotan/.cabal/store/ghc-8.10.4/package.db","-package-db","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/packagedb/ghc-8.10.4","-package-db","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/x/edna-server/package.conf.inplace","-package-id","base-4.14.1.0","-package-id","edna-0-inplace","-package-id","ptprs-pplctv-0.15.1.0-048a79d1","-package-id","nvrsm-1.5.0-850278d9","-package-id","wth-tf8-1.0.2.1-f149de0e","-package-id","yml-0.11.5.0-d24e1e5c","-XHaskell2010","-XAllowAmbiguousTypes","-XBangPatterns","-XBlockArguments","-XConstraintKinds","-XDataKinds","-XDefaultSignatures","-XDeriveAnyClass","-XDeriveDataTypeable","-XDeriveFoldable","-XDeriveFunctor","-XDeriveGeneric","-XDeriveTraversable","-XDerivingStrategies","-XDerivingVia","-XEmptyCase","-XFlexibleContexts","-XFlexibleInstances","-XGADTs","-XGeneralizedNewtypeDeriving","-XLambdaCase","-XMultiParamTypeClasses","-XMultiWayIf","-XNamedFieldPuns","-XNegativeLiterals","-XNumDecimals","-XNoImplicitPrelude","-XOverloadedLabels","-XOverloadedStrings","-XPatternSynonyms","-XPolyKinds","-XQuasiQuotes","-XRankNTypes","-XRecordWildCards","-XRecursiveDo","-XScopedTypeVariables","-XStandaloneDeriving","-XStrictData","-XTemplateHaskell","-XTupleSections","-XTypeApplications","-XTypeFamilies","-XTypeOperators","-XUndecidableInstances","-XUndecidableSuperClasses","-XViewPatterns","app/Main.hs","Paths_edna","-Weverything","-Wno-missing-exported-signatures","-Wno-missing-import-lists","-Wno-missed-specialisations","-Wno-all-missed-specialisations","-Wno-unsafe","-Wno-safe","-Wno-missing-local-signatures","-Wno-monomorphism-restriction","-Wno-implicit-prelude","-Wno-prepositive-qualified-module","-Wno-inferred-safe-imports","-Wno-missing-safe-haskell-mode","-hide-all-packages"], componentRoot = "/Users/maksbotan/temp/edna/backend", componentDependencies = ["edna.cabal","cabal.project","cabal.project.local"]},"/nix/store/z7hbni4my8fpn2mh151jnq38wixn4q82-ghc-8.10.4/lib/ghc-8.10.4")
2021-04-07 11:03:11.356709 [ThreadId 278] INFO hls: Using interface files cache dir: /Users/maksbotan/.cache/ghcide/main-f9a6e3607d31160aaec9265662ec91470eb3d74e
2021-04-07 11:03:11.357095 [ThreadId 278] INFO hls: Using interface files cache dir: /Users/maksbotan/.cache/ghcide/main-f9a6e3607d31160aaec9265662ec91470eb3d74e
2021-04-07 11:03:11.35734 [ThreadId 278] INFO hls: Using interface files cache dir: /Users/maksbotan/.cache/ghcide/edna-0-inplace-6a2a26c12e1ee4003fb98bc23f53ebdcc7639487
2021-04-07 11:03:11.357488 [ThreadId 278] INFO hls: Making new HscEnv[main,main,edna-0-inplace]
2021-04-07 11:03:11.371839 [ThreadId 278] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 1014),fromList [("/Users/maksbotan/temp/edna/backend/hie.yaml",Just 2021-04-07 08:01:15.539422721 UTC),("cabal.project",Just 2021-04-07 07:25:52.654364305 UTC),("cabal.project.local",Nothing),("edna.cabal",Just 2021-04-07 07:25:26.074536597 UTC)])
2021-04-07 11:03:11.373653 [ThreadId 278] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 1015),fromList [("/Users/maksbotan/temp/edna/backend/hie.yaml",Just 2021-04-07 08:01:15.539422721 UTC),("cabal.project",Just 2021-04-07 07:25:52.654364305 UTC),("cabal.project.local",Nothing),("edna.cabal",Just 2021-04-07 07:25:26.074536597 UTC)])
2021-04-07 11:03:11.396402 [ThreadId 278] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 1016),fromList [("/Users/maksbotan/temp/edna/backend/hie.yaml",Just 2021-04-07 08:01:15.539422721 UTC),("cabal.project",Just 2021-04-07 07:25:52.654364305 UTC),("cabal.project.local",Nothing),("edna.cabal",Just 2021-04-07 07:25:26.074536597 UTC)])
2021-04-07 11:03:11.507443 [ThreadId 278] DEBUG hls: Known files updated: fromList [(TargetModule Edna.DB.Integration,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs"]),(TargetModule Edna.Dashboard.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs"]),(TargetModule Test.DB.DBSpec,["/Users/maksbotan/temp/edna/backend/test/Test/DB/DBSpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/DB/DBSpec.hs"]),(TargetModule Edna.Setup,["/Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs"]),(TargetModule Edna.Dashboard.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs"]),(TargetModule Test.Setup,["/Users/maksbotan/temp/edna/backend/test/Test/Setup.hs","/Users/maksbotan/temp/edna/backend/test/Test/Setup.hs"]),(TargetModule Edna.DB.Connection,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs"]),(TargetModule Edna.Web.Server,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs",["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs"]),(TargetModule Edna.Library.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs"]),(TargetModule Edna.Upload.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs"]),(TargetModule Test.Gen,["/Users/maksbotan/temp/edna/backend/test/Test/Gen.hs","/Users/maksbotan/temp/edna/backend/test/Test/Gen.hs"]),(TargetModule Edna.ExperimentReader.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Types.hs"]),(TargetModule Edna.Library.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs"]),(TargetModule Edna.Upload.Service,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs"]),(TargetModule Test.SMT.SMTSpec,["/Users/maksbotan/temp/edna/backend/test/Test/SMT/SMTSpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/SMT/SMTSpec.hs"]),(TargetModule Test.SMT.State,["/Users/maksbotan/temp/edna/backend/test/Test/SMT/State.hs","/Users/maksbotan/temp/edna/backend/test/Test/SMT/State.hs"]),(TargetModule Edna.Web.Swagger,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs"]),(TargetModule Edna.Dashboard.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs"]),(TargetModule Edna.Web.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Error.hs"]),(TargetModule Edna.Util.URI,["/Users/maksbotan/temp/edna/backend/src/Edna/Util/URI.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Util/URI.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Util/URI.hs"]),(TargetModule Test.SwaggerSpec,["/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs"]),(TargetModule Test.DB.Gen,["/Users/maksbotan/temp/edna/backend/test/Test/DB/Gen.hs","/Users/maksbotan/temp/edna/backend/test/Test/DB/Gen.hs"]),(TargetModule Test.SampleData,["/Users/maksbotan/temp/edna/backend/test/Test/SampleData.hs","/Users/maksbotan/temp/edna/backend/test/Test/SampleData.hs"]),(TargetModule Test.UploadSpec,["/Users/maksbotan/temp/edna/backend/test/Test/UploadSpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/UploadSpec.hs"]),(TargetModule Edna.Config.Definition,["/Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs"]),(TargetModule Edna.Dashboard.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs"]),(TargetModule Edna.Library.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs"]),(TargetModule Edna.Web.Handlers,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs"]),(TargetModule Edna.Logging,["/Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs"]),(TargetModule Edna.ExperimentReader.Parser,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Parser.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Parser.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Parser.hs"]),(TargetModule Paths_edna,["/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/Paths_edna.hs","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/Paths_edna.hs","/Users/maksbotan/.cache/hie-bios/dist-backend-b8eb6f7ed8ddf6b7adf90c17c08906c4/build/x86_64-osx/ghc-8.10.4/edna-0/build/autogen/Paths_edna.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Spec.hs",["/Users/maksbotan/temp/edna/backend/test/Spec.hs","/Users/maksbotan/temp/edna/backend/test/Spec.hs"]),(TargetModule Test.LibrarySpec,["/Users/maksbotan/temp/edna/backend/test/Test/LibrarySpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/LibrarySpec.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs",["/Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs"]),(TargetModule Edna.Library.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs"]),(TargetModule Edna.Analysis.FourPL,["/Users/maksbotan/temp/edna/backend/src/Edna/Analysis/FourPL.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Analysis/FourPL.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Analysis/FourPL.hs"]),(TargetModule Edna.Upload.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Schema.hs"]),(TargetModule Edna.Orphans,["/Users/maksbotan/temp/edna/backend/src/Edna/Orphans.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Orphans.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Orphans.hs"]),(TargetModule Test.Orphans,["/Users/maksbotan/temp/edna/backend/test/Test/Orphans.hs","/Users/maksbotan/temp/edna/backend/test/Test/Orphans.hs"]),(TargetModule Edna.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs"]),(TargetModule Edna.Config.Utils,["/Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs"]),(TargetModule Edna.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Schema.hs"]),(TargetModule Test.DashboardSpec,["/Users/maksbotan/temp/edna/backend/test/Test/DashboardSpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/DashboardSpec.hs"]),(TargetModule Edna.Library.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/Error.hs"]),(TargetModule Edna.Dashboard.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Schema.hs"]),(TargetModule Edna.ExperimentReader.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/ExperimentReader/Error.hs"]),(TargetModule Edna.Upload.DB.Query,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs"]),(TargetModule Edna.Upload.Web.Types,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs"]),(TargetModule Test.Util.URISpec,["/Users/maksbotan/temp/edna/backend/test/Test/Util/URISpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/Util/URISpec.hs"]),(TargetModule Edna.Util,["/Users/maksbotan/temp/edna/backend/src/Edna/Util.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Util.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Util.hs"]),(TargetModule Edna.DB.Initialisation,["/Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs","/Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs"]),(TargetFile NormalizedFilePath "/Users/maksbotan/temp/edna/backend/app/Main.hs",["/Users/maksbotan/temp/edna/backend/app/Main.hs"]),(TargetModule Edna.Upload.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Upload/Error.hs"]),(TargetModule Test.ParserSpec,["/Users/maksbotan/temp/edna/backend/test/Test/ParserSpec.hs","/Users/maksbotan/temp/edna/backend/test/Test/ParserSpec.hs"]),(TargetModule Edna.Web.API,["/Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs"]),(TargetModule Edna.Dashboard.Error,["/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Error.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Error.hs"]),(TargetModule Edna.Library.DB.Schema,["/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Schema.hs","/Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Schema.hs"])]
2021-04-07 11:03:11.509672 [ThreadId 198] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-04-07 11:03:11.509824 [ThreadId 278] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-04-07 11:03:11.597812 [ThreadId 489] INFO hls: File: /Users/maksbotan/temp/edna/backend/test/Spec.hs
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DsError
Message: �[0;91mhaskell-language-server-8.10.4: could not execute: hspec-discover�[0m
haskell-language-server-8.10.4: loadArchive: Neither an archive, nor a fat archive: `/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++'
2021-04-07 11:03:13.303892 [ThreadId 1764] INFO hls: File: /Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DsError
Message:
�[0;91mloadArchive "/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++": failed�[0m
haskell-language-server-8.10.4: loadArchive: Neither an archive, nor a fat archive: `/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++'
2021-04-07 11:03:13.634665 [ThreadId 1765] INFO hls: File: /Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DsError
Message:
�[0;91mloadArchive "/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++": failed�[0m
haskell-language-server-8.10.4: loadArchive: Neither an archive, nor a fat archive: `/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++'
2021-04-07 11:03:13.958742 [ThreadId 1727] INFO hls: File: /Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DsError
Message:
�[0;91mloadArchive "/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++": failed�[0m
2021-04-07 11:03:14.03425 [ThreadId 2111] INFO hls: finish: User TypeCheck (took 2.52s)
2021-04-07 11:03:14.035108 [ThreadId 2114] INFO hls: finish: GetHie (took 0.00s)
2021-04-07 11:03:14.035983 [ThreadId 2124] INFO hls: finish: GenerateCore (took 0.00s)
ghcide setup tester in /Users/maksbotan/temp/edna/backend.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Step 1/4: Finding files to test in /Users/maksbotan/temp/edna/backend
Found 55 files
Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
(/Users/maksbotan/temp/edna/backend/hie.yaml)
Step 3/4: Initializing the IDE
Step 4/4: Type checking the files
Files that failed:
* /Users/maksbotan/temp/edna/backend/app/Main.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Logging.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Setup.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Config/Definition.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Config/Utils.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/DB/Connection.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/DB/Initialisation.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/DB/Integration.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Service.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/DB/Query.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/API.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Dashboard/Web/Types.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Library/Service.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Library/DB/Query.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/API.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Library/Web/Types.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Upload/Service.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Upload/DB/Query.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/API.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Upload/Web/Types.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Web/API.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Web/Handlers.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Web/Server.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Web/Swagger.hs
* /Users/maksbotan/temp/edna/backend/src/Edna/Web/Types.hs
* /Users/maksbotan/temp/edna/backend/test/Spec.hs
* /Users/maksbotan/temp/edna/backend/test/Test/DashboardSpec.hs
* /Users/maksbotan/temp/edna/backend/test/Test/Gen.hs
* /Users/maksbotan/temp/edna/backend/test/Test/LibrarySpec.hs
* /Users/maksbotan/temp/edna/backend/test/Test/SampleData.hs
* /Users/maksbotan/temp/edna/backend/test/Test/Setup.hs
* /Users/maksbotan/temp/edna/backend/test/Test/SwaggerSpec.hs
* /Users/maksbotan/temp/edna/backend/test/Test/UploadSpec.hs
* /Users/maksbotan/temp/edna/backend/test/Test/DB/DBSpec.hs
* /Users/maksbotan/temp/edna/backend/test/Test/DB/Gen.hs
* /Users/maksbotan/temp/edna/backend/test/Test/SMT/SMTSpec.hs
* /Users/maksbotan/temp/edna/backend/test/Test/SMT/State.hs
* /Users/maksbotan/temp/edna/backend/test/Test/Util/URISpec.hs
Completed (17 files worked, 38 files failed)
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
Found "/Users/maksbot
an/temp/edna/backend/hie.yaml" for "/Users/maksbotan/temp/edna/backend/a"
Module "/Users/maksbotan/temp/edna/backend/a" is loaded by Cradle: Cradle {cradleRootDir = "/Users/maksbotan/temp/edna/backend", cradleOptsProg = CradleAction: Cabal}
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Versio
n 0.9.0.0, Git revision 46d2a3dc7ef49ba57b2706022af1801149ab3f2b (dirty) x86_64 ghc-8.10.1
Current directory: /Users/
maksbotan/temp/edna/backend
Operating system: darwin
Arguments: ["-d","-l","/t
mp/hie.log","--lsp"]
Cradle directory: /Users/maksbotan/temp/edna/backe
nd
Cradle type: Cabal
Tool versions found on the $PATH
cabal: 3.4.0.0
stack: 2.5.1
ghc: 8.
10.4
Consulting the cradle to get project GHC version...
Project GHC version: 8.10
.4
haskell-language-server exe candidates: ["haskell-language-server-8.10.4","haskell-language-server-8.10","haskell-language-server"]
Launching haskell
-language-server exe at:/Users/maksbotan/.local/bin/haskell-language-server-8.10.4
haskell-language-server
version: 1.0.0.0 (GHC: 8.10.4) (PATH: /Users/maksbotan/.local/bin/haskell-language-server-8.10.4) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
Starting (haskell-language-serv
er)LSP server...
with arguments: LspArguments {argLSP = True, argsCwd = Nothing,
argFiles = [], argsShakeProfiling = Nothing, argsTesting = False, ar
gsExamplePlugin = False, argsDebugOn = True, argsLogFile = Just
"/tmp/hie.log", argsThreads = 0, argsProjectGhcVersion = False}
with plugins: [PluginId "brittany",Plugi
nId "class",PluginId "eval",PluginId "floskell",PluginId "fourmolu",Plug
inId "ghcide-code-actions",PluginId "ghcide-completions",PluginId "g
hcide-hover-and-symbols",PluginId "ghcide-type-lenses",PluginId "
haddockComments",PluginId "hlint",PluginId "importLens",PluginId
"moduleName",PluginId "ormolu",PluginId "pragmas",PluginId "retr
ie",PluginId "splice",PluginId "stylish-haskell",PluginId "tactic
"]
in directory: /Users/maksbotan/temp/edna/backend
If you are
seeing this in a terminal, you probably should have run ghcide WIT
HOUT the --lsp option!
Starting LSP server...
If you ar
e seeing this in a terminal, you probably should have run ghcide WITH
OUT the --lsp option!
Started LSP ser
ver in 0.00s
setInitialDynF
lags cradle: Cradle {cradleRootDir = "/Users/maksbotan/temp/edna/bac
kend", cradleOptsProg = CradleAction: Cabal}
Output from setting up the cradle Cradle {cradleRootDir = "/Users/maksbotan/temp/edna/backend", cradleOptsProg = CradleAction: Cabal}
[Error - 11:03:41] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":1,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:41] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":2,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
> Build profile: -w ghc-8.10.4 -O1
> In order, the following will be built (use -v for more details):
> - edna-0 (lib) (ephemeral targets)
> Preprocessing library for edna-0..
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":3,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":4,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":5,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":6,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":7,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":8,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":9,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":10,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:42] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":11,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
[Error - 11:03:43] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":12,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
haskell-language-server-8.10.4: loadArchive: Neither an archive, nor a fat archive: `/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++'
haskell-language-server-8.10.4: loadArchive: Neither an archive, nor a fat archive: `/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++'
[Error - 11:03:44] haskell-lsp:incoming message parse error. {"jsonrpc":"2.0","id":13,"result":null} Error in $.result: parsing () failed, expected Array, but encountered Null
haskell-language-server-8.10.4: loadArchive: Neither an archive, nor a fat archive: `/nix/store/10lyssvshf6nlhmqyhy6ml54m1rykdd1-clang-wrapper-7.1.0/bin/clang++'
The text was updated successfully, but these errors were encountered:
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:$ haskell-language-server-8.10.4 --probe-tools haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /Users/maksbotan/.local/bin/haskell-language-server-8.10.4) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9) Tool versions found on the $PATH cabal: 3.4.0.0 stack: 2.5.1 ghc: 8.10.4
Which OS do you use: macOS Catalina
Which lsp-client do you use:
Describe your project (alternative: link to the project):
https://github.com/serokell/edna (does not matter probably)
Contents of
hie.yaml
:Steps to reproduce
Run
nix-shell -p lzma -p libxz -p clang
, withghc
also coming from nix.cabal new-build all
works. Runnvim
in that shell.Open
src/Edna/Config/Definition.hs
(uses TH: makeLenses) - fails.src/Edna/Dashboard/Error.hs
- works.If I remove all TH splices from failing module it starts to work too. Adding
-fobject-code
and-fexternal-interpreter
does not help.Expected behaviour
HLS works ;)
Actual behaviour
HLS publishes this diagnostics and does not try to go further:
I also see a bunch of this in hls debug log:
Include debug information
Execute in the root of your project the command
haskell-language-server --debug .
and paste the logs here:Debug output:
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
The text was updated successfully, but these errors were encountered: