Resolving dependencies... Downloading permutation-0.5.0.2... [1 of 1] Compiling Main ( /tmp/permutation-0.5.0.2-26683/permutation-0.5.0.2/dist/setup/setup.hs, /tmp/permutation-0.5.0.2-26683/permutation-0.5.0.2/dist/setup/Main.o ) /tmp/permutation-0.5.0.2-26683/permutation-0.5.0.2/dist/setup/setup.hs:3:3: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead /tmp/permutation-0.5.0.2-26683/permutation-0.5.0.2/dist/setup/setup.hs:14:11: Warning: In the use of ‘runTests’ (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking /tmp/permutation-0.5.0.2-26683/permutation-0.5.0.2/dist/setup/setup ... Configuring permutation-0.5.0.2... Building permutation-0.5.0.2... Preprocessing library permutation-0.5.0.2... [ 1 of 13] Compiling Data.IntArray ( lib/Data/IntArray.hs, dist/build/Data/IntArray.o ) lib/Data/IntArray.hs:46:1: Warning: Top-level binding with no type signature: isTrue :: Int# -> Bool [ 2 of 13] Compiling Data.Permute.Base ( lib/Data/Permute/Base.hs, dist/build/Data/Permute/Base.o ) lib/Data/Permute/Base.hs:18:1: Warning: The import of ‘Foreign’ is redundant except perhaps to import instances from ‘Foreign’ To import instances alone, use: import Foreign() [ 3 of 13] Compiling Data.Permute.IOBase ( lib/Data/Permute/IOBase.hs, dist/build/Data/Permute/IOBase.o ) [ 4 of 13] Compiling Data.Permute.MPermute ( lib/Data/Permute/MPermute.hs, dist/build/Data/Permute/MPermute.o ) lib/Data/Permute/MPermute.hs:519:25: Not in scope: ‘unsafeInterleaveST’ Perhaps you meant one of these: ‘unsafeInterleaveIO’ (imported from System.IO.Unsafe), ‘unsafeInterleaveM’ (line 122) Failed to install permutation-0.5.0.2 cabal: Error: some packages failed to install: permutation-0.5.0.2 failed during the building phase. The exception was: ExitFailure 1