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-4606859-1":/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: 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.9
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.9-latest swift build 2>&1
Fetching https://github.com/finestructure/Parser
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/apple/swift-argument-parser
[1/1050] Fetching path.swift
[1051/1205] Fetching path.swift, parser
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetched https://github.com/mxcl/Path.swift.git (0.26s)
[1/11191] Fetching swift-argument-parser
[113/11474] Fetching swift-argument-parser, semanticversion
Fetched https://github.com/SwiftPackageIndex/SemanticVersion (0.22s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1791/11191] Fetching swift-argument-parser
Fetched https://github.com/finestructure/Parser (0.73s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/apple/swift-argument-parser (0.73s)
[1/10759] Fetching swift-snapshot-testing
[755/11715] Fetching swift-snapshot-testing, shellout
Fetched https://github.com/JohnSundell/ShellOut.git (0.26s)
[861/10759] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.87s)
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.35s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.3.6 (0.37s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.0 (1.00s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.33s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (0.33s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.35s)
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/finestructure/Parser
Working copy of https://github.com/finestructure/Parser resolved at 0.2.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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.11.1
Building for debugging...
[0/11] Copying Documentation.docc
[2/34] Emitting module ShellOut
[3/34] Emitting module Path
[4/35] Compiling Path Pathish.swift
[5/35] Compiling Path Path+StringConvertibles.swift
[6/35] Emitting module ArgumentParserToolInfo
[7/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/35] Compiling Parser Match.swift
[10/37] Wrapping AST for ArgumentParserToolInfo for debugging
[12/71] Compiling ArgumentParser Option.swift
[13/71] Compiling ArgumentParser OptionGroup.swift
[14/71] Compiling ArgumentParser CommandConfiguration.swift
[15/71] Compiling ArgumentParser EnumerableFlag.swift
[16/71] Compiling ArgumentParser ExpressibleByArgument.swift
[17/75] Compiling SemanticVersion resource_bundle_accessor.swift
[18/75] Compiling SemanticVersion SemanticVersion.swift
[19/75] Compiling ArgumentParser ArgumentHelp.swift
[20/75] Compiling ArgumentParser CompletionKind.swift
[21/75] Compiling ArgumentParser Errors.swift
[22/75] Compiling ArgumentParser Flag.swift
[23/75] Compiling ArgumentParser NameSpecification.swift
[24/75] Compiling Parser CharacterSet+ext.swift
[25/75] Emitting module Parser
[26/75] Compiling Path Path+FileManager.swift
[27/75] Emitting module SemanticVersion
[28/75] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/75] Compiling SemanticVersion NSRegularExpression+ext.swift
[30/75] Compiling ArgumentParser CompletionsGenerator.swift
[31/75] Compiling Parser Parser+zip.swift
[32/75] Compiling Parser Parser.swift
[33/77] Compiling Path Path->Bool.swift
[34/77] Compiling Path Path.swift
[35/77] Compiling Path Path+ls.swift
[36/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/78] Compiling ArgumentParser Argument.swift
[43/78] Emitting module ArgumentParser
[48/81] Compiling ShellOut ShellOut.swift
[52/83] Compiling ArgumentParser ArgumentSet.swift
[53/83] Compiling ArgumentParser CommandParser.swift
[54/83] Compiling ArgumentParser InputOrigin.swift
[55/83] Compiling ArgumentParser Name.swift
[56/83] Compiling ArgumentParser Parsed.swift
[56/83] Wrapping AST for Parser for debugging
[58/83] Wrapping AST for SemanticVersion for debugging
[59/83] Wrapping AST for Path for debugging
[61/83] Compiling ArgumentParser CollectionExtensions.swift
[62/83] Compiling ArgumentParser SequenceExtensions.swift
[63/83] Compiling ArgumentParser StringExtensions.swift
[64/83] Compiling ArgumentParser Tree.swift
[65/83] Compiling ArgumentParser HelpCommand.swift
[66/83] Compiling ArgumentParser HelpGenerator.swift
[67/83] Compiling ArgumentParser MessageInfo.swift
[68/83] Compiling ArgumentParser UsageGenerator.swift
[69/83] Compiling ArgumentParser ParsedValues.swift
[70/83] Compiling ArgumentParser ParserError.swift
[71/83] Compiling ArgumentParser SplitArguments.swift
[72/83] Compiling ArgumentParser DumpHelpGenerator.swift
[72/83] Wrapping AST for ShellOut for debugging
[74/83] Compiling ArgumentParser ParsableArguments.swift
[75/83] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/83] Compiling ArgumentParser ParsableCommand.swift
[77/83] Compiling ArgumentParser ArgumentDecoder.swift
[78/83] Compiling ArgumentParser ArgumentDefinition.swift
[80/85] Wrapping AST for ArgumentParser for debugging
[82/104] 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
               ~~~~~~~~~~ ^~~~~~
[83/104] 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
               ~~~~~~~~~~ ^~~~~~
[84/104] 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
               ~~~~~~~~~~ ^~~~~~
[85/106] Compiling ArenaCore String+ext.swift
[86/106] Compiling ArenaCore Version.swift
[87/106] Compiling ArenaCore PlatformVersion.swift
[88/106] Compiling ArenaCore PlaygroundBook.swift
[89/106] Compiling ArenaCore Requirement.swift
[90/106] Compiling ArenaCore Scheme.swift
[91/106] Emitting module ArenaCore
[92/106] Compiling ArenaCore Progress.swift
[93/106] Compiling ArenaCore RefSpec.swift
[94/106] Compiling ArenaCore Environment.swift
[95/106] Compiling ArenaCore Extensions.swift
[96/106] Compiling ArenaCore FileManager.swift
[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 Extensions.swift
[7/16] Compiling ArenaCore Scheme.swift
[8/16] Compiling ArenaCore Parser+ext.swift
[9/16] Compiling ArenaCore PlaygroundBook.swift
[10/16] Compiling ArenaCore PackageGenerator.swift
[11/16] Compiling ArenaCore Dependency.swift
[12/16] Compiling ArenaCore ArenaCommand.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1