Skip to content

Instantly share code, notes, and snippets.

@mihaimaruseac
Created December 28, 2018 23:35
Show Gist options
  • Save mihaimaruseac/8eb45ef4ba223c6c801c8cd6d99000e8 to your computer and use it in GitHub Desktop.
Save mihaimaruseac/8eb45ef4ba223c6c801c8cd6d99000e8 to your computer and use it in GitHub Desktop.
[mm] λ stack unpack haddock-library-1.4.5
Cabal file info not found for haddock-library-1.4.5, updating
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Downloading root
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Downloading timestamp
Downloading snapshot
Downloading mirrors
Cannot update index (no local copy)
Downloading index
Updated package index downloaded
Calculating hashes to check for hackage-security rebases or filesystem changes
No old cache found, populating cache from scratch
Populating cache from file size 560899072, hash 327671ed7bb9c4068c739c4a06cdee78dc2ea4db784e9666a66ff9539ee2a9d6
Populating package index cache ...
Package index cache populated
Unpacked haddock-library-1.4.5 (from Hackage) to /tmp/mm/haddock-library-1.4.5/
[mm] λ ls
haddock-library-1.4.5
[mm] λ cd haddock-library-1.4.5/
/tmp/mm/haddock-library-1.4.5
[haddock-library-1.4.5] λ ls
CHANGES.md haddock-library.cabal LICENSE Setup.hs src test vendor
[haddock-library-1.4.5] λ vi haddock-library.cabal
[haddock-library-1.4.5] λ stack haddock
Error parsing targets: The specified targets matched no packages.
Perhaps you need to run 'stack init'?
[haddock-library-1.4.5] λ stack init
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- ./
Selecting the best among 15 snapshots...
Loading a snapshot from a SnapshotDef: lts-13.0
Loading a snapshot from a SnapshotDef: ghc-8.6.3
* Rejected lts-13.0
ghc-8.6.3 cannot be used for these packages:
- haddock-library
base version 4.12.0.0 found
- haddock-library requires >=4.5 && <4.11
Loading a snapshot from a SnapshotDef: nightly-2018-12-28
* Rejected nightly-2018-12-28
ghc-8.6.3 cannot be used for these packages:
- haddock-library
base version 4.12.0.0 found
- haddock-library requires >=4.5 && <4.11
Loading a snapshot from a SnapshotDef: lts-12.25
Loading a snapshot from a SnapshotDef: ghc-8.4.4
* Rejected lts-12.25
ghc-8.4.4 cannot be used for these packages:
- haddock-library
base version 4.11.1.0 found
- haddock-library requires >=4.5 && <4.11
Loading a snapshot from a SnapshotDef: lts-11.22
Loading a snapshot from a SnapshotDef: ghc-8.2.2
* Matches lts-11.22
Selected resolver: lts-11.22
Initialising configuration using resolver: lts-11.22
Total number of user packages considered: 1
Writing configuration to file: stack.yaml
All done.
[haddock-library-1.4.5] λ stack haddock
haddock-library-1.4.5: configure (lib + internal-lib)
Configuring haddock-library-1.4.5...
haddock-library-1.4.5: build (lib + internal-lib)
Preprocessing library 'attoparsec' for haddock-library-1.4.5..
Building library 'attoparsec' for haddock-library-1.4.5..
[ 1 of 11] Compiling Data.Attoparsec.ByteString.FastSet ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/FastSet.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/ByteString/FastSet.o )
[ 2 of 11] Compiling Data.Attoparsec.Internal.Fhthagn ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/Internal/Fhthagn.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/Internal/Fhthagn.o )
[ 3 of 11] Compiling Data.Attoparsec.ByteString.Buffer ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/ByteString/Buffer.o )
[ 4 of 11] Compiling Data.Attoparsec.Internal.Types ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/Internal/Types.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/Internal/Types.o )
[ 5 of 11] Compiling Data.Attoparsec.Internal ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/Internal.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/Internal.o )
[ 6 of 11] Compiling Data.Attoparsec.Combinator ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/Combinator.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/Combinator.o )
[ 7 of 11] Compiling Data.Attoparsec.ByteString.Internal ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/ByteString/Internal.o )
[ 8 of 11] Compiling Data.Attoparsec.ByteString ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/ByteString.o )
[ 9 of 11] Compiling Data.Attoparsec.ByteString.Char8 ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Char8.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/ByteString/Char8.o )
[10 of 11] Compiling Data.Attoparsec ( vendor/attoparsec-0.13.1.0/Data/Attoparsec.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec.o )
[11 of 11] Compiling Data.Attoparsec.Number ( vendor/attoparsec-0.13.1.0/Data/Attoparsec/Number.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/attoparsec/Data/Attoparsec/Number.o )
Preprocessing library for haddock-library-1.4.5..
Building library for haddock-library-1.4.5..
[1 of 7] Compiling Documentation.Haddock.Types ( src/Documentation/Haddock/Types.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Documentation/Haddock/Types.o )
[2 of 7] Compiling Documentation.Haddock.Parser.Monad ( src/Documentation/Haddock/Parser/Monad.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Documentation/Haddock/Parser/Monad.o )
[3 of 7] Compiling Documentation.Haddock.Parser.Util ( src/Documentation/Haddock/Parser/Util.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Documentation/Haddock/Parser/Util.o )
[4 of 7] Compiling Documentation.Haddock.Markup ( src/Documentation/Haddock/Markup.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Documentation/Haddock/Markup.o )
[5 of 7] Compiling Documentation.Haddock.Doc ( src/Documentation/Haddock/Doc.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Documentation/Haddock/Doc.o )
[6 of 7] Compiling Documentation.Haddock.Utf8 ( src/Documentation/Haddock/Utf8.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Documentation/Haddock/Utf8.o )
[7 of 7] Compiling Documentation.Haddock.Parser ( src/Documentation/Haddock/Parser.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Documentation/Haddock/Parser.o )
haddock-library-1.4.5: haddock
Preprocessing library 'attoparsec' for haddock-library-1.4.5..
Running Haddock on library 'attoparsec' for haddock-library-1.4.5..
Haddock coverage:
69% ( 9 / 13) in 'Data.Attoparsec.ByteString.FastSet'
Missing documentation for:
FastSet (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/FastSet.hs:44)
fromList (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/FastSet.hs:62)
fromSet (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/FastSet.hs:44)
charClass (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/FastSet.hs:111)
50% ( 1 / 2) in 'Data.Attoparsec.Internal.Fhthagn'
Missing documentation for:
Module header
22% ( 2 / 9) in 'Data.Attoparsec.ByteString.Buffer'
Missing documentation for:
Buffer (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs:70)
unbuffer (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs:87)
pappend (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs:103)
length (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs:136)
unsafeIndex (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs:140)
substring (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs:145)
unsafeDrop (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Buffer.hs:152)
60% ( 6 / 10) in 'Data.Attoparsec.Internal.Types'
Missing documentation for:
State (vendor/attoparsec-0.13.1.0/Data/Attoparsec/Internal/Types.hs:114)
Failure (vendor/attoparsec-0.13.1.0/Data/Attoparsec/Internal/Types.hs:117)
Success (vendor/attoparsec-0.13.1.0/Data/Attoparsec/Internal/Types.hs:119)
Pos (vendor/attoparsec-0.13.1.0/Data/Attoparsec/Internal/Types.hs:42)
100% ( 10 / 10) in 'Data.Attoparsec.Internal'
100% ( 24 / 24) in 'Data.Attoparsec.Combinator'
95% ( 61 / 64) in 'Data.Attoparsec.ByteString.Internal'
Missing documentation for:
Parser (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:95)
Result (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:96)
storable (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:138)
97% ( 66 / 68) in 'Data.Attoparsec.ByteString'
Missing documentation for:
Parser (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:95)
Result (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:96)
98% ( 86 / 88) in 'Data.Attoparsec.ByteString.Char8'
Missing documentation for:
Parser (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:95)
Result (vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Internal.hs:96)
100% ( 2 / 2) in 'Data.Attoparsec'
100% ( 2 / 2) in 'Data.Attoparsec.Number'
Warning: Data.Attoparsec.ByteString: could not find link destinations for:
Parser Chunk
Warning: Data.Attoparsec.ByteString.Char8: could not find link destinations for:
Parser Chunk ~
Documentation created:
Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2: internal error when calculating
.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/doc/html/haddock-library/index.html,
transitive package dependencies.
.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/doc/html/haddock-library/haddock-library.txt
Debug info: []
Preprocessing library for haddock-library-1.4.5..
Running Haddock on library for haddock-library-1.4.5..
-- While building package haddock-library-1.4.5 using:
/home/mihai/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0 haddock --html --hoogle --html-location=../$pkg-$version/ --haddock-option=--hyperlinked-source
Process exited with code: ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment