Resolving dependencies... Starting integer-logarithms-1.0.3.1 Starting safe-exceptions-0.1.7.1 Starting primitive-0.7.1.0 Starting hashable-1.3.0.0 Building integer-logarithms-1.0.3.1 Building safe-exceptions-0.1.7.1 Building primitive-0.7.1.0 Building hashable-1.3.0.0 Completed integer-logarithms-1.0.3.1 Completed safe-exceptions-0.1.7.1 Completed hashable-1.3.0.0 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed case-insensitive-1.2.1.0 Starting http-types-0.12.3 Building http-types-0.12.3 Completed http-types-0.12.3 Completed primitive-0.7.1.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.4 Building attoparsec-0.13.2.4 Completed attoparsec-0.13.2.4 Starting dormouse-uri-0.1.0.0 Building dormouse-uri-0.1.0.0 Failed to install dormouse-uri-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/dormouse-uri-0.1.0.0-Uub7jsrei6KPEBHtEgBAv.log ): cabal: Entering directory '/tmp/cabal-tmp-14059/dormouse-uri-0.1.0.0' Configuring dormouse-uri-0.1.0.0... Preprocessing library for dormouse-uri-0.1.0.0.. Building library for dormouse-uri-0.1.0.0.. [ 1 of 14] Compiling Dormouse.Uri.Exception ( src/Dormouse/Uri/Exception.hs, dist/build/Dormouse/Uri/Exception.o, dist/build/Dormouse/Uri/Exception.dyn_o ) [ 2 of 14] Compiling Dormouse.Uri.RFC3986 ( src/Dormouse/Uri/RFC3986.hs, dist/build/Dormouse/Uri/RFC3986.o, dist/build/Dormouse/Uri/RFC3986.dyn_o ) [ 3 of 14] Compiling Dormouse.Uri.Types ( src/Dormouse/Uri/Types.hs, dist/build/Dormouse/Uri/Types.o, dist/build/Dormouse/Uri/Types.dyn_o ) src/Dormouse/Uri/Types.hs:30:66: error: • No instance for (Lift Text) arising from the first field of ‘Username’ (type ‘Text’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Lift Username) | 30 | newtype Username = Username { unUsername :: Text } deriving (Eq, Lift) | ^^^^ src/Dormouse/Uri/Types.hs:39:66: error: • No instance for (Lift Text) arising from the first field of ‘Password’ (type ‘Text’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Lift Password) | 39 | newtype Password = Password { unPassword :: Text } deriving (Eq, Lift) | ^^^^ src/Dormouse/Uri/Types.hs:54:54: error: • No instance for (Lift Text) arising from the first field of ‘Host’ (type ‘Text’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Lift Host) | 54 | newtype Host = Host { unHost :: Text } deriving (Eq, Lift) | ^^^^ src/Dormouse/Uri/Types.hs:70:66: error: • No instance for (Lift Text) arising from the first field of ‘Fragment’ (type ‘Text’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Lift Fragment) | 70 | newtype Fragment = Fragment { unFragment :: Text } deriving (Eq, Lift) | ^^^^ src/Dormouse/Uri/Types.hs:87:75: error: • No instance for (Lift Text) arising from the first field of ‘PathSegment’ (type ‘Text’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Lift PathSegment) | 87 | newtype PathSegment = PathSegment { unPathSegment :: Text } deriving (Eq, Lift) | ^^^^ src/Dormouse/Uri/Types.hs:96:57: error: • No instance for (Lift Text) arising from the first field of ‘Query’ (type ‘Text’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Lift Query) | 96 | newtype Query = Query { unQuery :: Text } deriving (Eq, Lift) | ^^^^ src/Dormouse/Uri/Types.hs:105:60: error: • No instance for (Lift Text) arising from the first field of ‘Scheme’ (type ‘Text’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Lift Scheme) | 105 | newtype Scheme = Scheme { unScheme :: Text } deriving (Eq, Lift) | ^^^^ cabal: Leaving directory '/tmp/cabal-tmp-14059/dormouse-uri-0.1.0.0' cabal: Error: some packages failed to install: dormouse-uri-0.1.0.0-Uub7jsrei6KPEBHtEgBAv failed during the building phase. The exception was: ExitFailure 1