Build #3 for dobutokO2-0.3.0.0

[all reports]

Package dobutokO2-0.3.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2020-03-07 03:28:56.176320577 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies base-4.12.0.0, directory-1.3.3.0, mmsyn3-0.1.4.0, mmsyn7s-0.6.5.1, mmsyn7ukr-0.15.3.0, process-1.6.3.0, vector-0.12.1.2, base-4.12.0.0, directory-1.3.3.0, mmsyn3-0.1.4.0, mmsyn7s-0.6.5.1, mmsyn7ukr-0.15.3.0, process-1.6.3.0, vector-0.12.1.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Warning: The install command is a part of the legacy v1 style of cabal usage.

Please switch to using either the new project style and the new-install
command or the legacy v1-install alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Starting     mmsyn3-0.1.4.0
Starting     mmsyn5-0.4.3.0
Starting     primitive-0.7.0.1
Building     mmsyn5-0.4.3.0
Building     mmsyn3-0.1.4.0
Building     primitive-0.7.0.1
Completed    mmsyn5-0.4.3.0
Completed    mmsyn3-0.1.4.0
Completed    primitive-0.7.0.1
Starting     vector-0.12.1.2
Building     vector-0.12.1.2
Completed    vector-0.12.1.2
Starting     mmsyn2-0.1.7.0
Building     mmsyn2-0.1.7.0
Completed    mmsyn2-0.1.7.0
Starting     mmsyn6ukr-0.6.3.1
Building     mmsyn6ukr-0.6.3.1
Completed    mmsyn6ukr-0.6.3.1
Starting     mmsyn7s-0.6.5.1
Starting     mmsyn7ukr-0.15.3.0
Building     mmsyn7s-0.6.5.1
Building     mmsyn7ukr-0.15.3.0
Completed    mmsyn7s-0.6.5.1
Completed    mmsyn7ukr-0.15.3.0
Starting     dobutokO2-0.3.0.0
Building     dobutokO2-0.3.0.0
Failed to install dobutokO2-0.3.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/dobutokO2-0.3.0.0-FSULQ2lE8UF7MUEvyNNQcK.log ):
cabal: Entering directory '/tmp/cabal-tmp-24593/dobutokO2-0.3.0.0'
Configuring dobutokO2-0.3.0.0...
Preprocessing executable 'dobutokO2' for dobutokO2-0.3.0.0..
Building executable 'dobutokO2' for dobutokO2-0.3.0.0..

<no location info>: warning: [-Wmissing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules: 
        DobutokO.Sound
[1 of 2] Compiling DobutokO.Sound   ( DobutokO/Sound.hs, dist/build/dobutokO2/dobutokO2-tmp/DobutokO/Sound.o )

DobutokO/Sound.hs:430:31: error:
    • Ambiguous type variable ‘a0’ arising from a use of ‘rem’
      prevents the constraint ‘(Integral a0)’ from being solved.
      Relevant bindings include
        ceilP :: a0 (bound at DobutokO/Sound.hs:430:20)
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance Integral Integer -- Defined in ‘GHC.Real’
        instance Integral Int -- Defined in ‘GHC.Real’
        instance Integral Word -- Defined in ‘GHC.Real’
        ...plus one instance involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the expression: truncate time1 `rem` 4
      In an equation for ‘ceilP’: ceilP = truncate time1 `rem` 4
      In the expression:
        let
          mantissa = time1 - (fromIntegral . truncate $ time1)
          ceilP = truncate time1 `rem` 4
        in
          if ceilP == 0 then
              return ("0." ++ (showFFloat (Just 4) mantissa $ show 0))
          else
              return
                $ (showFFloat (Just 4) ceilP $ show 0)
                    ++ "." ++ (showFFloat (Just 4) mantissa $ show 0)
    |
430 |                    ceilP    = truncate time1 `rem` 4 in
    |                               ^^^^^^^^^^^^^^^^^^^^^^

DobutokO/Sound.hs:430:52: error:
    • Ambiguous type variable ‘a0’ arising from the literal ‘4’
      prevents the constraint ‘(Num a0)’ from being solved.
      Relevant bindings include
        ceilP :: a0 (bound at DobutokO/Sound.hs:430:20)
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance Num Integer -- Defined in ‘GHC.Num’
        instance Num Double -- Defined in ‘GHC.Float’
        instance Num Float -- Defined in ‘GHC.Float’
        ...plus two others
        ...plus two instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the second argument of ‘rem’, namely ‘4’
      In the expression: truncate time1 `rem` 4
      In an equation for ‘ceilP’: ceilP = truncate time1 `rem` 4
    |
430 |                    ceilP    = truncate time1 `rem` 4 in
    |                                                    ^

DobutokO/Sound.hs:431:19: error:
    • Ambiguous type variable ‘a0’ arising from a use of ‘==’
      prevents the constraint ‘(Eq a0)’ from being solved.
      Relevant bindings include
        ceilP :: a0 (bound at DobutokO/Sound.hs:430:20)
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance Eq Ordering -- Defined in ‘ghc-prim-0.5.3:GHC.Classes’
        instance Eq Integer
          -- Defined in ‘integer-gmp-1.0.2.0:GHC.Integer.Type’
        instance Eq UZP -- Defined in ‘MMSyn7.Syllable’
        ...plus 24 others
        ...plus 21 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the expression: ceilP == 0
      In the expression:
        if ceilP == 0 then
            return ("0." ++ (showFFloat (Just 4) mantissa $ show 0))
        else
            return
              $ (showFFloat (Just 4) ceilP $ show 0)
                  ++ "." ++ (showFFloat (Just 4) mantissa $ show 0)
      In the expression:
        let
          mantissa = time1 - (fromIntegral . truncate $ time1)
          ceilP = truncate time1 `rem` 4
        in
          if ceilP == 0 then
              return ("0." ++ (showFFloat (Just 4) mantissa $ show 0))
          else
              return
                $ (showFFloat (Just 4) ceilP $ show 0)
                    ++ "." ++ (showFFloat (Just 4) mantissa $ show 0)
    |
431 |                if ceilP == 0 then return ("0." ++ (showFFloat (Just 4) mantissa $ show 0))
    |                   ^^^^^^^^^^

DobutokO/Sound.hs:431:28: error:
    • Ambiguous type variable ‘a0’ arising from the literal ‘0’
      prevents the constraint ‘(Num a0)’ from being solved.
      Relevant bindings include
        ceilP :: a0 (bound at DobutokO/Sound.hs:430:20)
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance Num Integer -- Defined in ‘GHC.Num’
        instance Num Double -- Defined in ‘GHC.Float’
        instance Num Float -- Defined in ‘GHC.Float’
        ...plus two others
        ...plus two instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the second argument of ‘(==)’, namely ‘0’
      In the expression: ceilP == 0
      In the expression:
        if ceilP == 0 then
            return ("0." ++ (showFFloat (Just 4) mantissa $ show 0))
        else
            return
              $ (showFFloat (Just 4) ceilP $ show 0)
                  ++ "." ++ (showFFloat (Just 4) mantissa $ show 0)
    |
431 |                if ceilP == 0 then return ("0." ++ (showFFloat (Just 4) mantissa $ show 0))
    |                            ^

DobutokO/Sound.hs:432:31: error:
    • Ambiguous type variable ‘a0’ arising from a use of ‘showFFloat’
      prevents the constraint ‘(RealFloat a0)’ from being solved.
      Relevant bindings include
        ceilP :: a0 (bound at DobutokO/Sound.hs:430:20)
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance RealFloat Double -- Defined in ‘GHC.Float’
        instance RealFloat Float -- Defined in ‘GHC.Float’
    • In the expression: showFFloat (Just 4) ceilP
      In the first argument of ‘(++)’, namely
        ‘(showFFloat (Just 4) ceilP $ show 0)’
      In the second argument of ‘($)’, namely
        ‘(showFFloat (Just 4) ceilP $ show 0)
           ++ "." ++ (showFFloat (Just 4) mantissa $ show 0)’
    |
432 |                else return $ (showFFloat (Just 4) ceilP $ show 0) ++ "." ++ (showFFloat (Just 4) mantissa $ show 0)) (do
    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-24593/dobutokO2-0.3.0.0'
cabal: Error: some packages failed to install:
dobutokO2-0.3.0.0-FSULQ2lE8UF7MUEvyNNQcK failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.