Resolving dependencies... Configuring primitive-0.6.1.0... Configuring text-1.2.2.1... Building primitive-0.6.1.0... Building text-1.2.2.1... Installed primitive-0.6.1.0 Configuring vector-0.10.12.3... Building vector-0.10.12.3... Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring path-pieces-0.1.5... Installed hashable-1.2.4.0 Building path-pieces-0.1.5... Installed path-pieces-0.1.5 Installed vector-0.10.12.3 Configuring yesod-routes-1.2.0.7... Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Building yesod-routes-1.2.0.7... Failed to install yesod-routes-1.2.0.7 Build log ( /home/builder/.cabal/logs/yesod-routes-1.2.0.7.log ): cabal: Entering directory '/tmp/cabal-tmp-31642/yesod-routes-1.2.0.7' Configuring yesod-routes-1.2.0.7... Building yesod-routes-1.2.0.7... Preprocessing library yesod-routes-1.2.0.7... [ 1 of 10] Compiling Yesod.Routes.TH.Types ( Yesod/Routes/TH/Types.hs, dist/build/Yesod/Routes/TH/Types.o ) [ 2 of 10] Compiling Yesod.Routes.Overlap ( Yesod/Routes/Overlap.hs, dist/build/Yesod/Routes/Overlap.o ) Yesod/Routes/Overlap.hs:39:7: warning: [-Wunused-top-binds] Defined but not used: ‘overlapF1’ Yesod/Routes/Overlap.hs:40:7: warning: [-Wunused-top-binds] Defined but not used: ‘overlapF2’ [ 3 of 10] Compiling Yesod.Routes.Dispatch ( Yesod/Routes/Dispatch.lhs, dist/build/Yesod/Routes/Dispatch.o ) [ 4 of 10] Compiling Yesod.Routes.TH.Dispatch ( Yesod/Routes/TH/Dispatch.hs, dist/build/Yesod/Routes/TH/Dispatch.o ) Yesod/Routes/TH/Dispatch.hs:301:17: warning: [-Wunused-matches] Defined but not used: ‘env’ [ 5 of 10] Compiling Yesod.Routes.Class ( Yesod/Routes/Class.hs, dist/build/Yesod/Routes/Class.o ) [ 6 of 10] Compiling Yesod.Routes.TH.ParseRoute ( Yesod/Routes/TH/ParseRoute.hs, dist/build/Yesod/Routes/TH/ParseRoute.o ) Yesod/Routes/TH/ParseRoute.hs:53:5: error: • Couldn't match type ‘[Dec] -> Dec’ with ‘Dec’ Expected type: Q Dec Actual type: Q ([Dec] -> Dec) • In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] In the expression: do { cls <- mkParseRouteClauses ress; return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] } In an equation for ‘mkParseRouteInstance’: mkParseRouteInstance typ ress = do { cls <- mkParseRouteClauses ress; return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD ... cls] } Yesod/Routes/TH/ParseRoute.hs:53:24: error: • Couldn't match expected type ‘Maybe Overlap’ with actual type ‘[t0]’ • In the first argument of ‘InstanceD’, namely ‘[]’ In the second argument of ‘($)’, namely ‘InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls]’ In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] Yesod/Routes/TH/ParseRoute.hs:53:28: error: • Couldn't match type ‘Type’ with ‘[Pred]’ Expected type: Cxt Actual type: Type • In the second argument of ‘InstanceD’, namely ‘(ConT ''ParseRoute `AppT` typ)’ In the second argument of ‘($)’, namely ‘InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls]’ In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] Yesod/Routes/TH/ParseRoute.hs:54:9: error: • Couldn't match expected type ‘Type’ with actual type ‘[Dec]’ • In the third argument of ‘InstanceD’, namely ‘[FunD 'parseRoute cls]’ In the second argument of ‘($)’, namely ‘InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls]’ In a stmt of a 'do' block: return $ InstanceD [] (ConT ''ParseRoute `AppT` typ) [FunD 'parseRoute cls] cabal: Leaving directory '/tmp/cabal-tmp-31642/yesod-routes-1.2.0.7' Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 cabal: Error: some packages failed to install: route-generator-0.1 depends on yesod-routes-1.2.0.7 which failed to install. yesod-routes-1.2.0.7 failed during the building phase. The exception was: ExitFailure 1