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-1":/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: 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:             5.10
Building package at path:  $workDir
https://github.com/alexanderwe/ConventionalCommitsKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-case-paths
[1/1457] Fetching swift-docc-plugin
[1269/5060] Fetching swift-docc-plugin, swift-case-paths
[2625/7340] Fetching swift-docc-plugin, swift-case-paths, xctest-dynamic-overlay
[7341/104924] Fetching swift-docc-plugin, swift-case-paths, xctest-dynamic-overlay, swift-parsing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (5.29s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (5.29s)
Fetched https://github.com/apple/swift-docc-plugin from cache (5.30s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (5.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.40s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.44s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.2.1 (0.42s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.8.1 (0.41s)
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/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
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
                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 EnumReflection.swift
[10/11] Compiling CasePaths CasePath.swift
[11/11] Emitting module CasePaths
[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 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 First.swift
[42/88] Compiling Parsing Float.swift
[43/88] Compiling Parsing From.swift
[44/88] Compiling Parsing Int.swift
[45/88] Compiling Parsing Lazy.swift
[46/88] Compiling Parsing Literal.swift
[47/88] Compiling Parsing Many.swift
[48/88] Compiling Parsing Map.swift
[49/88] Compiling Parsing Newline.swift
[50/88] Compiling Parsing Bool.swift
[51/88] Compiling Parsing CaseIterableRawRepresentable.swift
[52/88] Compiling Parsing CharacterSet.swift
[53/88] Compiling Parsing Conditional.swift
[54/88] Compiling Parsing Consumed.swift
[55/88] Compiling Parsing Digits.swift
[56/88] Compiling Parsing End.swift
[57/88] Compiling Parsing Fail.swift
[58/88] Compiling Parsing Filter.swift
[59/88] Compiling Parsing Whitespace.swift
[60/88] Compiling Parsing AnyParser.swift
[61/88] Compiling Parsing CompactMap.swift
[62/88] Compiling Parsing FlatMap.swift
[63/88] Compiling Parsing Parsers.swift
[64/88] Compiling Parsing Stream.swift
[65/88] Compiling Parsing ParsingError.swift
[66/88] Compiling Parsing PrependableCollection.swift
[67/88] Compiling Parsing PrintingError.swift
[68/88] Compiling Parsing Enum.swift
[69/88] Compiling Parsing FixedWidthInteger.swift
[70/88] Compiling Parsing Identity.swift
[71/88] Compiling Parsing JSON.swift
[72/88] Compiling Parsing LosslessStringConvertible.swift
[73/88] Compiling Parsing Memberwise.swift
[74/88] Compiling Parsing ParseableFormatStyle.swift
[75/88] Compiling Parsing RawRepresentable.swift
[76/88] Compiling Parsing String.swift
[77/88] Compiling Parsing Substring.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 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...]
                     ^
[94/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) {
         ^
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>)
           ^
[6/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: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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>)
           ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1