atom-haskell-archive / haskell-ghc-mod

haskell-ghc-mod atom package
https://atom.io/packages/haskell-ghc-mod
MIT License
69 stars 20 forks source link

ghc-mod: Binary.get(TyClDecl): ForeignType #212

Closed dniku closed 7 years ago

dniku commented 7 years ago

Yesterday when I was launching Atom with haskell-ghc-mod installed, it did not throw any errors. Today, after no significant changes I recall, it throws the error below.

The error itself originates from GHC, from this line.

Atom: 1.16.0 x64 Electron: 1.4.15 OS: "Manjaro Linux" Thrown From: haskell-ghc-mod package 1.19.9

Stack Trace

Haskell-ghc-mod: ghc-mod command browse failed with error Error

At caps: {"version":[5,7,0,0],"fileMap":true,"quoteArgs":true,"optparse":true,"typeConstraints":true,"browseParents":true,"interactiveCaseSplit":true,"importedFrom":false}
URI: undefined
Args: -d,-p,--,Control.Lens
message: Command failed: /home/ser/.local/bin/ghc-mod browse -d -p -- Control.Lens
ghc-mod: Binary.get(TyClDecl): ForeignType
CallStack (from HasCallStack):
  error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn

log:
-22.841s: "Pos.Explorer.Txp.Toil.Class created"
-22.841s: "Pos.Explorer.Txp.Toil.Class updating"
-22.84s: "getProcessOptions(/home/ser/repos/cardano-sl)"
-22.838s: "Looking for cabal sandbox..."
-22.838s: "Looking for stack sandbox..."
-22.837s: "Running stack with PATH ","/home/ser/.local/bin/:/home/ser/.nix-profile/bin:/home/ser/.nix-profile/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
-22.837s: "Running stack path,--snapshot-install-root,--local-install-root,--bin-path with opts = ",{"encoding":"utf-8","stdio":"pipe","cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"timeout":60000}
-22.826s: "Pos.Explorer.Txp.Local created"
-22.826s: "Pos.Explorer.Txp.Local updating"
-22.826s: "Pos.Util.Modifier created"
-22.826s: "Pos.Util.Modifier updating"
-22.826s: "Pos.Txp.Toil created"
-22.826s: "Pos.Txp.Toil updating"
-22.825s: "Pos.Txp.Core created"
-22.825s: "Pos.Txp.Core updating"
-22.825s: "Pos.Explorer.Txp.Toil.Types created"
-22.825s: "Pos.Explorer.Txp.Toil.Types updating"
-22.825s: "Pos.Explorer.DB created"
-22.825s: "Pos.Explorer.DB updating"
-22.825s: "Pos.Explorer.Core created"
-22.825s: "Pos.Explorer.Core updating"
-22.824s: "Pos.DB.Class created"
-22.824s: "Pos.DB.Class updating"
-22.824s: "Pos.Core created"
-22.824s: "Pos.Core updating"
-22.824s: "Control.Monad.Trans.Class created"
-22.824s: "Control.Monad.Trans.Class updating"
-22.824s: "Control.Lens created"
-22.824s: "Control.Lens updating"
-22.824s: "Universum created"
-22.824s: "Universum updating"
-22.824s: "Prelude created"
-22.824s: "Prelude updating"
-22.824s: "Pos.Explorer.Txp.Toil created"
-22.824s: "Pos.Explorer.Txp.Toil updating"
-22.824s: "Pos.Explorer.DB created"
-22.824s: "Pos.Explorer.DB updating"
-22.823s: "Pos.Explorer.Core created"
-22.823s: "Pos.Explorer.Core updating"
-22.823s: "Pos.Util.Modifier created"
-22.823s: "Pos.Util.Modifier updating"
-22.823s: "Pos.Util.Chrono created"
-22.823s: "Pos.Util.Chrono updating"
-22.823s: "Pos.Txp.Toil created"
-22.823s: "Pos.Txp.Toil updating"
-22.823s: "Pos.Txp.MemState created"
-22.823s: "Pos.Txp.MemState updating"
-22.823s: "Pos.Txp.Core created"
-22.823s: "Pos.Txp.Core updating"
-22.823s: "Pos.Slotting created"
-22.823s: "Pos.Slotting updating"
-22.823s: "Pos.DB.GState created"
-22.823s: "Pos.DB.GState updating"
-22.822s: "Pos.DB.Class created"
-22.822s: "Pos.DB.Class updating"
-22.822s: "Pos.Core created"
-22.822s: "Pos.Core updating"
-22.822s: "System.Wlog created"
-22.822s: "System.Wlog updating"
-22.822s: "Formatting created"
-22.822s: "Formatting updating"
-22.821s: "Data.Map created"
-22.821s: "Data.Map updating"
-22.821s: "Data.List.NonEmpty created"
-22.821s: "Data.List.NonEmpty updating"
-22.821s: "Data.HashMap.Strict created"
-22.821s: "Data.HashMap.Strict updating"
-22.821s: "Data.Default created"
-22.821s: "Data.Default updating"
-22.82s: "Control.Monad.Except created"
-22.82s: "Control.Monad.Except updating"
-22.82s: "Universum created"
-22.82s: "Universum updating"
-22.82s: "Prelude created"
-22.82s: "Prelude updating"
-22.82s: "Pos.Explorer.Txp.Toil.Class buffer is set"
-22.819s: "Pos.Explorer.Txp.Local buffer is set"
-22.819s: "Pos.Util.Modifier moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Util.Modifier"
-22.819s: "Pos.Util.Modifier moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Util.Modifier"
-22.819s: "Pos.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.Toil"
-22.819s: "Pos.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.Toil"
-22.819s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.Core"
-22.819s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.Core"
-22.819s: "Pos.Explorer.Txp.Toil.Types moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Explorer.Txp.Toil.Types"
-22.819s: "Pos.Explorer.Txp.Toil.Types moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Explorer.Txp.Toil.Types"
-22.819s: "Pos.Explorer.DB moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Explorer.DB"
-22.819s: "Pos.Explorer.DB moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Explorer.DB"
-22.819s: "Pos.Explorer.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Explorer.Core"
-22.819s: "Pos.Explorer.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Explorer.Core"
-22.819s: "Pos.DB.Class moduleName mismatch: Pos.Explorer.Txp.Local != Pos.DB.Class"
-22.819s: "Pos.DB.Class moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.DB.Class"
-22.819s: "Pos.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Core"
-22.819s: "Pos.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Core"
-22.819s: "Control.Monad.Trans.Class moduleName mismatch: Pos.Explorer.Txp.Local != Control.Monad.Trans.Class"
-22.819s: "Control.Monad.Trans.Class moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Control.Monad.Trans.Class"
-22.819s: "Control.Lens moduleName mismatch: Pos.Explorer.Txp.Local != Control.Lens"
-22.819s: "Control.Lens moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Control.Lens"
-22.819s: "Universum moduleName mismatch: Pos.Explorer.Txp.Local != Universum"
-22.819s: "Universum moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Universum"
-22.819s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Local != Prelude"
-22.819s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Prelude"
-22.819s: "Pos.Explorer.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Explorer.Txp.Toil"
-22.819s: "Pos.Explorer.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Explorer.Txp.Toil"
-22.818s: "Pos.Explorer.DB moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Explorer.DB"
-22.818s: "Pos.Explorer.DB moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Explorer.DB"
-22.818s: "Pos.Explorer.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Explorer.Core"
-22.818s: "Pos.Explorer.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Explorer.Core"
-22.818s: "Pos.Util.Modifier moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Util.Modifier"
-22.818s: "Pos.Util.Modifier moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Util.Modifier"
-22.818s: "Pos.Util.Chrono moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Util.Chrono"
-22.818s: "Pos.Util.Chrono moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Util.Chrono"
-22.818s: "Pos.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.Toil"
-22.818s: "Pos.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.Toil"
-22.818s: "Pos.Txp.MemState moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.MemState"
-22.818s: "Pos.Txp.MemState moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.MemState"
-22.818s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.Core"
-22.818s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.Core"
-22.818s: "Pos.Slotting moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Slotting"
-22.818s: "Pos.Slotting moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Slotting"
-22.818s: "Pos.DB.GState moduleName mismatch: Pos.Explorer.Txp.Local != Pos.DB.GState"
-22.818s: "Pos.DB.GState moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.DB.GState"
-22.818s: "Pos.DB.Class moduleName mismatch: Pos.Explorer.Txp.Local != Pos.DB.Class"
-22.818s: "Pos.DB.Class moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.DB.Class"
-22.818s: "Pos.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Core"
-22.818s: "Pos.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Core"
-22.818s: "System.Wlog moduleName mismatch: Pos.Explorer.Txp.Local != System.Wlog"
-22.818s: "System.Wlog moduleName mismatch: Pos.Explorer.Txp.Toil.Class != System.Wlog"
-22.818s: "Formatting moduleName mismatch: Pos.Explorer.Txp.Local != Formatting"
-22.818s: "Formatting moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Formatting"
-22.818s: "Data.Map moduleName mismatch: Pos.Explorer.Txp.Local != Data.Map"
-22.818s: "Data.Map moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Data.Map"
-22.818s: "Data.List.NonEmpty moduleName mismatch: Pos.Explorer.Txp.Local != Data.List.NonEmpty"
-22.817s: "Data.List.NonEmpty moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Data.List.NonEmpty"
-22.817s: "Data.HashMap.Strict moduleName mismatch: Pos.Explorer.Txp.Local != Data.HashMap.Strict"
-22.817s: "Data.HashMap.Strict moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Data.HashMap.Strict"
-22.817s: "Data.Default moduleName mismatch: Pos.Explorer.Txp.Local != Data.Default"
-22.817s: "Data.Default moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Data.Default"
-22.817s: "Control.Monad.Except moduleName mismatch: Pos.Explorer.Txp.Local != Control.Monad.Except"
-22.817s: "Control.Monad.Except moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Control.Monad.Except"
-22.817s: "Universum moduleName mismatch: Pos.Explorer.Txp.Local != Universum"
-22.817s: "Universum moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Universum"
-22.817s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Local != Prelude"
-22.817s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Prelude"
-22.702s: "Reading cabal sandbox config failed with ",{"errno":-2,"code":"ENOENT","syscall":"open","path":"/home/ser/repos/cardano-sl/cabal.sandbox.config"}
-22.701s: "No cabal sandbox found"
-22.699s: "Got response from stack path,--snapshot-install-root,--local-install-root,--bin-path",{"stdout":"bin-path: /home/ser/.stack/snapshots/x86_64-linux/lts-8.5/8.0.2/bin:/home/ser/.stack/programs/x86_64-linux/ghc-8.0.2/bin:/home/ser/.local/bin/:/home/ser/.nix-profile/bin:/home/ser/.nix-profile/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl\nsnapshot-install-root: /home/ser/.stack/snapshots/x86_64-linux/lts-8.5/8.0.2\nlocal-install-root: /home/ser/repos/cardano-sl/.stack-work/install/x86_64-linux/lts-8.5/8.0.2\n","stderr":""}
-22.698s: "Found stack sandbox ","/home/ser/repos/cardano-sl/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/bin","/home/ser/.stack/snapshots/x86_64-linux/lts-8.5/8.0.2/bin","/home/ser/.stack/programs/x86_64-linux/ghc-8.0.2/bin"
-22.698s: "PATH = /home/ser/repos/cardano-sl/.stack-work/install/x86_64-linux/lts-8.5/8.0.2/bin:/home/ser/.stack/snapshots/x86_64-linux/lts-8.5/8.0.2/bin:/home/ser/.stack/programs/x86_64-linux/ghc-8.0.2/bin:/home/ser/.local/bin/:/home/ser/.nix-profile/bin:/home/ser/.nix-profile/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
-22.698s: "Running /home/ser/.local/bin/ghc-mod version with opts = ",{"timeout":60000,"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-22.658s: "Got response from /home/ser/.local/bin/ghc-mod version",{"stdout":"ghc-mod version 5.7.0.0 compiled by GHC 8.0.2\n","stderr":""}
-22.658s: "Ghc-mod 5,7,0,0 built with 8.0.2"
-22.657s: "{\"version\":[5,7,0,0],\"fileMap\":true,\"quoteArgs\":true,\"optparse\":true,\"typeConstraints\":true,\"browseParents\":true,\"interactiveCaseSplit\":true,\"importedFrom\":false}"
-22.656s: "Running stack ghc,--,--numeric-version with opts = ",{"timeout":60000,"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-22.647s: "Running ghc --numeric-version with opts = ",{"timeout":60000,"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-22.627s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.Txp.Toil.Class with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-22.617s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.Txp.Local with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-22.586s: "Got response from ghc --numeric-version",{"stdout":"8.0.2\n","stderr":""}
-22.457s: "Got response from stack ghc,--,--numeric-version",{"stdout":"8.0.2\n","stderr":""}
-22.456s: "Stack GHC version 8.0.2"
-22.456s: "Path GHC version 8.0.2"
-21.812s: "Trying to run ghc-modi in /home/ser/repos/cardano-sl"
-21.811s: "Checking for ghc-modi in /home/ser/repos/cardano-sl"
-21.811s: "Spawning new ghc-modi instance for /home/ser/repos/cardano-sl with",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-21.811s: "Spawning new ghc-modi instance for /home/ser/repos/cardano-sl with options = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-21.8s: "Started interactive action block in /home/ser/repos/cardano-sl"
-21.799s: "Running ghc-modi command type","/home/ser/repos/cardano-sl/src/Pos/Explorer/Txp/Local.hs","-c","--",69,43
-19.623s: "ghc-modi said: ghc-mod: Binary.get(TyClDecl): ForeignType"
-19.611s: "ghc-modi said: CallStack (from HasCallStack):"
-19.552s: "ghc-modi said:   error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn"
-15.222s: "EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"
-15.222s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.Txp.Toil.Class",{"stdout":"","stderr":"EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"}
-15.22s: "Pos.Explorer.Txp.Toil.Class updated"
-15.22s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Util.Modifier with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-15.098s: "EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"
-15.098s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.Txp.Local",{"stdout":"","stderr":"EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"}
-15.097s: "Pos.Explorer.Txp.Local updated"
-15.097s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Txp.Toil with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-14.675s: "ghc-modi said: EXCEPTION: types:"
-14.675s: "ghc-modi said:            Binary.get(TyClDecl): ForeignType"
-14.675s: "ghc-modi said:            CallStack (from HasCallStack):"
-14.675s: "ghc-modi said:              error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn"
-14.674s: "Got response from ghc-modi:\nOK\n"
-14.674s: "Ended interactive action block in /home/ser/repos/cardano-sl"
-14.673s: "Trying to run ghc-modi in /home/ser/repos/cardano-sl"
-14.673s: "Checking for ghc-modi in /home/ser/repos/cardano-sl"
-14.673s: "Found running ghc-modi instance for /home/ser/repos/cardano-sl"
-14.673s: "Started interactive action block in /home/ser/repos/cardano-sl"
-14.673s: "Running ghc-modi command info","/home/ser/repos/cardano-sl/src/Pos/Explorer/Txp/Local.hs","--","outputs"
-14.667s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Util.Modifier",{"stdout":"MapModifier :: HashMap k (Maybe v) -> MapModifier k v -- from:MapModifier\nMapModifier :: newtype MapModifier k v\ndelete :: (Eq k, Hashable k) => k -> MapModifier k v -> MapModifier k v\ndeletions :: MapModifier k v -> [k]\ngetMapModifier :: MapModifier k v -> HashMap k (Maybe v) -- from:MapModifier\ninsert :: (Eq k, Hashable k) => k -> v -> MapModifier k v -> MapModifier k v\ninsertions :: MapModifier k v -> [(k, v)]\ninsertionsMap :: MapModifier k v -> HashMap k v\nkeys :: (Eq k, Hashable k) => [k] -> MapModifier k v -> [k]\nkeysM :: (Functor m, Eq k, Hashable k) => m [k] -> MapModifier k v -> m [k]\nlookup :: (Eq k, Hashable k) => (k -> Maybe v) -> k -> MapModifier k v -> Maybe v\nlookupM :: (Applicative m, Eq k, Hashable k) => (k -> m (Maybe v)) -> k -> MapModifier k v -> m (Maybe v)\nmapMaybeM :: (Functor m, Eq k, Hashable k) => m [(k, v2)] -> (v1 -> Maybe v2) -> MapModifier k v1 -> m [(k, v2)]\ntoList :: (Eq k, Hashable k) => [(k, v)] -> MapModifier k v -> [(k, v)]\ntoListM :: (Functor m, Eq k, Hashable k) => m [(k, v)] -> MapModifier k v -> m [(k, v)]\nvalues :: (Eq k, Hashable k) => [(k, v)] -> MapModifier k v -> [v]\nvaluesM :: (Functor m, Eq k, Hashable k) => m [(k, v)] -> MapModifier k v -> m [v]\n","stderr":""}
-14.666s: "Pos.Util.Modifier updated"
-14.666s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Txp.Core with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-12.899s: "ghc-modi said: EXCEPTION: info:"
-12.899s: "ghc-modi said:                Binary.get(TyClDecl): ForeignType"
-12.898s: "ghc-modi said:                CallStack (from HasCallStack):"
-12.898s: "ghc-modi said:                  error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn"
-12.898s: "Got response from ghc-modi:\nCannot show info\nOK\n"
-12.898s: "Ended interactive action block in /home/ser/repos/cardano-sl"
-9.02s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Txp.Core",{"stdout":"PkWitness :: PublicKey -> TxSig -> TxInWitness -- from:TxInWitness\nRedeemWitness :: RedeemPublicKey -> RedeemSignature TxSigData -> TxInWitness -- from:TxInWitness\nScriptWitness :: Script -> Script -> TxInWitness -- from:TxInWitness\nTx :: data Tx\nTxAttributes :: type TxAttributes\nTxAux :: type TxAux\nTxDistribution :: NonEmpty TxOutDistribution -> TxDistribution -- from:TxDistribution\nTxDistribution :: newtype TxDistribution\nTxId :: type TxId\nTxIn :: MutableByteArray# RealWorld -> Word# -> TxIn -- from:TxIn\nTxIn :: data TxIn\nTxInWitness :: data TxInWitness\nTxOut :: Address -> Word# -> TxOut -- from:TxOut\nTxOut :: data TxOut\nTxOutAux :: TxOut -> TxOutDistribution -> TxOutAux -- from:TxOutAux\nTxOutAux :: data TxOutAux\nTxOutDistribution :: type TxOutDistribution\nTxPayload :: data TxPayload\nTxProof :: Word# -> MutableByteArray# RealWorld -> MutableByteArray# RealWorld -> MutableByteArray# RealWorld -> TxProof -- from:TxProof\nTxProof :: data TxProof\nTxSig :: type TxSig\nTxSigData :: TxIn -> MutableByteArray# RealWorld -> MutableByteArray# RealWorld -> TxSigData -- from:TxSigData\nTxSigData :: data TxSigData\nTxUndo :: type TxUndo\nTxWitness :: type TxWitness\nTxpUndo :: type TxpUndo\nUnknownWitnessType :: Word# -> ByteString -> TxInWitness -- from:TxInWitness\nUnsafeTx :: NonEmpty TxIn -> NonEmpty TxOut -> TxAttributes -> Tx -- from:Tx\nUnsafeTxPayload :: MerkleTree Tx -> [TxWitness] -> [TxDistribution] -> TxPayload -- from:TxPayload\n_TxOut :: (Profunctor p, Functor f) => p (Address, Coin) (f (Address, Coin)) -> p TxOut (f TxOut)\n_txAttributes :: Tx -> TxAttributes -- from:Tx\n_txInputs :: Tx -> NonEmpty TxIn -- from:Tx\n_txOutputs :: Tx -> NonEmpty TxOut -- from:Tx\n_txpDistributions :: TxPayload -> [TxDistribution] -- from:TxPayload\n_txpTxs :: TxPayload -> MerkleTree Tx -- from:TxPayload\n_txpWitnesses :: TxPayload -> [TxWitness] -- from:TxPayload\naddrBelongsTo :: TxOutAux -> Address -> Bool\nflattenTxPayload :: TxPayload -> [TxAux]\ngetTxDistribution :: TxDistribution -> NonEmpty TxOutDistribution -- from:TxDistribution\nmkTx :: MonadFail m => NonEmpty TxIn -> NonEmpty TxOut -> TxAttributes -> m Tx\nmkTxPayload :: (Bi Tx, MonadFail m) => [(Tx, TxWitness, TxDistribution)] -> m TxPayload\nmkTxProof :: TxPayload -> TxProof\ntoaDistr :: TxOutAux -> TxOutDistribution -- from:TxOutAux\ntoaOut :: TxOutAux -> TxOut -- from:TxOutAux\ntopsortTxs :: Eq a => (a -> WithHash Tx) -> [a] -> Maybe [a]\ntwKey :: TxInWitness -> PublicKey -- from:TxInWitness\ntwRedeemKey :: TxInWitness -> RedeemPublicKey -- from:TxInWitness\ntwRedeemSig :: TxInWitness -> RedeemSignature TxSigData -- from:TxInWitness\ntwRedeemer :: TxInWitness -> Script -- from:TxInWitness\ntwSig :: TxInWitness -> TxSig -- from:TxInWitness\ntwValidator :: TxInWitness -> Script -- from:TxInWitness\ntxAttributes :: Functor f => (TxAttributes -> f TxAttributes) -> Tx -> f Tx\ntxF :: Format r (Tx -> r)\ntxInHash :: TxIn -> TxId -- from:TxIn\ntxInIndex :: TxIn -> Word32 -- from:TxIn\ntxInToPair :: TxIn -> (TxId, Word32)\ntxInputs :: Functor f => (NonEmpty TxIn -> f (NonEmpty TxIn)) -> Tx -> f Tx\ntxOutAddress :: TxOut -> Address -- from:TxOut\ntxOutStake :: TxOutAux -> TxOutDistribution\ntxOutValue :: TxOut -> Coin -- from:TxOut\ntxOutputs :: Functor f => (NonEmpty TxOut -> f (NonEmpty TxOut)) -> Tx -> f Tx\ntxSigDistrHash :: TxSigData -> Hash TxDistribution -- from:TxSigData\ntxSigInput :: TxSigData -> TxIn -- from:TxSigData\ntxSigOutsHash :: TxSigData -> Hash (NonEmpty TxOut) -- from:TxSigData\ntxaF :: Format r (TxAux -> r)\ntxpDistributions :: Functor f => ([TxDistribution] -> f [TxDistribution]) -> TxPayload -> f TxPayload\ntxpDistributionsHash :: TxProof -> Hash [TxDistribution] -- from:TxProof\ntxpNumber :: TxProof -> Word32 -- from:TxProof\ntxpRoot :: TxProof -> MerkleRoot Tx -- from:TxProof\ntxpTxs :: Functor f => (MerkleTree Tx -> f (MerkleTree Tx)) -> TxPayload -> f TxPayload\ntxpWitnesses :: Functor f => ([TxWitness] -> f [TxWitness]) -> TxPayload -> f TxPayload\ntxpWitnessesHash :: TxProof -> Hash [TxWitness] -- from:TxProof\n","stderr":""}
-9.019s: "Pos.Txp.Core updated"
-9.018s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.Txp.Toil.Types with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-8.798s: "EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"
-8.798s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Txp.Toil",{"stdout":"","stderr":"EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"}
-8.797s: "Pos.Txp.Toil updated"
-8.797s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.DB with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-8.157s: "Pos.Explorer.Txp.Toil.Types created"
-8.157s: "Pos.Explorer.Txp.Toil.Types updating"
-8.157s: "Pos.Util.Modifier created"
-8.157s: "Pos.Util.Modifier updating"
-8.157s: "Pos.Txp.Toil created"
-8.156s: "Pos.Txp.Toil updating"
-8.156s: "Pos.Txp.Core created"
-8.156s: "Pos.Txp.Core updating"
-8.156s: "Pos.Explorer.Core created"
-8.156s: "Pos.Explorer.Core updating"
-8.155s: "Pos.Core created"
-8.155s: "Pos.Core updating"
-8.155s: "Data.Default created"
-8.155s: "Data.Default updating"
-8.154s: "Control.Lens created"
-8.154s: "Control.Lens updating"
-8.154s: "Universum created"
-8.154s: "Universum updating"
-8.154s: "Prelude created"
-8.154s: "Prelude updating"
-8.154s: "Pos.Explorer.Txp.Toil.Types buffer is set"
-8.153s: "Pos.Util.Modifier moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Util.Modifier"
-8.153s: "Pos.Util.Modifier moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Pos.Util.Modifier"
-8.153s: "Pos.Util.Modifier moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Util.Modifier"
-8.153s: "Pos.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.Toil"
-8.153s: "Pos.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Pos.Txp.Toil"
-8.153s: "Pos.Txp.Toil moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.Toil"
-8.153s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.Core"
-8.153s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Pos.Txp.Core"
-8.153s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.Core"
-8.153s: "Pos.Explorer.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Explorer.Core"
-8.153s: "Pos.Explorer.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Pos.Explorer.Core"
-8.153s: "Pos.Explorer.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Explorer.Core"
-8.153s: "Pos.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Core"
-8.153s: "Pos.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Pos.Core"
-8.153s: "Pos.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Core"
-8.153s: "Data.Default moduleName mismatch: Pos.Explorer.Txp.Local != Data.Default"
-8.153s: "Data.Default moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Data.Default"
-8.153s: "Data.Default moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Data.Default"
-8.153s: "Control.Lens moduleName mismatch: Pos.Explorer.Txp.Local != Control.Lens"
-8.153s: "Control.Lens moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Control.Lens"
-8.152s: "Control.Lens moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Control.Lens"
-8.152s: "Universum moduleName mismatch: Pos.Explorer.Txp.Local != Universum"
-8.152s: "Universum moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Universum"
-8.152s: "Universum moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Universum"
-8.152s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Local != Prelude"
-8.152s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Toil.Types != Prelude"
-8.152s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Prelude"
-3.738s: "Pos.Explorer.Core.Types created"
-3.738s: "Pos.Explorer.Core.Types updating"
-3.738s: "Pos.Util.Chrono created"
-3.738s: "Pos.Util.Chrono updating"
-3.738s: "Pos.Txp.Core created"
-3.737s: "Pos.Txp.Core updating"
-3.737s: "Pos.Core.Types created"
-3.737s: "Pos.Core.Types updating"
-3.737s: "Universum created"
-3.737s: "Universum updating"
-3.736s: "Prelude created"
-3.736s: "Prelude updating"
-3.735s: "Pos.Explorer.Core.Types buffer is set"
-3.735s: "Pos.Util.Chrono moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Util.Chrono"
-3.735s: "Pos.Util.Chrono moduleName mismatch: Pos.Explorer.Core.Types != Pos.Util.Chrono"
-3.735s: "Pos.Util.Chrono moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Util.Chrono"
-3.735s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Txp.Core"
-3.735s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Core.Types != Pos.Txp.Core"
-3.735s: "Pos.Txp.Core moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Txp.Core"
-3.735s: "Pos.Core.Types moduleName mismatch: Pos.Explorer.Txp.Local != Pos.Core.Types"
-3.735s: "Pos.Core.Types moduleName mismatch: Pos.Explorer.Core.Types != Pos.Core.Types"
-3.735s: "Pos.Core.Types moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Pos.Core.Types"
-3.735s: "Universum moduleName mismatch: Pos.Explorer.Txp.Local != Universum"
-3.735s: "Universum moduleName mismatch: Pos.Explorer.Core.Types != Universum"
-3.735s: "Universum moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Universum"
-3.735s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Local != Prelude"
-3.735s: "Prelude moduleName mismatch: Pos.Explorer.Core.Types != Prelude"
-3.735s: "Prelude moduleName mismatch: Pos.Explorer.Txp.Toil.Class != Prelude"
-2.49s: "EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"
-2.49s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.Txp.Toil.Types",{"stdout":"","stderr":"EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"}
-2.489s: "Pos.Explorer.Txp.Toil.Types updated"
-2.489s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.Core with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-2.269s: "EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"
-2.269s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Explorer.DB",{"stdout":"","stderr":"EXCEPTION: browse:\n           Binary.get(TyClDecl): ForeignType\n           CallStack (from HasCallStack):\n             error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"}
-2.268s: "Pos.Explorer.DB updated"
-2.268s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.DB.Class with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-1.769s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.DB.Class",{"stdout":"MonadDB :: class MonadDB m\nMonadDBCore :: class MonadDBCore m\ndbAdoptedBVData :: MonadDBCore m => m BlockVersionData -- from:MonadDBCore\ngetBlockIndexDB :: MonadDB m => m DB\ngetLrcDB :: MonadDB m => m DB\ngetMiscDB :: MonadDB m => m DB\ngetNodeDBs :: MonadDB m => m NodeDBs -- from:MonadDB\ngetUtxoDB :: MonadDB m => m DB\nusingReadOptions :: MonadDB m => ReadOptions -> ASetter' NodeDBs DB -> m a -> m a -- from:MonadDB\nusingWriteOptions :: MonadDB m => WriteOptions -> ASetter' NodeDBs DB -> m a -> m a -- from:MonadDB\n","stderr":""}
-1.767s: "Pos.DB.Class updated"
-1.767s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Core with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-1.191s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Pos.Core",{"stdout":"AddrPkAttrs :: Maybe HDAddressPayload -> AddrPkAttrs -- from:AddrPkAttrs\nAddrPkAttrs :: newtype AddrPkAttrs\nAddress :: data Address\nAddressHash :: type AddressHash\nApplicationName :: newtype ApplicationName\nBBlock -- from:Blockchain\nBBlockHeader -- from:Blockchain\nBHeaderHash -- from:Blockchain\nBlockHeaderStub :: data BlockHeaderStub\nBlockVersion :: Word# -> Word# -> Word# -> BlockVersion -- from:BlockVersion\nBlockVersion :: data BlockVersion\nBlockVersionData :: Word# -> Millisecond -> Byte -> Byte -> Byte -> Byte -> Word# -> Word# -> Word# -> Word# -> Word# -> Word# -> BlockVersionData -- from:BlockVersionData\nBlockVersionData :: data BlockVersionData\nBlockchain :: class Blockchain p\nBody -- from:Blockchain\nBodyProof -- from:Blockchain\nChainDifficulty :: Word64 -> ChainDifficulty -- from:ChainDifficulty\nChainDifficulty :: newtype ChainDifficulty\nCoin :: newtype Coin\nCoinPortion :: newtype CoinPortion\nConsensusData -- from:Blockchain\nCoreConstants :: Int# -> Int# -> Int# -> CoreConstants -- from:CoreConstants\nCoreConstants :: data CoreConstants\nEpochIndex :: Word64 -> EpochIndex -- from:EpochIndex\nEpochIndex :: newtype EpochIndex\nEpochOrSlot :: Either EpochIndex SlotId -> EpochOrSlot -- from:EpochOrSlot\nEpochOrSlot :: newtype EpochOrSlot\nExtraBodyData -- from:Blockchain\nExtraHeaderData -- from:Blockchain\nFlatSlotId :: type FlatSlotId\nGenericBlock :: GenericBlockHeader b -> Body b -> ExtraBodyData b -> GenericBlock b -- from:GenericBlock\nGenericBlock :: data GenericBlock b\nGenericBlockHeader :: BHeaderHash b -> BodyProof b -> ConsensusData b -> ExtraHeaderData b -> GenericBlockHeader b -- from:GenericBlockHeader\nGenericBlockHeader :: data GenericBlockHeader b\nHasBlockVersion :: newtype HasBlockVersion a\nHasDifficulty :: newtype HasDifficulty a\nHasEpochIndex :: newtype HasEpochIndex a\nHasEpochOrSlot :: newtype HasEpochOrSlot a\nHasHeaderHash :: newtype HasHeaderHash a\nHasPrevBlock :: newtype HasPrevBlock s\nHasSoftwareVersion :: newtype HasSoftwareVersion a\nHeaderHash :: type HeaderHash\nIsGenesisHeader :: newtype IsGenesisHeader header\nIsHeader :: class IsHeader header\nIsMainHeader :: class IsMainHeader header\nLocalSlotIndex :: Word16 -> LocalSlotIndex -- from:LocalSlotIndex\nLocalSlotIndex :: newtype LocalSlotIndex\nNumSoftwareVersion :: type NumSoftwareVersion\nProxySKEither :: type ProxySKEither\nProxySKHeavy :: type ProxySKHeavy\nProxySKLight :: type ProxySKLight\nProxySigHeavy :: type ProxySigHeavy a\nProxySigLight :: type ProxySigLight a\nPubKeyAddress :: MutableByteArray# RealWorld -> Attributes AddrPkAttrs -> Address -- from:Address\nRedeemAddress :: MutableByteArray# RealWorld -> Address -- from:Address\nScript :: ScriptVersion -> LByteString -> Script -- from:Script\nScript :: data Script\nScriptAddress :: MutableByteArray# RealWorld -> Address -- from:Address\nScriptVersion :: type ScriptVersion\nScript_v0 :: type Script_v0\nSharedSeed :: ByteString -> SharedSeed -- from:SharedSeed\nSharedSeed :: newtype SharedSeed\nSlotId :: Word# -> Word# -> SlotId -- from:SlotId\nSlotId :: data SlotId\nSlotLeaders :: type SlotLeaders\nSoftwareVersion :: ApplicationName -> Word# -> SoftwareVersion -- from:SoftwareVersion\nSoftwareVersion :: data SoftwareVersion\nStakeholderId :: type StakeholderId\nTimestamp :: Microsecond -> Timestamp -- from:Timestamp\nTimestamp :: newtype Timestamp\nUnknownAddressType :: Word# -> ByteString -> Address -- from:Address\n_gbBody :: GenericBlock b -> Body b -- from:GenericBlock\n_gbExtra :: GenericBlock b -> ExtraBodyData b -- from:GenericBlock\n_gbHeader :: GenericBlock b -> GenericBlockHeader b -- from:GenericBlock\n_gbhBodyProof :: GenericBlockHeader b -> BodyProof b -- from:GenericBlockHeader\n_gbhConsensus :: GenericBlockHeader b -> ConsensusData b -- from:GenericBlockHeader\n_gbhExtra :: GenericBlockHeader b -> ExtraHeaderData b -- from:GenericBlockHeader\n_gbhPrevBlock :: GenericBlockHeader b -> BHeaderHash b -- from:GenericBlockHeader\naddrKeyHash :: Address -> AddressHash PublicKey -- from:Address\naddrPkAttributes :: Address -> Attributes AddrPkAttrs -- from:Address\naddrPkDerivationPath :: AddrPkAttrs -> Maybe HDAddressPayload -- from:AddrPkAttrs\naddrRedeemKeyHash :: Address -> AddressHash RedeemPublicKey -- from:Address\naddrScriptHash :: Address -> AddressHash Script -- from:Address\naddressDetailedF :: Format r (Address -> r)\naddressF :: Bi Address => Format r (Address -> r)\naddressHash :: Bi a => a -> AddressHash a\napplicationNameMaxLength :: Integral i => i\napplyCoinPortion :: CoinPortion -> Coin -> Coin\nblkSecurityParam :: Integral a => a\nblockVersionL :: (HasBlockVersion a, Functor f) => (BlockVersion -> f BlockVersion) -> a -> f a -- from:HasBlockVersion\nbvAlt :: BlockVersion -> Word8 -- from:BlockVersion\nbvMajor :: BlockVersion -> Word16 -- from:BlockVersion\nbvMinor :: BlockVersion -> Word16 -- from:BlockVersion\nbvdHeavyDelThd :: BlockVersionData -> CoinPortion -- from:BlockVersionData\nbvdMaxBlockSize :: BlockVersionData -> Byte -- from:BlockVersionData\nbvdMaxHeaderSize :: BlockVersionData -> Byte -- from:BlockVersionData\nbvdMaxProposalSize :: BlockVersionData -> Byte -- from:BlockVersionData\nbvdMaxTxSize :: BlockVersionData -> Byte -- from:BlockVersionData\nbvdMpcThd :: BlockVersionData -> CoinPortion -- from:BlockVersionData\nbvdScriptVersion :: BlockVersionData -> ScriptVersion -- from:BlockVersionData\nbvdSlotDuration :: BlockVersionData -> Millisecond -- from:BlockVersionData\nbvdUpdateImplicit :: BlockVersionData -> FlatSlotId -- from:BlockVersionData\nbvdUpdateProposalThd :: BlockVersionData -> CoinPortion -- from:BlockVersionData\nbvdUpdateSoftforkThd :: BlockVersionData -> CoinPortion -- from:BlockVersionData\nbvdUpdateVoteThd :: BlockVersionData -> CoinPortion -- from:BlockVersionData\nccK :: CoreConstants -> Int -- from:CoreConstants\nccProductionNetworkStartTime :: CoreConstants -> Int -- from:CoreConstants\nccProtocolMagic :: CoreConstants -> Int32 -- from:CoreConstants\ncheckBodyProof :: Blockchain p => Body p -> BodyProof p -> Bool -- from:Blockchain\ncheckPubKeyAddress :: Bi PublicKey => PublicKey -> Address -> Bool\ncheckRedeemAddress :: Bi RedeemPublicKey => RedeemPublicKey -> Address -> Bool\ncheckScriptAddress :: Bi Script => Script -> Address -> Bool\ncheckUnknownAddressType :: Word8 -> Address -> Bool\ncoinF :: Format r (Coin -> r)\ncoinPortionDenominator :: Word64\ncoinPortionToDouble :: CoinPortion -> Double\ncoinToInteger :: Coin -> Integer\ncoreConstants :: CoreConstants\ncreateHDAddressH :: ByteArrayAccess passPhrase => passPhrase -> HDPassphrase -> SecretKey -> [Word32] -> Word32 -> (Address, SecretKey)\ncreateHDAddressNH :: HDPassphrase -> PublicKey -> [Word32] -> Word32 -> (Address, PublicKey)\ncrucialSlot :: EpochIndex -> SlotId\ndecodeTextAddress :: Bi Address => Text -> Either Text Address\ndifficultyL :: (HasDifficulty a, Functor f) => (ChainDifficulty -> f ChainDifficulty) -> a -> f a -- from:HasDifficulty\ndivCoin :: Integral a => Coin -> a -> Coin\nepochIndexL :: (HasEpochIndex a, Functor f) => (EpochIndex -> f EpochIndex) -> a -> f a -- from:HasEpochIndex\nepochOrSlot :: (EpochIndex -> a) -> (SlotId -> a) -> EpochOrSlot -> a\nepochOrSlotG :: (HasEpochOrSlot a, Contravariant f, Functor f) => (EpochOrSlot -> f EpochOrSlot) -> a -> f a\nepochSlots :: Integral a => a\nflattenEpochIndex :: EpochIndex -> FlatSlotId\nflattenEpochOrSlot :: HasEpochOrSlot a => a -> FlatSlotId\nflattenSlotId :: SlotId -> FlatSlotId\ngbBody :: Lens' (GenericBlock b0) (Body b0)\ngbBodyProof :: Lens' (GenericBlock b) (BodyProof b)\ngbExtra :: Lens' (GenericBlock b0) (ExtraBodyData b0)\ngbHeader :: Lens' (GenericBlock b0) (GenericBlockHeader b0)\ngbhBodyProof :: Lens' (GenericBlockHeader b0) (BodyProof b0)\ngbhConsensus :: Lens' (GenericBlockHeader b0) (ConsensusData b0)\ngbhExtra :: Lens' (GenericBlockHeader b0) (ExtraHeaderData b0)\ngbhPrevBlock :: Lens' (GenericBlockHeader b0) (BHeaderHash b0)\ngetApplicationName :: ApplicationName -> Text -- from:ApplicationName\ngetChainDifficulty :: ChainDifficulty -> Word64 -- from:ChainDifficulty\ngetCoinPortion :: CoinPortion -> Word64 -- from:CoinPortion\ngetEpochIndex :: EpochIndex -> Word64 -- from:EpochIndex\ngetEpochOrSlot :: HasEpochOrSlot a => a -> EpochOrSlot -- from:HasEpochOrSlot\ngetSharedSeed :: SharedSeed -> ByteString -- from:SharedSeed\ngetSlotIndex :: LocalSlotIndex -> Word16 -- from:LocalSlotIndex\ngetTimestamp :: Timestamp -> Microsecond -- from:Timestamp\nheaderHash :: HasHeaderHash a => a -> HeaderHash -- from:HasHeaderHash\nheaderHashF :: Format r (HeaderHash -> r)\nheaderHashG :: (HasHeaderHash a, Contravariant f, Functor f) => (HeaderHash -> f HeaderHash) -> a -> f a\nheaderLeaderKeyL :: (IsMainHeader header, Functor f) => (PublicKey -> f PublicKey) -> header -> f header -- from:IsMainHeader\nheaderSlotL :: (IsMainHeader header, Functor f) => (SlotId -> f SlotId) -> header -> f header -- from:IsMainHeader\nisDevelopment :: Bool\nmakePubKeyAddress :: Bi PublicKey => PublicKey -> Address\nmakePubKeyHdwAddress :: Bi PublicKey => PublicKey -> HDAddressPayload -> Address\nmakeRedeemAddress :: Bi RedeemPublicKey => RedeemPublicKey -> Address\nmakeScriptAddress :: Bi Script => Script -> Address\nmkApplicationName :: MonadFail m => Text -> m ApplicationName\nmkBodyProof :: Blockchain p => Body p -> BodyProof p -- from:Blockchain\nmkCoin :: Word64 -> Coin\nmkCoinPortion :: MonadFail m => Word64 -> m CoinPortion\nparseBlockVersion :: ParsecT Text () Identity BlockVersion\nparseSoftwareVersion :: ParsecT Text () Identity SoftwareVersion\nprevBlockL :: (HasPrevBlock s, Functor f) => (HeaderHash -> f HeaderHash) -> s -> f s -- from:HasPrevBlock\nprotocolMagic :: Int32\nscrScript :: Script -> LByteString -- from:Script\nscrVersion :: Script -> ScriptVersion -- from:Script\nsiEpoch :: SlotId -> EpochIndex -- from:SlotId\nsiSlot :: SlotId -> LocalSlotIndex -- from:SlotId\nslotIdF :: Format r (SlotId -> r)\nslotSecurityParam :: Integral a => a\nsoftwareVersionL :: (HasSoftwareVersion a, Functor f) => (SoftwareVersion -> f SoftwareVersion) -> a -> f a -- from:HasSoftwareVersion\nstaticSysStart :: Timestamp\nsumCoins :: (NontrivialContainer coins, Element coins ~ Coin) => coins -> Integer\nsvAppName :: SoftwareVersion -> ApplicationName -- from:SoftwareVersion\nsvNumber :: SoftwareVersion -> NumSoftwareVersion -- from:SoftwareVersion\ntimestampF :: Format r (Timestamp -> r)\nunEpochOrSlot :: EpochOrSlot -> Either EpochIndex SlotId -- from:EpochOrSlot\nunflattenSlotId :: FlatSlotId -> SlotId\nunsafeAddCoin :: Coin -> Coin -> Coin\nunsafeAddressHash :: Bi a => a -> AddressHash b\nunsafeCoinPortionFromDouble :: Double -> CoinPortion\nunsafeGetCoin :: Coin -> Word64\nunsafeIntegerToCoin :: Integer -> Coin\nunsafeMulCoin :: Integral a => Coin -> a -> Coin\nunsafeSubCoin :: Coin -> Coin -> Coin\nverifyBBlock :: Blockchain p => GenericBlock p -> Either Text () -- from:Blockchain\n","stderr":""}
-1.188s: "Pos.Core updated"
-1.188s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Control.Monad.Trans.Class with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-0.718s: "Got response from /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Control.Monad.Trans.Class",{"stdout":"MonadTrans :: newtype MonadTrans t\nlift :: (MonadTrans t, Monad m) => m a -> t m a -- from:MonadTrans\n","stderr":""}
-0.717s: "Control.Monad.Trans.Class updated"
-0.717s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Control.Lens with opts = ",{"cwd":"/home/ser/repos/cardano-sl","env":{<redacted>},"encoding":"utf-8","maxBuffer":null}
-0.026s: "ghc-mod: Binary.get(TyClDecl): ForeignType\nCallStack (from HasCallStack):\n  error, called at compiler/iface/IfaceSyn.hs:1530:18 in ghc:IfaceSyn\n"
-0.026s: "Running /home/ser/.local/bin/ghc-mod browse,-d,-p,--,Control.Lens failed with ",{"killed":false,"code":1,"signal":null,"cmd":"/home/ser/.local/bin/ghc-mod browse -d -p -- Control.Lens"}
-0.001s: {"killed":false,"code":1,"signal":null,"cmd":"/home/ser/.local/bin/ghc-mod browse -d -p -- Control.Lens"}

Error
    at /packages/haskell-ghc-mod/lib/util.coffee:60:26
    at ChildProcess.exithandler (child_process.js:225:5)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

Commands

Non-Core Packages

atom-fuzzy-grep 0.16.0 
autocomplete-haskell 0.7.2 
custom-title 1.0.1 
haskell-ghc-mod 1.19.9 
ide-haskell 1.9.6 
ide-haskell-hasktags 0.0.10 
language-haskell 1.12.1 
minimap 4.28.2 
lierdakil commented 7 years ago

This could indicate that either compilation cache broke somewhere, or there's a version mismatch between ghc-mod and current ghc version.

A thing to try is (I'm guessing you're using stack, if not, please correct me):

stack clean
stack build
stack build ghc-mod

This will ensure that everything in current project is consistent. Do make sure that 'Ghc-Mod Path' setting in h-g-m is set to 'ghc-mod' without full path. Otherwise it will mess with sandbox auto-detection. You might take a look at https://github.com/atom-haskell/haskell-ghc-mod/wiki/Using-with-stack for a good measure.

dniku commented 7 years ago

Filed upstream as https://ghc.haskell.org/trac/ghc/ticket/13675.

lierdakil commented 7 years ago

Looking at the build log, you might want to try installing cpphs manually (stack build cpphs), it might help.