UTxO-HD targeting main #6068
Open
UTxO-HD targeting main #6068
IOG Hydra / ci/hydra-build:x86_64-linux.nonrequired
failed
Feb 10, 2025 in 0s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/p1bnqncnp6n52i50axqr0jxbpvh79l7r-hlint-check.drv
Log
cardano-node/src/Cardano/Node/Run.hs:2:1-32: Warning: Unused LANGUAGE pragma
Found:
{-# LANGUAGE PatternSynonyms #-}
Perhaps you should remove it.
cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs:1580:39-72: Warning: Redundant bracket
Found:
(LedgerDB.TraceForkerEventWithKey)
Perhaps:
LedgerDB.TraceForkerEventWithKey
cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs:1582:39-72: Warning: Redundant bracket
Found:
(LedgerDB.FlavorImplSpecificTrace)
Perhaps:
LedgerDB.FlavorImplSpecificTrace
cardano-node/src/Cardano/Tracing/OrphanInstances/Consensus.hs:24:1-46: Warning: Use fewer imports
Found:
import Ouroboros.Network.Block ( MaxSlotNo(..) )
import Ouroboros.Network.Block
( BlockNo(..),
ChainUpdate(..),
SlotNo(..),
StandardHash,
Tip(..),
blockHash,
pointSlot,
tipFromHeader )
Perhaps:
import Ouroboros.Network.Block
( MaxSlotNo(..),
BlockNo(..),
ChainUpdate(..),
SlotNo(..),
StandardHash,
Tip(..),
blockHash,
pointSlot,
tipFromHeader )
4 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