The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Arena with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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: 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/Arena
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/finestructure/Parser
Fetching https://github.com/apple/swift-argument-parser
[1/155] Fetching parser
[156/438] Fetching parser, semanticversion
Fetching https://github.com/mxcl/Path.swift.git
Fetched https://github.com/SwiftPackageIndex/SemanticVersion (0.28s)
[1/11191] Fetching swift-argument-parser
[2/12241] Fetching swift-argument-parser, path.swift
Fetched https://github.com/mxcl/Path.swift.git (0.30s)
[5148/11191] Fetching swift-argument-parser
Fetching https://github.com/JohnSundell/ShellOut.git
[11192/12147] Fetching swift-argument-parser, shellout
Fetched https://github.com/finestructure/Parser (1.09s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetched https://github.com/apple/swift-argument-parser (1.10s)
Fetched https://github.com/JohnSundell/ShellOut.git (0.67s)
[1/10759] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.91s)
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.41s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.3.6 (0.42s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.0 (1.37s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.42s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.41s)
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/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/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 1.4.0
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.3.6
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 ArgumentParser BashCompletionsGenerator.swift
[8/70] Compiling ArgumentParser CompletionsGenerator.swift
[9/70] Compiling ArgumentParser FishCompletionsGenerator.swift
[10/70] Compiling ArgumentParser ZshCompletionsGenerator.swift
[11/70] Compiling ArgumentParser Argument.swift
[12/70] Emitting module ArgumentParser
[13/74] Compiling ArgumentParser ArgumentSet.swift
[14/74] Compiling ArgumentParser CommandParser.swift
[15/74] Compiling ArgumentParser InputOrigin.swift
[16/74] Compiling ArgumentParser Name.swift
[17/74] Compiling ArgumentParser Parsed.swift
[18/74] Emitting module SemanticVersion
[19/74] Compiling SemanticVersion resource_bundle_accessor.swift
[20/74] Compiling SemanticVersion NSRegularExpression+ext.swift
[21/74] Compiling SemanticVersion SemanticVersion.swift
[22/74] Emitting module Parser
[25/74] Compiling ArgumentParser ArgumentHelp.swift
[26/74] Compiling ArgumentParser CompletionKind.swift
[27/74] Compiling ArgumentParser Errors.swift
[28/74] Compiling ArgumentParser Flag.swift
[29/74] Compiling ArgumentParser NameSpecification.swift
[30/75] Emitting module Path
[31/75] Compiling Path Path+ls.swift
[32/75] Compiling Path Path.swift
[33/75] Compiling Path Path->Bool.swift
[34/75] Compiling Path Path+FileManager.swift
[37/75] Compiling Path Path+StringConvertibles.swift
[38/75] Compiling Parser CharacterSet+ext.swift
[39/75] Compiling Parser Parser.swift
[40/75] Compiling Parser Match.swift
[41/75] Compiling Parser Parser+zip.swift
[42/75] Compiling ArgumentParser Option.swift
[43/75] Compiling ArgumentParser OptionGroup.swift
[44/75] Compiling ArgumentParser CommandConfiguration.swift
[45/75] Compiling ArgumentParser EnumerableFlag.swift
[46/75] Compiling ArgumentParser ExpressibleByArgument.swift
[47/75] Compiling ArgumentParser ParsableArguments.swift
[48/75] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/75] Compiling ArgumentParser ParsableCommand.swift
[50/75] Compiling ArgumentParser ArgumentDecoder.swift
[51/75] Compiling ArgumentParser ArgumentDefinition.swift
[52/76] Compiling ArgumentParser ParsedValues.swift
[53/76] Compiling ArgumentParser ParserError.swift
[54/76] Compiling ArgumentParser SplitArguments.swift
[55/76] Compiling ArgumentParser DumpHelpGenerator.swift
[56/76] Compiling ArgumentParser HelpCommand.swift
[57/76] Compiling ArgumentParser HelpGenerator.swift
[58/76] Compiling ArgumentParser MessageInfo.swift
[59/76] Compiling ArgumentParser UsageGenerator.swift
[60/76] Emitting module ShellOut
[61/76] Compiling ShellOut ShellOut.swift
[62/77] Compiling Path Pathish.swift
[70/83] Wrapping AST for SemanticVersion for debugging
[71/83] Wrapping AST for Parser for debugging
[72/83] Wrapping AST for ShellOut for debugging
[73/83] Wrapping AST for Path for debugging
[75/83] Compiling ArgumentParser CollectionExtensions.swift
[76/83] Compiling ArgumentParser SequenceExtensions.swift
[77/83] Compiling ArgumentParser StringExtensions.swift
[78/83] Compiling ArgumentParser Tree.swift
[80/85] Wrapping AST for ArgumentParser for debugging
[82/104] Compiling ArenaCore Progress.swift
[83/104] Compiling ArenaCore RefSpec.swift
[84/106] Compiling ArenaCore Environment.swift
[85/106] Compiling ArenaCore Extensions.swift
[86/106] Compiling ArenaCore FileManager.swift
[87/106] Compiling ArenaCore String+ext.swift
[88/106] Compiling ArenaCore Version.swift
[89/106] Emitting module ArenaCore
[90/106] Compiling ArenaCore Requirement.swift
[91/106] Compiling ArenaCore Scheme.swift
[92/106] Compiling ArenaCore PlatformVersion.swift
[93/106] Compiling ArenaCore PlaygroundBook.swift
[94/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
               ~~~~~~~~~~ ^~~~~~
[95/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
               ~~~~~~~~~~ ^~~~~~
[96/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
               ~~~~~~~~~~ ^~~~~~
[97/106] Compiling ArenaCore PackageGenerator.swift
[98/106] Compiling ArenaCore Parser+ext.swift
[99/106] Compiling ArenaCore Platform.swift
[100/106] Compiling ArenaCore AppError.swift
[101/106] Compiling ArenaCore ArenaCommand.swift
[102/106] Compiling ArenaCore Dependency.swift
error: fatalError
[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/16] Compiling ArenaCore String+ext.swift
[6/16] Compiling ArenaCore Scheme.swift
[7/16] Compiling ArenaCore Parser+ext.swift
[8/16] Compiling ArenaCore Extensions.swift
[9/16] Compiling ArenaCore PlaygroundBook.swift
[10/16] Compiling ArenaCore Dependency.swift
[11/16] Compiling ArenaCore PackageGenerator.swift
[12/16] Compiling ArenaCore ArenaCommand.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2