Build Information
Successful build of HTMLParserBuilder, reference main (cd58ad
), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 06:12:28 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danny1113/html-parser-builder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danny1113/html-parser-builder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cd58ad3 add swift package index manifest file
Cloned https://github.com/danny1113/html-parser-builder.git
Revision (git rev-parse @):
cd58ad3b89c04f8c154143d20e22d89b4566f366
SUCCESS checkout https://github.com/danny1113/html-parser-builder.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/danny1113/html-parser-builder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/17] Compiling HTMLParserBuilder LateInit.swift
[4/18] Compiling HTMLParserBuilder CaptureTransform.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/CaptureTransform.swift:27:9: warning: stored property 'closure' of 'Sendable'-conforming struct 'CaptureTransform' has non-sendable type 'CaptureTransform.Closure'; this is an error in the Swift 6 language mode
13 | struct CaptureTransform: Sendable, Hashable, CustomStringConvertible {
14 |
15 | enum Closure {
| `- note: consider making enum 'Closure' conform to the 'Sendable' protocol
16 | /// A failable transform.
17 | case failable((Any) throws -> Any?)
:
25 | let argumentType: Any.Type
26 | let resultType: Any.Type
27 | let closure: Closure
| `- warning: stored property 'closure' of 'Sendable'-conforming struct 'CaptureTransform' has non-sendable type 'CaptureTransform.Closure'; this is an error in the Swift 6 language mode
28 |
29 | init(argumentType: Any.Type, resultType: Any.Type, closure: Closure) {
[5/18] Compiling HTMLParserBuilder DSLTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/CaptureTransform.swift:27:9: warning: stored property 'closure' of 'Sendable'-conforming struct 'CaptureTransform' has non-sendable type 'CaptureTransform.Closure'; this is an error in the Swift 6 language mode
13 | struct CaptureTransform: Sendable, Hashable, CustomStringConvertible {
14 |
15 | enum Closure {
| `- note: consider making enum 'Closure' conform to the 'Sendable' protocol
16 | /// A failable transform.
17 | case failable((Any) throws -> Any?)
:
25 | let argumentType: Any.Type
26 | let resultType: Any.Type
27 | let closure: Closure
| `- warning: stored property 'closure' of 'Sendable'-conforming struct 'CaptureTransform' has non-sendable type 'CaptureTransform.Closure'; this is an error in the Swift 6 language mode
28 |
29 | init(argumentType: Any.Type, resultType: Any.Type, closure: Closure) {
[6/18] Compiling HTMLParserBuilder HTMLParseError.swift
[7/18] Compiling HTMLParserBuilder HTMLParserBuilder.swift
[8/18] Compiling HTMLParserBuilder Optional+orThrow.swift
[9/18] Compiling HTMLParserBuilder Local.swift
[10/18] Compiling HTMLParserBuilder TryCapture.swift
[11/18] Compiling HTMLParserBuilder HTML.swift
[12/18] Compiling HTMLParserBuilder HTMLComponent.swift
[13/18] Emitting module HTMLParserBuilder
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/CaptureTransform.swift:27:9: warning: stored property 'closure' of 'Sendable'-conforming struct 'CaptureTransform' has non-sendable type 'CaptureTransform.Closure'; this is an error in the Swift 6 language mode
13 | struct CaptureTransform: Sendable, Hashable, CustomStringConvertible {
14 |
15 | enum Closure {
| `- note: consider making enum 'Closure' conform to the 'Sendable' protocol
16 | /// A failable transform.
17 | case failable((Any) throws -> Any?)
:
25 | let argumentType: Any.Type
26 | let resultType: Any.Type
27 | let closure: Closure
| `- warning: stored property 'closure' of 'Sendable'-conforming struct 'CaptureTransform' has non-sendable type 'CaptureTransform.Closure'; this is an error in the Swift 6 language mode
28 |
29 | init(argumentType: Any.Type, resultType: Any.Type, closure: Closure) {
[14/18] Compiling HTMLParserBuilder Capture.swift
[15/18] Compiling HTMLParserBuilder CaptureAll.swift
[16/18] Compiling HTMLParserBuilder HTMLComponentBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:147:30: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 | switch node {
146 | case .concatenation(let array):
147 | return try await withThrowingTaskGroup(of: (Int, [Any]).self) { (group) -> [Any] in
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
148 | var result = [Any]()
149 | var orderTable = [Int: [Any]]()
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:147:75: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 | switch node {
146 | case .concatenation(let array):
147 | return try await withThrowingTaskGroup(of: (Int, [Any]).self) { (group) -> [Any] in
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
148 | var result = [Any]()
149 | var orderTable = [Int: [Any]]()
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:155:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |
154 | for (i, node) in array.enumerated() {
155 | group.addTask {
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | let result = try await parseAsync(node, element: element)
157 | return (i, result)
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:155:27: warning: task-isolated value of type '() async throws -> (Int, [Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
153 |
154 | for (i, node) in array.enumerated() {
155 | group.addTask {
| `- warning: task-isolated value of type '() async throws -> (Int, [Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
156 | let result = try await parseAsync(node, element: element)
157 | return (i, result)
[17/18] Compiling HTMLParserBuilder HTMLDocodeImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:147:30: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 | switch node {
146 | case .concatenation(let array):
147 | return try await withThrowingTaskGroup(of: (Int, [Any]).self) { (group) -> [Any] in
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
148 | var result = [Any]()
149 | var orderTable = [Int: [Any]]()
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:147:75: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 | switch node {
146 | case .concatenation(let array):
147 | return try await withThrowingTaskGroup(of: (Int, [Any]).self) { (group) -> [Any] in
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
148 | var result = [Any]()
149 | var orderTable = [Int: [Any]]()
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:155:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |
154 | for (i, node) in array.enumerated() {
155 | group.addTask {
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | let result = try await parseAsync(node, element: element)
157 | return (i, result)
/Users/admin/builder/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:155:27: warning: task-isolated value of type '() async throws -> (Int, [Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
153 |
154 | for (i, node) in array.enumerated() {
155 | group.addTask {
| `- warning: task-isolated value of type '() async throws -> (Int, [Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
156 | let result = try await parseAsync(node, element: element)
157 | return (i, result)
[18/18] Compiling HTMLParserBuilder TypeConstruction.swift
Build complete! (10.32s)
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3176] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.17s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.2 (3.30s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.2
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfotvOS.plist
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoMac.plist
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Info.plist
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoWatchOS.plist
Build complete.
{
"dependencies" : [
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
}
],
"manifest_display_name" : "HTMLParserBuilder",
"name" : "HTMLParserBuilder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "HTMLParserBuilder",
"targets" : [
"HTMLParserBuilder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HTMLParserBuilderTests",
"module_type" : "SwiftTarget",
"name" : "HTMLParserBuilderTests",
"path" : "Tests/HTMLParserBuilderTests",
"product_dependencies" : [
"SwiftSoup"
],
"sources" : [
"HTMLParserBuilderTests.swift",
"SwiftSoup+HTMLParserBuilder.swift"
],
"target_dependencies" : [
"HTMLParserBuilder"
],
"type" : "test"
},
{
"c99name" : "HTMLParserBuilder",
"module_type" : "SwiftTarget",
"name" : "HTMLParserBuilder",
"path" : "Sources/HTMLParserBuilder",
"product_memberships" : [
"HTMLParserBuilder"
],
"sources" : [
"Capture.swift",
"CaptureAll.swift",
"CaptureTransform.swift",
"DSLTree.swift",
"HTML.swift",
"HTMLComponent.swift",
"HTMLComponentBuilder.swift",
"HTMLDocodeImpl.swift",
"HTMLParseError.swift",
"HTMLParserBuilder.swift",
"LateInit.swift",
"Local.swift",
"Optional+orThrow.swift",
"TryCapture.swift",
"TypeConstruction.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.