tests/Common.hs:5:1: Warning:
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
[3 of 3] Compiling Main ( tests/sanity.hs, dist/build/sanity/sanity-tmp/Main.dyn_o )
tests/sanity.hs:59:23:
Couldn't match expected type ‘T.TimeLocale’
with actual type ‘TimeLocale’
NB: ‘T.TimeLocale’
is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.5.0.1’
‘TimeLocale’
is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’
In the first argument of ‘T.formatTime’, namely ‘defaultTimeLocale’
In the expression: T.formatTime defaultTimeLocale spec t'
tests/sanity.hs:69:22:
Couldn't match expected type ‘T.TimeLocale’
with actual type ‘TimeLocale’
NB: ‘T.TimeLocale’
is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.5.0.1’
‘TimeLocale’
is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’
In the first argument of ‘T.formatTime’, namely ‘defaultTimeLocale’
In the expression:
T.formatTime defaultTimeLocale spec (thyme # orig)
tests/sanity.hs:71:22:
Couldn't match expected type ‘T.TimeLocale’
with actual type ‘TimeLocale’
NB: ‘T.TimeLocale’
is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.5.0.1’
‘TimeLocale’
is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’
In the first argument of ‘T.parseTime’, namely ‘defaultTimeLocale’
In the expression: T.parseTime defaultTimeLocale spec s
tests/sanity.hs:74:27:
No instance for (Show t0) arising from a use of ‘show’
The type variable ‘t0’ is ambiguous
Note: there are several potential instances:
instance (MemoTrie-0.6.2:Data.MemoTrie.HasTrie a, Show a,
Show b) =>
Show (a MemoTrie-0.6.2:Data.MemoTrie.:->: b)
-- Defined in ‘MemoTrie-0.6.2:Data.MemoTrie’
instance Show Test.QuickCheck.Random.QCGen
-- Defined in ‘Test.QuickCheck.Random’
instance [safe] Show Args -- Defined in ‘Test.QuickCheck.Test’
...plus 153 others
In the first argument of ‘(++)’, namely ‘show t'’
In the second argument of ‘(++)’, namely
‘show t'
++
"\n\
\state: "
++ show (tp s)’
In the second argument of ‘(++)’, namely
‘"\n\
\time: "
++
show t'
++
"\n\
\state: "
++ show (tp s)’
The build with GHC 7.10.2 fails as follows: