Parallelize #1960
Open
Parallelize #1960
IOG Hydra / ci/hydra-build:x86_64-linux.checks.hlint
failed
Apr 30, 2025 in 14s
Build failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/dg9w7dqbqa5ra1sgpjhgyrhhznb4rqih-hlint-check.drv
Log
cardano-db-sync/src/Cardano/DbSync/Block.hs:1:1-29: Warning: Unused LANGUAGE pragma
Found:
{-# LANGUAGE BangPatterns #-}
Perhaps you should remove it.
cardano-db-sync/src/Cardano/DbSync/Era/Universal/Insert/Grouped.hs:4:1-30: Warning: Unused LANGUAGE pragma
Found:
{-# LANGUAGE TupleSections #-}
Perhaps you should remove it.
cardano-db-sync/src/Cardano/DbSync/Ledger/Async.hs:71:15-54: Error: Use readTVarIO
Found:
atomically $ readTVar $ rewardsResult rc
Perhaps:
readTVarIO (rewardsResult rc)
cardano-db-sync/src/Cardano/DbSync/Threads/Promise.hs:16:16: Error: Parse error: possibly incorrect indentation or mismatched brackets
Found:
import Database.Persist.Postgresql (IsolationLevel (..), runSqlConnWithIsolation, withPostgresqlConn)
> data Promise =
cardano-db-sync/src/Cardano/DbSync/Threads/TxInResolve.hs:4:1-33: Warning: Unused LANGUAGE pragma
Found:
{-# LANGUAGE TypeApplications #-}
Perhaps you should remove it.
5 hints
=====================================================================
Note: to ignore a particular hint (e.g. "Reduce duplication"), write
this in the source file:
{-# ANN module ("HLint: ignore Reduce duplication" :: Text) #-}
You can also apply it just to a particular function, which is better:
{-# ANN funcName ("HLint: ignore Reduce duplication" :: Text) #-}
Loading