onfiguring library for hs-speedscope-0.1.0.0.. Preprocessing library for hs-speedscope-0.1.0.0.. Building library for hs-speedscope-0.1.0.0.. [1 of 2] Compiling Paths_hs_speedscope ( dist/build/autogen/Paths_hs_speedscope.hs, dist/build/Paths_hs_speedscope.o, dist/build/Paths_hs_speedscope.dyn_o ) [2 of 2] Compiling HsSpeedscope ( src/HsSpeedscope.hs, dist/build/HsSpeedscope.o, dist/build/HsSpeedscope.dyn_o ) src/HsSpeedscope.hs:76:58: error: • Couldn't match type ‘Text’ with ‘[Char]’ Expected type: Maybe String Actual type: Maybe Text • In the ‘prog_name’ field of a record In the expression: el {prog_name = Just pname} In a case alternative: ProgramArgs _ (pname : _args) -> el {prog_name = Just pname} | 76 | ProgramArgs _ (pname: _args) -> el { prog_name = Just pname } | ^^^^^^^^^^ src/HsSpeedscope.hs:77:68: error: • Couldn't match type ‘Text’ with ‘[Char]’ Expected type: String Actual type: Text • In the first argument of ‘parseIdent’, namely ‘rts_ident’ In the ‘rts_version’ field of a record In the expression: el {rts_version = parseIdent rts_ident} | 77 | RtsIdentifier _ rts_ident -> el { rts_version = parseIdent rts_ident } | ^^^^^^^^^ cabal: Failed to build hs-speedscope-0.1.0.0 (which is required by exe:hs-speedscope from hs-speedscope-0.1.0.0). See the build log above for details.