iproute
iproute copied to clipboard
Test suite failure for package iproute-1.7.10
In the Stackage Nightly build:
./Data/IP/RouteTable/Internal.hs:102: failure in expression `(empty :: IPRTable IPv4 ()) == fromList []' [94/192286]
expected: True
but got:
^
<interactive>:23:11: error:
Not in scope: type constructor or class ‘IPRTable’
./Data/IP/RouteTable/Internal.hs:139: failure in expression `(insert ("127.0.0.1" :: AddrRange IPv4) () empty) == fromList [("12
7.0.0.1",())]'
expected: True
but got:
^
<interactive>:29:2: error:
Variable not in scope: insert :: AddrRange IPv4 -> () -> t0 -> a0
<interactive>:29:44: error:
• Variable not in scope: empty
• Perhaps you meant ‘mempty’ (imported from Prelude)
<interactive>:29:54: error:
Variable not in scope: fromList :: [(a1, ())] -> a0
./Data/IP/RouteTable/Internal.hs:189: failure in expression `delete "127.0.0.1" (insert "127.0.0.1" () empty) == (empty :: IPRTa
ble IPv4 ())'
expected: True
but got:
^
<interactive>:35:63: error:
Not in scope: type constructor or class ‘IPRTable’
./Data/IP/RouteTable/Internal.hs:215: failure in expression `let rt = fromList $ zip v4 v4'
expected:
but got:
^
<interactive>:43:10: error:
Variable not in scope:
fromList :: [(AddrRange IPv4, AddrRange IPv4)] -> t
./Data/IP/RouteTable/Internal.hs:238: failure in expression `let rt = fromList ([("192.168.0.0/24", 1), ("10.10.0.0/16", 2)] ::
[(AddrRange IPv4, Int)])'
expected:
but got:
^ [52/192286]
<interactive>:51:10: error:
Variable not in scope: fromList :: [(AddrRange IPv4, Int)] -> t
./Data/IP/RouteTable/Internal.hs:274: failure in expression `let rt = fromList ([("192.168.0.0/24", 1), ("10.10.0.0/16", 2), ("1
0.0.0.0/8", 3)] :: [(AddrRange IPv4, Int)])'
expected:
but got:
^
<interactive>:59:10: error:
Variable not in scope: fromList :: [(AddrRange IPv4, Int)] -> t
./Data/IP/RouteTable/Internal.hs:305: failure in expression `let rt = fromList $ zip v4 $ repeat ()'
expected:
but got:
^
<interactive>:67:10: error:
Variable not in scope: fromList :: [(AddrRange IPv4, ())] -> t
Examples: 73 Tried: 60 Errors: 0 Failures: 7
Above is FYI - unfortunately there are also Stackage doctest deps issues which not be resolved easily.