The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Rester with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finestructure/Rester.git
Reference: main
Cloned https://github.com/finestructure/Rester.git into spi-builder-workspace
SUCCESS checkout https://github.com/finestructure/Rester.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-argument-parser
[1/1110] Fetching rainbow
[1111/10941] Fetching rainbow, swift-snapshot-testing
[1603/21716] Fetching rainbow, swift-snapshot-testing, swift-argument-parser
Fetching https://github.com/pointfreeco/swift-gen.git
Fetched https://github.com/onevcat/Rainbow.git (1.61s)
Fetched https://github.com/apple/swift-argument-parser (1.61s)
Fetching https://github.com/mxcl/Path.swift.git
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.68s)
Fetching https://github.com/jpsim/Yams.git
[1/1027] Fetching path.swift
[207/1664] Fetching path.swift, swift-gen
Fetched https://github.com/pointfreeco/swift-gen.git (0.26s)
Fetching https://github.com/mxcl/LegibleError.git
Fetched https://github.com/mxcl/Path.swift.git (0.27s)
Fetching https://github.com/finestructure/ValueCodable
[1/174] Fetching legibleerror
[175/332] Fetching legibleerror, valuecodable
Fetched https://github.com/mxcl/LegibleError.git (0.19s)
Fetching https://github.com/crossroadlabs/Regex.git
Fetched https://github.com/finestructure/ValueCodable (0.19s)
[1/8606] Fetching yams
[1120/9902] Fetching yams, regex
Fetched https://github.com/crossroadlabs/Regex.git (0.26s)
[1808/8606] Fetching yams
Fetched https://github.com/jpsim/Yams.git (1.30s)
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.34s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.3.0 (0.33s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.25s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (1.50s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.65s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.67s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.1.0 (0.57s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.42s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.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/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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
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/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.1.0
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/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
Building for debugging...
[0/18] Compiling writer.c
[1/18] Compiling reader.c
[2/19] Compiling parser.c
[3/49] Compiling api.c
[4/51] Compiling emitter.c
[5/60] Compiling scanner.c
[7/75] Emitting module Regex
[8/76] Compiling Gen Xoshiro.swift
[9/76] Compiling Path Path+StringConvertibles.swift
[10/77] Compiling Regex String+Regex.swift
[11/77] Compiling Rainbow StringGenerator.swift
[12/77] Compiling Rainbow Style.swift
[13/78] Compiling Yams Node.Scalar.swift
[14/78] Compiling Yams Node.Sequence.swift
[15/78] Compiling Yams Mark.swift
[16/78] Compiling Yams Node.Mapping.swift
[17/78] Compiling Gen LCRNG.swift
[18/78] Compiling Gen UIKit.swift
[19/80] Compiling Rainbow String+Rainbow.swift
[20/80] Compiling Gen Zip.swift
[21/80] Compiling Rainbow XcodeColorsSupport.swift
[22/80] Emitting module ArgumentParserToolInfo
[23/80] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/82] Compiling Gen AnyRandomNumberGenerator.swift
[27/82] Emitting module Gen
[28/82] Compiling Gen Gen.swift
[30/84] Wrapping AST for ArgumentParserToolInfo for debugging
[31/92] Wrapping AST for Gen for debugging
[33/118] Compiling ArgumentParser ArgumentDefinition.swift
[34/118] Compiling ArgumentParser Option.swift
[35/118] Compiling Rainbow Rainbow.swift
[36/118] Compiling Regex Utils.swift
[37/118] Compiling ArgumentParser Errors.swift
[38/118] Compiling ArgumentParser Flag.swift
[41/118] Compiling ArgumentParser NameSpecification.swift
[42/118] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/118] Compiling ArgumentParser ArgumentHelp.swift
[44/118] Compiling ArgumentParser CompletionKind.swift
[45/118] Emitting module Rainbow
[46/118] Compiling Path Path+Codable.swift
[47/119] Compiling ValueCodable Utils.swift
[48/119] Emitting module LegibleError
[49/119] Compiling ValueCodable Value.swift
[50/119] Emitting module ValueCodable
[51/119] Compiling LegibleError LegibleError.swift
[53/120] Compiling Regex GroupRangeUtils.swift
[55/120] Compiling Regex Match.swift
[56/120] Compiling Regex MatchSequence.swift
[57/120] Compiling Regex PlatformTypes.swift
[58/120] Compiling Regex Regex.swift
[61/121] Emitting module Path
[64/121] Emitting module Yams
[65/122] Compiling Regex RegexOptions.swift
[66/122] Compiling ArgumentParser ZshCompletionsGenerator.swift
[67/122] Compiling ArgumentParser Argument.swift
[68/122] Compiling ArgumentParser ParsableCommand.swift
[69/122] Compiling ArgumentParser ArgumentDecoder.swift
[73/124] Compiling ArgumentParser ParsableArguments.swift
[74/124] Compiling ArgumentParser ParsableArgumentsValidation.swift
[78/127] Wrapping AST for Rainbow for debugging
[81/128] Compiling Path Path+ls.swift
[82/128] Compiling Path Path->Bool.swift
[83/128] Compiling Path Path+CommonDirectories.swift
[84/128] Compiling Path Path+FileManager.swift
[84/128] Wrapping AST for ValueCodable for debugging
[85/128] Wrapping AST for Regex for debugging
[86/128] Wrapping AST for LegibleError for debugging
[87/128] Wrapping AST for Yams for debugging
[89/128] Compiling Path Path.swift
[91/130] Wrapping AST for Path for debugging
[93/130] Compiling ArgumentParser ParsedValues.swift
[94/130] Compiling ArgumentParser ParserError.swift
[95/130] Compiling ArgumentParser SplitArguments.swift
[96/130] Compiling ArgumentParser DumpHelpGenerator.swift
[97/134] Emitting module ArgumentParser
[98/134] Compiling ArgumentParser ArgumentSet.swift
[99/134] Compiling ArgumentParser CommandParser.swift
[100/134] Compiling ArgumentParser InputOrigin.swift
[101/134] Compiling ArgumentParser Name.swift
[102/134] Compiling ArgumentParser Parsed.swift
[103/134] Compiling ArgumentParser HelpCommand.swift
[104/134] Compiling ArgumentParser HelpGenerator.swift
[105/134] Compiling ArgumentParser MessageInfo.swift
[106/134] Compiling ArgumentParser UsageGenerator.swift
[107/134] Compiling ArgumentParser CollectionExtensions.swift
[108/134] Compiling ArgumentParser SequenceExtensions.swift
[109/134] Compiling ArgumentParser StringExtensions.swift
[110/134] Compiling ArgumentParser Tree.swift
[112/134] Compiling ArgumentParser CompletionsGenerator.swift
[113/134] Compiling ArgumentParser FishCompletionsGenerator.swift
[122/134] Compiling ArgumentParser OptionGroup.swift
[123/134] Compiling ArgumentParser CommandConfiguration.swift
[124/134] Compiling ArgumentParser EnumerableFlag.swift
[125/134] Compiling ArgumentParser ExpressibleByArgument.swift
[132/136] Wrapping AST for ArgumentParser for debugging
[134/168] 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)
                                         ~~~~~~~ ^~~~
[135/168] 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)
                                         ~~~~~~~ ^~~~
[136/168] 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)
                                         ~~~~~~~ ^~~~
[137/168] 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)
                                         ~~~~~~~ ^~~~
[138/172] 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.
[139/172] 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.
[140/172] 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.
[141/172] 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.
[142/172] 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.
[143/172] Compiling ResterCore Substitutable.swift
[144/172] Compiling ResterCore TestResult.swift
[145/172] Compiling ResterCore URLEncoding.swift
[146/172] Compiling ResterCore Utils.swift
[147/172] Compiling ResterCore Data+ext.swift
[148/172] Compiling ResterCore Dictionary+ext.swift
[149/172] Compiling ResterCore Double+ext.swift
[150/172] Compiling ResterCore KeyedDecodingContainer+ext.swift
[151/172] Compiling ResterCore Numeric+ext.swift
[152/172] 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> {
             ^
[153/172] 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> {
             ^
[154/172] 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> {
             ^
[155/172] 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> {
             ^
[156/172] Compiling ResterCore Validation.swift
[157/172] Compiling ResterCore ValidationResult.swift
[158/172] Compiling ResterCore Version.swift
[159/172] Compiling ResterCore World.swift
[160/172] Compiling ResterCore Method.swift
[161/172] Compiling ResterCore Multipart.swift
[162/172] Compiling ResterCore OrderedDict.swift
[163/172] Compiling ResterCore Parameter.swift
[164/172] Compiling ResterCore Path+ext.swift
[165/172] Compiling ResterCore Sequence+async.swift
[166/172] Compiling ResterCore String+ext.swift
[167/172] Compiling ResterCore Value+ext.swift
[168/172] Compiling ResterCore Matcher.swift
[169/172] 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> {
             ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2