The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LilHTML, reference 0.1.0 (93672d), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 21:43:12 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nakajima/LilHTML.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nakajima/LilHTML
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 93672d6 update test data
Cloned https://github.com/nakajima/LilHTML.git
Revision (git rev-parse @):
93672d604ecc508f997cff5e56fd7ac66276e985
SUCCESS checkout https://github.com/nakajima/LilHTML.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nakajima/LilHTML.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[32 / 41]
[33 / 42] LilHTML
[43 / 88]
[48 / 88]
[52 / 88]
[53 / 88]
[57 / 88]
[59 / 88]
[62 / 88]
[65 / 88]
[67 / 88]
[68 / 88]
[79 / 88] LilHTML
[80 / 88] LilHTML
Build complete! (8.58 sec)
/Users/admin/builder/spi-builder-workspace/Sources/LilHTML/Selectar.swift:11:21: warning: conformance of 'Array<Element>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
  9 |
 10 | public typealias Selectar = [SelectarSegment]
 11 | extension Selectar: Sendable {}
    |                     `- warning: conformance of 'Array<Element>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 12 |
 13 | public struct SelectarSegment: Sendable, Codable, Equatable, CustomDebugStringConvertible {
Swift.Array:1:11: note: 'Array<Element>' declares conformance to protocol 'Sendable' here
1 | extension Array : @unchecked Sendable where Element : Sendable {
  |           `- note: 'Array<Element>' declares conformance to protocol 'Sendable' here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/LilHTML/MutableElementNode.swift:92:8: warning: result of call to 'remove()' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 90 |
 91 | 	public func appendChild(_ node: any MutableNode) {
 92 | 		node.remove()
    |        `- warning: result of call to 'remove()' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 93 | 		node.parent = self
 94 | 		node.position = childNodes.count
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/LilHTML/HTML.swift:71:12: warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 69 | 			let attrName = currentProperty.name.string
 70 | 			let attrValue = xmlNodeListGetString(htmlDocument, currentProperty.children, 1)
 71 | 			defer { xmlFree(attrValue) }
    |            `- warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 | 			attributes[attrName] = attrValue?.string ?? ""
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/libxml/globals.h:257:23: note: var declared here
255 | XMLPUBVAR xmlMallocFunc xmlMallocAtomic LIBXML_API_DEPRECATED_MEMORY_ALLOCATION_FUNCTIONS;
256 | XMLPUBVAR xmlReallocFunc xmlRealloc LIBXML_API_DEPRECATED_MEMORY_ALLOCATION_FUNCTIONS;
257 | XMLPUBVAR xmlFreeFunc xmlFree;
    |                       `- note: var declared here
258 | XMLPUBVAR xmlStrdupFunc xmlMemStrdup LIBXML_API_DEPRECATED_MEMORY_ALLOCATION_FUNCTIONS;
259 | #endif /* LIBXML_THREAD_ALLOC_ENABLED */
/Users/admin/builder/spi-builder-workspace/Sources/LilHTML/Selectar.swift:11:21: warning: conformance of 'Array<Element>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
  9 |
 10 | public typealias Selectar = [SelectarSegment]
 11 | extension Selectar: Sendable {}
    |                     `- warning: conformance of 'Array<Element>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 12 |
 13 | public struct SelectarSegment: Sendable, Codable, Equatable, CustomDebugStringConvertible {
Swift.Array:1:11: note: 'Array<Element>' declares conformance to protocol 'Sendable' here
1 | extension Array : @unchecked Sendable where Element : Sendable {
  |           `- note: 'Array<Element>' declares conformance to protocol 'Sendable' here
2 | }
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LilHTML",
  "name" : "LilHTML",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "LilHTML",
      "targets" : [
        "LilHTML"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libxml2",
      "module_type" : "SystemLibraryTarget",
      "name" : "libxml2",
      "path" : "Sources/libxml2",
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "LilParserTests",
      "module_type" : "SwiftTarget",
      "name" : "LilParserTests",
      "path" : "Tests/LilParserTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LilParserTests/Resources/basic.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LilParserTests/Resources/musicradar.html",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ParserTests.swift",
        "SelectorTests.swift"
      ],
      "target_dependencies" : [
        "LilHTML"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LilHTML",
      "module_type" : "SwiftTarget",
      "name" : "LilHTML",
      "path" : "Sources/LilHTML",
      "product_memberships" : [
        "LilHTML"
      ],
      "sources" : [
        "AttributeValue.swift",
        "Element+Equatable.swift",
        "Element.swift",
        "HTML.swift",
        "ImmutableElementNode.swift",
        "ImmutableNode.swift",
        "ImmutableTextNode.swift",
        "MutableElementNode.swift",
        "MutableNode.swift",
        "MutableTextNode+Equatable.swift",
        "MutableTextNode.swift",
        "Node+DebugDescription.swift",
        "Node.swift",
        "ParserDelegate.swift",
        "Selectar.swift",
        "TagName.swift",
        "TextNode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.