1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
|
[470 of 574] Compiling Command.ImportFeed ( Command/ImportFeed.hs, dist/build/git-annex/git-annex-tmp/Command/ImportFeed.dyn_o )
Command/ImportFeed.hs:139:61: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: URLString
Actual type: Text.Atom.Feed.URI
• In the first argument of ‘Enclosure’, namely ‘enclosureurl’
In the second argument of ‘($)’, namely ‘Enclosure enclosureurl’
In the second argument of ‘($)’, namely
‘ToDownload f u i $ Enclosure enclosureurl’
|
139 | Just $ ToDownload f u i $ Enclosure enclosureurl
| ^^^^^^^^^^^^
Command/ImportFeed.hs:142:49: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: URLString
Actual type: Data.Text.Internal.Text
• In the first argument of ‘quviSupported’, namely ‘link’
In the first argument of ‘ifM’, namely ‘(quviSupported link)’
In the expression:
ifM
(quviSupported link)
(return $ Just $ ToDownload f u i $ QuviLink link, return Nothing)
|
142 | Just link -> ifM (quviSupported link)
| ^^^^
Command/ImportFeed.hs:143:71: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: URLString
Actual type: Data.Text.Internal.Text
• In the first argument of ‘QuviLink’, namely ‘link’
In the second argument of ‘($)’, namely ‘QuviLink link’
In the second argument of ‘($)’, namely
‘ToDownload f u i $ QuviLink link’
|
143 | ( return $ Just $ ToDownload f u i $ QuviLink link
| ^^^^
Command/ImportFeed.hs:214:54: error:
• Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’
Expected type: S.Set Data.Text.Internal.Text
Actual type: S.Set ItemId
• In the second argument of ‘S.member’, namely ‘(knownitems cache)’
In the expression: S.member itemid (knownitems cache)
In a case alternative:
Just (_, itemid) -> S.member itemid (knownitems cache)
|
214 | Just (_, itemid) -> S.member itemid (knownitems cache)
| ^^^^^^^^^^^^^^^^
Command/ImportFeed.hs:279:42: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe [Char]
Actual type: Maybe Text.RSS.Syntax.DateString
• In the second argument of ‘(<$>)’, namely
‘getItemPublishDateString itm’
In the expression: replace "/" "-" <$> getItemPublishDateString itm
In a case alternative:
_ -> replace "/" "-" <$> getItemPublishDateString itm
|
279 | _ -> replace "/" "-" <$> getItemPublishDateString itm
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Command/ImportFeed.hs:293:44: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: String
Actual type: Data.Text.Internal.Text
• In the first argument of ‘toMetaValue’, namely ‘itemid’
In the second argument of ‘($)’, namely ‘toMetaValue itemid’
In the second argument of ‘M.singleton’, namely
‘(S.singleton $ toMetaValue itemid)’
|
293 | (S.singleton $ toMetaValue itemid)
| ^^^^^^
Command/ImportFeed.hs:299:26: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: feedtitle
In the expression: [feedtitle]
In the expression: ("feedtitle", [feedtitle])
|
299 | [ ("feedtitle", [feedtitle])
| ^^^^^^^^^
Command/ImportFeed.hs:300:26: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: itemtitle
In the expression: [itemtitle]
In the expression: ("itemtitle", [itemtitle])
|
300 | , ("itemtitle", [itemtitle])
| ^^^^^^^^^
Command/ImportFeed.hs:301:27: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: feedauthor
In the expression: [feedauthor]
In the expression: ("feedauthor", [feedauthor])
|
301 | , ("feedauthor", [feedauthor])
| ^^^^^^^^^^
Command/ImportFeed.hs:302:27: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: itemauthor
In the expression: [itemauthor]
In the expression: ("itemauthor", [itemauthor])
|
302 | , ("itemauthor", [itemauthor])
| ^^^^^^^^^^
Command/ImportFeed.hs:303:28: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: getItemSummary $ item i
In the expression: [getItemSummary $ item i]
In the expression: ("itemsummary", [getItemSummary $ item i])
|
303 | , ("itemsummary", [getItemSummary $ item i])
| ^^^^^^^^^^^^^^^^^^^^^^^
Command/ImportFeed.hs:304:32: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: getItemDescription $ item i
In the expression: [getItemDescription $ item i]
In the expression:
("itemdescription", [getItemDescription $ item i])
|
304 | , ("itemdescription", [getItemDescription $ item i])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Command/ImportFeed.hs:305:27: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: getItemRights $ item i
In the expression: [getItemRights $ item i]
In the expression: ("itemrights", [getItemRights $ item i])
|
305 | , ("itemrights", [getItemRights $ item i])
| ^^^^^^^^^^^^^^^^^^^^^^
Command/ImportFeed.hs:306:23: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: snd <$> getItemId (item i)
In the expression: [snd <$> getItemId (item i)]
In the expression: ("itemid", [snd <$> getItemId (item i)])
|
306 | , ("itemid", [snd <$> getItemId (item i)])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Command/ImportFeed.hs:307:22: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: itemtitle
In the expression: [itemtitle, feedtitle]
In the expression: ("title", [itemtitle, feedtitle])
|
307 | , ("title", [itemtitle, feedtitle])
| ^^^^^^^^^
Command/ImportFeed.hs:307:33: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: feedtitle
In the expression: [itemtitle, feedtitle]
In the expression: ("title", [itemtitle, feedtitle])
|
307 | , ("title", [itemtitle, feedtitle])
| ^^^^^^^^^
Command/ImportFeed.hs:308:23: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: itemauthor
In the expression: [itemauthor, feedauthor]
In the expression: ("author", [itemauthor, feedauthor])
|
308 | , ("author", [itemauthor, feedauthor])
| ^^^^^^^^^^
Command/ImportFeed.hs:308:35: error:
• Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
Expected type: Maybe String
Actual type: Maybe Data.Text.Internal.Text
• In the expression: feedauthor
In the expression: [itemauthor, feedauthor]
In the expression: ("author", [itemauthor, feedauthor])
|
308 | , ("author", [itemauthor, feedauthor])
| ^^^^^^^^^^
|