Build Information
Successful build of html-to-markdown-swift, reference 0.9.0 (a200a4), with Swift 6.2 for Linux on 5 Mar 2026 04:47:25 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/jaredhowland/html-to-markdown-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/scinfu/SwiftSoup.git
[1/5775] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.53s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.11.3 (0.90s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/360] Fetching lrucache
[361/2180] Fetching lrucache, swift-atomics
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.22s)
[110/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.77s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.2.1 (0.39s)
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/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.2.1
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
Building for debugging...
[0/6] Write sources
[4/6] Compiling _AtomicsShims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/26] Emitting module Atomics
[8/28] Compiling Atomics UnsafeAtomic.swift
[9/28] Compiling Atomics UnsafeAtomicLazyReference.swift
[10/28] Compiling Atomics AtomicInteger.swift
[11/28] Compiling Atomics AtomicOptionalWrappable.swift
[12/28] Compiling Atomics AtomicReference.swift
[13/28] Compiling Atomics IntegerConformances.swift
[14/28] Compiling Atomics PointerConformances.swift
[15/28] Compiling Atomics Primitives.native.swift
[16/28] Compiling Atomics IntegerOperations.swift
[17/28] Compiling Atomics Unmanaged extensions.swift
[18/28] Compiling Atomics AtomicMemoryOrderings.swift
[19/28] Compiling Atomics DoubleWord.swift
[20/28] Compiling Atomics ManagedAtomic.swift
[21/28] Compiling Atomics ManagedAtomicLazyReference.swift
[22/28] Compiling Atomics OptionalRawRepresentable.swift
[23/28] Compiling Atomics RawRepresentable.swift
[24/28] Compiling Atomics AtomicBool.swift
[25/28] Compiling Atomics AtomicStorage.swift
[26/28] Compiling Atomics AtomicValue.swift
[28/29] Emitting module LRUCache
[29/29] Compiling LRUCache LRUCache.swift
[31/79] Compiling SwiftSoup Collector.swift
[32/79] Compiling SwiftSoup CombiningEvaluator.swift
[33/79] Compiling SwiftSoup Comment.swift
[34/79] Compiling SwiftSoup CssSelector.swift
[35/79] Compiling SwiftSoup DataNode.swift
[36/79] Compiling SwiftSoup Document.swift
[37/79] Compiling SwiftSoup DocumentType.swift
[38/85] Emitting module SwiftSoup
[39/85] Compiling SwiftSoup Attribute.swift
[40/85] Compiling SwiftSoup Attributes.swift
[41/85] Compiling SwiftSoup BinarySearch.swift
[42/85] Compiling SwiftSoup BooleanAttribute.swift
[43/85] Compiling SwiftSoup CharacterExt.swift
[44/85] Compiling SwiftSoup CharacterReader.swift
[45/85] Compiling SwiftSoup Cleaner.swift
[46/85] Compiling SwiftSoup TextNode.swift
[47/85] Compiling SwiftSoup Token.swift
[48/85] Compiling SwiftSoup TokenQueue.swift
[49/85] Compiling SwiftSoup Tokeniser.swift
[50/85] Compiling SwiftSoup TokeniserState.swift
[51/85] Compiling SwiftSoup TreeBuilder.swift
[52/85] Compiling SwiftSoup ParseErrorList.swift
[53/85] Compiling SwiftSoup ParseSettings.swift
[54/85] Compiling SwiftSoup Parser.swift
[55/85] Compiling SwiftSoup ParsingStrings.swift
[56/85] Compiling SwiftSoup Pattern.swift
[57/85] Compiling SwiftSoup QueryParser.swift
[58/85] Compiling SwiftSoup QueryParserCache.swift
[59/85] Compiling SwiftSoup StreamReader.swift
[60/85] Compiling SwiftSoup String.swift
[61/85] Compiling SwiftSoup StringBuilder.swift
[62/85] Compiling SwiftSoup StringUtil.swift
[63/85] Compiling SwiftSoup StructuralEvaluator.swift
[64/85] Compiling SwiftSoup SwiftSoup.swift
[65/85] Compiling SwiftSoup Tag.swift
[66/85] Compiling SwiftSoup UTF8Arrays.swift
[67/85] Compiling SwiftSoup UnicodeScalar.swift
[68/85] Compiling SwiftSoup Validate.swift
[69/85] Compiling SwiftSoup Whitelist.swift
[70/85] Compiling SwiftSoup XmlDeclaration.swift
[71/85] Compiling SwiftSoup XmlTreeBuilder.swift
[72/85] Compiling SwiftSoup HtmlTreeBuilderState.swift
[73/85] Compiling SwiftSoup Mutex.swift
[74/85] Compiling SwiftSoup Node.swift
[75/85] Compiling SwiftSoup NodeTraversor.swift
[76/85] Compiling SwiftSoup NodeVisitor.swift
[77/85] Compiling SwiftSoup OrderedSet.swift
[78/85] Compiling SwiftSoup ParseError.swift
[79/85] Compiling SwiftSoup Element.swift
[80/85] Compiling SwiftSoup Elements.swift
[81/85] Compiling SwiftSoup Entities.swift
[82/85] Compiling SwiftSoup Evaluator.swift
[83/85] Compiling SwiftSoup Exception.swift
[84/85] Compiling SwiftSoup FormElement.swift
[85/85] Compiling SwiftSoup HtmlTreeBuilder.swift
[87/172] Compiling HTMLToMarkdown pandoc_render_footnotes.swift
[88/172] Compiling HTMLToMarkdown pandoc_render_header_ids.swift
[89/172] Compiling HTMLToMarkdown pandoc_render_math.swift
[90/172] Compiling HTMLToMarkdown pandoc_render_sub_sup.swift
[91/172] Compiling HTMLToMarkdown referencelinks.swift
[92/172] Compiling HTMLToMarkdown referencelinks_render_images.swift
[93/172] Compiling HTMLToMarkdown referencelinks_render_links.swift
[94/172] Compiling HTMLToMarkdown rmarkdown.swift
[95/172] Compiling HTMLToMarkdown rmarkdown_render_figures.swift
[96/172] Compiling HTMLToMarkdown rmarkdown_render_tabsets.swift
[97/172] Compiling HTMLToMarkdown strikethrough.swift
[98/172] Compiling HTMLToMarkdown 1_select.swift
[99/184] Compiling HTMLToMarkdown me_render_abbreviations.swift
[100/184] Compiling HTMLToMarkdown me_render_definition_lists.swift
[101/184] Compiling HTMLToMarkdown me_render_footnotes.swift
[102/184] Compiling HTMLToMarkdown me_render_header_ids.swift
[103/184] Compiling HTMLToMarkdown mmd_render_definition_lists.swift
[104/184] Compiling HTMLToMarkdown mmd_render_figure.swift
[105/184] Compiling HTMLToMarkdown mmd_render_footnotes.swift
[106/184] Compiling HTMLToMarkdown mmd_render_image_attributes.swift
[107/184] Compiling HTMLToMarkdown mmd_render_sub_sup.swift
[108/184] Compiling HTMLToMarkdown multimarkdown.swift
[109/184] Compiling HTMLToMarkdown pandoc.swift
[110/184] Compiling HTMLToMarkdown pandoc_render_definition_lists.swift
[111/184] Compiling HTMLToMarkdown prefix_lines.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[112/184] Compiling HTMLToMarkdown quote.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[113/184] Compiling HTMLToMarkdown surrounding_spaces.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[114/184] Compiling HTMLToMarkdown marker.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[115/184] Compiling HTMLToMarkdown atlassian.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[116/184] Compiling HTMLToMarkdown atlassian_render_attachments.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[117/184] Compiling HTMLToMarkdown atlassian_render_autolinks.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[118/184] Compiling HTMLToMarkdown atlassian_render_code_blocks.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[119/184] Compiling HTMLToMarkdown atlassian_render_image_sizing.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[120/184] Compiling HTMLToMarkdown base.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[121/184] Compiling HTMLToMarkdown renderers.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[122/184] Compiling HTMLToMarkdown commonmark.swift
/host/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 |
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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)
/host/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)
/host/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 | }
[123/184] Compiling HTMLToMarkdown elem_code.swift
[124/184] Compiling HTMLToMarkdown elem_divider.swift
[125/184] Compiling HTMLToMarkdown elem_header.swift
[126/184] Compiling HTMLToMarkdown elem_image.swift
[127/184] Compiling HTMLToMarkdown elem_italic_bold.swift
[128/184] Compiling HTMLToMarkdown elem_list.swift
[129/184] Compiling HTMLToMarkdown elem_quote.swift
[130/184] Compiling HTMLToMarkdown replacer.swift
[131/184] Compiling HTMLToMarkdown util.swift
[132/184] Compiling HTMLToMarkdown codefence.swift
[133/184] Compiling HTMLToMarkdown collapse_code.swift
[134/184] Compiling HTMLToMarkdown escape_multiline.swift
[135/184] Compiling HTMLToMarkdown collapse.swift
/host/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
/host/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 | }
/host/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 | }
/host/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/184] Compiling HTMLToMarkdown is_node.swift
/host/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
/host/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 | }
/host/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 | }
/host/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/184] Compiling HTMLToMarkdown whitespace.swift
/host/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
/host/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 | }
/host/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 | }
/host/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/184] Compiling HTMLToMarkdown convert_api.swift
/host/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
/host/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 | }
/host/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 | }
/host/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/184] Compiling HTMLToMarkdown convert.swift
/host/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
/host/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 | }
/host/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 | }
/host/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/184] Compiling HTMLToMarkdown converter.swift
/host/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
/host/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 | }
/host/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 | }
/host/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/184] Compiling HTMLToMarkdown ctx.swift
/host/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
/host/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 | }
/host/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 | }
/host/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/184] Compiling HTMLToMarkdown plugin.swift
/host/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
/host/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 | }
/host/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 | }
/host/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 | }
[143/184] Compiling HTMLToMarkdown prioritized.swift
/host/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
/host/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 | }
/host/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 | }
/host/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 | }
[144/184] Compiling HTMLToMarkdown register.swift
/host/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
/host/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 | }
/host/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 | }
/host/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 | }
[145/184] Compiling HTMLToMarkdown render.swift
/host/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
/host/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 | }
/host/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 | }
/host/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 | }
[146/184] Compiling HTMLToMarkdown writer.swift
/host/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
/host/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 | }
/host/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 | }
/host/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 | }
[147/184] Compiling HTMLToMarkdown elem_backslash.swift
/host/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
/host/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 | }
/host/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 | }
/host/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 | }
[148/184] Emitting module HTMLToMarkdown
[149/184] Compiling HTMLToMarkdown 2_collect.swift
/host/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)
/host/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 {
/host/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 {
[150/184] Compiling HTMLToMarkdown 3_render.swift
/host/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)
/host/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 {
/host/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 {
[151/184] Compiling HTMLToMarkdown table.swift
/host/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)
/host/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 {
/host/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 {
[152/184] Compiling HTMLToMarkdown utils.swift
/host/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)
/host/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 {
/host/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 {
[153/184] Compiling HTMLToMarkdown tasklist.swift
/host/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)
/host/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 {
/host/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 {
[154/184] Compiling HTMLToMarkdown typography.swift
/host/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)
/host/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 {
/host/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 {
[155/184] Compiling HTMLToMarkdown typography_linkify.swift
/host/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)
/host/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 {
/host/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 {
[156/184] Compiling HTMLToMarkdown typography_replacements.swift
/host/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)
/host/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 {
/host/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 {
[157/184] Compiling HTMLToMarkdown typography_smart_quotes.swift
/host/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)
/host/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 {
/host/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 {
[158/184] Compiling HTMLToMarkdown typography_utils.swift
/host/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)
/host/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 {
/host/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 {
[159/184] Compiling HTMLToMarkdown vimeo.swift
/host/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)
/host/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 {
/host/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 {
[160/184] Compiling HTMLToMarkdown youtube.swift
/host/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)
/host/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 {
/host/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 {
[161/184] Compiling HTMLToMarkdown handle_pre_render.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[162/184] Compiling HTMLToMarkdown options.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[163/184] Compiling HTMLToMarkdown render_blockquote.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[164/184] Compiling HTMLToMarkdown render_bold_italic.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[165/184] Compiling HTMLToMarkdown render_break.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[166/184] Compiling HTMLToMarkdown render_code.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[167/184] Compiling HTMLToMarkdown render_comment.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[168/184] Compiling HTMLToMarkdown render_divider.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[169/184] Compiling HTMLToMarkdown render_heading.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[170/184] Compiling HTMLToMarkdown render_image.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[171/184] Compiling HTMLToMarkdown render_link.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[172/184] Compiling HTMLToMarkdown render_list.swift
/host/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
/host/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 | }
/host/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(" \"", "")
/host/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":
/host/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 | }
/host/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 | }
/host/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,
[173/184] Compiling HTMLToMarkdown url_utils.swift
[174/184] Compiling HTMLToMarkdown validation.swift
[175/184] Compiling HTMLToMarkdown emoji.swift
[176/184] Compiling HTMLToMarkdown emoji_render.swift
[177/184] Compiling HTMLToMarkdown emoji_table.swift
[178/184] Compiling HTMLToMarkdown frontmatter.swift
[179/184] Compiling HTMLToMarkdown gfm.swift
[180/184] Compiling HTMLToMarkdown gfm_render_abbr.swift
[181/184] Compiling HTMLToMarkdown gfm_render_definition_lists.swift
[182/184] Compiling HTMLToMarkdown gfm_render_details_summary.swift
[183/184] Compiling HTMLToMarkdown gfm_render_sub_sup.swift
[184/184] Compiling HTMLToMarkdown markdownextra.swift
Build complete! (33.17s)
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" : "/host/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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.