Resolving dependencies... Configuring mtl-2.2.1... Configuring primitive-0.6.1.0... Building mtl-2.2.1... Building primitive-0.6.1.0... Installed mtl-2.2.1 Configuring random-1.1... Installed primitive-0.6.1.0 Configuring text-1.2.2.1... Building random-1.1... Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed random-1.1 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring ghc-events-0.4.4.0... Building ghc-events-0.4.4.0... Configuring vector-0.11.0.0... Installed text-1.2.2.1 Building vector-0.11.0.0... Installed ghc-events-0.4.4.0 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Installed vector-0.11.0.0 Configuring hashtables-1.2.1.0... Building hashtables-1.2.1.0... Installed hashtables-1.2.1.0 Configuring gtk2hs-buildtools-0.13.2.1... Building gtk2hs-buildtools-0.13.2.1... Installed gtk2hs-buildtools-0.13.2.1 Configuring cairo-0.13.3.1... Configuring glib-0.13.4.1... Building glib-0.13.4.1... Building cairo-0.13.3.1... Installed cairo-0.13.3.1 Installed glib-0.13.4.1 Configuring gio-0.13.3.1... Configuring pango-0.13.3.1... Building gio-0.13.3.1... Building pango-0.13.3.1... Installed pango-0.13.3.1 Installed gio-0.13.3.1 Configuring gtk-0.14.6... Building gtk-0.14.6... Installed gtk-0.14.6 Downloading threadscope-0.2.4... Configuring threadscope-0.2.4... Building threadscope-0.2.4... Failed to install threadscope-0.2.4 Build log ( /home/builder/.cabal/logs/threadscope-0.2.4.log ): cabal: Entering directory '/tmp/cabal-tmp-7656/threadscope-0.2.4' Configuring threadscope-0.2.4... Building threadscope-0.2.4... Preprocessing executable 'threadscope' for threadscope-0.2.4... [ 1 of 35] Compiling Paths_threadscope ( dist/build/autogen/Paths_threadscope.hs, dist/build/threadscope/threadscope-tmp/Paths_threadscope.o ) [ 2 of 35] Compiling GUI.ViewerColours ( GUI/ViewerColours.hs, dist/build/threadscope/threadscope-tmp/GUI/ViewerColours.o ) [ 3 of 35] Compiling GUI.Types ( GUI/Types.hs, dist/build/threadscope/threadscope-tmp/GUI/Types.o ) [ 4 of 35] Compiling GUI.Timeline.Types ( GUI/Timeline/Types.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Types.o ) [ 5 of 35] Compiling GUI.Timeline.Render.Constants ( GUI/Timeline/Render/Constants.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Render/Constants.o ) [ 6 of 35] Compiling GUI.Timeline.CairoDrawing ( GUI/Timeline/CairoDrawing.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/CairoDrawing.o ) [ 7 of 35] Compiling GUI.SummaryView ( GUI/SummaryView.hs, dist/build/threadscope/threadscope-tmp/GUI/SummaryView.o ) GUI/SummaryView.hs:107:9: error: • Ambiguous type variable ‘b0’ arising from a use of ‘cellText’ prevents the constraint ‘(System.Glib.UTFString.GlibString b0)’ from being solved. Probable fix: use a type annotation to specify what ‘b0’ should be. These potential instances exist: instance System.Glib.UTFString.GlibString [Char] -- Defined in ‘System.Glib.UTFString’ ...plus one instance involving out-of-scope types (use -fprint-potential-instances to see them all) • In the first argument of ‘(:=)’, namely ‘cellText’ In the expression: cellText := printf "%5.2fs" (timeToSecondsDbl time) In the expression: [cellText := printf "%5.2fs" (timeToSecondsDbl time)] GUI/SummaryView.hs:107:21: error: • Ambiguous type variable ‘b0’ arising from a use of ‘printf’ prevents the constraint ‘(PrintfType b0)’ from being solved. Probable fix: use a type annotation to specify what ‘b0’ should be. These potential instances exist: instance [safe] a ~ () => PrintfType (IO a) -- Defined in ‘Text.Printf’ instance [safe] (PrintfArg a, PrintfType r) => PrintfType (a -> r) -- Defined in ‘Text.Printf’ instance [safe] IsChar c => PrintfType [c] -- Defined in ‘Text.Printf’ • In the second argument of ‘(:=)’, namely ‘printf "%5.2fs" (timeToSecondsDbl time)’ In the expression: cellText := printf "%5.2fs" (timeToSecondsDbl time) In the expression: [cellText := printf "%5.2fs" (timeToSecondsDbl time)] GUI/SummaryView.hs:109:9: error: • Ambiguous type variable ‘b1’ arising from a use of ‘cellText’ prevents the constraint ‘(System.Glib.UTFString.GlibString b1)’ from being solved. Probable fix: use a type annotation to specify what ‘b1’ should be. These potential instances exist: instance System.Glib.UTFString.GlibString [Char] -- Defined in ‘System.Glib.UTFString’ ...plus one instance involving out-of-scope types (use -fprint-potential-instances to see them all) • In the first argument of ‘(:=)’, namely ‘cellText’ In the expression: cellText := printf "%3.4fs" avgpause In the expression: [cellText := printf "%3.4fs" avgpause] GUI/SummaryView.hs:109:21: error: • Ambiguous type variable ‘b1’ arising from a use of ‘printf’ prevents the constraint ‘(PrintfType b1)’ from being solved. Probable fix: use a type annotation to specify what ‘b1’ should be. These potential instances exist: instance [safe] a ~ () => PrintfType (IO a) -- Defined in ‘Text.Printf’ instance [safe] (PrintfArg a, PrintfType r) => PrintfType (a -> r) -- Defined in ‘Text.Printf’ instance [safe] IsChar c => PrintfType [c] -- Defined in ‘Text.Printf’ • In the second argument of ‘(:=)’, namely ‘printf "%3.4fs" avgpause’ In the expression: cellText := printf "%3.4fs" avgpause In the expression: [cellText := printf "%3.4fs" avgpause] GUI/SummaryView.hs:111:9: error: • Ambiguous type variable ‘b2’ arising from a use of ‘cellText’ prevents the constraint ‘(System.Glib.UTFString.GlibString b2)’ from being solved. Probable fix: use a type annotation to specify what ‘b2’ should be. These potential instances exist: instance System.Glib.UTFString.GlibString [Char] -- Defined in ‘System.Glib.UTFString’ ...plus one instance involving out-of-scope types (use -fprint-potential-instances to see them all) • In the first argument of ‘(:=)’, namely ‘cellText’ In the expression: cellText := printf "%3.4fs" maxpause In the expression: [cellText := printf "%3.4fs" maxpause] GUI/SummaryView.hs:111:21: error: • Ambiguous type variable ‘b2’ arising from a use of ‘printf’ prevents the constraint ‘(PrintfType b2)’ from being solved. Probable fix: use a type annotation to specify what ‘b2’ should be. These potential instances exist: instance [safe] a ~ () => PrintfType (IO a) -- Defined in ‘Text.Printf’ instance [safe] (PrintfArg a, PrintfType r) => PrintfType (a -> r) -- Defined in ‘Text.Printf’ instance [safe] IsChar c => PrintfType [c] -- Defined in ‘Text.Printf’ • In the second argument of ‘(:=)’, namely ‘printf "%3.4fs" maxpause’ In the expression: cellText := printf "%3.4fs" maxpause In the expression: [cellText := printf "%3.4fs" maxpause] GUI/SummaryView.hs:269:49: error: • Ambiguous type variable ‘string1’ arising from a use of ‘widgetTooltipText’ prevents the constraint ‘(System.Glib.UTFString.GlibString string1)’ from being solved. Probable fix: use a type annotation to specify what ‘string1’ should be. These potential instances exist: instance System.Glib.UTFString.GlibString [Char] -- Defined in ‘System.Glib.UTFString’ ...plus one instance involving out-of-scope types (use -fprint-potential-instances to see them all) • In the first argument of ‘(:=)’, namely ‘widgetTooltipText’ In the expression: widgetTooltipText := Nothing In the second argument of ‘set’, namely ‘[labelText := "", widgetTooltipText := Nothing]’ GUI/SummaryView.hs:284:22: error: • Ambiguous type variable ‘string0’ arising from a use of ‘widgetTooltipText’ prevents the constraint ‘(System.Glib.UTFString.GlibString string0)’ from being solved. Probable fix: use a type annotation to specify what ‘string0’ should be. These potential instances exist: instance System.Glib.UTFString.GlibString [Char] -- Defined in ‘System.Glib.UTFString’ ...plus one instance involving out-of-scope types (use -fprint-potential-instances to see them all) • In the first argument of ‘(:=)’, namely ‘widgetTooltipText’ In the expression: widgetTooltipText := Nothing In the second argument of ‘set’, namely ‘[widgetTooltipText := Nothing, widgetSensitive := True]’ cabal: Leaving directory '/tmp/cabal-tmp-7656/threadscope-0.2.4' cabal: Error: some packages failed to install: threadscope-0.2.4 failed during the building phase. The exception was: ExitFailure 1