The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Arena with Swift 5.7 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.7-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.7
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.7-latest swift build 2>&1
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/956] Fetching shellout
[957/1239] Fetching shellout, semanticversion
Fetched https://github.com/JohnSundell/ShellOut.git (0.24s)
Fetching https://github.com/finestructure/Parser
Fetched https://github.com/SwiftPackageIndex/SemanticVersion (0.25s)
Fetching https://github.com/apple/swift-argument-parser
[1/10759] Fetching swift-snapshot-testing
[755/10914] Fetching swift-snapshot-testing, parser
Fetched https://github.com/finestructure/Parser (0.26s)
Fetching https://github.com/mxcl/Path.swift.git
[969/10759] Fetching swift-snapshot-testing
[2906/11809] Fetching swift-snapshot-testing, path.swift
[3935/23000] Fetching swift-snapshot-testing, path.swift, swift-argument-parser
Fetched https://github.com/mxcl/Path.swift.git (0.31s)
[7494/21950] Fetching swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.87s)
[6994/10759] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.85s)
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.39s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.3.6 (0.33s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.0 (1.14s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.32s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (0.34s)
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/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
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
Building for debugging...
[0/11] Copying Documentation.docc
[2/34] Emitting module ShellOut
[3/34] Emitting module ArgumentParserToolInfo
[4/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/36] Wrapping AST for ArgumentParserToolInfo for debugging
[8/70] Compiling SemanticVersion resource_bundle_accessor.swift
[9/70] Compiling Parser CharacterSet+ext.swift
[10/70] Emitting module Parser
[11/70] Emitting module SemanticVersion
[12/70] Compiling SemanticVersion NSRegularExpression+ext.swift
[13/70] Compiling SemanticVersion SemanticVersion.swift
[14/71] Compiling Path Path+StringConvertibles.swift
[16/72] Compiling Path Path+ls.swift
[18/73] Compiling Path Path->Bool.swift
[19/73] Compiling Path Path.swift
[20/73] Compiling Parser Match.swift
[21/73] Compiling Parser Parser+zip.swift
[22/73] Compiling Parser Parser.swift
[23/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/73] Compiling ArgumentParser CompletionsGenerator.swift
[25/73] Compiling Path Path+FileManager.swift
[26/73] Emitting module Path
[27/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/74] Compiling Path Pathish.swift
[32/76] Compiling ShellOut ShellOut.swift
[34/77] Wrapping AST for SemanticVersion for debugging
[35/78] Wrapping AST for Parser for debugging
[38/79] Wrapping AST for Path for debugging
[39/79] Wrapping AST for ShellOut for debugging
[41/79] Emitting module ArgumentParser
[46/79] Compiling ArgumentParser Argument.swift
[47/83] Compiling ArgumentParser ArgumentSet.swift
[48/83] Compiling ArgumentParser CommandParser.swift
[49/83] Compiling ArgumentParser InputOrigin.swift
[50/83] Compiling ArgumentParser Name.swift
[51/83] Compiling ArgumentParser Parsed.swift
[52/83] Compiling ArgumentParser HelpCommand.swift
[53/83] Compiling ArgumentParser HelpGenerator.swift
[54/83] Compiling ArgumentParser MessageInfo.swift
[55/83] Compiling ArgumentParser UsageGenerator.swift
[56/83] Compiling ArgumentParser ParsedValues.swift
[57/83] Compiling ArgumentParser ParserError.swift
[58/83] Compiling ArgumentParser SplitArguments.swift
[59/83] Compiling ArgumentParser DumpHelpGenerator.swift
[60/83] Compiling ArgumentParser CollectionExtensions.swift
[61/83] Compiling ArgumentParser SequenceExtensions.swift
[62/83] Compiling ArgumentParser StringExtensions.swift
[63/83] Compiling ArgumentParser Tree.swift
[64/83] Compiling ArgumentParser ParsableArguments.swift
[65/83] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/83] Compiling ArgumentParser ParsableCommand.swift
[67/83] Compiling ArgumentParser ArgumentDecoder.swift
[68/83] Compiling ArgumentParser ArgumentDefinition.swift
[69/83] Compiling ArgumentParser Option.swift
[70/83] Compiling ArgumentParser OptionGroup.swift
[71/83] Compiling ArgumentParser CommandConfiguration.swift
[72/83] Compiling ArgumentParser EnumerableFlag.swift
[73/83] Compiling ArgumentParser ExpressibleByArgument.swift
[74/83] Compiling ArgumentParser ArgumentHelp.swift
[75/83] Compiling ArgumentParser CompletionKind.swift
[76/83] Compiling ArgumentParser Errors.swift
[77/83] Compiling ArgumentParser Flag.swift
[78/83] Compiling ArgumentParser NameSpecification.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 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
               ~~~~~~~~~~ ^~~~~~
[85/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
               ~~~~~~~~~~ ^~~~~~
[86/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
               ~~~~~~~~~~ ^~~~~~
[87/106] Compiling ArenaCore String+ext.swift
[88/106] Compiling ArenaCore Version.swift
[89/106] Compiling ArenaCore Requirement.swift
[90/106] Compiling ArenaCore Scheme.swift
[91/106] Compiling ArenaCore PlatformVersion.swift
[92/106] Compiling ArenaCore PlaygroundBook.swift
[93/106] Compiling ArenaCore Environment.swift
[94/106] Compiling ArenaCore Extensions.swift
[95/106] Compiling ArenaCore FileManager.swift
[96/106] Compiling ArenaCore PackageGenerator.swift
[97/106] Compiling ArenaCore Parser+ext.swift
[98/106] Compiling ArenaCore Platform.swift
[99/106] Compiling ArenaCore AppError.swift
[100/106] Compiling ArenaCore ArenaCommand.swift
[101/106] Compiling ArenaCore Dependency.swift
[102/106] Emitting module ArenaCore
[0/1] Planning build
Building for debugging...
[1/8] Compiling ArenaCore Helpers.swift
[2/8] Compiling ArenaCore Manifest.swift
[3/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
               ~~~~~~~~~~ ^~~~~~
[4/14] Emitting module ArenaCore
[5/15] Compiling ArenaCore Parser+ext.swift
[6/15] Compiling ArenaCore Scheme.swift
[7/15] Compiling ArenaCore PackageGenerator.swift
[8/15] Compiling ArenaCore Extensions.swift
[9/15] Compiling ArenaCore Dependency.swift
[10/15] Compiling ArenaCore PlaygroundBook.swift
[11/15] Compiling ArenaCore ArenaCommand.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 2