Resolving dependencies... Configuring highWaterMark-0.1... Building highWaterMark-0.1... Failed to install highWaterMark-0.1 Build log ( /home/builder/.cabal/logs/highWaterMark-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-24900/highWaterMark-0.1' Configuring highWaterMark-0.1... Warning: 'ghc-options: -prof' is not necessary and will lead to problems when used on a library. Use the configure flag --enable-library-profiling and/or --enable-profiling. Building highWaterMark-0.1... Preprocessing executable 'highWaterMark' for highWaterMark-0.1... HighWaterMark.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 2] Compiling HighWaterMark ( HighWaterMark.hs, dist/build/highWaterMark/highWaterMark-tmp/HighWaterMark.o ) HighWaterMark.hs:21:1: error: • Unacceptable result type in foreign declaration: ‘CULong’ cannot be marshalled in a foreign call because its data constructor is not in scope Possible fix: import the data constructor to bring it into scope • When checking declaration: foreign import ccall safe "static get_mblocks_allocated" getMBlocksAllocated :: IO CULong cabal: Leaving directory '/tmp/cabal-tmp-24900/highWaterMark-0.1' cabal: Error: some packages failed to install: highWaterMark-0.1 failed during the building phase. The exception was: ExitFailure 1