Build Information
Failed to build ConventionalCommitsKit with Swift 5.8 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
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.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
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/3383] Fetching swift-case-paths
[2336/4806] Fetching swift-case-paths, swift-docc-plugin
[4694/6883] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-parsing
Fetched https://github.com/apple/swift-docc-plugin (0.44s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.47s)
Fetched https://github.com/pointfreeco/swift-case-paths (0.47s)
[1/97543] Fetching swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing (5.74s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.41s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.9.2 (0.90s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.2.1 (0.30s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.8.1 (0.30s)
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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/7] Compiling CasePaths Operators.swift
[4/7] Emitting module CasePaths
[5/7] Compiling CasePaths EnumReflection.swift
[6/7] Compiling CasePaths CasePaths.swift
[7/7] Compiling CasePaths CasePath.swift
[10/76] Compiling Parsing UTF8View.swift
[11/76] Compiling Parsing ConvertingError.swift
[12/76] Compiling Parsing CountingRange.swift
[13/76] Compiling Parsing EmptyInitializable.swift
[14/76] Compiling Parsing AnyEquatable.swift
[15/76] Compiling Parsing Deprecations.swift
[16/76] Compiling Parsing Parser.swift
[17/76] Compiling Parsing ParserPrinter.swift
[18/76] Compiling Parsing Always.swift
[19/76] Compiling Parsing AnyParserPrinter.swift
[20/85] Compiling Parsing Not.swift
[21/85] Compiling Parsing OneOf.swift
[22/85] Compiling Parsing OneOfMany.swift
[23/85] Compiling Parsing Optional.swift
[24/85] Compiling Parsing Optionally.swift
[25/85] Compiling Parsing Parse.swift
[26/85] Compiling Parsing Peek.swift
[27/85] Compiling Parsing Pipe.swift
[28/85] Compiling Parsing Prefix.swift
[29/85] Compiling Parsing PrefixThrough.swift
[30/85] Compiling Parsing PrefixUpTo.swift
[31/85] Compiling Parsing Printing.swift
[32/85] Compiling Parsing Pullback.swift
[33/85] Compiling Parsing ReplaceError.swift
[34/85] Compiling Parsing Rest.swift
[35/85] Compiling Parsing Skip.swift
[36/85] Compiling Parsing StartsWith.swift
[37/85] Compiling Parsing UUID.swift
[38/85] Compiling Parsing First.swift
[39/85] Compiling Parsing Float.swift
[40/85] Compiling Parsing From.swift
[41/85] Compiling Parsing Int.swift
[42/85] Compiling Parsing Lazy.swift
[43/85] Compiling Parsing Literal.swift
[44/85] Compiling Parsing Many.swift
[45/85] Compiling Parsing Map.swift
[46/85] Compiling Parsing Newline.swift
[47/85] Compiling Parsing Enum.swift
[48/85] Compiling Parsing FixedWidthInteger.swift
[49/85] Compiling Parsing Identity.swift
[50/85] Compiling Parsing JSON.swift
[51/85] Compiling Parsing LosslessStringConvertible.swift
[52/85] Compiling Parsing Memberwise.swift
[53/85] Compiling Parsing ParseableFormatStyle.swift
[54/85] Compiling Parsing RawRepresentable.swift
[55/85] Compiling Parsing String.swift
[56/85] Compiling Parsing Substring.swift
[57/85] Compiling Parsing Bool.swift
[58/85] Compiling Parsing CaseIterableRawRepresentable.swift
[59/85] Compiling Parsing CharacterSet.swift
[60/85] Compiling Parsing Conditional.swift
[61/85] Compiling Parsing Consumed.swift
[62/85] Compiling Parsing Digits.swift
[63/85] Compiling Parsing End.swift
[64/85] Compiling Parsing Fail.swift
[65/85] Compiling Parsing Filter.swift
[66/85] Compiling Parsing Whitespace.swift
[67/85] Compiling Parsing AnyParser.swift
[68/85] Compiling Parsing CompactMap.swift
[69/85] Compiling Parsing FlatMap.swift
[70/85] Compiling Parsing Parsers.swift
[71/85] Compiling Parsing Stream.swift
[72/85] Compiling Parsing ParsingError.swift
[73/85] Compiling Parsing PrependableCollection.swift
[74/85] Compiling Parsing PrintingError.swift
[75/85] Emitting module Parsing
[76/85] Compiling Parsing OneOfBuilder.swift
[77/85] Compiling Parsing ParserBuilder.swift
[78/85] Compiling Parsing Variadics.swift
[79/85] Compiling Parsing Conversion.swift
[80/85] Compiling Parsing AnyConversion.swift
[81/85] Compiling Parsing BinaryFloatingPoint.swift
[82/85] Compiling Parsing ConversionMap.swift
[83/85] Compiling Parsing ConversionParser.swift
[84/85] Compiling Parsing Conversions.swift
[85/85] Compiling Parsing Data.swift
[88/92] Compiling ConventionalCommitsKit Header.swift
/host/spi-builder-workspace/Sources/Header.swift:38:22: 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:22: 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)
[89/92] 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:22: 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>)
^
[90/92] 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) {
^
[91/92] Compiling ConventionalCommitsKit Footer.swift
[92/92] Compiling ConventionalCommitsKit Parsing+Regex.swift
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:33:62: error: cannot convert value of type 'Substring' to expected argument type 'String'
let range = Range(regexMatch.range(at: 1), in: input)
^
String( )
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:31: error: cannot convert value of type '()' to expected argument type 'Range<Substring.Index>' (aka 'Range<String.Index>')
input = input[endIndex...]
^
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/6] Compiling ConventionalCommitsKit Header.swift
/host/spi-builder-workspace/Sources/Header.swift:38:22: 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:22: 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)
[4/6] 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:22: 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>)
^
[5/6] 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) {
^
[6/6] Compiling ConventionalCommitsKit Parsing+Regex.swift
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:33:62: error: cannot convert value of type 'Substring' to expected argument type 'String'
let range = Range(regexMatch.range(at: 1), in: input)
^
String( )
/host/spi-builder-workspace/Sources/Extensions/Parsing+Regex.swift:42:31: error: cannot convert value of type '()' to expected argument type 'Range<Substring.Index>' (aka 'Range<String.Index>')
input = input[endIndex...]
^
BUILD FAILURE 5.8 linux