alphaHeavy / protobuf

An implementation of Google's Protocol Buffers in Haskell.
http://hackage.haskell.org/package/protobuf
BSD 3-Clause "New" or "Revised" License
95 stars 18 forks source link

Test suite fails to build on stackage nightly #34

Closed mihaimaruseac closed 6 years ago

mihaimaruseac commented 7 years ago

Log:

Building test suite 'protobuf-test' for protobuf-0.2.1.1..
[1 of 1] Compiling Main             ( tests/Main.hs, dist/build/protobuf-test/protobuf-test-tmp/Main.o )

tests/Main.hs:67:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
67 |   , testCase "Google Reference Test1" test1
   |     ^^^^^^^^

tests/Main.hs:68:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
68 |   , testCase "Google Reference Test2" test2
   |     ^^^^^^^^

tests/Main.hs:69:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
69 |   , testCase "Google Reference Test3" test3
   |     ^^^^^^^^

tests/Main.hs:70:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
70 |   , testCase "Google Reference Test4" test4
   |     ^^^^^^^^

tests/Main.hs:71:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
71 |   , testCase "Packed empty fields" test4_empty
   |     ^^^^^^^^

tests/Main.hs:72:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
72 |   , testCase "Optional Enum Test5: Nothing" test5
   |     ^^^^^^^^

tests/Main.hs:73:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
73 |   , testCase "Optional Enum Test5: Just Test5A" test6
   |     ^^^^^^^^

tests/Main.hs:74:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
74 |   , testCase "Optional Enum Test5: Just Test5B" test7
   |     ^^^^^^^^

tests/Main.hs:75:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
75 |   , testCase "Repeated Enum Test6: []" test8
   |     ^^^^^^^^
tests/Main.hs:76:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
76 |   , testCase "Repeated Enum Test6: [Test6A]" test9
   |     ^^^^^^^^

tests/Main.hs:77:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
77 |   , testCase "Repeated Enum Test6: [Test6A, Test6B]" test10
   |     ^^^^^^^^

tests/Main.hs:78:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
78 |   , testCase "Repeated Enum Test6: [Test6A, Test6A]" test11
   |     ^^^^^^^^

tests/Main.hs:79:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
79 |   , testCase "Repeated Enum Test6: [Test6A, Test6B, Test6A]" test12
   |     ^^^^^^^^

tests/Main.hs:80:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
80 |   , testCase "Repeated Enum Test7: []" test13
   |     ^^^^^^^^

tests/Main.hs:81:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
81 |   , testCase "Repeated Enum Test7: [Test7]" test14
   |     ^^^^^^^^

tests/Main.hs:82:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
82 |   , testCase "Repeated Enum Test7: [Test7, Test7]" test15
   |     ^^^^^^^^

tests/Main.hs:83:5: error:
    Ambiguous occurrence ‘testCase’
    It could refer to either ‘Test.QuickCheck.Property.testCase’,
                             imported from ‘Test.QuickCheck.Property’ at tests/Main.hs:16:1-31
                          or ‘Test.Tasty.HUnit.testCase’,
                             imported from ‘Test.Tasty.HUnit’ at tests/Main.hs:18:1-23
   |
83 |   , testCase "Google WireFormatTest ZigZag" wireFormatZZ
   |     ^^^^^^^^
NathanHowell commented 6 years ago

This is fixed