Build Information
Failed to build ConventionalCommitsKit, reference main (230442
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 12:20:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.56.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/pointfreeco/swift-case-paths
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-parsing
[1/4174] Fetching swift-case-paths
[377/6212] Fetching swift-case-paths, swift-docc-plugin
[1294/11197] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-case-paths from cache (1.39s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.39s)
[4886/4985] Fetching xctest-dynamic-overlay
[4986/102742] Fetching xctest-dynamic-overlay, swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing from cache (7.68s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (7.68s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.70s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.70s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.2.1 (0.68s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.8.1 (0.67s)
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
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
========================================
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.85s)
Fetching https://github.com/pointfreeco/swift-parsing from cache
Fetched https://github.com/pointfreeco/swift-parsing from cache (0.56s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.03s)
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/swift-case-paths from cache (0.49s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.49s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.71s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.67s)
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/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.9.2
Creating working copy for https://github.com/alexanderwe/ConventionalCommitsKit.git
Working copy of https://github.com/alexanderwe/ConventionalCommitsKit.git resolved at main (2304425)
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
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.0
Building package at path: $PWD
https://github.com/alexanderwe/ConventionalCommitsKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/11] Compiling CasePaths Operators.swift
[8/11] Compiling CasePaths CasePaths.swift
[9/11] Compiling CasePaths CasePath.swift
[10/11] Compiling CasePaths EnumReflection.swift
[11/11] Emitting module CasePaths
[12/80] Compiling Parsing Newline.swift
[13/80] Compiling Parsing Not.swift
[14/80] Compiling Parsing OneOf.swift
[15/80] Compiling Parsing OneOfMany.swift
[16/80] Compiling Parsing Optional.swift
[17/80] Compiling Parsing Optionally.swift
[18/80] Compiling Parsing Parse.swift
[19/87] Compiling Parsing AnyEquatable.swift
[20/87] Compiling Parsing Deprecations.swift
[21/87] Compiling Parsing Parser.swift
[22/87] Compiling Parsing ParserPrinter.swift
[23/87] Compiling Parsing Always.swift
[24/87] Compiling Parsing AnyParserPrinter.swift
[25/87] Compiling Parsing Bool.swift
[26/87] Compiling Parsing CaseIterableRawRepresentable.swift
[27/87] Compiling Parsing ReplaceError.swift
[28/87] Compiling Parsing Rest.swift
[29/87] Compiling Parsing Skip.swift
[30/87] Compiling Parsing StartsWith.swift
[31/87] Compiling Parsing UUID.swift
[32/87] Compiling Parsing Whitespace.swift
[33/87] Compiling Parsing AnyParser.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 Conversions.swift
[43/87] Compiling Parsing Data.swift
[44/87] Compiling Parsing Enum.swift
[45/87] Compiling Parsing FixedWidthInteger.swift
[46/87] Compiling Parsing Identity.swift
[47/87] Compiling Parsing JSON.swift
[48/87] Compiling Parsing LosslessStringConvertible.swift
[49/87] Compiling Parsing Memberwise.swift
[50/87] Compiling Parsing Peek.swift
[51/87] Compiling Parsing Pipe.swift
[52/87] Compiling Parsing Prefix.swift
[53/87] Compiling Parsing PrefixThrough.swift
[54/87] Compiling Parsing PrefixUpTo.swift
[55/87] Compiling Parsing Printing.swift
[56/87] Compiling Parsing Pullback.swift
[57/87] Compiling Parsing CharacterSet.swift
[58/87] Compiling Parsing Conditional.swift
[59/87] Compiling Parsing Consumed.swift
[60/87] Compiling Parsing Digits.swift
[61/87] Compiling Parsing End.swift
[62/87] Compiling Parsing Fail.swift
[63/87] Compiling Parsing Filter.swift
[64/87] Compiling Parsing First.swift
[65/87] Compiling Parsing CompactMap.swift
[66/87] Compiling Parsing FlatMap.swift
[67/87] Compiling Parsing Parsers.swift
[68/87] Compiling Parsing Stream.swift
[69/87] Compiling Parsing ParsingError.swift
[70/87] Compiling Parsing PrependableCollection.swift
[71/87] Compiling Parsing PrintingError.swift
[72/87] Compiling Parsing Float.swift
[73/87] Compiling Parsing From.swift
[74/87] Compiling Parsing Int.swift
[75/87] Compiling Parsing Lazy.swift
[76/87] Compiling Parsing Literal.swift
[77/87] Compiling Parsing Many.swift
[78/87] Compiling Parsing Map.swift
[79/87] Emitting module Parsing
[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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
[89/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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
| `- 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 == "-" }
[90/92] Compiling ConventionalCommitsKit Parsing+Regex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
BUILD FAILURE 6.0 macosSpm