The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Rester with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/finestructure/Rester.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/finestructure/Rester
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9015e6f Merge pull request #108 from finestructure/pretty-print-log-json
Cloned https://github.com/finestructure/Rester.git
Revision (git rev-parse @):
9015e6fcffc8b1bd45fad82b38522700439d23f5
SUCCESS checkout https://github.com/finestructure/Rester.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/finestructure/Rester.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/finestructure/ValueCodable
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/pointfreeco/swift-gen.git
[1/175] Fetching valuecodable
[176/812] Fetching valuecodable, swift-gen
[769/1926] Fetching valuecodable, swift-gen, rainbow
[891/2100] Fetching valuecodable, swift-gen, rainbow, legibleerror
[2101/10929] Fetching valuecodable, swift-gen, rainbow, legibleerror, yams
Fetched https://github.com/pointfreeco/swift-gen.git from cache (0.26s)
Fetching https://github.com/crossroadlabs/Regex.git
[1552/10292] Fetching valuecodable, rainbow, legibleerror, yams
Fetched https://github.com/onevcat/Rainbow.git from cache (0.27s)
Fetching https://github.com/apple/swift-argument-parser
[614/9178] Fetching valuecodable, legibleerror, yams
[2999/20105] Fetching valuecodable, legibleerror, yams, swift-snapshot-testing
[6745/21401] Fetching valuecodable, legibleerror, yams, swift-snapshot-testing, regex
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.28s)
Fetching https://github.com/mxcl/Path.swift.git
[7118/20105] Fetching valuecodable, legibleerror, yams, swift-snapshot-testing
[7582/31531] Fetching valuecodable, legibleerror, yams, swift-snapshot-testing, swift-argument-parser
[14040/32581] Fetching valuecodable, legibleerror, yams, swift-snapshot-testing, swift-argument-parser, path.swift
Fetched https://github.com/mxcl/Path.swift.git from cache (0.29s)
[22641/31531] Fetching valuecodable, legibleerror, yams, swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/mxcl/LegibleError.git from cache (1.11s)
[24146/31357] Fetching valuecodable, yams, swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (1.16s)
[16737/22528] Fetching valuecodable, swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.89s)
[5420/11102] Fetching valuecodable, swift-snapshot-testing
Fetched https://github.com/finestructure/ValueCodable from cache (1.82s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.88s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.9.0 (0.48s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.3.0 (0.47s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.27s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (1.28s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.45s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.45s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.1.0 (0.46s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.47s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.2
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.9.0
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.3.0
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.1.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Building for debugging...
[0/31] Write sources
[11/31] Compiling reader.c
[12/31] Compiling writer.c
[13/31] Compiling parser.c
[14/31] Compiling api.c
[15/31] Write swift-version-24593BA9C3E375BF.txt
[16/31] Compiling emitter.c
[17/32] Compiling scanner.c
[19/88] Emitting module ArgumentParserToolInfo
[20/88] Emitting module ValueCodable
[21/88] Emitting module Yams
[22/90] Compiling Gen UIKit.swift
[23/90] Emitting module Rainbow
[24/90] Compiling Yams Constructor.swift
[25/90] Compiling Yams Decoder.swift
[26/91] Compiling Rainbow StringGenerator.swift
[27/91] Compiling Rainbow Style.swift
[28/91] Compiling Gen LCRNG.swift
[29/91] Compiling Gen Xoshiro.swift
[30/91] Compiling Gen Zip.swift
[31/91] Compiling Regex String+Regex.swift
[32/92] Compiling Rainbow String+Rainbow.swift
[33/92] Compiling Rainbow XcodeColorsSupport.swift
[34/92] Compiling Yams YamlError.swift
[35/92] Compiling Yams shim.swift
[36/92] Emitting module Gen
[37/92] Compiling Gen Gen.swift
[38/92] Compiling Gen AnyRandomNumberGenerator.swift
[40/93] Compiling ArgumentParserToolInfo ToolInfo.swift
[40/93] Wrapping AST for Gen for debugging
[42/95] Wrapping AST for ArgumentParserToolInfo for debugging
[44/128] Compiling ArgumentParser Argument.swift
[45/128] Compiling ArgumentParser ArgumentHelp.swift
[46/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[48/128] Compiling Rainbow Rainbow.swift
[49/129] Compiling ArgumentParser Option.swift
[50/129] Compiling ArgumentParser OptionGroup.swift
[51/129] Compiling Regex RegexOptions.swift
[52/129] Compiling Regex GroupRangeUtils.swift
[53/129] Compiling Regex PlatformTypes.swift
[54/129] Compiling Regex Regex.swift
[55/129] Compiling ValueCodable Utils.swift
[56/129] Compiling ValueCodable Value.swift
[57/129] Compiling ArgumentParser CommandConfiguration.swift
[58/129] Compiling ArgumentParser EnumerableFlag.swift
[59/129] Compiling LegibleError LegibleError.swift
[60/129] Emitting module LegibleError
[62/130] Emitting module Path
[63/130] Emitting module ArgumentParser
[64/131] Compiling ArgumentParser Flag.swift
[65/131] Compiling ArgumentParser NameSpecification.swift
[66/131] Compiling Regex Utils.swift
[71/135] Compiling ArgumentParser CompletionKind.swift
[72/135] Compiling ArgumentParser Errors.swift
[73/135] Compiling Path Path->Bool.swift
[74/135] Compiling Path Path+StringConvertibles.swift
[75/135] Compiling Path Path+ls.swift
[76/135] Emitting module Regex
[77/135] Compiling Regex Match.swift
[78/135] Compiling Regex MatchSequence.swift
[85/137] Compiling ArgumentParser BashCompletionsGenerator.swift
[86/137] Compiling ArgumentParser CompletionsGenerator.swift
[87/137] Compiling Path Path+CommonDirectories.swift
[90/137] Compiling Path Path+Codable.swift
[91/137] Compiling Path Path+FileManager.swift
[93/138] Wrapping AST for Rainbow for debugging
[95/138] Wrapping AST for ValueCodable for debugging
[96/138] Wrapping AST for Regex for debugging
[97/138] Wrapping AST for LegibleError for debugging
[98/138] Wrapping AST for Yams for debugging
[105/138] Compiling ArgumentParser ParsedValues.swift
[106/138] Compiling ArgumentParser ParserError.swift
[107/138] Compiling ArgumentParser SplitArguments.swift
[108/138] Compiling ArgumentParser DumpHelpGenerator.swift
[109/138] Compiling ArgumentParser HelpCommand.swift
[110/138] Compiling ArgumentParser HelpGenerator.swift
[111/138] Compiling ArgumentParser MessageInfo.swift
[112/138] Compiling ArgumentParser UsageGenerator.swift
[113/138] Compiling Path Path.swift
[114/139] Compiling ArgumentParser CollectionExtensions.swift
[115/139] Compiling ArgumentParser SequenceExtensions.swift
[116/139] Compiling ArgumentParser StringExtensions.swift
[117/139] Compiling ArgumentParser Tree.swift
[118/139] Wrapping AST for Path for debugging
[120/139] Compiling ArgumentParser ArgumentSet.swift
[121/139] Compiling ArgumentParser CommandParser.swift
[122/139] Compiling ArgumentParser InputOrigin.swift
[123/139] Compiling ArgumentParser Name.swift
[124/139] Compiling ArgumentParser Parsed.swift
[129/139] Compiling ArgumentParser ExpressibleByArgument.swift
[130/139] Compiling ArgumentParser ParsableArguments.swift
[131/139] Compiling ArgumentParser ParsableArgumentsValidation.swift
[132/139] Compiling ArgumentParser ParsableCommand.swift
[133/139] Compiling ArgumentParser ArgumentDecoder.swift
[134/139] Compiling ArgumentParser ArgumentDefinition.swift
[135/140] Wrapping AST for ArgumentParser for debugging
[137/172] Compiling ResterCore Substitutable.swift
[138/172] Compiling ResterCore TestResult.swift
[139/172] Compiling ResterCore URLEncoding.swift
[140/172] Compiling ResterCore Utils.swift
[141/176] Compiling ResterCore Data+ext.swift
[142/176] Compiling ResterCore Dictionary+ext.swift
[143/176] Compiling ResterCore Double+ext.swift
[144/176] Compiling ResterCore KeyedDecodingContainer+ext.swift
[145/176] Compiling ResterCore Numeric+ext.swift
[146/176] Compiling ResterCore Restfile.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    enum Status<T> {
                ^
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:1:14: note: 'T' previously declared here
actor Runner<T> {
             ^
[147/176] Compiling ResterCore Runner.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    enum Status<T> {
                ^
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:1:14: note: 'T' previously declared here
actor Runner<T> {
             ^
[148/176] Compiling ResterCore Stats.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    enum Status<T> {
                ^
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:1:14: note: 'T' previously declared here
actor Runner<T> {
             ^
[149/176] Compiling ResterCore StringCodingKeys.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    enum Status<T> {
                ^
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:1:14: note: 'T' previously declared here
actor Runner<T> {
             ^
[150/176] Compiling ResterCore Request.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:159:50: error: value of type 'URLSession' has no member 'data'
            let (data, resp) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[151/176] Compiling ResterCore Response.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:159:50: error: value of type 'URLSession' has no member 'data'
            let (data, resp) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[152/176] Compiling ResterCore Rester.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:159:50: error: value of type 'URLSession' has no member 'data'
            let (data, resp) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[153/176] Compiling ResterCore ResterError.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:159:50: error: value of type 'URLSession' has no member 'data'
            let (data, resp) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[154/176] Compiling ResterCore App.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
            exit(1)
            ^~~~
            App.
[155/176] Compiling ResterCore Body.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
            exit(1)
            ^~~~
            App.
[156/176] Compiling ResterCore Console.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
            exit(1)
            ^~~~
            App.
[157/176] Compiling ResterCore Array+ext.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
            exit(1)
            ^~~~
            App.
[158/176] Compiling ResterCore Collection+ext.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
            exit(1)
            ^~~~
            App.
[159/176] Emitting module ResterCore
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    enum Status<T> {
                ^
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:1:14: note: 'T' previously declared here
actor Runner<T> {
             ^
[160/176] Compiling ResterCore Path+ext.swift
[161/176] Compiling ResterCore Sequence+async.swift
[162/176] Compiling ResterCore String+ext.swift
[163/176] Compiling ResterCore Value+ext.swift
[164/176] Compiling ResterCore Matcher.swift
[165/176] Compiling ResterCore Method.swift
[166/176] Compiling ResterCore Multipart.swift
[167/176] Compiling ResterCore OrderedDict.swift
[168/176] Compiling ResterCore Parameter.swift
[169/176] Compiling ResterCore Validation.swift
[170/176] Compiling ResterCore ValidationResult.swift
[171/176] Compiling ResterCore Version.swift
[172/176] Compiling ResterCore World.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/14] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling ResterCore Array+ext.swift
[3/15] Compiling ResterCore Console.swift
[4/18] Compiling ResterCore Collection+ext.swift
[5/18] Compiling ResterCore Response.swift
[6/18] Compiling ResterCore Rester.swift
[7/18] Compiling ResterCore Request.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:159:50: error: value of type 'URLSession' has no member 'data'
            let (data, resp) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[8/26] Compiling ResterCore ResterError.swift
[9/28] Emitting module ResterCore
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    enum Status<T> {
                ^
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:1:14: note: 'T' previously declared here
actor Runner<T> {
             ^
[10/28] Compiling ResterCore App.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
            exit(1)
            ^~~~
            App.
[11/28] Compiling ResterCore Body.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
            exit(1)
            ^~~~
            App.
[12/30] Compiling ResterCore Multipart.swift
[13/30] Compiling ResterCore OrderedDict.swift
[14/33] Compiling ResterCore String+ext.swift
[15/33] Compiling ResterCore Value+ext.swift
[16/33] Compiling ResterCore Matcher.swift
[17/33] Compiling ResterCore Method.swift
[18/34] Compiling ResterCore Data+ext.swift
[19/34] Compiling ResterCore Dictionary+ext.swift
[20/34] Compiling ResterCore KeyedDecodingContainer+ext.swift
[21/35] Compiling ResterCore Path+ext.swift
[22/35] Compiling ResterCore Sequence+async.swift
[23/35] Compiling ResterCore World.swift
[24/35] Compiling ResterCore Parameter.swift
[25/35] Compiling ResterCore Restfile.swift
[26/35] Compiling ResterCore ValidationResult.swift
[27/35] Compiling ResterCore TestResult.swift
[28/35] Compiling ResterCore Validation.swift
[29/35] Compiling ResterCore Stats.swift
[30/35] Compiling ResterCore Substitutable.swift
[31/35] Compiling ResterCore Utils.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2