haskell / haskell-ide-engine

The engine for haskell ide-integration. Not an IDE
BSD 3-Clause "New" or "Revised" License
2.38k stars 211 forks source link

Bump resolvers, hlint, brittany #1622

Closed alanz closed 4 years ago

alanz commented 4 years ago

cabal now index state 2020-01-31T21:11:24Z GHC 8.8.2 is nightly-2020-01-31 GHC 8.6.5 is lts-14.22

hlint is 2.2.9 brittany is 0.12.1.1

alanz commented 4 years ago

@jneira I had to flush the cache on CircleCI for this to pass. Could the azure failures be something like that?

jneira commented 4 years ago

Mmm some linux failed with

Failures:

  test/dispatcher/Main.hs:297:7: 
  1) functional dispatch instantly responds to failed modules with no cache with the default
       expected: ("req7",Just [])
        but got: ("req8",Nothing)

  To rerun use: --match "/functional dispatch/instantly responds to failed modules with no cache with the default/"

Randomized with seed 429502550

i think i saw that error before, i've just rerun the failing jobs to see if it is transient

jneira commented 4 years ago

Linux errors are gone, only left:

i would try both locally

jneira commented 4 years ago

cabal-hie-install latest was my fault fix in #1627

alanz commented 4 years ago

Ok. Heads up, I am rebasing this PR on the hie-bios update one, and some things are changing. We will see how it ends up.

Aside, I had to blow away my cabal store and rebuild it, to get rid of weird errors about diamond deps.

jneira commented 4 years ago

Now, builds with ghc-8.4.3 are failing with:

warp                             > [21 of 39] Compiling Network.Wai.Handler.Warp.Recv
warp                             > 
warp                             > /tmp/stack6092/warp-3.2.25/Network/Wai/Handler/Warp/Recv.hs:96:34: error:
warp                             >     • Couldn't match expected type ‘CInt’ with actual type ‘IO CInt’
warp                             >     • In the first argument of ‘receiveloop’, namely ‘sock'’
warp                             >       In the second argument of ‘(<$>)’, namely
warp                             >         ‘receiveloop sock' ptr size'’
warp                             >       In a stmt of a 'do' block:
warp                             >         fromIntegral <$> receiveloop sock' ptr size'
warp                             >    |
warp                             > 96 |     fromIntegral <$> receiveloop sock' ptr size'
warp                             >    |                                  ^^^^^
warp                             > 
warp                             > /tmp/stack6092/warp-3.2.25/Network/Wai/Handler/Warp/Recv.hs:103:43: error:
warp                             >     • Couldn't match expected type ‘CInt’ with actual type ‘IO CInt’
warp                             >     • In the first argument of ‘receiveloop’, namely ‘fd’
warp                             >       In the second argument of ‘(<$>)’, namely
warp                             >         ‘receiveloop fd buf (fromIntegral siz)’
warp                             >       In a stmt of a 'do' block:
warp                             >         n <- fromIntegral <$> receiveloop fd buf (fromIntegral siz)
warp                             >     |
warp                             > 103 |         n <- fromIntegral <$> receiveloop fd buf (fromIntegral siz)
warp                             >     |                              
jneira commented 4 years ago

I am working to fix ghc-8.4.3 builds

jneira commented 4 years ago

There is a failing unit test but ,as @fendor as noted , it was introduced by #1261 so i think we can merge this.

alanz commented 4 years ago

@jneira thanks