Resolving dependencies... Configuring bindings-DSL-1.0.23... Configuring data-default-class-0.1.2.0... Building data-default-class-0.1.2.0... Building bindings-DSL-1.0.23... Installed bindings-DSL-1.0.23 Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Configuring lens-family-core-1.2.1... Installed data-default-class-0.1.2.0 Building lens-family-core-1.2.1... Configuring lens-family-th-0.5.0.0... Installed dlist-0.8.0.2 Building lens-family-th-0.5.0.0... Configuring old-locale-1.0.0.7... Installed lens-family-core-1.2.1 Building old-locale-1.0.0.7... Configuring mtl-2.2.1... Installed lens-family-th-0.5.0.0 Building mtl-2.2.1... Configuring primitive-0.6.1.0... Installed old-locale-1.0.0.7 Building primitive-0.6.1.0... Configuring random-1.1... Installed mtl-2.2.1 Building random-1.1... Configuring text-1.2.2.1... Installed primitive-0.6.1.0 Building text-1.2.2.1... Installed random-1.1 Configuring data-default-instances-containers-0.0.1... Building data-default-instances-containers-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed data-default-instances-containers-0.0.1 Building data-default-instances-old-locale-0.0.1... Configuring lens-family-1.2.1... Installed data-default-instances-old-locale-0.0.1 Building lens-family-1.2.1... Configuring data-default-instances-dlist-0.0.1... Installed lens-family-1.2.1 Building data-default-instances-dlist-0.0.1... Configuring vector-0.11.0.0... Installed data-default-instances-dlist-0.0.1 Building vector-0.11.0.0... Installed text-1.2.2.1 Configuring lens-simple-0.1.0.9... Building lens-simple-0.1.0.9... Configuring data-default-0.7.1.1... Installed lens-simple-0.1.0.9 Building data-default-0.7.1.1... Configuring hashable-1.2.5.0... Installed data-default-0.7.1.1 Building hashable-1.2.5.0... Installed hashable-1.2.5.0 Installed vector-0.11.0.0 Configuring scientific-0.3.4.9... Configuring tzdata-0.1.20160614.0... Building scientific-0.3.4.9... Building tzdata-0.1.20160614.0... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Installed tzdata-0.1.20160614.0 Configuring tz-0.1.2.0... Building tz-0.1.2.0... Installed tz-0.1.2.0 Configuring time-exts-3.0.0... Building time-exts-3.0.0... Failed to install time-exts-3.0.0 Build log ( /home/builder/.cabal/logs/time-exts-3.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-4735/time-exts-3.0.0' Configuring time-exts-3.0.0... Building time-exts-3.0.0... Preprocessing library time-exts-3.0.0... Time.hsc: In function ‘main’: Time.hsc:55:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] Time.hsc:55:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] Time.hsc:55:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] Time.hsc:60:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] Time.hsc:60:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] Time.hsc:60:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] [1 of 9] Compiling Data.Time.Exts.Format ( Data/Time/Exts/Format.hs, dist/build/Data/Time/Exts/Format.o ) [2 of 9] Compiling Data.Time.Exts.Base ( Data/Time/Exts/Base.hs, dist/build/Data/Time/Exts/Base.o ) [3 of 9] Compiling Data.Time.Exts.Lens ( Data/Time/Exts/Lens.hs, dist/build/Data/Time/Exts/Lens.o ) [4 of 9] Compiling Data.Time.Exts.Parser ( Data/Time/Exts/Parser.hs, dist/build/Data/Time/Exts/Parser.o ) [5 of 9] Compiling Data.Time.Exts.Util ( Data/Time/Exts/Util.hs, dist/build/Data/Time/Exts/Util.o ) [6 of 9] Compiling Foreign.C.Time ( dist/build/Foreign/C/Time.hs, dist/build/Foreign/C/Time.o ) [7 of 9] Compiling Data.Time.Exts.Unix ( Data/Time/Exts/Unix.hs, dist/build/Data/Time/Exts/Unix.o ) Data/Time/Exts/Unix.hs:478:7: error: • Ambiguous type variable ‘cal2’ arising from a use of ‘minBound’ prevents the constraint ‘(Bounded (UnixDate cal2))’ from being solved. Probable fix: use a type annotation to specify what ‘cal2’ should be. These potential instance exist: instance Bounded (UnixDate 'Gregorian) -- Defined at Data/Time/Exts/Unix.hs:85:10 • In the first argument of ‘(<=)’, namely ‘minBound’ In the first argument of ‘(&&)’, namely ‘minBound <= date’ In the expression: minBound <= date && date <= maxBound Data/Time/Exts/Unix.hs:478:35: error: • Ambiguous type variable ‘cal3’ arising from a use of ‘maxBound’ prevents the constraint ‘(Bounded (UnixDate cal3))’ from being solved. Probable fix: use a type annotation to specify what ‘cal3’ should be. These potential instance exist: instance Bounded (UnixDate 'Gregorian) -- Defined at Data/Time/Exts/Unix.hs:85:10 • In the second argument of ‘(<=)’, namely ‘maxBound’ In the second argument of ‘(&&)’, namely ‘date <= maxBound’ In the expression: minBound <= date && date <= maxBound Data/Time/Exts/Unix.hs:494:7: error: • Ambiguous type variable ‘cal0’ arising from a use of ‘minBound’ prevents the constraint ‘(Bounded (UnixDateTime cal0))’ from being solved. Probable fix: use a type annotation to specify what ‘cal0’ should be. These potential instance exist: instance Bounded (UnixDateTime 'Gregorian) -- Defined at Data/Time/Exts/Unix.hs:93:10 • In the first argument of ‘(<=)’, namely ‘minBound’ In the first argument of ‘(&&)’, namely ‘minBound <= time’ In the expression: minBound <= time && time <= maxBound Data/Time/Exts/Unix.hs:494:35: error: • Ambiguous type variable ‘cal1’ arising from a use of ‘maxBound’ prevents the constraint ‘(Bounded (UnixDateTime cal1))’ from being solved. Probable fix: use a type annotation to specify what ‘cal1’ should be. These potential instance exist: instance Bounded (UnixDateTime 'Gregorian) -- Defined at Data/Time/Exts/Unix.hs:93:10 • In the second argument of ‘(<=)’, namely ‘maxBound’ In the second argument of ‘(&&)’, namely ‘time <= maxBound’ In the expression: minBound <= time && time <= maxBound cabal: Leaving directory '/tmp/cabal-tmp-4735/time-exts-3.0.0' cabal: Error: some packages failed to install: time-exts-3.0.0 failed during the building phase. The exception was: ExitFailure 1