The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Arena with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/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.10
Building package at path:  $workDir
https://github.com/finestructure/Arena.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/finestructure/Parser
Fetching https://github.com/apple/swift-argument-parser
[1/956] Fetching shellout
[957/2006] Fetching shellout, path.swift
[1472/2161] Fetching shellout, path.swift, parser
[2162/2455] Fetching shellout, path.swift, parser, semanticversion
Fetched https://github.com/finestructure/Parser from cache (0.27s)
[1/10927] Fetching swift-snapshot-testing
[985/22362] Fetching swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
[3825/10927] Fetching swift-snapshot-testing
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (1.48s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.48s)
Fetched https://github.com/mxcl/Path.swift.git from cache (1.48s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.55s)
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.42s)
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.48s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.63s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (0.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.43s)
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/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/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.3.6
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[0/22] Write sources
[8/22] Copying Documentation.docc
[9/22] Write swift-version-24593BA9C3E375BF.txt
[11/45] Emitting module SemanticVersion
[12/45] Compiling Parser Parser+zip.swift
[13/45] Emitting module ArgumentParserToolInfo
[14/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/46] Wrapping AST for ArgumentParserToolInfo for debugging
[17/80] Emitting module ArgumentParser
[18/84] Compiling ArgumentParser Errors.swift
[19/84] Compiling ArgumentParser Flag.swift
[20/85] Emitting module Path
[21/85] Compiling ArgumentParser ArgumentHelp.swift
[22/85] Compiling ArgumentParser CompletionKind.swift
[23/85] Compiling SemanticVersion resource_bundle_accessor.swift
[24/85] Emitting module Parser
[25/85] Compiling Path Pathish.swift
[26/85] Compiling Path Path+StringConvertibles.swift
[27/85] Compiling Path Path+ls.swift
[28/85] Compiling Parser CharacterSet+ext.swift
[29/85] Compiling Parser Match.swift
[30/85] Compiling Parser Parser.swift
[35/86] Compiling ArgumentParser NameSpecification.swift
[36/86] Compiling Path Path+FileManager.swift
[37/86] Compiling SemanticVersion NSRegularExpression+ext.swift
[38/86] Compiling SemanticVersion SemanticVersion.swift
[39/86] Emitting module ShellOut
[40/86] Compiling ShellOut ShellOut.swift
[42/87] Compiling Path Path->Bool.swift
[43/87] Compiling Path Path.swift
[46/89] Wrapping AST for Parser for debugging
[47/89] Wrapping AST for ShellOut for debugging
[48/89] Wrapping AST for SemanticVersion for debugging
[49/89] Wrapping AST for Path for debugging
[51/89] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/89] Compiling ArgumentParser CompletionsGenerator.swift
[53/89] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/89] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/89] Compiling ArgumentParser Argument.swift
[56/89] Compiling ArgumentParser CollectionExtensions.swift
[57/89] Compiling ArgumentParser SequenceExtensions.swift
[58/89] Compiling ArgumentParser StringExtensions.swift
[59/89] Compiling ArgumentParser Tree.swift
[60/89] Compiling ArgumentParser ArgumentSet.swift
[61/89] Compiling ArgumentParser CommandParser.swift
[62/89] Compiling ArgumentParser InputOrigin.swift
[63/89] Compiling ArgumentParser Name.swift
[64/89] Compiling ArgumentParser Parsed.swift
[65/89] Compiling ArgumentParser HelpCommand.swift
[66/89] Compiling ArgumentParser HelpGenerator.swift
[67/89] Compiling ArgumentParser MessageInfo.swift
[68/89] Compiling ArgumentParser UsageGenerator.swift
[69/89] Compiling ArgumentParser ParsedValues.swift
[70/89] Compiling ArgumentParser ParserError.swift
[71/89] Compiling ArgumentParser SplitArguments.swift
[72/89] Compiling ArgumentParser DumpHelpGenerator.swift
[73/89] Compiling ArgumentParser Option.swift
[74/89] Compiling ArgumentParser OptionGroup.swift
[75/89] Compiling ArgumentParser CommandConfiguration.swift
[76/89] Compiling ArgumentParser EnumerableFlag.swift
[77/89] Compiling ArgumentParser ExpressibleByArgument.swift
[78/89] Compiling ArgumentParser ParsableArguments.swift
[79/89] Compiling ArgumentParser ParsableArgumentsValidation.swift
[80/89] Compiling ArgumentParser ParsableCommand.swift
[81/89] Compiling ArgumentParser ArgumentDecoder.swift
[82/89] Compiling ArgumentParser ArgumentDefinition.swift
[83/90] Wrapping AST for ArgumentParser for debugging
[85/109] Compiling ArenaCore Requirement.swift
[86/109] Compiling ArenaCore Scheme.swift
[87/111] Compiling ArenaCore Progress.swift
[88/111] Compiling ArenaCore RefSpec.swift
[89/111] Compiling ArenaCore Environment.swift
[90/111] Compiling ArenaCore Extensions.swift
[91/111] Compiling ArenaCore FileManager.swift
[92/111] Compiling ArenaCore PlatformVersion.swift
[93/111] Compiling ArenaCore PlaygroundBook.swift
[94/111] 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/111] 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/111] 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/111] Compiling ArenaCore String+ext.swift
[98/111] Compiling ArenaCore Version.swift
[99/111] Emitting module ArenaCore
[100/111] Compiling ArenaCore PackageGenerator.swift
[101/111] Compiling ArenaCore Parser+ext.swift
[102/111] Compiling ArenaCore Platform.swift
[103/111] Compiling ArenaCore AppError.swift
[104/111] Compiling ArenaCore ArenaCommand.swift
[105/111] Compiling ArenaCore Dependency.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling ArenaCore Manifest.swift
[3/14] Compiling ArenaCore Helpers.swift
[4/14] Emitting module ArenaCore
[5/14] 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
               ~~~~~~~~~~ ^~~~~~
[6/19] Compiling ArenaCore PlaygroundBook.swift
[7/19] Compiling ArenaCore String+ext.swift
[8/19] Compiling ArenaCore Scheme.swift
[9/19] Compiling ArenaCore Parser+ext.swift
[10/19] Compiling ArenaCore Extensions.swift
[11/19] Compiling ArenaCore PackageGenerator.swift
[12/19] Compiling ArenaCore ArenaCommand.swift
[13/19] Compiling ArenaCore Dependency.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1