Created
May 25, 2019 08:33
-
-
Save simg/fa00f8781f1c947e144a075d975953bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1 of 3] Compiling Codec.Archive.Zip.Util ( src/Codec/Archive/Zip/Util.hs, .stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/Codec/Archive/Zip/Util.o ) | |
/home/www/projects/datamine/components/zip-conduit-0.2.2.2/src/Codec/Archive/Zip/Util.hs:110:25: warning: [-Wdeprecations] | |
In the use of type constructor or class ‘Sink’ | |
(imported from Data.Conduit, but defined in conduit-1.3.1.1:Data.Conduit.Internal.Conduit): | |
Deprecated: "Use ConduitT directly" | |
| | |
110 | crc32Sink :: Monad m => Sink ByteString m Word32 | |
| ^^^^ | |
/home/www/projects/datamine/components/zip-conduit-0.2.2.2/src/Codec/Archive/Zip/Util.hs:115:24: warning: [-Wdeprecations] | |
In the use of type constructor or class ‘Sink’ | |
(imported from Data.Conduit, but defined in conduit-1.3.1.1:Data.Conduit.Internal.Conduit): | |
Deprecated: "Use ConduitT directly" | |
| | |
115 | sizeSink :: Monad m => Sink ByteString m Int | |
| ^^^^ | |
[2 of 3] Compiling Codec.Archive.Zip.Internal ( src/Codec/Archive/Zip/Internal.hs, .stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/Codec/Archive/Zip/Internal.o ) | |
[3 of 3] Compiling Codec.Archive.Zip ( src/Codec/Archive/Zip.hs, .stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/Codec/Archive/Zip.o ) | |
/home/www/projects/datamine/components/zip-conduit-0.2.2.2/src/Codec/Archive/Zip.hs:190:5: error: | |
• No instance for (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO | |
Archive) | |
arising from a use of ‘runResourceT’ | |
• In a stmt of a 'do' block: | |
runResourceT $ sourceFile zip e $$ sink | |
In the expression: | |
do zip <- get | |
runResourceT $ sourceFile zip e $$ sink | |
In an equation for ‘sourceEntry’: | |
sourceEntry e sink | |
= do zip <- get | |
runResourceT $ sourceFile zip e $$ sink | |
| | |
190 | runResourceT $ sourceFile zip e $$ sink | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
/home/www/projects/datamine/components/zip-conduit-0.2.2.2/src/Codec/Archive/Zip.hs:207:13: error: | |
• No instance for (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO | |
Archive) | |
arising from a use of ‘runResourceT’ | |
• In a stmt of a 'do' block: | |
zip' <- runResourceT $ source $$ sinkFile zip f NoCompression time | |
In the expression: | |
do zip <- get | |
time <- liftIO getCurrentTime | |
zip' <- runResourceT $ source $$ sinkFile zip f NoCompression time | |
put zip' | |
In an equation for ‘sinkEntryUncompressed’: | |
sinkEntryUncompressed f source | |
= do zip <- get | |
time <- liftIO getCurrentTime | |
zip' <- runResourceT $ source $$ sinkFile zip f NoCompression time | |
.... | |
| | |
207 | zip' <- runResourceT $ source $$ sinkFile zip f NoCompression time | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
/home/www/projects/datamine/components/zip-conduit-0.2.2.2/src/Codec/Archive/Zip.hs:229:28: error: | |
• Could not deduce (primitive-0.6.4.0:Control.Monad.Primitive.PrimMonad | |
m) | |
arising from a use of ‘decompress’ | |
from the context: MonadResource m | |
bound by the type signature for: | |
sourceFile :: forall (m :: * -> *). | |
MonadResource m => | |
Zip -> FilePath -> Source m ByteString | |
at src/Codec/Archive/Zip.hs:211:1-71 | |
Possible fix: | |
add (primitive-0.6.4.0:Control.Monad.Primitive.PrimMonad | |
m) to the context of | |
the type signature for: | |
sourceFile :: forall (m :: * -> *). | |
MonadResource m => | |
Zip -> FilePath -> Source m ByteString | |
• In the expression: decompress $ WindowBits (- 15) | |
In a case alternative: Deflate -> decompress $ WindowBits (- 15) | |
In the expression: | |
case fhCompressionMethod fileHeader of | |
NoCompression -> CL.map id | |
Deflate -> decompress $ WindowBits (- 15) | |
| | |
229 | Deflate -> decompress $ WindowBits (-15) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
/home/www/projects/datamine/components/zip-conduit-0.2.2.2/src/Codec/Archive/Zip.hs:338:20: error: | |
• Could not deduce (primitive-0.6.4.0:Control.Monad.Primitive.PrimMonad | |
m1) | |
arising from a use of ‘compress’ | |
from the context: MonadResource m | |
bound by the type signature for: | |
sinkData :: forall (m :: * -> *). | |
MonadResource m => | |
Handle -> CompressionMethod -> Sink ByteString m DataDescriptor | |
at src/Codec/Archive/Zip.hs:(324,1)-(325,75) | |
or from: MonadResource m1 | |
bound by the type signature for: | |
compressSink :: forall (m1 :: * -> *). | |
MonadResource m1 => | |
Sink ByteString m1 Int | |
at src/Codec/Archive/Zip.hs:337:5-60 | |
Possible fix: | |
add (primitive-0.6.4.0:Control.Monad.Primitive.PrimMonad | |
m1) to the context of | |
the type signature for: | |
compressSink :: forall (m1 :: * -> *). | |
MonadResource m1 => | |
Sink ByteString m1 Int | |
• In the first argument of ‘(=$)’, namely | |
‘compress 6 (WindowBits (- 15))’ | |
In the expression: compress 6 (WindowBits (- 15)) =$ sizeDataSink | |
In an equation for ‘compressSink’: | |
compressSink = compress 6 (WindowBits (- 15)) =$ sizeDataSink | |
| | |
338 | compressSink = compress 6 (WindowBits (-15)) =$ sizeDataSink | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
Completed 28 action(s). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment