Build Information
Failed to build ConventionalCommitsKit, reference main (230442
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 01:05:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexanderwe/ConventionalCommitsKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexanderwe/ConventionalCommitsKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2304425 chore(documentation): Generate documentation
Cloned https://github.com/alexanderwe/ConventionalCommitsKit.git
Revision (git rev-parse @):
2304425683199316103ddb4440e192a52d3496f0
SUCCESS checkout https://github.com/alexanderwe/ConventionalCommitsKit.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-case-paths from cache
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetching https://github.com/pointfreeco/swift-parsing from cache
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/pointfreeco/swift-parsing from cache (1.24s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.24s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (1.24s)
Computing version for https://github.com/apple/swift-docc-plugin
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.24s)
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (1.87s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.61s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.2.1 (0.59s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.8.1 (0.61s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.9.2
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.8.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "conventionalcommitskit",
"name": "ConventionalCommitsKit",
"url": "https://github.com/alexanderwe/ConventionalCommitsKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ConventionalCommitsKit",
"dependencies": [
{
"identity": "swift-parsing",
"name": "swift-parsing",
"url": "https://github.com/pointfreeco/swift-parsing",
"version": "0.9.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-parsing",
"dependencies": [
{
"identity": "swift-case-paths",
"name": "swift-case-paths",
"url": "https://github.com/pointfreeco/swift-case-paths",
"version": "0.14.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-case-paths",
"dependencies": [
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/alexanderwe/ConventionalCommitsKit.git
[1/246] Fetching conventionalcommitskit
Fetched https://github.com/alexanderwe/ConventionalCommitsKit.git from cache (0.74s)
Fetching https://github.com/pointfreeco/swift-parsing from cache
Fetched https://github.com/pointfreeco/swift-parsing from cache (0.50s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.56s)
Fetching https://github.com/pointfreeco/swift-case-paths from cache
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.43s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.43s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (1.08s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.59s)
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.9.2
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.14.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/alexanderwe/ConventionalCommitsKit.git
Working copy of https://github.com/alexanderwe/ConventionalCommitsKit.git resolved at main (2304425)
warning: '.resolve-product-dependencies': dependency 'conventionalcommitskit' is not used by any target
Found 1 product dependencies
- swift-parsing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexanderwe/ConventionalCommitsKit.git
https://github.com/alexanderwe/ConventionalCommitsKit.git
{
"dependencies" : [
{
"identity" : "swift-parsing",
"requirement" : {
"exact" : [
"0.9.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-parsing"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "ConventionalCommitsKit",
"name" : "ConventionalCommitsKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ConventionalCommitsKit",
"targets" : [
"ConventionalCommitsKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConventionalCommitsKitTests",
"module_type" : "SwiftTarget",
"name" : "ConventionalCommitsKitTests",
"path" : "Tests",
"sources" : [
"ConventionalCommitsFooterTests.swift",
"ConventionalCommitsHeaderTests.swift",
"ConventionalCommitsTests.swift"
],
"target_dependencies" : [
"ConventionalCommitsKit"
],
"type" : "test"
},
{
"c99name" : "ConventionalCommitsKit",
"module_type" : "SwiftTarget",
"name" : "ConventionalCommitsKit",
"path" : "Sources",
"product_dependencies" : [
"Parsing"
],
"product_memberships" : [
"ConventionalCommitsKit"
],
"sources" : [
"ConventionalCommit.swift",
"Extensions/Parsing+Regex.swift",
"Footer.swift",
"Header.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/11] Compiling CasePaths CasePath.swift
[8/11] Emitting module CasePaths
[9/11] Compiling CasePaths Operators.swift
[10/11] Compiling CasePaths CasePaths.swift
[11/11] Compiling CasePaths EnumReflection.swift
[12/80] Compiling Parsing AnyEquatable.swift
[13/80] Compiling Parsing Deprecations.swift
[14/80] Compiling Parsing Parser.swift
[15/80] Compiling Parsing ParserPrinter.swift
[16/80] Compiling Parsing Always.swift
[17/80] Compiling Parsing AnyParserPrinter.swift
[18/80] Compiling Parsing Bool.swift
[19/80] Compiling Parsing CaseIterableRawRepresentable.swift
[20/87] Compiling Parsing Peek.swift
[21/87] Compiling Parsing Pipe.swift
[22/87] Compiling Parsing Prefix.swift
[23/87] Compiling Parsing PrefixThrough.swift
[24/87] Compiling Parsing PrefixUpTo.swift
[25/87] Compiling Parsing Printing.swift
[26/87] Compiling Parsing Pullback.swift
[27/87] Compiling Parsing CompactMap.swift
[28/87] Compiling Parsing FlatMap.swift
[29/87] Compiling Parsing Parsers.swift
[30/87] Compiling Parsing Stream.swift
[31/87] Compiling Parsing ParsingError.swift
[32/87] Compiling Parsing PrependableCollection.swift
[33/87] Compiling Parsing PrintingError.swift
[34/87] Compiling Parsing ParseableFormatStyle.swift
[35/87] Compiling Parsing RawRepresentable.swift
[36/87] Compiling Parsing String.swift
[37/87] Compiling Parsing Substring.swift
[38/87] Compiling Parsing UTF8View.swift
[39/87] Compiling Parsing ConvertingError.swift
[40/87] Compiling Parsing CountingRange.swift
[41/87] Compiling Parsing EmptyInitializable.swift
[42/87] Compiling Parsing CharacterSet.swift
[43/87] Compiling Parsing Conditional.swift
[44/87] Compiling Parsing Consumed.swift
[45/87] Compiling Parsing Digits.swift
[46/87] Compiling Parsing End.swift
[47/87] Compiling Parsing Fail.swift
[48/87] Compiling Parsing Filter.swift
[49/87] Compiling Parsing First.swift
[50/87] Compiling Parsing ReplaceError.swift
[51/87] Compiling Parsing Rest.swift
[52/87] Compiling Parsing Skip.swift
[53/87] Compiling Parsing StartsWith.swift
[54/87] Compiling Parsing UUID.swift
[55/87] Compiling Parsing Whitespace.swift
[56/87] Compiling Parsing AnyParser.swift
[57/87] Compiling Parsing Float.swift
[58/87] Compiling Parsing From.swift
[59/87] Compiling Parsing Int.swift
[60/87] Compiling Parsing Lazy.swift
[61/87] Compiling Parsing Literal.swift
[62/87] Compiling Parsing Many.swift
[63/87] Compiling Parsing Map.swift
[64/87] Emitting module Parsing
[65/87] Compiling Parsing Conversions.swift
[66/87] Compiling Parsing Data.swift
[67/87] Compiling Parsing Enum.swift
[68/87] Compiling Parsing FixedWidthInteger.swift
[69/87] Compiling Parsing Identity.swift
[70/87] Compiling Parsing JSON.swift
[71/87] Compiling Parsing LosslessStringConvertible.swift
[72/87] Compiling Parsing Memberwise.swift
[73/87] Compiling Parsing Newline.swift
[74/87] Compiling Parsing Not.swift
[75/87] Compiling Parsing OneOf.swift
[76/87] Compiling Parsing OneOfMany.swift
[77/87] Compiling Parsing Optional.swift
[78/87] Compiling Parsing Optionally.swift
[79/87] Compiling Parsing Parse.swift
[80/87] Compiling Parsing OneOfBuilder.swift
[81/87] Compiling Parsing ParserBuilder.swift
[82/87] Compiling Parsing Variadics.swift
[83/87] Compiling Parsing Conversion.swift
[84/87] Compiling Parsing AnyConversion.swift
[85/87] Compiling Parsing BinaryFloatingPoint.swift
[86/87] Compiling Parsing ConversionMap.swift
[87/87] Compiling Parsing ConversionParser.swift
[88/92] Compiling ConventionalCommitsKit Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:35:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Header>' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// A parser capable of parsing a `Header` of a `Substring`
35 | static let parser: AnyParser<Substring, Header> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Header>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | let type = Prefix { $0.isLetter }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
7 |
8 | import Foundation
9 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
10 |
11 |
:
33 |
34 | /// A parser capable of parsing a `Header` of a `Substring`
35 | static let parser: AnyParser<Substring, Header> = {
| |- note: add '@MainActor' to make static property 'parser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | let type = Prefix { $0.isLetter }
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:43:25: error: ambiguous use of 'init(_:)'
41 | Fail<Substring, String>(throwing: EmptyFailure())
42 | } else {
43 | Always($0)
| `- error: ambiguous use of 'init(_:)'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Always.swift:83:10: note: found this candidate in module 'Parsing'
81 | extension Always where Input == Substring {
82 | @inlinable
83 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
84 | self.output = output
85 | }
:
88 | extension Always where Input == Substring.UTF8View {
89 | @inlinable
90 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
91 | self.output = output
92 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/92] Compiling ConventionalCommitsKit Parsing+Regex.swift
[90/92] Compiling ConventionalCommitsKit Footer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Footer.swift:27:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Footer>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A parser capable of parsing a `Footer` of a `Substring`
27 | static let parser: AnyParser<Substring, Footer> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Footer>' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | let wordToken = Prefix<Substring> { $0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-" }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/Footer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
7 |
8 | import Foundation
9 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
10 |
11 |
:
25 |
26 | /// A parser capable of parsing a `Footer` of a `Substring`
27 | static let parser: AnyParser<Substring, Footer> = {
| |- note: add '@MainActor' to make static property 'parser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | let wordToken = Prefix<Substring> { $0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-" }
[91/92] Emitting module ConventionalCommitsKit
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:56:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit>' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// A parser capable of parsing a `ConventionalCommit` of a `Substring`
56 | private static let parser: AnyParser<Substring, ConventionalCommit> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit>' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | // When the body is empty the body will be nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
6 | //
7 |
8 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
9 | import Foundation
10 |
:
54 |
55 | /// A parser capable of parsing a `ConventionalCommit` of a `Substring`
56 | private static let parser: AnyParser<Substring, ConventionalCommit> = {
| |- note: add '@MainActor' to make static property 'parser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | // When the body is empty the body will be nil
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
86 | let bodyParser: AnyParser<Substring, Substring> = Parse {
87 | Skip {
88 | Whitespace(2, .vertical)
| `- error: ambiguous use of 'init(_:_:)'
89 | }
90 | OneOf {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate in module 'Parsing'
195 | @_disfavoredOverload
196 | @inlinable
197 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
198 | self.length = length
199 | self.configuration = configuration
:
211 | @_disfavoredOverload
212 | @inlinable
213 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
214 | self.init(length, configuration)
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Footer.swift:27:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Footer>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A parser capable of parsing a `Footer` of a `Substring`
27 | static let parser: AnyParser<Substring, Footer> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Footer>' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | let wordToken = Prefix<Substring> { $0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-" }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/Footer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
7 |
8 | import Foundation
9 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
10 |
11 |
:
25 |
26 | /// A parser capable of parsing a `Footer` of a `Substring`
27 | static let parser: AnyParser<Substring, Footer> = {
| |- note: add '@MainActor' to make static property 'parser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | let wordToken = Prefix<Substring> { $0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-" }
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:35:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Header>' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// A parser capable of parsing a `Header` of a `Substring`
35 | static let parser: AnyParser<Substring, Header> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit.Header>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | let type = Prefix { $0.isLetter }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
7 |
8 | import Foundation
9 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
10 |
11 |
:
33 |
34 | /// A parser capable of parsing a `Header` of a `Substring`
35 | static let parser: AnyParser<Substring, Header> = {
| |- note: add '@MainActor' to make static property 'parser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | let type = Prefix { $0.isLetter }
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:43:25: error: ambiguous use of 'init(_:)'
41 | Fail<Substring, String>(throwing: EmptyFailure())
42 | } else {
43 | Always($0)
| `- error: ambiguous use of 'init(_:)'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Always.swift:83:10: note: found this candidate in module 'Parsing'
81 | extension Always where Input == Substring {
82 | @inlinable
83 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
84 | self.output = output
85 | }
:
88 | extension Always where Input == Substring.UTF8View {
89 | @inlinable
90 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
91 | self.output = output
92 | }
[92/92] Compiling ConventionalCommitsKit ConventionalCommit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:56:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit>' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// A parser capable of parsing a `ConventionalCommit` of a `Substring`
56 | private static let parser: AnyParser<Substring, ConventionalCommit> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, ConventionalCommit>' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | // When the body is empty the body will be nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
6 | //
7 |
8 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
9 | import Foundation
10 |
:
54 |
55 | /// A parser capable of parsing a `ConventionalCommit` of a `Substring`
56 | private static let parser: AnyParser<Substring, ConventionalCommit> = {
| |- note: add '@MainActor' to make static property 'parser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | // When the body is empty the body will be nil
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
86 | let bodyParser: AnyParser<Substring, Substring> = Parse {
87 | Skip {
88 | Whitespace(2, .vertical)
| `- error: ambiguous use of 'init(_:_:)'
89 | }
90 | OneOf {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate in module 'Parsing'
195 | @_disfavoredOverload
196 | @inlinable
197 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
198 | self.length = length
199 | self.configuration = configuration
:
211 | @_disfavoredOverload
212 | @inlinable
213 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
214 | self.init(length, configuration)
215 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Compiling CasePaths Operators.swift
[5/8] Emitting module CasePaths
[6/8] Compiling CasePaths EnumReflection.swift
[7/8] Compiling CasePaths CasePath.swift
[8/8] Compiling CasePaths CasePaths.swift
[9/77] Compiling Parsing Peek.swift
[10/77] Compiling Parsing Pipe.swift
[11/77] Compiling Parsing Prefix.swift
[12/77] Compiling Parsing PrefixThrough.swift
[13/77] Compiling Parsing PrefixUpTo.swift
[14/77] Compiling Parsing Printing.swift
[15/77] Compiling Parsing Pullback.swift
[16/84] Compiling Parsing ParseableFormatStyle.swift
[17/84] Compiling Parsing RawRepresentable.swift
[18/84] Compiling Parsing String.swift
[19/84] Compiling Parsing Substring.swift
[20/84] Compiling Parsing UTF8View.swift
[21/84] Compiling Parsing ConvertingError.swift
[22/84] Compiling Parsing CountingRange.swift
[23/84] Compiling Parsing EmptyInitializable.swift
[24/84] Compiling Parsing ReplaceError.swift
[25/84] Compiling Parsing Rest.swift
[26/84] Compiling Parsing Skip.swift
[27/84] Compiling Parsing StartsWith.swift
[28/84] Compiling Parsing UUID.swift
[29/84] Compiling Parsing Whitespace.swift
[30/84] Compiling Parsing AnyParser.swift
[31/84] Compiling Parsing Newline.swift
[32/84] Compiling Parsing Not.swift
[33/84] Compiling Parsing OneOf.swift
[34/84] Compiling Parsing OneOfMany.swift
[35/84] Compiling Parsing Optional.swift
[36/84] Compiling Parsing Optionally.swift
[37/84] Compiling Parsing Parse.swift
[38/84] Compiling Parsing CharacterSet.swift
[39/84] Compiling Parsing Conditional.swift
[40/84] Compiling Parsing Consumed.swift
[41/84] Compiling Parsing Digits.swift
[42/84] Compiling Parsing End.swift
[43/84] Compiling Parsing Fail.swift
[44/84] Compiling Parsing Filter.swift
[45/84] Compiling Parsing First.swift
[46/84] Compiling Parsing AnyEquatable.swift
[47/84] Compiling Parsing Deprecations.swift
[48/84] Compiling Parsing Parser.swift
[49/84] Compiling Parsing ParserPrinter.swift
[50/84] Compiling Parsing Always.swift
[51/84] Compiling Parsing AnyParserPrinter.swift
[52/84] Compiling Parsing Bool.swift
[53/84] Compiling Parsing CaseIterableRawRepresentable.swift
[54/84] Compiling Parsing CompactMap.swift
[55/84] Compiling Parsing FlatMap.swift
[56/84] Compiling Parsing Parsers.swift
[57/84] Compiling Parsing Stream.swift
[58/84] Compiling Parsing ParsingError.swift
[59/84] Compiling Parsing PrependableCollection.swift
[60/84] Compiling Parsing PrintingError.swift
[61/84] Emitting module Parsing
[62/84] Compiling Parsing Conversions.swift
[63/84] Compiling Parsing Data.swift
[64/84] Compiling Parsing Enum.swift
[65/84] Compiling Parsing FixedWidthInteger.swift
[66/84] Compiling Parsing Identity.swift
[67/84] Compiling Parsing JSON.swift
[68/84] Compiling Parsing LosslessStringConvertible.swift
[69/84] Compiling Parsing Memberwise.swift
[70/84] Compiling Parsing Float.swift
[71/84] Compiling Parsing From.swift
[72/84] Compiling Parsing Int.swift
[73/84] Compiling Parsing Lazy.swift
[74/84] Compiling Parsing Literal.swift
[75/84] Compiling Parsing Many.swift
[76/84] Compiling Parsing Map.swift
[77/84] Compiling Parsing OneOfBuilder.swift
[78/84] Compiling Parsing ParserBuilder.swift
[79/84] Compiling Parsing Variadics.swift
[80/84] Compiling Parsing Conversion.swift
[81/84] Compiling Parsing AnyConversion.swift
[82/84] Compiling Parsing BinaryFloatingPoint.swift
[83/84] Compiling Parsing ConversionMap.swift
[84/84] Compiling Parsing ConversionParser.swift
[85/89] Compiling ConventionalCommitsKit Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:43:25: error: ambiguous use of 'init(_:)'
41 | Fail<Substring, String>(throwing: EmptyFailure())
42 | } else {
43 | Always($0)
| `- error: ambiguous use of 'init(_:)'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Always.swift:83:10: note: found this candidate in module 'Parsing'
81 | extension Always where Input == Substring {
82 | @inlinable
83 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
84 | self.output = output
85 | }
:
88 | extension Always where Input == Substring.UTF8View {
89 | @inlinable
90 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
91 | self.output = output
92 | }
[86/89] Compiling ConventionalCommitsKit Parsing+Regex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/89] Compiling ConventionalCommitsKit Footer.swift
[88/89] Compiling ConventionalCommitsKit ConventionalCommit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
86 | let bodyParser: AnyParser<Substring, Substring> = Parse {
87 | Skip {
88 | Whitespace(2, .vertical)
| `- error: ambiguous use of 'init(_:_:)'
89 | }
90 | OneOf {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate in module 'Parsing'
195 | @_disfavoredOverload
196 | @inlinable
197 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
198 | self.length = length
199 | self.configuration = configuration
:
211 | @_disfavoredOverload
212 | @inlinable
213 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
214 | self.init(length, configuration)
215 | }
[89/89] Emitting module ConventionalCommitsKit
/Users/admin/builder/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
86 | let bodyParser: AnyParser<Substring, Substring> = Parse {
87 | Skip {
88 | Whitespace(2, .vertical)
| `- error: ambiguous use of 'init(_:_:)'
89 | }
90 | OneOf {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate in module 'Parsing'
195 | @_disfavoredOverload
196 | @inlinable
197 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
198 | self.length = length
199 | self.configuration = configuration
:
211 | @_disfavoredOverload
212 | @inlinable
213 | public init(_ length: Length, _ configuration: Configuration = .all) {
| `- note: found this candidate in module 'Parsing'
214 | self.init(length, configuration)
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:43:25: error: ambiguous use of 'init(_:)'
41 | Fail<Substring, String>(throwing: EmptyFailure())
42 | } else {
43 | Always($0)
| `- error: ambiguous use of 'init(_:)'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Always.swift:83:10: note: found this candidate in module 'Parsing'
81 | extension Always where Input == Substring {
82 | @inlinable
83 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
84 | self.output = output
85 | }
:
88 | extension Always where Input == Substring.UTF8View {
89 | @inlinable
90 | public init(_ output: Output) {
| `- note: found this candidate in module 'Parsing'
91 | self.output = output
92 | }
BUILD FAILURE 6.1 macosSpm