Build Information
Successful build of html-to-markdown-swift, reference 0.9.0 (a200a4), with Swift 6.2 for macOS (SPM) on 5 Mar 2026 04:48:28 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaredhowland/html-to-markdown-swift.git
Reference: 0.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaredhowland/html-to-markdown-swift
* tag 0.9.0 -> FETCH_HEAD
HEAD is now at a200a4a chore: adjust release number
Cloned https://github.com/jaredhowland/html-to-markdown-swift.git
Revision (git rev-parse @):
a200a4a97ac329429653d5aa4b52049cd9a6d92f
SUCCESS checkout https://github.com/jaredhowland/html-to-markdown-swift.git at 0.9.0
Fetching https://github.com/scinfu/SwiftSoup.git
[1/5775] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.36s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.11.3 (1.94s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/1820] Fetching swift-atomics
[74/2180] Fetching swift-atomics, lrucache
Fetched https://github.com/apple/swift-atomics.git from cache (1.02s)
Fetched https://github.com/nicklockwood/LRUCache.git from cache (1.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.59s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.2.1 (0.64s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.2.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.11.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "html-to-markdown-swift",
"name": "html-to-markdown-swift",
"url": "https://github.com/jaredhowland/html-to-markdown-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/html-to-markdown-swift",
"dependencies": [
{
"identity": "swiftsoup",
"name": "SwiftSoup",
"url": "https://github.com/scinfu/SwiftSoup.git",
"version": "2.11.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSoup",
"dependencies": [
{
"identity": "lrucache",
"name": "LRUCache",
"url": "https://github.com/nicklockwood/LRUCache.git",
"version": "1.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LRUCache",
"dependencies": [
]
},
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/jaredhowland/html-to-markdown-swift.git
[1/1025] Fetching html-to-markdown-swift
Fetched https://github.com/jaredhowland/html-to-markdown-swift.git from cache (0.93s)
Fetching https://github.com/scinfu/SwiftSoup.git from cache
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.51s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.11.3 (0.57s)
Fetching https://github.com/nicklockwood/LRUCache.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.46s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.52s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.2.1 (0.03s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.11.3
Creating working copy for https://github.com/jaredhowland/html-to-markdown-swift.git
Working copy of https://github.com/jaredhowland/html-to-markdown-swift.git resolved at 0.9.0 (a200a4a)
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.2.1
warning: '.resolve-product-dependencies': dependency 'html-to-markdown-swift' is not used by any target
Found 1 product dependencies
- SwiftSoup
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jaredhowland/html-to-markdown-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-49B95AFC49DCD68C.txt
[5/8] Compiling _AtomicsShims.c
[7/27] Compiling Atomics ManagedAtomicLazyReference.swift
[8/27] Compiling Atomics UnsafeAtomic.swift
[9/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[10/27] Compiling Atomics IntegerOperations.swift
[11/28] Compiling Atomics AtomicValue.swift
[12/28] Compiling Atomics AtomicMemoryOrderings.swift
[13/28] Compiling Atomics DoubleWord.swift
[14/28] Compiling Atomics ManagedAtomic.swift
[15/28] Compiling Atomics AtomicReference.swift
[16/28] Compiling Atomics AtomicStorage.swift
[17/28] Compiling Atomics PointerConformances.swift
[18/28] Compiling Atomics Primitives.native.swift
[19/28] Compiling Atomics AtomicInteger.swift
[20/28] Compiling Atomics AtomicOptionalWrappable.swift
[21/28] Compiling Atomics Unmanaged extensions.swift
[22/28] Emitting module Atomics
[23/28] Compiling Atomics OptionalRawRepresentable.swift
[24/28] Compiling Atomics RawRepresentable.swift
[25/28] Compiling Atomics AtomicBool.swift
[26/28] Compiling Atomics IntegerConformances.swift
[27/28] Compiling LRUCache LRUCache.swift
[28/28] Emitting module LRUCache
[29/78] Compiling SwiftSoup NodeTraversor.swift
[30/78] Compiling SwiftSoup NodeVisitor.swift
[31/78] Compiling SwiftSoup OrderedSet.swift
[32/78] Compiling SwiftSoup ParseError.swift
[33/78] Compiling SwiftSoup ParseErrorList.swift
[34/83] Compiling SwiftSoup StructuralEvaluator.swift
[35/83] Compiling SwiftSoup SwiftSoup.swift
[36/83] Compiling SwiftSoup Tag.swift
[37/83] Compiling SwiftSoup TextNode.swift
[38/83] Compiling SwiftSoup Token.swift
[39/83] Emitting module SwiftSoup
[40/83] Compiling SwiftSoup QueryParserCache.swift
[41/83] Compiling SwiftSoup StreamReader.swift
[42/83] Compiling SwiftSoup String.swift
[43/83] Compiling SwiftSoup StringBuilder.swift
[44/83] Compiling SwiftSoup StringUtil.swift
[45/83] Compiling SwiftSoup UnicodeScalar.swift
[46/83] Compiling SwiftSoup Validate.swift
[47/83] Compiling SwiftSoup Whitelist.swift
[48/83] Compiling SwiftSoup XmlDeclaration.swift
[49/83] Compiling SwiftSoup XmlTreeBuilder.swift
[50/83] Compiling SwiftSoup Attribute.swift
[51/83] Compiling SwiftSoup Attributes.swift
[52/83] Compiling SwiftSoup BinarySearch.swift
[53/83] Compiling SwiftSoup BooleanAttribute.swift
[54/83] Compiling SwiftSoup CharacterExt.swift
[55/83] Compiling SwiftSoup CharacterReader.swift
[56/83] Compiling SwiftSoup TokenQueue.swift
[57/83] Compiling SwiftSoup Tokeniser.swift
[58/83] Compiling SwiftSoup TokeniserState.swift
[59/83] Compiling SwiftSoup TreeBuilder.swift
[60/83] Compiling SwiftSoup UTF8Arrays.swift
[61/83] Compiling SwiftSoup Cleaner.swift
[62/83] Compiling SwiftSoup Collector.swift
[63/83] Compiling SwiftSoup CombiningEvaluator.swift
[64/83] Compiling SwiftSoup Comment.swift
[65/83] Compiling SwiftSoup CssSelector.swift
[66/83] Compiling SwiftSoup DataNode.swift
[67/83] Compiling SwiftSoup Document.swift
[68/83] Compiling SwiftSoup DocumentType.swift
[69/83] Compiling SwiftSoup Element.swift
[70/83] Compiling SwiftSoup Elements.swift
[71/83] Compiling SwiftSoup Entities.swift
[72/83] Compiling SwiftSoup Evaluator.swift
[73/83] Compiling SwiftSoup Exception.swift
[74/83] Compiling SwiftSoup FormElement.swift
[75/83] Compiling SwiftSoup HtmlTreeBuilder.swift
[76/83] Compiling SwiftSoup HtmlTreeBuilderState.swift
[77/83] Compiling SwiftSoup Mutex.swift
[78/83] Compiling SwiftSoup Node.swift
[79/83] Compiling SwiftSoup ParseSettings.swift
[80/83] Compiling SwiftSoup Parser.swift
[81/83] Compiling SwiftSoup ParsingStrings.swift
[82/83] Compiling SwiftSoup Pattern.swift
[83/83] Compiling SwiftSoup QueryParser.swift
[84/172] Compiling HTMLToMarkdown replacer.swift
[85/172] Compiling HTMLToMarkdown util.swift
[86/172] Compiling HTMLToMarkdown codefence.swift
[87/172] Compiling HTMLToMarkdown collapse_code.swift
[88/172] Compiling HTMLToMarkdown escape_multiline.swift
[89/172] Compiling HTMLToMarkdown prefix_lines.swift
[90/172] Compiling HTMLToMarkdown quote.swift
[91/172] Compiling HTMLToMarkdown surrounding_spaces.swift
[92/172] Compiling HTMLToMarkdown marker.swift
[93/172] Compiling HTMLToMarkdown atlassian.swift
[94/181] Compiling HTMLToMarkdown multimarkdown.swift
[95/181] Compiling HTMLToMarkdown pandoc.swift
[96/181] Compiling HTMLToMarkdown pandoc_render_definition_lists.swift
[97/181] Compiling HTMLToMarkdown pandoc_render_footnotes.swift
[98/181] Compiling HTMLToMarkdown pandoc_render_header_ids.swift
[99/181] Compiling HTMLToMarkdown pandoc_render_math.swift
[100/181] Compiling HTMLToMarkdown pandoc_render_sub_sup.swift
[101/181] Compiling HTMLToMarkdown referencelinks.swift
[102/181] Compiling HTMLToMarkdown referencelinks_render_images.swift
[103/181] Compiling HTMLToMarkdown markdownextra.swift
[104/181] Compiling HTMLToMarkdown me_render_abbreviations.swift
[105/181] Compiling HTMLToMarkdown me_render_definition_lists.swift
[106/181] Compiling HTMLToMarkdown me_render_footnotes.swift
[107/181] Compiling HTMLToMarkdown me_render_header_ids.swift
[108/181] Compiling HTMLToMarkdown mmd_render_definition_lists.swift
[109/181] Compiling HTMLToMarkdown mmd_render_figure.swift
[110/181] Compiling HTMLToMarkdown mmd_render_footnotes.swift
[111/181] Compiling HTMLToMarkdown mmd_render_image_attributes.swift
[112/181] Compiling HTMLToMarkdown mmd_render_sub_sup.swift
[113/181] Compiling HTMLToMarkdown referencelinks_render_links.swift
[114/181] Compiling HTMLToMarkdown rmarkdown.swift
[115/181] Compiling HTMLToMarkdown rmarkdown_render_figures.swift
[116/181] Compiling HTMLToMarkdown rmarkdown_render_tabsets.swift
[117/181] Compiling HTMLToMarkdown strikethrough.swift
[118/181] Compiling HTMLToMarkdown 1_select.swift
[119/181] Compiling HTMLToMarkdown 2_collect.swift
[120/181] Compiling HTMLToMarkdown 3_render.swift
[121/181] Compiling HTMLToMarkdown table.swift
[122/181] Compiling HTMLToMarkdown render_bold_italic.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[123/181] Compiling HTMLToMarkdown render_break.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[124/181] Compiling HTMLToMarkdown render_code.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[125/181] Compiling HTMLToMarkdown render_comment.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[126/181] Compiling HTMLToMarkdown render_divider.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[127/181] Compiling HTMLToMarkdown render_heading.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[128/181] Compiling HTMLToMarkdown render_image.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[129/181] Compiling HTMLToMarkdown render_link.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[130/181] Compiling HTMLToMarkdown render_list.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[131/181] Compiling HTMLToMarkdown url_utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/render_list.swift:16:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
14 |
15 | conv.Register.rendererFor("ol", .block, { [weak self] ctx, w, n in
16 | guard let self = self else { return .tryNext }
| `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
17 | var startAt = 1
18 | if let element = n as? Element,
[132/181] Compiling HTMLToMarkdown collapse.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[133/181] Compiling HTMLToMarkdown is_node.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[134/181] Compiling HTMLToMarkdown whitespace.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[135/181] Compiling HTMLToMarkdown convert_api.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[136/181] Compiling HTMLToMarkdown convert.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[137/181] Compiling HTMLToMarkdown converter.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[138/181] Compiling HTMLToMarkdown ctx.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[139/181] Compiling HTMLToMarkdown plugin.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[140/181] Compiling HTMLToMarkdown prioritized.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[141/181] Compiling HTMLToMarkdown register.swift
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:52:13: warning: no calls to throwing functions occur within 'try' expression
50 | }
51 |
52 | try textNode.text(text)
| `- warning: no calls to throwing functions occur within 'try' expression
53 | prevText = textNode
54 | keepLeadingWs = false
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: result of 'try?' is unused [#no-usage]
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: result of 'try?' is unused [#no-usage]
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:93:21: warning: no calls to throwing functions occur within 'try' expression
91 | prevText = nil
92 | } else {
93 | try? pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/collapse/collapse.swift:117:13: warning: no calls to throwing functions occur within 'try' expression
115 | try pt.remove()
116 | } else {
117 | try pt.text(ptText)
| `- warning: no calls to throwing functions occur within 'try' expression
118 | }
119 | }
[142/181] Compiling HTMLToMarkdown render.swift
[143/181] Compiling HTMLToMarkdown writer.swift
[144/181] Compiling HTMLToMarkdown elem_backslash.swift
[145/181] Compiling HTMLToMarkdown elem_code.swift
[146/181] Compiling HTMLToMarkdown elem_divider.swift
[147/181] Compiling HTMLToMarkdown elem_header.swift
[148/181] Compiling HTMLToMarkdown elem_image.swift
[149/181] Compiling HTMLToMarkdown elem_italic_bold.swift
[150/181] Compiling HTMLToMarkdown elem_list.swift
[151/181] Compiling HTMLToMarkdown elem_quote.swift
[152/181] Compiling HTMLToMarkdown atlassian_render_attachments.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[153/181] Compiling HTMLToMarkdown atlassian_render_autolinks.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[154/181] Compiling HTMLToMarkdown atlassian_render_code_blocks.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[155/181] Compiling HTMLToMarkdown atlassian_render_image_sizing.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[156/181] Compiling HTMLToMarkdown base.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[157/181] Compiling HTMLToMarkdown renderers.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[158/181] Compiling HTMLToMarkdown commonmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[159/181] Compiling HTMLToMarkdown handle_pre_render.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[160/181] Compiling HTMLToMarkdown options.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[161/181] Compiling HTMLToMarkdown render_blockquote.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:17:17: warning: result of 'try?' is unused [#no-usage]
15 |
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
| `- warning: result of 'try?' is unused [#no-usage]
18 | try? img.attr("alt", filename)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:18:17: warning: result of 'try?' is unused [#no-usage]
16 | guard let img = try? Element(Tag.valueOf("img"), "") else { continue }
17 | try? img.attr("src", filename)
18 | try? img.attr("alt", filename)
| `- warning: result of 'try?' is unused [#no-usage]
19 |
20 | // Carry over ac:width as width attribute
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:22:37: warning: result of 'try?' is unused [#no-usage]
20 | // Carry over ac:width as width attribute
21 | let width = (try? acImage.attr("ac:width")) ?? ""
22 | if !width.isEmpty { try? img.attr("width", width) }
| `- warning: result of 'try?' is unused [#no-usage]
23 |
24 | try? acImage.replaceWith(img)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:44:17: warning: result of 'try?' is unused [#no-usage]
42 |
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
| `- warning: result of 'try?' is unused [#no-usage]
45 | try? a.text(label)
46 | try? acLink.replaceWith(a)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_attachments.swift:45:17: warning: result of 'try?' is unused [#no-usage]
43 | guard let a = try? Element(Tag.valueOf("a"), "") else { continue }
44 | try? a.attr("href", filename)
45 | try? a.text(label)
| `- warning: result of 'try?' is unused [#no-usage]
46 | try? acLink.replaceWith(a)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:23:40: warning: result of 'try?' is unused [#no-usage]
21 | guard let pre = try? Element(Tag.valueOf("pre"), ""),
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
| `- warning: result of 'try?' is unused [#no-usage]
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:24:17: warning: result of 'try?' is unused [#no-usage]
22 | let code = try? Element(Tag.valueOf("code"), "") else { continue }
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
| `- warning: result of 'try?' is unused [#no-usage]
25 | try? pre.appendChild(code)
26 | try? macro.replaceWith(pre)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/atlassian/atlassian_render_code_blocks.swift:25:17: warning: result of 'try?' is unused [#no-usage]
23 | if !language.isEmpty { try? code.attr("class", "language-\(language)") }
24 | try? code.text(codeText)
25 | try? pre.appendChild(code)
| `- warning: result of 'try?' is unused [#no-usage]
26 | try? macro.replaceWith(pre)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:54:42: warning: conditional cast from 'Element' to 'Element' always succeeds
52 | var p = link.parent()
53 | while let parent = p {
54 | if let parentEl = parent as? Element, parentEl.tagName() == "a" {
| `- warning: conditional cast from 'Element' to 'Element' always succeeds
55 | try link.unwrap()
56 | break
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:149:29: warning: no calls to throwing functions occur within 'try' expression
147 | let t = firstText.getWholeText()
148 | if t.hasPrefix("\n") {
149 | try firstText.text(String(t.dropFirst()))
| `- warning: no calls to throwing functions occur within 'try' expression
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:193:37: warning: result of call to 'after' is unused [#no-usage]
191 | try element.tagName("strong")
192 | let br = Element(Tag("br"), "")
193 | try element.after(br)
| `- warning: result of call to 'after' is unused [#no-usage]
194 | case "blockquote":
195 | let quoteBefore = TextNode(" \"", "")
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:198:37: warning: result of call to 'after' is unused [#no-usage]
196 | let quoteAfter = TextNode("\" ", "")
197 | try element.before(quoteBefore)
198 | try element.after(quoteAfter)
| `- warning: result of call to 'after' is unused [#no-usage]
199 | try element.tagName("span")
200 | case "pre":
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:337:21: warning: no calls to throwing functions occur within 'try' expression
335 | if getFirstCodeChild(element) != nil {
336 | if let prevText = getPrevTextNodeOf(element) {
337 | try prevText.text(prevText.getWholeText() + " ")
| `- warning: no calls to throwing functions occur within 'try' expression
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/plugin/commonmark/handle_pre_render.swift:342:21: warning: no calls to throwing functions occur within 'try' expression
340 | if getLastCodeChild(element) != nil {
341 | if let nextText = getNextTextNodeOf(element) {
342 | try nextText.text(" " + nextText.getWholeText())
| `- warning: no calls to throwing functions occur within 'try' expression
343 | }
344 | }
[162/181] Compiling HTMLToMarkdown utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[163/181] Compiling HTMLToMarkdown tasklist.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[164/181] Compiling HTMLToMarkdown typography.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[165/181] Compiling HTMLToMarkdown typography_linkify.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[166/181] Compiling HTMLToMarkdown typography_replacements.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[167/181] Compiling HTMLToMarkdown typography_smart_quotes.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[168/181] Compiling HTMLToMarkdown typography_utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[169/181] Compiling HTMLToMarkdown vimeo.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[170/181] Compiling HTMLToMarkdown youtube.swift
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:22:30: warning: result of 'try?' is unused [#no-usage]
20 | let checked = input.hasAttr("checked")
21 | let placeholder = try? Element(Tag.valueOf("task-list-checkbox"), "")
22 | if checked { try? placeholder?.attr("checked", "") }
| `- warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: result of 'try?' is unused [#no-usage]
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: result of 'try?' is unused [#no-usage]
26 | }
27 | if let placeholder = placeholder {
/Users/admin/builder/spi-builder-workspace/Sources/plugin/tasklist/tasklist.swift:25:21: warning: no calls to throwing functions occur within 'try' expression
23 | if let next = input.nextSibling() as? TextNode {
24 | let trimmed = next.text().replacingOccurrences(of: "^\\s+", with: "", options: .regularExpression)
25 | try? next.text(trimmed)
| `- warning: no calls to throwing functions occur within 'try' expression
26 | }
27 | if let placeholder = placeholder {
[171/181] Emitting module HTMLToMarkdown
[172/181] Compiling HTMLToMarkdown validation.swift
[173/181] Compiling HTMLToMarkdown emoji.swift
[174/181] Compiling HTMLToMarkdown emoji_render.swift
[175/181] Compiling HTMLToMarkdown emoji_table.swift
[176/181] Compiling HTMLToMarkdown frontmatter.swift
[177/181] Compiling HTMLToMarkdown gfm.swift
[178/181] Compiling HTMLToMarkdown gfm_render_abbr.swift
[179/181] Compiling HTMLToMarkdown gfm_render_definition_lists.swift
[180/181] Compiling HTMLToMarkdown gfm_render_details_summary.swift
[181/181] Compiling HTMLToMarkdown gfm_render_sub_sup.swift
Build complete! (12.96s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
}
],
"manifest_display_name" : "html-to-markdown-swift",
"name" : "html-to-markdown-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "HTMLToMarkdown",
"targets" : [
"HTMLToMarkdown"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HTMLToMarkdownTests",
"module_type" : "SwiftTarget",
"name" : "HTMLToMarkdownTests",
"path" : "Tests",
"product_dependencies" : [
"SwiftSoup"
],
"sources" : [
"collapse-collapse_test.swift",
"converter-convert_test.swift",
"converter-url_test.swift",
"internal-escape-elem_code_test.swift",
"internal-escape-elem_divider_test.swift",
"internal-escape-elem_header_test.swift",
"internal-escape-elem_image_test.swift",
"internal-escape-elem_italic_bold_test.swift",
"internal-escape-elem_list_test.swift",
"internal-textutils-collapse_code_test.swift",
"internal-textutils-delimiter_test.swift",
"internal-textutils-surrounding_spaces_test.swift",
"plugin-atlassian_test.swift",
"plugin-commonmark-commonmark_test.swift",
"plugin-commonmark-render_bold_italic_test.swift",
"plugin-commonmark-validation_test.swift",
"plugin-emoji_test.swift",
"plugin-frontmatter_test.swift",
"plugin-gfm_test.swift",
"plugin-markdownextra_test.swift",
"plugin-multimarkdown_test.swift",
"plugin-pandoc_test.swift",
"plugin-reference-links_test.swift",
"plugin-rmarkdown_test.swift",
"plugin-strikethrough-strikethrough_test.swift",
"plugin-table-table_test.swift",
"plugin-tasklist_test.swift",
"plugin-typography-linkify_test.swift",
"plugin-typography-replacements_test.swift",
"plugin-typography-smart-quotes_test.swift",
"plugin-typography_test.swift",
"plugin-vimeo_test.swift",
"plugin-youtube_test.swift",
"swift-golden_test.swift"
],
"target_dependencies" : [
"HTMLToMarkdown"
],
"type" : "test"
},
{
"c99name" : "HTMLToMarkdown",
"module_type" : "SwiftTarget",
"name" : "HTMLToMarkdown",
"path" : "Sources",
"product_dependencies" : [
"SwiftSoup"
],
"product_memberships" : [
"HTMLToMarkdown"
],
"sources" : [
"collapse/collapse.swift",
"collapse/is_node.swift",
"collapse/whitespace.swift",
"convert_api.swift",
"converter/convert.swift",
"converter/converter.swift",
"converter/ctx.swift",
"converter/plugin.swift",
"converter/prioritized.swift",
"converter/register.swift",
"converter/render.swift",
"converter/writer.swift",
"internal/escape/elem_backslash.swift",
"internal/escape/elem_code.swift",
"internal/escape/elem_divider.swift",
"internal/escape/elem_header.swift",
"internal/escape/elem_image.swift",
"internal/escape/elem_italic_bold.swift",
"internal/escape/elem_list.swift",
"internal/escape/elem_quote.swift",
"internal/escape/replacer.swift",
"internal/escape/util.swift",
"internal/textutils/codefence.swift",
"internal/textutils/collapse_code.swift",
"internal/textutils/escape_multiline.swift",
"internal/textutils/prefix_lines.swift",
"internal/textutils/quote.swift",
"internal/textutils/surrounding_spaces.swift",
"marker/marker.swift",
"plugin/atlassian/atlassian.swift",
"plugin/atlassian/atlassian_render_attachments.swift",
"plugin/atlassian/atlassian_render_autolinks.swift",
"plugin/atlassian/atlassian_render_code_blocks.swift",
"plugin/atlassian/atlassian_render_image_sizing.swift",
"plugin/base/base.swift",
"plugin/base/renderers.swift",
"plugin/commonmark/commonmark.swift",
"plugin/commonmark/handle_pre_render.swift",
"plugin/commonmark/options.swift",
"plugin/commonmark/render_blockquote.swift",
"plugin/commonmark/render_bold_italic.swift",
"plugin/commonmark/render_break.swift",
"plugin/commonmark/render_code.swift",
"plugin/commonmark/render_comment.swift",
"plugin/commonmark/render_divider.swift",
"plugin/commonmark/render_heading.swift",
"plugin/commonmark/render_image.swift",
"plugin/commonmark/render_link.swift",
"plugin/commonmark/render_list.swift",
"plugin/commonmark/url_utils.swift",
"plugin/commonmark/validation.swift",
"plugin/emoji/emoji.swift",
"plugin/emoji/emoji_render.swift",
"plugin/emoji/emoji_table.swift",
"plugin/frontmatter/frontmatter.swift",
"plugin/gfm/gfm.swift",
"plugin/gfm/gfm_render_abbr.swift",
"plugin/gfm/gfm_render_definition_lists.swift",
"plugin/gfm/gfm_render_details_summary.swift",
"plugin/gfm/gfm_render_sub_sup.swift",
"plugin/markdownextra/markdownextra.swift",
"plugin/markdownextra/me_render_abbreviations.swift",
"plugin/markdownextra/me_render_definition_lists.swift",
"plugin/markdownextra/me_render_footnotes.swift",
"plugin/markdownextra/me_render_header_ids.swift",
"plugin/multimarkdown/mmd_render_definition_lists.swift",
"plugin/multimarkdown/mmd_render_figure.swift",
"plugin/multimarkdown/mmd_render_footnotes.swift",
"plugin/multimarkdown/mmd_render_image_attributes.swift",
"plugin/multimarkdown/mmd_render_sub_sup.swift",
"plugin/multimarkdown/multimarkdown.swift",
"plugin/pandoc/pandoc.swift",
"plugin/pandoc/pandoc_render_definition_lists.swift",
"plugin/pandoc/pandoc_render_footnotes.swift",
"plugin/pandoc/pandoc_render_header_ids.swift",
"plugin/pandoc/pandoc_render_math.swift",
"plugin/pandoc/pandoc_render_sub_sup.swift",
"plugin/referencelinks/referencelinks.swift",
"plugin/referencelinks/referencelinks_render_images.swift",
"plugin/referencelinks/referencelinks_render_links.swift",
"plugin/rmarkdown/rmarkdown.swift",
"plugin/rmarkdown/rmarkdown_render_figures.swift",
"plugin/rmarkdown/rmarkdown_render_tabsets.swift",
"plugin/strikethrough/strikethrough.swift",
"plugin/table/1_select.swift",
"plugin/table/2_collect.swift",
"plugin/table/3_render.swift",
"plugin/table/table.swift",
"plugin/table/utils.swift",
"plugin/tasklist/tasklist.swift",
"plugin/typography/typography.swift",
"plugin/typography/typography_linkify.swift",
"plugin/typography/typography_replacements.swift",
"plugin/typography/typography_smart_quotes.swift",
"plugin/typography/typography_utils.swift",
"plugin/vimeo/vimeo.swift",
"plugin/youtube/youtube.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.