Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The error messages changed, but this should convey the idea. This may be related to haskell/aeson#1059 The commit history is still very messy, but in any event: src/Cardano/Report.hs:341:30: error: • Could not deduce (ToJSON (CDFList f1 (DataDomain I SlotNo))) arising from a use of ‘renderAnalysisCDFs’ from the context: (&) KnownCDF ToJSON1 f bound by a pattern with constructor: SomeSummary :: forall (cls :: (* -> *) -> Constraint) (f :: * -> *). cls f => Summary f -> SomeSummary cls, in an equation for ‘generate'’ at src/Cardano/Report.hs:279:21-51 or from: KnownCDF f1 bound by a pattern with constructor: SomeBlockProp :: forall (f :: * -> *). KnownCDF f => BlockProp f -> SomeBlockProp, in an equation for ‘generate'’ at src/Cardano/Report.hs:279:65-99 • In the expression: renderAnalysisCDFs anchor (dFields bpFieldsControl) OfInterCDF Nothing renderConfig bp In an equation for ‘anomalyRendering’: anomalyRendering anchor = renderAnalysisCDFs anchor (dFields bpFieldsControl) OfInterCDF Nothing renderConfig bp In an equation for ‘generate'’: generate' baseline@(SomeSummary (summ :: Summary f), cp :: cpt, SomeBlockProp (bp :: BlockProp bpt)) rest = do ctx <- getReport metas (last restTmpls & trManifest & getComponent "cardano-node" & ciVersion) time <- getCurrentTime _ <- pure $ mkTmplEnv ctx (liftTmplRun summ) $ fmap ((\ (SomeSummary ss) -> liftTmplRun ss) . fst3) rest .... where resourceText = unlines resourceLines anomalyText = unlines anomalyLines forgingText = unlines forgingLines peersText = unlines peersLines .... | 341 | anomalyRendering anchor = renderAnalysisCDFs anchor (dFields bpFieldsControl) OfInterCDF Nothing renderConfig bp | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Cardano/Report.hs:341:30: error: • Could not deduce (ToJSON (f1 a)) arising from a use of ‘renderAnalysisCDFs’ from the context: (&) KnownCDF ToJSON1 f bound by a pattern with constructor: SomeSummary :: forall (cls :: (* -> *) -> Constraint) (f :: * -> *). cls f => Summary f -> SomeSummary cls, in an equation for ‘generate'’ at src/Cardano/Report.hs:279:21-51 or from: KnownCDF f1 bound by a pattern with constructor: SomeBlockProp :: forall (f :: * -> *). KnownCDF f => BlockProp f -> SomeBlockProp, in an equation for ‘generate'’ at src/Cardano/Report.hs:279:65-99 or from: ToJSON a bound by a quantified context at src/Cardano/Report.hs:1:1 • In the expression: renderAnalysisCDFs anchor (dFields bpFieldsControl) OfInterCDF Nothing renderConfig bp In an equation for ‘anomalyRendering’: anomalyRendering anchor = renderAnalysisCDFs anchor (dFields bpFieldsControl) OfInterCDF Nothing renderConfig bp In an equation for ‘generate'’: generate' baseline@(SomeSummary (summ :: Summary f), cp :: cpt, SomeBlockProp (bp :: BlockProp bpt)) rest = do ctx <- getReport metas (last restTmpls & trManifest & getComponent "cardano-node" & ciVersion) time <- getCurrentTime _ <- pure $ mkTmplEnv ctx (liftTmplRun summ) $ fmap ((\ (SomeSummary ss) -> liftTmplRun ss) . fst3) rest .... where resourceText = unlines resourceLines anomalyText = unlines anomalyLines forgingText = unlines forgingLines peersText = unlines peersLines .... | 341 | anomalyRendering anchor = renderAnalysisCDFs anchor (dFields bpFieldsControl) OfInterCDF Nothing renderConfig bp | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: cabal: Failed to build locli-1.34 (which is required by exe:locli from locli-1.34).
- Loading branch information