The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LilHTML, reference 0.1.0 (93672d), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 17:18:46 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/nakajima/LilHTML.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/19] Compiling LilHTML Node.swift
[4/19] Compiling LilHTML ParserDelegate.swift
[5/20] Compiling LilHTML TextNode.swift
[6/20] Compiling LilHTML TagName.swift
[7/20] Compiling LilHTML MutableNode.swift
[8/20] Compiling LilHTML MutableTextNode+Equatable.swift
[9/20] Compiling LilHTML ImmutableTextNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LilHTML/MutableElementNode.swift:92:8: warning: result of call to 'remove()' is unused [#no-usage]
 90 |
 91 | 	public func appendChild(_ node: any MutableNode) {
 92 | 		node.remove()
    |        `- warning: result of call to 'remove()' is unused [#no-usage]
 93 | 		node.parent = self
 94 | 		node.position = childNodes.count
[10/20] Compiling LilHTML MutableElementNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LilHTML/MutableElementNode.swift:92:8: warning: result of call to 'remove()' is unused [#no-usage]
 90 |
 91 | 	public func appendChild(_ node: any MutableNode) {
 92 | 		node.remove()
    |        `- warning: result of call to 'remove()' is unused [#no-usage]
 93 | 		node.parent = self
 94 | 		node.position = childNodes.count
[11/20] Compiling LilHTML Element.swift
/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-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.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 */
[12/20] Compiling LilHTML HTML.swift
/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-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.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 */
[13/20] Emitting module LilHTML
/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 | }
[14/20] Compiling LilHTML MutableTextNode.swift
[15/20] Compiling LilHTML Node+DebugDescription.swift
[16/20] Compiling LilHTML AttributeValue.swift
[17/20] Compiling LilHTML Element+Equatable.swift
[18/20] Compiling LilHTML Selectar.swift
/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 | }
[19/20] Compiling LilHTML ImmutableElementNode.swift
[20/20] Compiling LilHTML ImmutableNode.swift
Build complete! (4.80s)
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.