Resolving dependencies... Configuring safe-0.3.9... Building safe-0.3.9... Preprocessing library safe-0.3.9... [1 of 4] Compiling Safe.Util ( Safe/Util.hs, dist/build/Safe/Util.o ) [2 of 4] Compiling Safe.Exact ( Safe/Exact.hs, dist/build/Safe/Exact.o ) [3 of 4] Compiling Safe.Foldable ( Safe/Foldable.hs, dist/build/Safe/Foldable.o ) [4 of 4] Compiling Safe ( Safe.hs, dist/build/Safe.o ) In-place registering safe-0.3.9... Running Haddock for safe-0.3.9... Running hscolour for safe-0.3.9... Preprocessing library safe-0.3.9... Preprocessing library safe-0.3.9... Haddock coverage: 14% ( 1 / 7) in 'Safe.Util' 35% ( 8 / 23) in 'Safe.Exact' 18% ( 5 / 28) in 'Safe.Foldable' 20% ( 14 / 71) in 'Safe' Documentation created: dist/doc/html/safe/index.html, dist/doc/html/safe/safe.txt Creating package registration file: /tmp/pkgConf-safe-0.324469.9 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/safe-0.3.9 Registering safe-0.3.9... Installed safe-0.3.9 Configuring dicom-0.1.1.0... Building dicom-0.1.1.0... Preprocessing library dicom-0.1.1.0... [1 of 8] Compiling Data.DICOM.Tag ( src/Data/DICOM/Tag.hs, dist/build/Data/DICOM/Tag.o ) [2 of 8] Compiling Data.DICOM.VR ( src/Data/DICOM/VR.hs, dist/build/Data/DICOM/VR.o ) [3 of 8] Compiling Data.DICOM.VL ( src/Data/DICOM/VL.hs, dist/build/Data/DICOM/VL.o ) [4 of 8] Compiling Data.DICOM.Object ( src/Data/DICOM/Object.hs, dist/build/Data/DICOM/Object.o ) [5 of 8] Compiling Data.DICOM.Dictionary ( src/Data/DICOM/Dictionary.hs, dist/build/Data/DICOM/Dictionary.o ) [6 of 8] Compiling Data.DICOM.FileMetaInformation ( src/Data/DICOM/FileMetaInformation.hs, dist/build/Data/DICOM/FileMetaInformation.o ) [7 of 8] Compiling Data.DICOM.Pretty ( src/Data/DICOM/Pretty.hs, dist/build/Data/DICOM/Pretty.o ) [8 of 8] Compiling Data.DICOM ( src/Data/DICOM.hs, dist/build/Data/DICOM.o ) In-place registering dicom-0.1.1.0... Running Haddock for dicom-0.1.1.0... Running hscolour for dicom-0.1.1.0... Preprocessing library dicom-0.1.1.0... Preprocessing library dicom-0.1.1.0... src/Data/DICOM/Object.hs:121:13: No instance for (Binary t1) arising from a use of ‘get’ The type variable ‘t1’ is ambiguous Note: there are several potential instances: instance Binary VR -- Defined at src/Data/DICOM/VR.hs:54:10 instance Binary Tag -- Defined at src/Data/DICOM/Tag.hs:56:10 instance Binary TagElement -- Defined at src/Data/DICOM/Tag.hs:52:10 ...plus 44 others In a stmt of a 'do' block: _tag <- get In the expression: do { _tag <- get; _vr <- get; _vl <- if isVLReserved _vr then (do { skip 2; vl . fromIntegral <$> getWord32le }) else vl . fromIntegral <$> getWord16le; content <- case _vr of { SQ -> SequenceContent <$> readSequence _vl _ -> case _vl of { UndefinedValueLength -> ... _ -> ... } }; .... } In an equation for ‘get’: get = do { _tag <- get; _vr <- get; _vl <- if isVLReserved _vr then (do { skip 2; .... }) else vl . fromIntegral <$> getWord16le; .... } src/Data/DICOM/Object.hs:130:15: Can't find interface-file declaration for data constructor UndefinedValueLength Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the pattern: UndefinedValueLength In a case alternative: UndefinedValueLength -> failWithOffset "Undefined VL not implemented" In the expression: case _vl of { UndefinedValueLength -> failWithOffset "Undefined VL not implemented" _ -> do { bytes <- getByteString $ fromIntegral $ runVL _vl; return $ BytesContent bytes } } src/Data/DICOM/Object.hs:147:14: Can't find interface-file declaration for data constructor UndefinedValueLength Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the pattern: UndefinedValueLength In an equation for ‘readSequence’: readSequence UndefinedValueLength = do { els <- untilG (isSequenceDelimitationItem <$> get) get; SequenceDelimitationItem <- get; skip 4; .... } src/Data/DICOM/Object.hs:158:5: Can't find interface-file declaration for data constructor UndefinedValueLength Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the pattern: UndefinedValueLength In a case alternative: UndefinedValueLength -> do { put SequenceDelimitationItem; putWord32le 0 } In a stmt of a 'do' block: case _vl of { UndefinedValueLength -> do { put SequenceDelimitationItem; putWord32le 0 } _ -> return () } src/Data/DICOM/Object.hs:180:5: No instance for (Binary t0) arising from a use of ‘put’ The type variable ‘t0’ is ambiguous Note: there are several potential instances: instance Binary VR -- Defined at src/Data/DICOM/VR.hs:54:10 instance Binary Tag -- Defined at src/Data/DICOM/Tag.hs:56:10 instance Binary TagElement -- Defined at src/Data/DICOM/Tag.hs:52:10 ...plus 44 others In a stmt of a 'do' block: put Item In the expression: do { put Item; putWord32le $ sequenceItemLength si; traverse_ put $ sequenceItemElements si; case vl (fromIntegral (sequenceItemLength si)) of { UndefinedValueLength -> do { ... } _ -> return () } } In an equation for ‘put’: put si = do { put Item; putWord32le $ sequenceItemLength si; traverse_ put $ sequenceItemElements si; .... } src/Data/DICOM/Object.hs:180:9: Can't find interface-file declaration for data constructor Item Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the first argument of ‘put’, namely ‘Item’ In a stmt of a 'do' block: put Item In the expression: do { put Item; putWord32le $ sequenceItemLength si; traverse_ put $ sequenceItemElements si; case vl (fromIntegral (sequenceItemLength si)) of { UndefinedValueLength -> do { ... } _ -> return () } } src/Data/DICOM/Object.hs:190:24: Can't find interface-file declaration for data constructor ItemDelimitationItem Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the pattern: ItemDelimitationItem In an equation for ‘isItemDelimitationItem’: isItemDelimitationItem ItemDelimitationItem = True src/Data/DICOM/Object.hs:194:28: Can't find interface-file declaration for data constructor SequenceDelimitationItem Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the pattern: SequenceDelimitationItem In an equation for ‘isSequenceDelimitationItem’: isSequenceDelimitationItem SequenceDelimitationItem = True src/Data/DICOM/Object.hs:352:26: Can't find interface-file declaration for data constructor UndefinedValueLength Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the second argument of ‘Element’, namely ‘UndefinedValueLength’ In the expression: Element tg UndefinedValueLength SQ (SequenceContent (Sequence items)) In an equation for ‘sq’: sq tg items = Element tg UndefinedValueLength SQ (SequenceContent (Sequence items)) src/Data/DICOM/Object.hs:355:45: Can't find interface-file declaration for data constructor UndefinedValueLength Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the second argument of ‘($)’, namely ‘UndefinedValueLength’ In the first argument of ‘SequenceItem’, namely ‘(fromIntegral . runVL $ UndefinedValueLength)’ In the first argument of ‘(.)’, namely ‘SequenceItem (fromIntegral . runVL $ UndefinedValueLength)’ Haddock coverage: Warning: Not found in environment: Data.DICOM.Tag.SequenceGroup Warning: Not found in environment: Data.DICOM.Tag.Item Warning: Not found in environment: Data.DICOM.Tag.ItemDelimitationItem Warning: Not found in environment: Data.DICOM.Tag.SequenceDelimitationItem 44% ( 4 / 9) in 'Data.DICOM.Tag' 0% ( 0 / 3) in 'Data.DICOM.VR' Warning: Not found in environment: Data.DICOM.VL.UndefinedValueLength 20% ( 1 / 5) in 'Data.DICOM.VL' Creating package registration file: /tmp/pkgConf-dicom-0.1.124469.0 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/dicom-0.1.1.0 Registering dicom-0.1.1.0... Installed dicom-0.1.1.0