Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite failure for package iproute-1.7.10 #55

Open
juhp opened this issue Feb 22, 2021 · 1 comment
Open

Test suite failure for package iproute-1.7.10 #55

juhp opened this issue Feb 22, 2021 · 1 comment

Comments

@juhp
Copy link

juhp commented Feb 22, 2021

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
@juhp
Copy link
Author

juhp commented Feb 22, 2021

Above is FYI - unfortunately there are also Stackage doctest deps issues which not be resolved easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant