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 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexanderwe/ConventionalCommitsKit.git
Reference: v2.0.0
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
 * tag               v2.0.0     -> FETCH_HEAD
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 v2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/alexanderwe/ConventionalCommitsKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-case-paths
[1/3603] Fetching swift-case-paths
[362/5060] Fetching swift-case-paths, swift-docc-plugin
[5047/7340] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.39s)
[3623/3737] Fetching swift-docc-plugin, xctest-dynamic-overlay
[3738/101321] Fetching swift-docc-plugin, xctest-dynamic-overlay, swift-parsing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (5.69s)
Fetched https://github.com/apple/swift-docc-plugin from cache (5.70s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (5.82s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.47s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.40s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.2.1 (0.40s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.8.1 (0.40s)
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
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
/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
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[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
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[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 CasePaths.swift
[9/11] Compiling CasePaths CasePath.swift
[10/11] Compiling CasePaths EnumReflection.swift
[11/11] Emitting module CasePaths
[13/79] Compiling Parsing UTF8View.swift
[14/79] Compiling Parsing ConvertingError.swift
[15/79] Compiling Parsing CountingRange.swift
[16/79] Compiling Parsing EmptyInitializable.swift
[17/79] Compiling Parsing AnyEquatable.swift
[18/79] Compiling Parsing Deprecations.swift
[19/79] Compiling Parsing Parser.swift
[20/79] Compiling Parsing ParserPrinter.swift
[21/79] Compiling Parsing Always.swift
[22/79] Compiling Parsing AnyParserPrinter.swift
[23/88] Compiling Parsing Not.swift
[24/88] Compiling Parsing OneOf.swift
[25/88] Compiling Parsing OneOfMany.swift
[26/88] Compiling Parsing Optional.swift
[27/88] Compiling Parsing Optionally.swift
[28/88] Compiling Parsing Parse.swift
[29/88] Compiling Parsing Peek.swift
[30/88] Compiling Parsing Pipe.swift
[31/88] Compiling Parsing Prefix.swift
[32/88] Compiling Parsing PrefixThrough.swift
[33/88] Compiling Parsing PrefixUpTo.swift
[34/88] Compiling Parsing Printing.swift
[35/88] Compiling Parsing Pullback.swift
[36/88] Compiling Parsing ReplaceError.swift
[37/88] Compiling Parsing Rest.swift
[38/88] Compiling Parsing Skip.swift
[39/88] Compiling Parsing StartsWith.swift
[40/88] Compiling Parsing UUID.swift
[41/88] Compiling Parsing Bool.swift
[42/88] Compiling Parsing CaseIterableRawRepresentable.swift
[43/88] Compiling Parsing CharacterSet.swift
[44/88] Compiling Parsing Conditional.swift
[45/88] Compiling Parsing Consumed.swift
[46/88] Compiling Parsing Digits.swift
[47/88] Compiling Parsing End.swift
[48/88] Compiling Parsing Fail.swift
[49/88] Compiling Parsing Filter.swift
[50/88] Compiling Parsing Enum.swift
[51/88] Compiling Parsing FixedWidthInteger.swift
[52/88] Compiling Parsing Identity.swift
[53/88] Compiling Parsing JSON.swift
[54/88] Compiling Parsing LosslessStringConvertible.swift
[55/88] Compiling Parsing Memberwise.swift
[56/88] Compiling Parsing ParseableFormatStyle.swift
[57/88] Compiling Parsing RawRepresentable.swift
[58/88] Compiling Parsing String.swift
[59/88] Compiling Parsing Substring.swift
[60/88] Compiling Parsing First.swift
[61/88] Compiling Parsing Float.swift
[62/88] Compiling Parsing From.swift
[63/88] Compiling Parsing Int.swift
[64/88] Compiling Parsing Lazy.swift
[65/88] Compiling Parsing Literal.swift
[66/88] Compiling Parsing Many.swift
[67/88] Compiling Parsing Map.swift
[68/88] Compiling Parsing Newline.swift
[69/88] Compiling Parsing Whitespace.swift
[70/88] Compiling Parsing AnyParser.swift
[71/88] Compiling Parsing CompactMap.swift
[72/88] Compiling Parsing FlatMap.swift
[73/88] Compiling Parsing Parsers.swift
[74/88] Compiling Parsing Stream.swift
[75/88] Compiling Parsing ParsingError.swift
[76/88] Compiling Parsing PrependableCollection.swift
[77/88] Compiling Parsing PrintingError.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
[90/94] Compiling ConventionalCommitsKit Header.swift
/host/spi-builder-workspace/Sources/Header.swift:38:29: error: ambiguous use of 'init(_:)'
                .map(String.init)
                            ^
Swift.String:2:23: note: found this candidate
    @inlinable public init(_ substring: __shared Substring)
                      ^
Foundation.String:3:12: note: found this candidate
    public init(_ attrStrSlice: Slice<AttributedString.CharacterView>)
           ^
/host/spi-builder-workspace/Sources/Header.swift:38:29: error: ambiguous use of 'init(_:)'
                .map(String.init)
                            ^
Swift.String:2:23: note: found this candidate
    @inlinable public init(_ substring: __shared Substring)
                      ^
Foundation.String:3:12: note: found this candidate
    public init(_ attrStrSlice: Slice<AttributedString.CharacterView>)
           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[91/94] Compiling ConventionalCommitsKit Footer.swift
[92/94] Emitting module ConventionalCommitsKit
/host/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
                Whitespace(2, .vertical)
                ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:213:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
/host/spi-builder-workspace/Sources/Header.swift:38:29: error: ambiguous use of 'init(_:)'
                .map(String.init)
                            ^
Swift.String:2:23: note: found this candidate
    @inlinable public init(_ substring: __shared Substring)
                      ^
Foundation.String:3:12: note: found this candidate
    public init(_ attrStrSlice: Slice<AttributedString.CharacterView>)
           ^
[93/94] Compiling ConventionalCommitsKit ConventionalCommit.swift
/host/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
                Whitespace(2, .vertical)
                ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:213:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
[94/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'
              let range = Range(regexMatch.range(at: 1), in: input)
                          ^
Foundation.Range:3:12: note: where 'R' = 'NSRange' (aka '_NSRange')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:22: error: type '()' cannot conform to 'RangeExpression'
        input = input[endIndex...]
                     ^
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:22: note: only concrete types such as structs, enums and classes can conform to protocols
        input = input[endIndex...]
                     ^
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:22: note: required by subscript 'subscript(_:)' where 'R' = '()'
        input = input[endIndex...]
                     ^
error: fatalError
[0/1] Planning build
/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
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[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
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] 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'
              let range = Range(regexMatch.range(at: 1), in: input)
                          ^
Foundation.Range:3:12: note: where 'R' = 'NSRange' (aka '_NSRange')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:22: error: type '()' cannot conform to 'RangeExpression'
        input = input[endIndex...]
                     ^
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:22: note: only concrete types such as structs, enums and classes can conform to protocols
        input = input[endIndex...]
                     ^
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:22: note: required by subscript 'subscript(_:)' where 'R' = '()'
        input = input[endIndex...]
                     ^
[5/7] Compiling ConventionalCommitsKit Header.swift
/host/spi-builder-workspace/Sources/Header.swift:38:29: error: ambiguous use of 'init(_:)'
                .map(String.init)
                            ^
Swift.String:2:23: note: found this candidate
    @inlinable public init(_ substring: __shared Substring)
                      ^
Foundation.String:3:12: note: found this candidate
    public init(_ attrStrSlice: Slice<AttributedString.CharacterView>)
           ^
/host/spi-builder-workspace/Sources/Header.swift:38:29: error: ambiguous use of 'init(_:)'
                .map(String.init)
                            ^
Swift.String:2:23: note: found this candidate
    @inlinable public init(_ substring: __shared Substring)
                      ^
Foundation.String:3:12: note: found this candidate
    public init(_ attrStrSlice: Slice<AttributedString.CharacterView>)
           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module ConventionalCommitsKit
/host/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
                Whitespace(2, .vertical)
                ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:213:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
/host/spi-builder-workspace/Sources/Header.swift:38:29: error: ambiguous use of 'init(_:)'
                .map(String.init)
                            ^
Swift.String:2:23: note: found this candidate
    @inlinable public init(_ substring: __shared Substring)
                      ^
Foundation.String:3:12: note: found this candidate
    public init(_ attrStrSlice: Slice<AttributedString.CharacterView>)
           ^
[7/7] Compiling ConventionalCommitsKit ConventionalCommit.swift
/host/spi-builder-workspace/Sources/ConventionalCommit.swift:88:17: error: ambiguous use of 'init(_:_:)'
                Whitespace(2, .vertical)
                ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:197:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Whitespace.swift:213:10: note: found this candidate
  public init(_ length: Length, _ configuration: Configuration = .all) {
         ^
error: fatalError
BUILD FAILURE 5.10 linux