Skip to content

WIP: all-profiles.json

fc69ed3
Select commit
Loading
Failed to load commit list.
Draft

Bench/genesis #6544

WIP: all-profiles.json
fc69ed3
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-linux.native.checks/hlint failed May 26, 2026 in 1m 18s

Build failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/1wglm84a2dalp9k7p3jcz20vi7hdaisg-hlint-check.drv

Log

bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs:298:24-44: Warning: Use fromMaybe
Found:
  maybe KeyMap.empty id
Perhaps:
  Data.Maybe.fromMaybe KeyMap.empty

bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs:333:24-44: Warning: Use fromMaybe
Found:
  maybe KeyMap.empty id
Perhaps:
  Data.Maybe.fromMaybe KeyMap.empty

bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs:363:24-44: Warning: Use fromMaybe
Found:
  maybe KeyMap.empty id
Perhaps:
  Data.Maybe.fromMaybe KeyMap.empty

bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs:382:12-32: Suggestion: Use tuple-section
Found:
  \ v -> ("PlutusV1", v)
Perhaps:
  ("PlutusV1",)
Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file

bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs:383:12-32: Suggestion: Use tuple-section
Found:
  \ v -> ("PlutusV2", v)
Perhaps:
  ("PlutusV2",)
Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file

bench/cardano-profile/src/Cardano/Benchmarking/Profile.hs:384:12-32: Suggestion: Use tuple-section
Found:
  \ v -> ("PlutusV3", v)
Perhaps:
  ("PlutusV3",)
Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file

6 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) #-}