This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ConventionalCommitsKit with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexanderwe/ConventionalCommitsKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/alexanderwe/ConventionalCommitsKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-docc-plugin
[1/3714] Fetching swift-case-paths
[596/5172] Fetching swift-case-paths, swift-docc-plugin
[5057/7528] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay
[7529/105163] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay, swift-parsing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (5.75s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (5.76s)
Fetched https://github.com/apple/swift-docc-plugin from cache (5.76s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (5.87s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.54s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.55s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.2.1 (0.51s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.8.1 (0.52s)
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
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
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Compiling CasePaths Operators.swift
[8/11] Compiling CasePaths EnumReflection.swift
[9/11] Compiling CasePaths CasePaths.swift
[10/11] Emitting module CasePaths
[11/11] Compiling CasePaths CasePath.swift
[13/79] Compiling Parsing Not.swift
[14/79] Compiling Parsing OneOf.swift
[15/79] Compiling Parsing OneOfMany.swift
[16/79] Compiling Parsing Optional.swift
[17/79] Compiling Parsing Optionally.swift
[18/79] Compiling Parsing Parse.swift
[19/79] Compiling Parsing Peek.swift
[20/79] Compiling Parsing Pipe.swift
[21/79] Compiling Parsing Prefix.swift
[22/88] Compiling Parsing UTF8View.swift
[23/88] Compiling Parsing ConvertingError.swift
[24/88] Compiling Parsing CountingRange.swift
[25/88] Compiling Parsing EmptyInitializable.swift
[26/88] Compiling Parsing AnyEquatable.swift
[27/88] Compiling Parsing Deprecations.swift
[28/88] Compiling Parsing Parser.swift
[29/88] Compiling Parsing ParserPrinter.swift
[30/88] Compiling Parsing Always.swift
[31/88] Compiling Parsing AnyParserPrinter.swift
[32/88] Compiling Parsing Enum.swift
[33/88] Compiling Parsing FixedWidthInteger.swift
[34/88] Compiling Parsing Identity.swift
[35/88] Compiling Parsing JSON.swift
[36/88] Compiling Parsing LosslessStringConvertible.swift
[37/88] Compiling Parsing Memberwise.swift
[38/88] Compiling Parsing ParseableFormatStyle.swift
[39/88] Compiling Parsing RawRepresentable.swift
[40/88] Compiling Parsing String.swift
[41/88] Compiling Parsing Substring.swift
[42/88] Compiling Parsing Bool.swift
[43/88] Compiling Parsing CaseIterableRawRepresentable.swift
[44/88] Compiling Parsing CharacterSet.swift
[45/88] Compiling Parsing Conditional.swift
[46/88] Compiling Parsing Consumed.swift
[47/88] Compiling Parsing Digits.swift
[48/88] Compiling Parsing End.swift
[49/88] Compiling Parsing Fail.swift
[50/88] Compiling Parsing Filter.swift
[51/88] Compiling Parsing Whitespace.swift
[52/88] Compiling Parsing AnyParser.swift
[53/88] Compiling Parsing CompactMap.swift
[54/88] Compiling Parsing FlatMap.swift
[55/88] Compiling Parsing Parsers.swift
[56/88] Compiling Parsing Stream.swift
[57/88] Compiling Parsing ParsingError.swift
[58/88] Compiling Parsing PrependableCollection.swift
[59/88] Compiling Parsing PrintingError.swift
[60/88] Compiling Parsing PrefixThrough.swift
[61/88] Compiling Parsing PrefixUpTo.swift
[62/88] Compiling Parsing Printing.swift
[63/88] Compiling Parsing Pullback.swift
[64/88] Compiling Parsing ReplaceError.swift
[65/88] Compiling Parsing Rest.swift
[66/88] Compiling Parsing Skip.swift
[67/88] Compiling Parsing StartsWith.swift
[68/88] Compiling Parsing UUID.swift
[69/88] Compiling Parsing First.swift
[70/88] Compiling Parsing Float.swift
[71/88] Compiling Parsing From.swift
[72/88] Compiling Parsing Int.swift
[73/88] Compiling Parsing Lazy.swift
[74/88] Compiling Parsing Literal.swift
[75/88] Compiling Parsing Many.swift
[76/88] Compiling Parsing Map.swift
[77/88] Compiling Parsing Newline.swift
[78/88] Emitting module Parsing
[79/88] Compiling Parsing OneOfBuilder.swift
[80/88] Compiling Parsing ParserBuilder.swift
[81/88] Compiling Parsing Variadics.swift
[82/88] Compiling Parsing Conversion.swift
[83/88] Compiling Parsing AnyConversion.swift
[84/88] Compiling Parsing BinaryFloatingPoint.swift
[85/88] Compiling Parsing ConversionMap.swift
[86/88] Compiling Parsing ConversionParser.swift
[87/88] Compiling Parsing Conversions.swift
[88/88] Compiling Parsing Data.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/94] Compiling ConventionalCommitsKit Footer.swift
/host/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 == "-" }
/host/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
/host/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 == "-" }
[91/94] Emitting module ConventionalCommitsKit
/host/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
/host/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
/host/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
/host/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 {
/host/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 |   }
/host/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 == "-" }
/host/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
/host/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 == "-" }
/host/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 }
/host/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
/host/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 }
/host/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 |                 }
/host/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/94] Compiling ConventionalCommitsKit ConventionalCommit.swift
/host/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
/host/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
/host/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
/host/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 {
/host/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 |   }
[93/94] Compiling ConventionalCommitsKit Parsing+Regex.swift
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:33:27: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
31 |
32 |         guard let regexMatch = regexMatches.first,
33 |               let range = Range(regexMatch.range(at: 1), in: input)
   |                           `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
34 |         else {
35 |             throw ConventionalCommitParsingError.prefixDoesNotMatch
Foundation.Range:3:12: note: where 'R' = 'NSRange' (aka '_NSRange')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == String.Index {
3 |     public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
  |            `- note: where 'R' = 'NSRange' (aka '_NSRange')
4 | }
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:22: error: type '()' cannot conform to 'RangeExpression'
40 |         let match = input[..<endIndex]
41 |
42 |         input = input[endIndex...]
   |                      |- error: type '()' cannot conform to 'RangeExpression'
   |                      |- note: only concrete types such as structs, enums and classes can conform to protocols
   |                      `- note: required by subscript 'subscript(_:)' where 'R' = '()'
43 |
44 |         return match
[94/94] Compiling ConventionalCommitsKit Header.swift
/host/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 }
/host/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
/host/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 }
/host/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 |                 }
/host/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.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.