The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Arena with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finestructure/Arena.git
Reference: 1.3.4
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/Arena
 * tag               1.3.4      -> FETCH_HEAD
HEAD is now at 6ce0ff3 Merge pull request #99 from finestructure/support-visionOS
Cloned https://github.com/finestructure/Arena.git
Revision (git rev-parse @):
6ce0ff3f992d81563d864b639f94b43f021aefe0
SUCCESS checkout https://github.com/finestructure/Arena.git at 1.3.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/apple/swift-argument-parser
[1/1050] Fetching path.swift
[432/1333] Fetching path.swift, semanticversion
[1334/12524] Fetching path.swift, semanticversion, swift-argument-parser
Fetched https://github.com/SwiftPackageIndex/SemanticVersion (1.38s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/mxcl/Path.swift.git (1.38s)
Fetching https://github.com/finestructure/Parser
Fetched https://github.com/apple/swift-argument-parser (1.39s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/956] Fetching shellout
[795/1111] Fetching shellout, parser
Fetched https://github.com/finestructure/Parser (0.26s)
Fetched https://github.com/JohnSundell/ShellOut.git (0.26s)
[1/10759] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.88s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.11.1 (0.38s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.3.6 (0.35s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.0 (1.24s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.36s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.48s)
Creating working copy for https://github.com/finestructure/Parser
Working copy of https://github.com/finestructure/Parser resolved at 0.2.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.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.11.1
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.3.6
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 1.4.0
Building for debugging...
[0/11] Copying Documentation.docc
[2/34] Emitting module ArgumentParserToolInfo
[3/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[5/36] Wrapping AST for ArgumentParserToolInfo for debugging
[7/70] Compiling SemanticVersion resource_bundle_accessor.swift
[8/70] Compiling Path Path->Bool.swift
[9/70] Compiling Path Path.swift
[10/71] Compiling Path Pathish.swift
[11/71] Emitting module ArgumentParser
[12/75] Emitting module Path
[13/75] Compiling ArgumentParser BashCompletionsGenerator.swift
[14/75] Compiling ArgumentParser CompletionsGenerator.swift
[17/75] Compiling ArgumentParser FishCompletionsGenerator.swift
[18/75] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/75] Compiling ArgumentParser Argument.swift
[22/75] Compiling ArgumentParser ArgumentSet.swift
[23/75] Compiling ArgumentParser CommandParser.swift
[24/75] Compiling ArgumentParser InputOrigin.swift
[25/75] Compiling ArgumentParser Name.swift
[26/75] Compiling ArgumentParser Parsed.swift
[27/75] Compiling Parser Match.swift
[28/75] Compiling Parser CharacterSet+ext.swift
[29/75] Emitting module Parser
[30/75] Emitting module SemanticVersion
[31/75] Compiling Parser Parser.swift
[32/75] Compiling SemanticVersion SemanticVersion.swift
[33/75] Compiling SemanticVersion NSRegularExpression+ext.swift
[34/75] Compiling Parser Parser+zip.swift
[35/75] Compiling ArgumentParser HelpCommand.swift
[36/75] Compiling ArgumentParser HelpGenerator.swift
[37/75] Compiling ArgumentParser MessageInfo.swift
[38/75] Compiling ArgumentParser UsageGenerator.swift
[39/75] Compiling ArgumentParser ParsedValues.swift
[40/75] Compiling ArgumentParser ParserError.swift
[41/75] Compiling ArgumentParser SplitArguments.swift
[42/75] Compiling ArgumentParser DumpHelpGenerator.swift
[43/76] Compiling ArgumentParser Option.swift
[44/76] Compiling ArgumentParser OptionGroup.swift
[45/76] Compiling ArgumentParser CommandConfiguration.swift
[46/76] Compiling ArgumentParser EnumerableFlag.swift
[47/76] Compiling ArgumentParser ExpressibleByArgument.swift
[48/76] Compiling ArgumentParser ArgumentHelp.swift
[49/76] Compiling ArgumentParser CompletionKind.swift
[50/76] Compiling ArgumentParser Errors.swift
[51/76] Compiling ArgumentParser Flag.swift
[52/76] Compiling ArgumentParser NameSpecification.swift
[53/76] Compiling ArgumentParser ParsableArguments.swift
[54/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[55/76] Compiling ArgumentParser ParsableCommand.swift
[56/76] Compiling ArgumentParser ArgumentDecoder.swift
[57/76] Compiling ArgumentParser ArgumentDefinition.swift
[59/77] Compiling Path Path+StringConvertibles.swift
[60/77] Compiling Path Path+FileManager.swift
[61/77] Compiling Path Path+ls.swift
[62/78] Emitting module ShellOut
[63/78] Compiling ShellOut ShellOut.swift
[71/83] Compiling ArgumentParser CollectionExtensions.swift
[72/83] Compiling ArgumentParser SequenceExtensions.swift
[73/83] Compiling ArgumentParser StringExtensions.swift
[74/83] Compiling ArgumentParser Tree.swift
[76/85] Wrapping AST for ShellOut for debugging
[77/85] Wrapping AST for Parser for debugging
[78/85] Wrapping AST for SemanticVersion for debugging
[78/85] Wrapping AST for Path for debugging
[80/85] Wrapping AST for ArgumentParser for debugging
[82/104] Compiling ArenaCore Environment.swift
[83/104] Compiling ArenaCore Extensions.swift
[84/104] Compiling ArenaCore FileManager.swift
[85/106] Compiling ArenaCore Requirement.swift
[86/106] Compiling ArenaCore Scheme.swift
[87/106] Compiling ArenaCore String+ext.swift
[88/106] Compiling ArenaCore Version.swift
[89/106] Emitting module ArenaCore
[90/106] Compiling ArenaCore PlatformVersion.swift
[91/106] Compiling ArenaCore PlaygroundBook.swift
[92/106] Compiling ArenaCore Github.swift
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:91:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:107:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
[93/106] Compiling ArenaCore Helpers.swift
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:91:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:107:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
[94/106] Compiling ArenaCore Manifest.swift
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:91:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:107:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
[95/106] Compiling ArenaCore PackageGenerator.swift
[96/106] Compiling ArenaCore Parser+ext.swift
[97/106] Compiling ArenaCore Platform.swift
[98/106] Compiling ArenaCore Progress.swift
[99/106] Compiling ArenaCore RefSpec.swift
[100/106] Compiling ArenaCore AppError.swift
[101/106] Compiling ArenaCore ArenaCommand.swift
[102/106] Compiling ArenaCore Dependency.swift
[0/1] Planning build
Building for debugging...
[1/8] Compiling ArenaCore Helpers.swift
[2/8] Compiling ArenaCore Manifest.swift
[3/8] Compiling ArenaCore Github.swift
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:91:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:107:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
               ~~~~~~~~~~ ^~~~~~
[4/15] Emitting module ArenaCore
[5/15] Compiling ArenaCore Extensions.swift
[6/15] Compiling ArenaCore PlaygroundBook.swift
[7/15] Compiling ArenaCore PackageGenerator.swift
[8/15] Compiling ArenaCore Scheme.swift
[9/15] Compiling ArenaCore Parser+ext.swift
[10/15] Compiling ArenaCore Dependency.swift
[11/15] Compiling ArenaCore ArenaCommand.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2