Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Could not find module #275

Closed
teto opened this issue Jan 5, 2021 · 20 comments
Closed

Could not find module #275

teto opened this issue Jan 5, 2021 · 20 comments

Comments

@teto
Copy link
Contributor

teto commented Jan 5, 2021

I use bazel to build my system. I want to use haskell-language (hls) server and I've written(generated) a mutlicradle hie.yaml with each subcradle being a bios cradle loading the flags from a specific file.
Often, hls returns a Could not find module but when I look at the generated bios files, they contain the module.

For instance

hie-bios check Model/Reactions.hs
Model/Reactions.hs:18:1:Could not find module ‘Common.Conditions’

but hie-bios flags Model/Reactions.hs lists Common/Conditions.hs . My guess is that the files that contain the flags loaded for each cradle are too big (2350 lines, or 350000 characters) and that ghc ignores Common/Conditions.hs .
I am trying to check this by editing manually the files containing the hie-bios flags. Meanwhile do you think this is a good guess ?
hie-bios is capable of using stack or cabal "components", is there a way to create/generate one artificially since bazel doesn't seem to have those speicifcally ?
CC @aherrmann (rules_haskell awesome maintainer)

@fendor
Copy link
Collaborator

fendor commented Jan 5, 2021

I can't imagine that flags get too long. We are not just invoking ghc, but we use the GHC API, which has no arbitrary restrictions, such as POSIX long paths, etc... afaik.

My guess is that some include path is incorrect or something similar and therefore it can't find the Module.

@teto
Copy link
Contributor Author

teto commented Jan 5, 2021

Thanks so I've notcied 2 other possible candidates after finding #37

First the 3 modules that are missing mention NoImplicitPrelude (as in the previous issue).

Second, the bios loads flags generated by the command:

bazel build "//hie_bios" \
	--output_groups=hie_bios \
	--experimental_show_artifacts \

bazel run "//hie_bios" loads the ghci session just ok. The experimental_show_artifacts saves the list of flags but the problem is that it sorts the flags so that instead of having file-specific haskell extensions, you have the haskell extensions grouped up at the beginning and thus enabled for all modules.

-licuio
-licuio
-licutest
-licutest
-licutest
-licutu
-licutu
-licutu
-licuuc
-licuuc
-licuuc
-pgma
bazel-out/k8-fastbuild/bin/external/rules_haskell/haskell/cc_wrapper-python
-pgmc
bazel-out/k8-fastbuild/bin/external/rules_haskell/haskell/cc_wrapper-python
-pgml
bazel-out/k8-fastbuild/bin/external/rules_haskell/haskell/cc_wrapper-python
-pgmP
bazel-out/k8-fastbuild/bin/external/rules_haskell/haskell/cc_wrapper-python -E -undef -traditional
-optc-fno-stack-protector
-fdiagnostics-color=always
-freduction-depth=0
-fwrite-ide-info
-hiedir=.hie
-Wall
-Werror
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wnoncanonical-monad-instances
-XBangPatterns
-XConstraintKinds
-XDefaultSignatures
-XDeriveDataTypeable
-XDeriveFoldable
-XDeriveFunctor
-XDeriveGeneric
-XDeriveTraversable
-XDerivingStrategies
-XEmptyDataDecls
-XExistentialQuantification
-XFlexibleContexts
-XFlexibleInstances
-XLambdaCase
-XMultiParamTypeClasses
-XMultiWayIf
-XNamedFieldPuns
-XNumDecimals
-XPartialTypeSignatures
-XRankNTypes
-XRecordWildCards
-XScopedTypeVariables
-XStandaloneDeriving
-XTupleSections
-XTypeApplications
-XTypeSynonymInstances
-XViewPatterns
-optl-fuse-ld=gold
-XBangPatterns
-XConstraintKinds
-XDefaultSignatures
-XDeriveDataTypeable
-XDeriveFoldable
-XDeriveFunctor
-XDeriveGeneric
-XDeriveTraversable
-XDerivingStrategies

....
the file modules appear only afterwards

@ahermann

@fendor
Copy link
Collaborator

fendor commented Jan 5, 2021

If I remember correctly, file specific extensions are discovered by ghc while compiling the individual file, extensions on the command line, like this, are enabled for all modules that are listed for ghc. So, in theory, sounds fine to me.

I would be more interested in -i... flags and see if they contain all the directories.
However, if the run command runs as expected for ghci, then it should be fine. Can you minimise the project and share it?

@teto
Copy link
Contributor Author

teto commented Jan 6, 2021

Paths are generated and whereever I look look fine.
I am not sure where to look at, minimizing the project is going to be hard and it may not exhibit the same issue.
I would rather explore ways to hack/make hie-bios more helpful in finding the issue so that it can help me there, in the future as well as others (may be ambitious though).

hie-bios check fails

examples/src/Reactions.hs:18:1:Could not find module ‘Common.Conditions’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.

and I was wondering if I could pass :set -v to addCmdOpts in hie-bios' initSession ?

@teto
Copy link
Contributor Author

teto commented Jan 7, 2021

I've modified hie-bios to enable verbosity (set verbosity to 2 in https://hackage.haskell.org/package/ghc-8.10.2/docs/GHC.html#t:DynFlags) https://github.com/mpickering/hie-bios/compare/master...teto:nix?expand=1 wherever I could.
For instance I run
hie-bios check /home/teto/nova/j3/simwork/jinko-tools/app/OverrideSBML/Main.hs which ends with /home/teto/nova/j3/simwork/jinko-tools/app/OverrideSBML/Main.hs:5:1:Could not find module ‘System.ModelPipeline’

Now if I rerun that command with my verbose hie-biosm I get (just pasting errors:

�[mWarning: exception raised when deleting /tmp/ghc10071_0:
�[m/tmp/ghc10071_0: removeDirectory: unsatisfied constraints (Directory not empty)
�[mDummy:0:0:Error:package flags [-package-id aeson-1.4.7.1{unit aeson-1.4.7.1 True ([])},
�[m               -package-id attoparsec-0.13.2.4{unit attoparsec-0.13.2.4 True ([])},
�[m               -package-id array-0.5.4.0{unit array-0.5.4.0 True ([])},
�[m               -package-id base-4.13.0.0{unit base-4.13.0.0 True ([])},
�[m               -package-id bytestring-0.10.10.1{unit bytestring-0.10.10.1 True ([])},
�[m               -package-id containers-0.6.2.1{unit containers-0.6.2.1 True ([])},
�[m               -package-id deepseq-1.4.4.0{unit deepseq-1.4.4.0 True ([])},
�[m               -package-id scientific-0.3.6.2{unit scientific-0.3.6.2 True ([])},
�[m               -package-id binary-0.8.7.0{unit binary-0.8.7.0 True ([])},
�[m               -package-id hashable-1.3.0.0{unit hashable-1.3.0.0 True ([])},
�[m               -package-id ghc-prim-0.5.3{unit ghc-prim-0.5.3 True ([])},
�[m               -package-id integer-gmp-1.0.2.0{unit integer-gmp-1.0.2.0 True ([])},
�[m               -package-id text-1.2.4.0{unit text-1.2.4.0 True ([])},
�[m               -package-id integer-logarithms-1.0.3{unit integer-logarithms-1.0.3 True ([])},
�[m               -package-id primitive-0.7.0.1{unit primitive-0.7.0.1 True ([])},
�[m               -package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])},
�[m               -package-id base-compat-batteries-0.11.2{unit base-compat-batteries-0.11.2 True ([])},
�[m               -package-id base-compat-0.11.2{unit base-compat-0.11.2 True ([])},
�[m               -package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])},
�[m               -package-id dlist-0.8.0.8{unit dlist-0.8.0.8 True ([])},
�[m               -package-id tagged-0.8.6{unit tagged-0.8.6 True ([])},
�[m               -package-id template-haskell-2.15.0.0{unit template-haskell-2.15.0.0 True ([])},
�[m               -package-id th-abstraction-0.3.2.0{unit th-abstraction-0.3.2.0 True ([])},
�[m               -package-id time-1.9.3{unit time-1.9.3 True ([])},
�[m               -package-id time-compat-1.9.3{unit time-compat-1.9.3 True ([])},
�[m               -package-id base-orphans-0.8.3{unit base-orphans-0.8.3 True ([])},
�[m               -package-id unordered-containers-0.2.10.0{unit unordered-containers-0.2.10.0 True ([])},
�[m               -package-id uuid-types-1.0.3{unit uuid-types-1.0.3 True ([])},
�[m               -package-id random-1.1{unit random-1.1 True ([])},
�[m               -package-id vector-0.12.0.3{unit vector-0.12.0.3 True ([])},
�[m               -package-id aeson-diff-1.1.0.9{unit aeson-diff-1.1.0.9 True ([])},
�[m               -package-id edit-distance-vector-1.0.0.4{unit edit-distance-vector-1.0.0.4 True ([])},
�[m               -package-id mtl-2.2.2{unit mtl-2.2.2 True ([])},
�[m               -package-id optparse-applicative-0.15.1.0{unit optparse-applicative-0.15.1.0 True ([])},
�[m               -package-id ansi-wl-pprint-0.6.9{unit ansi-wl-pprint-0.6.9 True ([])},
�[m               -package-id ansi-terminal-0.10.3{unit ansi-terminal-0.10.3 True ([])},
�[m               -package-id colour-2.3.5{unit colour-2.3.5 True ([])},
�[m               -package-id process-1.6.9.0{unit process-1.6.9.0 True ([])},
�[m               -package-id transformers-compat-0.6.6{unit transformers-compat-0.6.6 True ([])},
�[m               -package-id aeson-pretty-0.8.8{unit aeson-pretty-0.8.8 True ([])},
�[m               -package-id cmdargs-0.10.20{unit cmdargs-0.10.20 True ([])},
�[m               -package-id filepath-1.4.2.1{unit filepath-1.4.2.1 True ([])},
�[m               -package-id binary-orphans-1.0.1{unit binary-orphans-1.0.1 True ([])},
�[m               -package-id bson-0.4.0.1{unit bson-0.4.0.1 True ([])},
�[m               -package-id cryptohash-md5-0.11.100.1{unit cryptohash-md5-0.11.100.1 True ([])},
�[m               -package-id data-binary-ieee754-0.4.4{unit data-binary-ieee754-0.4.4 True ([])},
�[m               -package-id network-bsd-2.8.1.0{unit network-bsd-2.8.1.0 True ([])},
�[m               -package-id network-3.1.1.1{unit network-3.1.1.1 True ([])},
�[m               -package-id cassava-0.5.2.0{unit cassava-0.5.2.0 True ([])},
�[m               -package-id Only-0.1{unit Only-0.1 True ([])},
�[m               -package-id text-short-0.1.3{unit text-short-0.1.3 True ([])},
�[m               -package-id clock-0.8{unit clock-0.8 True ([])},
�[m               -package-id casing-0.1.4.1{unit casing-0.1.4.1 True ([])},
�[m               -package-id split-0.2.3.4{unit split-0.2.3.4 True ([])},
�[m               -package-id conduit-1.3.3{unit conduit-1.3.3 True ([])},
�[m               -package-id directory-1.3.6.0{unit directory-1.3.6.0 True ([])},
�[m               -package-id exceptions-0.10.4{unit exceptions-0.10.4 True ([])},
�[m               -package-id stm-2.5.0.0{unit stm-2.5.0.0 True ([])},
�[m               -package-id mono-traversable-1.0.15.1{unit mono-traversable-1.0.15.1 True ([])},
�[m               -package-id vector-algorithms-0.8.0.3{unit vector-algorithms-0.8.0.3 True ([])},
�[m               -package-id resourcet-1.2.4.2{unit resourcet-1.2.4.2 True ([])},
�[m               -package-id unliftio-core-0.1.2.0{unit unliftio-core-0.1.2.0 True ([])},
�[m               -package-id conduit-combinators-1.3.0{unit conduit-combinators-1.3.0 True ([])},
�[m               -package-id conduit-extra-1.3.5{unit conduit-extra-1.3.5 True ([])},
�[m               -package-id async-2.2.2{unit async-2.2.2 True ([])},
�[m               -package-id streaming-commons-0.2.2.1{unit streaming-commons-0.2.2.1 True ([])},
�[m               -package-id zlib-0.6.2.2{unit zlib-0.6.2.2 True ([])},
�[m               -package-id typed-process-0.2.6.0{unit typed-process-0.2.6.0 True ([])},
�[m               -package-id contravariant-1.5.2{unit contravariant-1.5.2 True ([])},
�[m               -package-id StateVar-1.2{unit StateVar-1.2 True ([])},
�[m               -package-id data-default-0.7.1.1{unit data-default-0.7.1.1 True ([])},
�[m               -package-id data-default-class-0.1.2.0{unit data-default-class-0.1.2.0 True ([])},
�[m               -package-id data-default-instances-containers-0.0.1{unit data-default-instances-containers-0.0.1 True ([])},
�[m               -package-id data-default-instances-dlist-0.0.1{unit data-default-instances-dlist-0.0.1 True ([])},
�[m               -package-id data-default-instances-old-locale-0.0.1{unit data-default-instances-old-locale-0.0.1 True ([])},
�[m               -package-id old-locale-1.0.0.7{unit old-locale-1.0.0.7 True ([])},
�[m               -package-id extra-1.7.8{unit extra-1.7.8 True ([])},
�[m               -package-id foldl-1.4.6{unit foldl-1.4.6 True ([])},
�[m               -package-id comonad-5.0.6{unit comonad-5.0.6 True ([])},
�[m               -package-id Cabal-3.0.1.0{unit Cabal-3.0.1.0 True ([])},
�[m               -package-id cabal-doctest-1.0.8{unit cabal-doctest-1.0.8 True ([])},
�[m               -package-id distributive-0.6.2{unit distributive-0.6.2 True ([])},
�[m               -package-id mwc-random-0.14.0.0{unit mwc-random-0.14.0.0 True ([])},
�[m               -package-id math-functions-0.3.4.1{unit math-functions-0.3.4.1 True ([])},
�[m               -package-id profunctors-5.5.2{unit profunctors-5.5.2 True ([])},
�[m               -package-id bifunctors-5.5.7{unit bifunctors-5.5.7 True ([])},
�[m               -package-id semigroupoids-5.3.4{unit semigroupoids-5.3.4 True ([])},
�[m               -package-id semigroups-0.19.1{unit semigroups-0.19.1 True ([])},
�[m               -package-id vector-builder-0.3.8{unit vector-builder-0.3.8 True ([])},
�[m               -package-id base-prelude-1.3{unit base-prelude-1.3 True ([])},
�[m               -package-id formatting-6.3.7{unit formatting-6.3.7 True ([])},
�[m               -package-id heredoc-0.2.0.0{unit heredoc-0.2.0.0 True ([])},
�[m               -package-id hmatrix-0.20.0.0{unit hmatrix-0.20.0.0 True ([])},
�[m               -package-id storable-complex-0.2.3.0{unit storable-complex-0.2.3.0 True ([])},
�[m               -package-id hvega-0.9.1.0{unit hvega-0.9.1.0 True ([])},
�[m               -package-id katip-0.8.5.0{unit katip-0.8.5.0 True ([])},
�[m               -package-id auto-update-0.1.6{unit auto-update-0.1.6 True ([])},
�[m               -package-id either-5.0.1.1{unit either-5.0.1.1 True ([])},
�[m               -package-id hostname-1.0{unit hostname-1.0 True ([])},
�[m               -package-id microlens-0.4.11.2{unit microlens-0.4.11.2 True ([])},
�[m               -package-id microlens-th-0.4.3.6{unit microlens-th-0.4.3.6 True ([])},
�[m               -package-id monad-control-1.0.2.3{unit monad-control-1.0.2.3 True ([])},
�[m               -package-id transformers-base-0.4.5.2{unit transformers-base-0.4.5.2 True ([])},
�[m               -package-id safe-exceptions-0.1.7.1{unit safe-exceptions-0.1.7.1 True ([])},
�[m               -package-id string-conv-0.1.2{unit string-conv-0.1.2 True ([])},
�[m               -package-id lens-4.18.1{unit lens-4.18.1 True ([])},
�[m               -package-id call-stack-0.2.0{unit call-stack-0.2.0 True ([])},
�[m               -package-id free-5.1.3{unit free-5.1.3 True ([])},
�[m               -package-id kan-extensions-5.2.1{unit kan-extensions-5.2.1 True ([])},
�[m               -package-id adjunctions-4.4{unit adjunctions-4.4 True ([])},
�[m               -package-id void-0.7.3{unit void-0.7.3 True ([])},
�[m               -package-id invariant-0.5.3{unit invariant-0.5.3 True ([])},
�[m               -package-id parallel-3.2.2.0{unit parallel-3.2.2.0 True ([])},
�[m               -package-id reflection-2.1.6{unit reflection-2.1.6 True ([])},
�[m               -package-id type-equality-1{unit type-equality-1 True ([])},
�[m               -package-id lifted-async-0.10.1.2{unit lifted-async-0.10.1.2 True ([])},
�[m               -package-id constraints-0.12{unit constraints-0.12 True ([])},
�[m               -package-id lifted-base-0.2.3.12{unit lifted-base-0.2.3.12 True ([])},
�[m               -package-id megaparsec-8.0.0{unit megaparsec-8.0.0 True ([])},
�[m               -package-id case-insensitive-1.2.1.0{unit case-insensitive-1.2.1.0 True ([])},
�[m               -package-id parser-combinators-1.2.1{unit parser-combinators-1.2.1 True ([])},
�[m               -package-id mime-types-0.1.0.9{unit mime-types-0.1.0.9 True ([])},
�[m               -package-id mmorph-1.1.3{unit mmorph-1.1.3 True ([])},
�[m               -package-id monad-classes-0.2.2.1{unit monad-classes-0.2.2.1 True ([])},
�[m               -package-id monad-loops-0.4.3{unit monad-loops-0.4.3 True ([])},
�[m               -package-id parsec-3.1.14.0{unit parsec-3.1.14.0 True ([])},
�[m               -package-id path-0.7.0{unit path-0.7.0 True ([])},
�[m               -package-id pqueue-1.4.1.3{unit pqueue-1.4.1.3 True ([])},
�[m               -package-id QuickCheck-2.13.2{unit QuickCheck-2.13.2 True ([])},
�[m               -package-id splitmix-0.0.5{unit splitmix-0.0.5 True ([])},
�[m               -package-id quickcheck-text-0.1.2.1{unit quickcheck-text-0.1.2.1 True ([])},
�[m               -package-id quickcheck-instances-0.3.23{unit quickcheck-instances-0.3.23 True ([])},
�[m               -package-id old-time-1.1.0.3{unit old-time-1.1.0.3 True ([])},
�[m               -package-id these-1.1.1.1{unit these-1.1.1.1 True ([])},
�[m               -package-id assoc-1.0.2{unit assoc-1.0.2 True ([])},
�[m               -package-id random-fu-0.2.7.4{unit random-fu-0.2.7.4 True ([])},
�[m               -package-id erf-2.0.0.0{unit erf-2.0.0.0 True ([])},
�[m               -package-id random-shuffle-0.0.4{unit random-shuffle-0.0.4 True ([])},
�[m               -package-id MonadRandom-0.5.2{unit MonadRandom-0.5.2 True ([])},
�[m               -package-id random-source-0.3.0.8{unit random-source-0.3.0.8 True ([])},
�[m               -package-id flexible-defaults-0.0.3{unit flexible-defaults-0.0.3 True ([])},
�[m               -package-id th-extras-0.0.0.4{unit th-extras-0.0.0.4 True ([])},
�[m               -package-id syb-0.7.1{unit syb-0.7.1 True ([])},
�[m               -package-id mersenne-random-pure64-0.2.2.0{unit mersenne-random-pure64-0.2.2.0 True ([])},
�[m               -package-id stateref-0.3{unit stateref-0.3 True ([])},
�[m               -package-id rvar-0.2.0.4{unit rvar-0.2.0.4 True ([])},
�[m               -package-id MonadPrompt-1.0.0.5{unit MonadPrompt-1.0.0.5 True ([])},
�[m               -package-id retry-0.8.1.2{unit retry-0.8.1.2 True ([])},
�[m               -package-id safe-0.3.19{unit safe-0.3.19 True ([])},
�[m               -package-id store-0.7.4{unit store-0.7.4 True ([])},
�[m               -package-id base64-bytestring-1.0.0.3{unit base64-bytestring-1.0.0.3 True ([])},
�[m               -package-id cryptohash-0.11.9{unit cryptohash-0.11.9 True ([])},
�[m               -package-id byteable-0.1.1{unit byteable-0.1.1 True ([])},
�[m               -package-id cryptonite-0.26{unit cryptonite-0.26 True ([])},
�[m               -package-id basement-0.0.11{unit basement-0.0.11 True ([])},
�[m               -package-id memory-0.15.0{unit memory-0.15.0 True ([])},
�[m               -package-id externalZShackageZSfail{unit fail-4.9.0.0 True ([])},
�[m               -package-id hspec-2.7.4{unit hspec-2.7.4 True ([])},
�[m               -package-id hspec-core-2.7.4{unit hspec-core-2.7.4 True ([])},
�[m               -package-id HUnit-1.6.0.0{unit HUnit-1.6.0.0 True ([])},
�[m               -package-id hspec-expectations-0.8.2{unit hspec-expectations-0.8.2 True ([])},
�[m               -package-id quickcheck-io-0.2.0{unit quickcheck-io-0.2.0 True ([])},
�[m               -package-id setenv-0.1.1.3{unit setenv-0.1.1.3 True ([])},
�[m               -package-id tf-random-0.5{unit tf-random-0.5 True ([])},
�[m               -package-id hspec-discover-2.7.4{unit hspec-discover-2.7.4 True ([])},
�[m               -package-id hspec-smallcheck-0.5.2{unit hspec-smallcheck-0.5.2 True ([])},
�[m               -package-id smallcheck-1.1.7{unit smallcheck-1.1.7 True ([])},
�[m               -package-id logict-0.7.0.3{unit logict-0.7.0.3 True ([])},
�[m               -package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])},
�[m               -package-id store-core-0.4.4.2{unit store-core-0.4.4.2 True ([])},
�[m               -package-id th-lift-0.8.2{unit th-lift-0.8.2 True ([])},
�[m               -package-id th-lift-instances-0.1.17{unit th-lift-instances-0.1.17 True ([])},
�[m               -package-id th-orphans-0.13.10{unit th-orphans-0.13.10 True ([])},
�[m               -package-id th-reify-many-0.1.9{unit th-reify-many-0.1.9 True ([])},
�[m               -package-id th-expand-syns-0.4.6.0{unit th-expand-syns-0.4.6.0 True ([])},
�[m               -package-id th-utilities-0.2.4.0{unit th-utilities-0.2.4.0 True ([])},
�[m               -package-id streaming-0.2.3.0{unit streaming-0.2.3.0 True ([])},
�[m               -package-id streaming-bytestring-0.1.7{unit streaming-bytestring-0.1.7 True ([])},
�[m               -package-id streaming-conduit-0.1.2.2{unit streaming-conduit-0.1.2.2 True ([])},
�[m               -package-id streaming-utils-0.2.0.0{unit streaming-utils-0.2.0.0 True ([])},
�[m               -package-id http-client-0.6.4.1{unit http-client-0.6.4.1 True ([])},
�[m               -package-id blaze-builder-0.4.1.0{unit blaze-builder-0.4.1.0 True ([])},
�[m               -package-id cookie-0.4.5{unit cookie-0.4.5 True ([])},
�[m               -package-id http-types-0.12.3{unit http-types-0.12.3 True ([])},
�[m               -package-id network-uri-2.6.3.0{unit network-uri-2.6.3.0 True ([])},
�[m               -package-id http-client-tls-0.3.5.3{unit http-client-tls-0.3.5.3 True ([])},
�[m               -package-id connection-0.3.1{unit connection-0.3.1 True ([])},
�[m               -package-id socks-0.6.1{unit socks-0.6.1 True ([])},
�[m               -package-id cereal-0.5.8.1{unit cereal-0.5.8.1 True ([])},
�[m               -package-id tls-1.5.4{unit tls-1.5.4 True ([])},
�[m               -package-id asn1-encoding-0.9.6{unit asn1-encoding-0.9.6 True ([])},
�[m               -package-id asn1-types-0.3.4{unit asn1-types-0.3.4 True ([])},
�[m               -package-id hourglass-0.2.12{unit hourglass-0.2.12 True ([])},
�[m               -package-id x509-1.7.5{unit x509-1.7.5 True ([])},
�[m               -package-id asn1-parse-0.9.5{unit asn1-parse-0.9.5 True ([])},
�[m               -package-id pem-0.2.4{unit pem-0.2.4 True ([])},
�[m               -package-id x509-store-1.6.7{unit x509-store-1.6.7 True ([])},
�[m               -package-id x509-validation-1.6.11{unit x509-validation-1.6.11 True ([])},
�[m               -package-id x509-system-1.6.6{unit x509-system-1.6.6 True ([])},
�[m               -package-id json-stream-0.4.2.4{unit json-stream-0.4.2.4 True ([])},
�[m               -package-id network-simple-0.4.5{unit network-simple-0.4.5 True ([])},
�[m               -package-id pipes-4.3.14{unit pipes-4.3.14 True ([])},
�[m               -package-id temporary-1.3{unit temporary-1.3 True ([])},
�[m               -package-id tuples-homogenous-h98-0.1.1.0{unit tuples-homogenous-h98-0.1.1.0 True ([])},
�[m               -package-id unliftio-0.2.13{unit unliftio-0.2.13 True ([])},
�[m               -package-id url-2.1.3{unit url-2.1.3 True ([])},
�[m               -package-id utf8-string-1.0.1.1{unit utf8-string-1.0.1.1 True ([])},
�[m               -package-id vector-instances-3.4{unit vector-instances-3.4 True ([])},
�[m               -package-id keys-3.12.3{unit keys-3.12.3 True ([])},
�[m               -package-id pointed-5.0.2{unit pointed-5.0.2 True ([])},
�[m               -package-id versions-3.5.4{unit versions-3.5.4 True ([])},
�[m               -package-id yaml-0.11.5.0{unit yaml-0.11.5.0 True ([])},
�[m               -package-id libyaml-0.1.2{unit libyaml-0.1.2 True ([])},
�[m               -package-id integration-0.2.1{unit integration-0.2.1 True ([])},
�[m               -package-id cas-hashable-1.0.1{unit cas-hashable-1.0.1 True ([])},
�[m               -package-id path-io-1.6.1{unit path-io-1.6.1 True ([])},
�[m               -package-id unix-compat-0.5.2{unit unix-compat-0.5.2 True ([])},
�[m               -package-id generics-sop-0.5.1.0{unit generics-sop-0.5.1.0 True ([])},
�[m               -package-id sop-core-0.5.0.1{unit sop-core-0.5.0.1 True ([])},
�[m               -package-id lrucaching-0.3.3{unit lrucaching-0.3.3 True ([])},
�[m               -package-id psqueues-0.2.7.2{unit psqueues-0.2.7.2 True ([])},
�[m               -package-id pretty-show-1.10{unit pretty-show-1.10 True ([])},
�[m               -package-id haskell-lexer-1.1{unit haskell-lexer-1.1 True ([])},
�[m               -package-id tasty-hunit-0.10.0.2{unit tasty-hunit-0.10.0.2 True ([])},
�[m               -package-id tasty-1.2.3{unit tasty-1.2.3 True ([])},
�[m               -package-id unbounded-delays-0.1.1.0{unit unbounded-delays-0.1.1.0 True ([])},
�[m               -package-id wcwidth-0.0.2{unit wcwidth-0.0.2 True ([])},
�[m               -package-id text-icu-0.7.0.1{unit text-icu-0.7.0.1 True ([])},
�[m               -package-id regex-applicative-0.3.3.1{unit regex-applicative-0.3.3.1 True ([])},
�[m               -package-id llvm-hs-9.0.1{unit llvm-hs-9.0.1 True ([])},
�[m               -package-id llvm-hs-pure-9.0.0{unit llvm-hs-pure-9.0.0 True ([])},
�[m               -package-id hmatrix-sundials-0.20.0.0{unit hmatrix-sundials-0.20.0.0 True ([])},
�[m               -package-id inline-c-0.9.1.3{unit inline-c-0.9.1.3 True ([])},
�[m               -package-id parsers-0.12.10{unit parsers-0.12.10 True ([])},
�[m               -package-id charset-0.3.7.1{unit charset-0.3.7.1 True ([])},
�[m               -package-id strict-0.3.2{unit strict-0.3.2 True ([])},
�[m               -package-id algebraic-graphs-0.5{unit algebraic-graphs-0.5 True ([])},
�[m               -package-id vinyl-0.12.1{unit vinyl-0.12.1 True ([])},
�[m               -package-id cas-store-1.1.0{unit cas-store-1.1.0 True ([])},
�[m               -package-id hinotify-0.4{unit hinotify-0.4 True ([])},
�[m               -package-id sqlite-simple-0.4.18.0{unit sqlite-simple-0.4.18.0 True ([])},
�[m               -package-id blaze-textual-0.2.1.0{unit blaze-textual-0.2.1.0 True ([])},
�[m               -package-id direct-sqlite-2.3.26{unit direct-sqlite-2.3.26 True ([])},
�[m               -package-id tar-0.5.1.1{unit tar-0.5.1.1 True ([])},
�[m               -package-id kernmantle-0.1.0.0{unit kernmantle-0.1.0.0 True ([])},
�[m               -package-id lens-aeson-1.1{unit lens-aeson-1.1 True ([])},
�[m               -package-id kernmantle-caching-0.1.0.0{unit kernmantle-caching-0.1.0.0 True ([])},
�[m               -package-id ordered-containers-0.2.2{unit ordered-containers-0.2.2 True ([])},
�[m               -package-id foldl-statistics-0.1.5.1{unit foldl-statistics-0.1.5.1 True ([])},
�[m               -package-id statistics-0.15.2.0{unit statistics-0.15.2.0 True ([])},
�[m               -package-id dense-linear-algebra-0.1.0.0{unit dense-linear-algebra-0.1.0.0 True ([])},
�[m               -package-id vector-binary-instances-0.2.5.1{unit vector-binary-instances-0.2.5.1 True ([])},
�[m               -package-id vector-th-unbox-0.2.1.7{unit vector-th-unbox-0.2.1.7 True ([])},
�[m               -package-id monad-par-0.3.5{unit monad-par-0.3.5 True ([])},
�[m               -package-id abstract-deque-0.3{unit abstract-deque-0.3 True ([])},
�[m               -package-id abstract-par-0.3.3{unit abstract-par-0.3.3 True ([])},
�[m               -package-id monad-par-extras-0.3.3{unit monad-par-extras-0.3.3 True ([])},
�[m               -package-id hmatrix-nlopt-0.1.3.0{unit hmatrix-nlopt-0.1.3.0 True ([])},
�[m               -package-id nlopt-haskell-0.1.3.0{unit nlopt-haskell-0.1.3.0 True ([])},
�[m               -package-id http-conduit-2.3.7.3{unit http-conduit-2.3.7.3 True ([])},
�[m               -package-id tasty-golden-2.3.3.2{unit tasty-golden-2.3.3.2 True ([])},
�[m               -package-id regex-compat-0.95.2.0{unit regex-compat-0.95.2.0 True ([])},
�[m               -package-id regex-base-0.94.0.0{unit regex-base-0.94.0.0 True ([])},
�[m               -package-id regex-posix-0.96.0.0{unit regex-posix-0.96.0.0 True ([])}]
�[mDummy:0:0:Error:loading package database /nix/store/0zfnq2gnjxlrwc2fr1frv1m1x70plgz5-ghc-8.8.4/lib/ghc-8.8.4/package.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hashable-1.3.0.0/_install/hashable-1.3.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/integer-logarithms-1.0.3/_install/integer-logarithms-1.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/primitive-0.7.0.1/_install/primitive-0.7.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/scientific-0.3.6.2/_install/scientific-0.3.6.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/attoparsec-0.13.2.4/_install/attoparsec-0.13.2.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/base-compat-0.11.2/_install/base-compat-0.11.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/base-compat-batteries-0.11.2/_install/base-compat-batteries-0.11.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/dlist-0.8.0.8/_install/dlist-0.8.0.8.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tagged-0.8.6/_install/tagged-0.8.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-abstraction-0.3.2.0/_install/th-abstraction-0.3.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/base-orphans-0.8.3/_install/base-orphans-0.8.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/time-compat-1.9.3/_install/time-compat-1.9.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/unordered-containers-0.2.10.0/_install/unordered-containers-0.2.10.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/random-1.1/_install/random-1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/uuid-types-1.0.3/_install/uuid-types-1.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/vector-0.12.0.3/_install/vector-0.12.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/aeson-1.4.7.1/_install/aeson-1.4.7.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/edit-distance-vector-1.0.0.4/_install/edit-distance-vector-1.0.0.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/colour-2.3.5/_install/colour-2.3.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/ansi-terminal-0.10.3/_install/ansi-terminal-0.10.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/ansi-wl-pprint-0.6.9/_install/ansi-wl-pprint-0.6.9.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/transformers-compat-0.6.6/_install/transformers-compat-0.6.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/optparse-applicative-0.15.1.0/_install/optparse-applicative-0.15.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/aeson-diff-1.1.0.9/_install/aeson-diff-1.1.0.9.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cmdargs-0.10.20/_install/cmdargs-0.10.20.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/aeson-pretty-0.8.8/_install/aeson-pretty-0.8.8.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/binary-orphans-1.0.1/_install/binary-orphans-1.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cryptohash-md5-0.11.100.1/_install/cryptohash-md5-0.11.100.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/data-binary-ieee754-0.4.4/_install/data-binary-ieee754-0.4.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/network-3.1.1.1/_install/network-3.1.1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/network-bsd-2.8.1.0/_install/network-bsd-2.8.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/bson-0.4.0.1/_install/bson-0.4.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/Only-0.1/_install/Only-0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/text-short-0.1.3/_install/text-short-0.1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cassava-0.5.2.0/_install/cassava-0.5.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/clock-0.8/_install/clock-0.8.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/split-0.2.3.4/_install/split-0.2.3.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/casing-0.1.4.1/_install/casing-0.1.4.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/exceptions-0.10.4/_install/exceptions-0.10.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/vector-algorithms-0.8.0.3/_install/vector-algorithms-0.8.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/mono-traversable-1.0.15.1/_install/mono-traversable-1.0.15.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/unliftio-core-0.1.2.0/_install/unliftio-core-0.1.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/resourcet-1.2.4.2/_install/resourcet-1.2.4.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/conduit-1.3.3/_install/conduit-1.3.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/conduit-combinators-1.3.0/_install/conduit-combinators-1.3.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/async-2.2.2/_install/async-2.2.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/zlib-0.6.2.2/_install/zlib-0.6.2.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/streaming-commons-0.2.2.1/_install/streaming-commons-0.2.2.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/typed-process-0.2.6.0/_install/typed-process-0.2.6.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/conduit-extra-1.3.5/_install/conduit-extra-1.3.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/StateVar-1.2/_install/StateVar-1.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/contravariant-1.5.2/_install/contravariant-1.5.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/data-default-class-0.1.2.0/_install/data-default-class-0.1.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/data-default-instances-containers-0.0.1/_install/data-default-instances-containers-0.0.1
�[m.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/data-default-instances-dlist-0.0.1/_install/data-default-instances-dlist-0.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/old-locale-1.0.0.7/_install/old-locale-1.0.0.7.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/data-default-instances-old-locale-0.0.1/_install/data-default-instances-old-locale-0.0.1
�[m.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/data-default-0.7.1.1/_install/data-default-0.7.1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/extra-1.7.8/_install/extra-1.7.8.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cabal-doctest-1.0.8/_install/cabal-doctest-1.0.8.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/distributive-0.6.2/_install/distributive-0.6.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/comonad-5.0.6/_install/comonad-5.0.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/math-functions-0.3.4.1/_install/math-functions-0.3.4.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/mwc-random-0.14.0.0/_install/mwc-random-0.14.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/bifunctors-5.5.7/_install/bifunctors-5.5.7.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/profunctors-5.5.2/_install/profunctors-5.5.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/semigroupoids-5.3.4/_install/semigroupoids-5.3.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/semigroups-0.19.1/_install/semigroups-0.19.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/base-prelude-1.3/_install/base-prelude-1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/vector-builder-0.3.8/_install/vector-builder-0.3.8.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/foldl-1.4.6/_install/foldl-1.4.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/formatting-6.3.7/_install/formatting-6.3.7.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/heredoc-0.2.0.0/_install/heredoc-0.2.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/storable-complex-0.2.3.0/_install/storable-complex-0.2.3.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hmatrix-0.20.0.0/_install/hmatrix-0.20.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hvega-0.9.1.0/_install/hvega-0.9.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/auto-update-0.1.6/_install/auto-update-0.1.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/either-5.0.1.1/_install/either-5.0.1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hostname-1.0/_install/hostname-1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/microlens-0.4.11.2/_install/microlens-0.4.11.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/microlens-th-0.4.3.6/_install/microlens-th-0.4.3.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/transformers-base-0.4.5.2/_install/transformers-base-0.4.5.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/monad-control-1.0.2.3/_install/monad-control-1.0.2.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/safe-exceptions-0.1.7.1/_install/safe-exceptions-0.1.7.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/string-conv-0.1.2/_install/string-conv-0.1.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/katip-0.8.5.0/_install/katip-0.8.5.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/call-stack-0.2.0/_install/call-stack-0.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/free-5.1.3/_install/free-5.1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/void-0.7.3/_install/void-0.7.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/adjunctions-4.4/_install/adjunctions-4.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/invariant-0.5.3/_install/invariant-0.5.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/kan-extensions-5.2.1/_install/kan-extensions-5.2.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/parallel-3.2.2.0/_install/parallel-3.2.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/reflection-2.1.6/_install/reflection-2.1.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/type-equality-1/_install/type-equality-1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/lens-4.18.1/_install/lens-4.18.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/constraints-0.12/_install/constraints-0.12.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/lifted-base-0.2.3.12/_install/lifted-base-0.2.3.12.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/lifted-async-0.10.1.2/_install/lifted-async-0.10.1.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/case-insensitive-1.2.1.0/_install/case-insensitive-1.2.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/parser-combinators-1.2.1/_install/parser-combinators-1.2.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/megaparsec-8.0.0/_install/megaparsec-8.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/mime-types-0.1.0.9/_install/mime-types-0.1.0.9.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/mmorph-1.1.3/_install/mmorph-1.1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/monad-classes-0.2.2.1/_install/monad-classes-0.2.2.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/monad-loops-0.4.3/_install/monad-loops-0.4.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/path-0.7.0/_install/path-0.7.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/pqueue-1.4.1.3/_install/pqueue-1.4.1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/splitmix-0.0.5/_install/splitmix-0.0.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/QuickCheck-2.13.2/_install/QuickCheck-2.13.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/quickcheck-text-0.1.2.1/_install/quickcheck-text-0.1.2.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/old-time-1.1.0.3/_install/old-time-1.1.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/assoc-1.0.2/_install/assoc-1.0.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/these-1.1.1.1/_install/these-1.1.1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/quickcheck-instances-0.3.23/_install/quickcheck-instances-0.3.23.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/erf-2.0.0.0/_install/erf-2.0.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/MonadRandom-0.5.2/_install/MonadRandom-0.5.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/random-shuffle-0.0.4/_install/random-shuffle-0.0.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/syb-0.7.1/_install/syb-0.7.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-extras-0.0.0.4/_install/th-extras-0.0.0.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/flexible-defaults-0.0.3/_install/flexible-defaults-0.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/mersenne-random-pure64-0.2.2.0/_install/mersenne-random-pure64-0.2.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/stateref-0.3/_install/stateref-0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/random-source-0.3.0.8/_install/random-source-0.3.0.8.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/MonadPrompt-1.0.0.5/_install/MonadPrompt-1.0.0.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/rvar-0.2.0.4/_install/rvar-0.2.0.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/random-fu-0.2.7.4/_install/random-fu-0.2.7.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/retry-0.8.1.2/_install/retry-0.8.1.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/safe-0.3.19/_install/safe-0.3.19.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/base64-bytestring-1.0.0.3/_install/base64-bytestring-1.0.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/byteable-0.1.1/_install/byteable-0.1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/basement-0.0.11/_install/basement-0.0.11.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/memory-0.15.0/_install/memory-0.15.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cryptonite-0.26/_install/cryptonite-0.26.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cryptohash-0.11.9/_install/cryptohash-0.11.9.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/externalZShackageZSfail
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/HUnit-1.6.0.0/_install/HUnit-1.6.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hspec-expectations-0.8.2/_install/hspec-expectations-0.8.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/quickcheck-io-0.2.0/_install/quickcheck-io-0.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/setenv-0.1.1.3/_install/setenv-0.1.1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tf-random-0.5/_install/tf-random-0.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hspec-core-2.7.4/_install/hspec-core-2.7.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hspec-discover-2.7.4/_install/hspec-discover-2.7.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hspec-2.7.4/_install/hspec-2.7.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/logict-0.7.0.3/_install/logict-0.7.0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/smallcheck-1.1.7/_install/smallcheck-1.1.7.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hspec-smallcheck-0.5.2/_install/hspec-smallcheck-0.5.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/store-core-0.4.4.2/_install/store-core-0.4.4.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-lift-0.8.2/_install/th-lift-0.8.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-lift-instances-0.1.17/_install/th-lift-instances-0.1.17.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-expand-syns-0.4.6.0/_install/th-expand-syns-0.4.6.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-reify-many-0.1.9/_install/th-reify-many-0.1.9.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-orphans-0.13.10/_install/th-orphans-0.13.10.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/th-utilities-0.2.4.0/_install/th-utilities-0.2.4.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/store-0.7.4/_install/store-0.7.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/streaming-0.2.3.0/_install/streaming-0.2.3.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/streaming-bytestring-0.1.7/_install/streaming-bytestring-0.1.7.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/streaming-conduit-0.1.2.2/_install/streaming-conduit-0.1.2.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/blaze-builder-0.4.1.0/_install/blaze-builder-0.4.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cookie-0.4.5/_install/cookie-0.4.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/http-types-0.12.3/_install/http-types-0.12.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/network-uri-2.6.3.0/_install/network-uri-2.6.3.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/http-client-0.6.4.1/_install/http-client-0.6.4.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cereal-0.5.8.1/_install/cereal-0.5.8.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/socks-0.6.1/_install/socks-0.6.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hourglass-0.2.12/_install/hourglass-0.2.12.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/asn1-types-0.3.4/_install/asn1-types-0.3.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/asn1-encoding-0.9.6/_install/asn1-encoding-0.9.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/asn1-parse-0.9.5/_install/asn1-parse-0.9.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/pem-0.2.4/_install/pem-0.2.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/x509-1.7.5/_install/x509-1.7.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/x509-store-1.6.7/_install/x509-store-1.6.7.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/x509-validation-1.6.11/_install/x509-validation-1.6.11.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tls-1.5.4/_install/tls-1.5.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/x509-system-1.6.6/_install/x509-system-1.6.6.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/connection-0.3.1/_install/connection-0.3.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/http-client-tls-0.3.5.3/_install/http-client-tls-0.3.5.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/json-stream-0.4.2.4/_install/json-stream-0.4.2.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/network-simple-0.4.5/_install/network-simple-0.4.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/pipes-4.3.14/_install/pipes-4.3.14.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/streaming-utils-0.2.0.0/_install/streaming-utils-0.2.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/temporary-1.3/_install/temporary-1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tuples-homogenous-h98-0.1.1.0/_install/tuples-homogenous-h98-0.1.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/unliftio-0.2.13/_install/unliftio-0.2.13.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/utf8-string-1.0.1.1/_install/utf8-string-1.0.1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/url-2.1.3/_install/url-2.1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/keys-3.12.3/_install/keys-3.12.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/pointed-5.0.2/_install/pointed-5.0.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/vector-instances-3.4/_install/vector-instances-3.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/versions-3.5.4/_install/versions-3.5.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/libyaml-0.1.2/_install/libyaml-0.1.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/yaml-0.11.5.0/_install/yaml-0.11.5.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/integration-0.2.1/_install/integration-0.2.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/unix-compat-0.5.2/_install/unix-compat-0.5.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/path-io-1.6.1/_install/path-io-1.6.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cas-hashable-1.0.1/_install/cas-hashable-1.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/sop-core-0.5.0.1/_install/sop-core-0.5.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/generics-sop-0.5.1.0/_install/generics-sop-0.5.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/psqueues-0.2.7.2/_install/psqueues-0.2.7.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/lrucaching-0.3.3/_install/lrucaching-0.3.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/haskell-lexer-1.1/_install/haskell-lexer-1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/pretty-show-1.10/_install/pretty-show-1.10.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/unbounded-delays-0.1.1.0/_install/unbounded-delays-0.1.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/wcwidth-0.0.2/_install/wcwidth-0.0.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tasty-1.2.3/_install/tasty-1.2.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tasty-hunit-0.10.0.2/_install/tasty-hunit-0.10.0.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/text-icu-0.7.0.1/_install/text-icu-0.7.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/regex-applicative-0.3.3.1/_install/regex-applicative-0.3.3.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/llvm-hs-pure-9.0.0/_install/llvm-hs-pure-9.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/llvm-hs-9.0.1/_install/llvm-hs-9.0.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/charset-0.3.7.1/_install/charset-0.3.7.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/parsers-0.12.10/_install/parsers-0.12.10.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/inline-c-0.9.1.3/_install/inline-c-0.9.1.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hmatrix-sundials-0.20.0.0/_install/hmatrix-sundials-0.20.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/strict-0.3.2/_install/strict-0.3.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/algebraic-graphs-0.5/_install/algebraic-graphs-0.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/vinyl-0.12.1/_install/vinyl-0.12.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hinotify-0.4/_install/hinotify-0.4.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/blaze-textual-0.2.1.0/_install/blaze-textual-0.2.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/direct-sqlite-2.3.26/_install/direct-sqlite-2.3.26.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/sqlite-simple-0.4.18.0/_install/sqlite-simple-0.4.18.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tar-0.5.1.1/_install/tar-0.5.1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/cas-store-1.1.0/_install/cas-store-1.1.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/lens-aeson-1.1/_install/lens-aeson-1.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/kernmantle-0.1.0.0/_install/kernmantle-0.1.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/kernmantle-caching-0.1.0.0/_install/kernmantle-caching-0.1.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/ordered-containers-0.2.2/_install/ordered-containers-0.2.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/foldl-statistics-0.1.5.1/_install/foldl-statistics-0.1.5.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/vector-binary-instances-0.2.5.1/_install/vector-binary-instances-0.2.5.1.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/vector-th-unbox-0.2.1.7/_install/vector-th-unbox-0.2.1.7.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/dense-linear-algebra-0.1.0.0/_install/dense-linear-algebra-0.1.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/abstract-deque-0.3/_install/abstract-deque-0.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/abstract-par-0.3.3/_install/abstract-par-0.3.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/monad-par-extras-0.3.3/_install/monad-par-extras-0.3.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/monad-par-0.3.5/_install/monad-par-0.3.5.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/statistics-0.15.2.0/_install/statistics-0.15.2.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/nlopt-haskell-0.1.3.0/_install/nlopt-haskell-0.1.3.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/hmatrix-nlopt-0.1.3.0/_install/hmatrix-nlopt-0.1.3.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/http-conduit-2.3.7.3/_install/http-conduit-2.3.7.3.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/tasty-golden-2.3.3.2/_install/tasty-golden-2.3.3.2.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/regex-base-0.94.0.0/_install/regex-base-0.94.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/regex-posix-0.96.0.0/_install/regex-posix-0.96.0.0.conf.d
�[mDummy:0:0:Error:loading package database /home/teto/nova/j3/bazel-out/k8-fastbuild/bin/external/hackage/regex-compat-0.95.2.0/_install/regex-compat-0.95.2.0.conf.d
�[mDummy:0:0:Error:wired-in package ghc-prim mapped to ghc-prim-0.5.3
�[mDummy:0:0:Error:wired-in package integer-wired-in mapped to integer-gmp-1.0.2.0
�[mDummy:0:0:Error:wired-in package base mapped to base-4.13.0.0
�[mDummy:0:0:Error:wired-in package rts mapped to rts-1.0
�[mDummy:0:0:Error:wired-in package template-haskell mapped to template-haskell-2.15.0.0
�[mDummy:0:0:Error:wired-in package ghc mapped to ghc-8.8.4
�[mDummy:0:0:Error:*** Chasing dependencies:
�[mDummy:0:0:Error:Chasing modules from: */home/teto/nova/j3/simwork/jinko-tools/app/OverrideSBML/Main.hs
�[mDummy:0:0:Error:!!! Chasing dependencies: finished in 896.33 milliseconds, allocated 1721.928 megabytes
�[mDummy:0:0:Error:Stable obj: {Data.Accessor, System.ModelPipeline,
�[m             System.TaskPipeline, BioModels.Definitions.Model,
�[m             Data.Locations.Accessors, Data.Locations.Accessors.HTTP,
�[m             System.TaskPipeline.Run, System.Tasks.ComputationalModelWithOpts,
.....
yet the missing module listed a few lines afterwards

2701290 ^[[m NONREC
2701291 ^[[m ModSummary {
2701292 ^[[m ms_hs_date = 2021-01-04 09:32:13.537129366 UTC
2701293 ^[[m ms_mod = System.ModelPipeline,
2701294 ^[[m ms_textual_imps = [(Nothing, System.IO), (Nothing, System.Exit),
2701295 ^[[m (Nothing, Network.HTTP.Simple), (Nothing, Data.Proxy),
2701296 ^[[m (Nothing, Data.Maybe), (Nothing, Control.Lens),
2701297 ^[[m (Nothing, System.Tasks.ComputationalModelWithOpts),
2701298 ^[[m (Nothing, System.TaskPipeline.Run), (Nothing, System.TaskPipeline),
2701299 ^[[m (Nothing, Data.Locations.Accessors.HTTP),
2701300 ^[[m (Nothing, BioModels.Definitions.Model), (Nothing, Prelude)]
2701301 ^[[m ms_srcimps = []
2701302 ^[[m },

I wonder what's the NONREC. Any idea where to look at/if I should increase verbosity more ?

@aherrmann
Copy link

Hi @teto , thanks for looping me in. I'm not sure what's causing this issue. It would be good to isolate a bit further under what circumstances this issue occurs.

Often, hls returns a Could not find module but when I look at the generated bios files, they contain the module.

If I read this right the issue does not occur on all targets but only on some, is that correct? If so, do any differences between these targets stand out? Would it be possible to reduce a target where the issue occurs until it disappears?


I would be more interested in -i... flags and see if they contain all the directories.

@fendor raises a good point. haskell_repl generates -i flags based on src_strip_prefix. That attribute is not required for regular compilation, only for ghci. It might be worth checking if src_strip_prefix is missing or incorrect on the targets where the issue occurs.

@teto
Copy link
Contributor Author

teto commented Jan 8, 2021

@aherrmann actually I think none of them work (not sure yet), I get a Completed (237 files worked, 543 files failed) running haskell-server-engine simwork but the successful ones may be ignored ones I would say (can I list them as well ? I think I will patch hie-bios to find them).

Sidequestion, how can I get a cabal binary from @rules_haskell ? I tried adding a cabal cradle but it's not in PATH so hie-bios fails with

hie-bios: CradleError {cradleErrorDependencies = [], cradleErrorExitCode = ExitSuccess, cradleErrorStderr = ["Couldn't execute cabal --builddir=/home/teto/.cache/hie-bios/dist-j3-c94d3e80f9436b208e5bd09343ae379f v2-exec ghc -v0 -- --print-libdir"]}

I've noticed that rules haskell add some nonexisting folders: for instance bazel-out/k8-fastbuild/bin/simwork/pipeline/src doesn't exist in

-isimwork/jinko-tools/
-ibazel-out/k8-fastbuild/bin/simwork/jinko-tools/
-isimwork/pipeline/
-ibazel-out/k8-fastbuild/bin/simwork/pipeline/
-isimwork/pipeline/src
-ibazel-out/k8-fastbuild/bin/simwork/pipeline/src
-isimwork/core/definitions/src

One other thing that I find confusing is that hie-bios resorts to implicit-cradle

�[m[INFO] Consulting the cradle for "/home/teto/.cache/bazel/_bazel_teto/783aaa1945b6f5c4eee1a34553443ae8/execroot/jinko/bazel-out/k8-fastbuild/bin/simwork/sbml/chs-gen-preprocessed-bindings/Fore
�[mign/C/SBML/Rule.chs/Foreign/C/SBML/Rule.hs"
�[mNotShowMessage (NotificationMessage {_jsonrpc = "2.0", _method = WindowShowMessage, _params = ShowMessageParams {_xtype = MtInfo, _message = "No [cradle](https://github.com/mpickering/hie-bios
�[m#hie-bios) found for /home/teto/.cache/bazel/_bazel_teto/783aaa1945b6f5c4eee1a34553443ae8/execroot/jinko/bazel-out/k8-fastbuild/bin/simwork/sbml/chs-gen-preprocessed-bindings/Foreign/C/SBML/Ru
�[mle.chs/Foreign/C/SBML/Rule.hs.\n Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).\nYou should ignore this message, unless you see a 'Multi Cradle: No prefix
�[mes matched' error."}})
�[mOutput from setting up the cradle Cradle {cradleRootDir = "/home/teto/nova/j3", cradleOptsProg = CradleAction: Default}

even though I set as a last entry of the multicradle:

 - path: ./.
   config: { cradle: { none: } }

bazel creates folders bazel-out / bazel-bin that symlinks to ~/.cache and may create even more confusion.

@aherrmann
Copy link

I've noticed that rules haskell add some nonexisting folders: for instance bazel-out/k8-fastbuild/bin/simwork/pipeline/src doesn't exist

Files in Bazel can exist under two different kinds of paths: Sources are found directly under their source path, e.g. src/Some/Module.hs. Generated files are found under the bin dir, e.g. bazel-out/k8-fastbuild/bin/src/Some/Module.hs. Some Haskell source files could be generated, so we add both types of paths to the import dirs, see here (src_root).

One other thing that I find confusing is that hie-bios resorts to implicit-cradle

This looks similar to an issue I encountered when testing multi cradle support on ghcide back then, haskell/ghcide#522 (comment). In that case I could work around the issue by adding a cradle for bazel-bin/.... In your case the issue also seems to be triggered by a file generated from a .chs file.

Sidequestion, how can I get a cabal binary from @rules_haskell ? I tried adding a cabal cradle but it's not in PATH so hie-bios fails with

rules_haskell itself doesn't use the cabal binary, i.e. cabal-install. It only uses the cabal library, i.e. Cabal. The haskell_cabal_* rules invoke Setup.hs directly.

I'm not sure if cabal-install would work well underneath Bazel in this case. To import it you could either use rules_nixpkgs or try to build cabal-install with stack_snapshot with the executable component enabled.

@teto
Copy link
Contributor Author

teto commented Jan 10, 2021

@aherrmann thanks I indeed have the .chs issue.

Nevermind cabal then, what if I want to retreive my ghc declared as

haskell_register_ghc_nixpkgs(
        repositories = {"nixpkgs": "@buildlib//nix:default.nix"},
        attribute_path = "haskell.compiler.ghc884",
        version = "8.8.4",

@fendor I am preparing a PR where one can make hie-bios more verbose and Ive seen for the first time this issue

hie-bios check /home/teto/nova/j3/simwork/jinko-tools/app/OverrideSBML/Main.hs 
hie-bios: CradleError {cradleErrorDependencies = [], cradleErrorExitCode = ExitFailure 1, cradleErrorStderr = ["/bin/sh: $HIE_BIOS_OUTPUT: ambiguous redirect"]}

I dont have a line but my hie.yaml consists in a succession of
shell: echo "./tmp/jinko-tools" > $HIE_BIOS_OUTPUT
I've check te test suite and apparently I should have been using shell: echo "./tmp/jinko-tools" > %HIE_BIOS_OUTPUT% ? it does make the warning go away xD I dont see this in the README but it could be interesting to mention ?

@aherrmann
Copy link

@teto with a nixpkgs provided GHC toolchain the GHC binary should be available under the label @rules_haskell_ghc_nixpkgs//:bin/ghc. E.g. the following command should print out GHC's help message:

bazel run @rules_haskell_ghc_nixpkgs//:bin/ghc -- --help

Note the -- that separates Bazel flags from GHC flags.

Accessing GHC this way is not strictly a supported feature of rules_haskell, it just happens to work due to how the toolchain is set up and side-steps toolchain resolution. In case you need this long-term, could you raise a feature request on rules_haskell?

@teto
Copy link
Contributor Author

teto commented Jan 11, 2021

thanks that worked ! that's why I couldnt find it in rules_haskell doc. I configure bazel to take our ghc from nixpkgs but hie-bios explicitly says to use the same ghc as the one used for the builds so I was not sure if adding to PATH the one from nixpkgs (via shell,nix) was equivalent bazel run @rules_haskell_ghc_nixpkgs//:bin/ghc -- --help ? EDIT both ghc are the same.

regarding "/bin/sh: $HIE_BIOS_OUTPUT: ambiguous redirect" Seems like I had renamed (inadvertently) the "HIE_BIOS_OUTPUT" variable so that it was indeed an ambiguous redirect. I've just remembered that %XXX% notation may actually be a windows thing so nevermind.

@aherrmann
Copy link

I configure bazel to take our ghc from nixpkgs but hie-bios explicitly says to use the same ghc as the one used for the builds so I was not sure if adding to PATH the one from nixpkgs (via shell,nix) was equivalent bazel run @rules_haskell_ghc_nixpkgs//:bin/ghc -- --help ? EDIT both ghc are the same.

Yes, both will refer to the same GHC as long as haskell_register_ghc_nixpkgs and shell.nix refer to the same Nix derivation. rules_nixpkgs builds the derivation and generates symlinks to the corresponding bin, lib, etc. directories in the store path.

Note, rules_haskell passes a number of flags to GHC. In particular, rules_haskell overrides GHC's default C compiler toolchain and instead points to a wrapper around Bazel's cc toolchain using the -pgmc family of flags. You may need to replicate some of these flags when pointing hie-bios at GHC directly. You can find the relevant flags in the hie-bios flag file that rules_haskell generates.

@teto
Copy link
Contributor Author

teto commented Jan 11, 2021

rules_haskell doesn't advise to use hie-bios's with-ghc (admittedly it's new feature) and haskell_repl generates files with

-pgmc
bazel-out/k8-fastbuild/bin/external/rules_haskell/haskell/cc_wrapper-python

so maybe I don't need to specify the rules_haskell ghc wrapper anyway ?

I've noticed that the missing module is in A/B/B.hs but is named A.B (I think it should be A.B.B) and this seems to confuse ghc.

@aherrmann
Copy link

I've noticed that the missing module is in A/B/B.hs but is named A.B (I think it should be A.B.B) and this seems to confuse ghc.

Yes, this can be an issue. Filenames and modules do not have to match for compilation with rules_haskell, because rules_haskell passes all source files on the command-line. But, they do have to match when GHC tries to find the sources for a given module, e.g. when loading in the REPL.

@teto
Copy link
Contributor Author

teto commented Jan 11, 2021

renaming the module fixed that issue, I seem to have a similar issue with conflicting hierarchies, like I have these 2 files
a/b/C/D/E.hs
f/g/C/D/X.hs
which work fine in bazel but since they appear as the same module C.D from different folder, ghc seems to only pick one folder.
It shouldn't be an issue to rename but I would be happy to find a hack around that.

@aherrmann
Copy link

Just to clarify, does a/b/C/D/E.hs have the module name C.D.E or just C.D? Similarly, does f/g/C/D/X.hs have the module name C.D.X or just C.D?
So long as the module names match the file paths (assuming correct src_strip_prefix and thereby -i flags) overlapping hierarchies (i.e. C.D.E and C.D.X) shouldn't be a problem. GHC should search through the import paths until it finds a matching module. Common examples of such overlap are the Control. and Data. hierarchies.
Colliding module names, however, (i.e. twice C.D) would be an issue. It's fine for compilation if the colliding modules exist in separate packages and are either hidden or remapped or imports are disambiguated using package imports. However, when they are part of the same haskell_repl then the package boundary disappears and imports become ambiguous.

@teto
Copy link
Contributor Author

teto commented Jan 12, 2021

sry I had written a message but not posted it. You are perfectly right, I've just described the module system in haskell xD
I dont think we have any clash in the full module name, they just share some prefix.

I managed to fix my issue by converting a/b/C/D/E.hs into an -ia/b flag.
This suggests some discrepancy for module registration between passing the flag -ia/b vs passing the whole file a/b/C/D/E.hs.
I've tried reproducing this in a minimal example with ghc and 2 small files, but it was inconclusive, ghc found the module both when passed as -i vs the fullpath.

Going to investigate a little bit more but I am getting closer.

@teto
Copy link
Contributor Author

teto commented Jan 12, 2021

we had some wrong src_strip_prefix lingering, I fixed some of them and so now the paths are listed as -icorrect/folder instead of a list of fullpaths and it fixes the issue so far.
I am a bit worried as your link https://github.com/tweag/rules_haskell/blob/d58e2318e84f0280002ae95569fa09f593c0482f/haskell/repl.bzl#L484-L488 mentions src_strip_prefix is deprecated ? seems pretty useful so far so is there a replacement.
I am going through the different set of fixes in the project and will close this ticket once I confirm eveyrhing works out fine.

Also I wonder if it's possible for hie-bios to reuse the bazel-compiled modules ? instead of recompiling everything ? some of the flags for hie-bios are different but we could change that to have only one set of flags.

@aherrmann
Copy link

I am a bit worried as your link https://github.com/tweag/rules_haskell/blob/d58e2318e84f0280002ae95569fa09f593c0482f/haskell/repl.bzl#L484-L488 mentions src_strip_prefix is deprecated ? seems pretty useful so far so is there a replacement.

The deprecation came out of the corresponding work on the compilation side which removed the need for the attribute. However, it turned out to still be necessary on the haskell_repl side and we don't have a replacement, yet. Agreed, we need a replacement for this use-case before we can remove it.

Also I wonder if it's possible for hie-bios to reuse the bazel-compiled modules ? instead of recompiling everything ? some of the flags for hie-bios are different but we could change that to have only one set of flags.

My understanding is that it re-uses compiled packages that are specified using -package-id/db flags and loads the rest from source. Though I last looked into this a while ago in ghcide, so please correct me if I'm wrong. With rules_haskell the distinction comes from the "from_source" and "from_binary" modules as specified on the haskell_repl target, see the corresponding attributes. "from_binary" modules will be built by Bazel and have -package-id/db flags listed in the hie-bios file. "from_source" modules will not be built by Bazel and will have their src_strip_prefix listed as -i flags in the hie-bios file. One thing to be aware of is that GHCi generally prefers loading from source over loading from package-db, so if a module is found under a -i path it will be loaded from source.

@teto
Copy link
Contributor Author

teto commented Jan 19, 2021

thanks for all the help. I've made great progress thanks to you. Removing hls errors from our project is still a WIP but I will close this to cleanup the tracker. I may reopen later

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

No branches or pull requests

3 participants