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-4609320-0":/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: 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.10
Building package at path:  $workDir
https://github.com/finestructure/Arena.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/finestructure/Parser
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/mxcl/Path.swift.git
[1/155] Fetching parser
[156/1111] Fetching parser, shellout
[1112/2161] Fetching parser, shellout, path.swift
[1280/2455] Fetching parser, shellout, path.swift, semanticversion
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.31s)
Fetched https://github.com/mxcl/Path.swift.git from cache (0.31s)
[1/10927] Fetching swift-snapshot-testing
[657/22362] Fetching swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/finestructure/Parser from cache (1.73s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.73s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.74s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.79s)
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.46s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.3.6 (0.44s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.0 (1.29s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (4.08s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (5.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (5.10s)
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/22] Write sources
[8/22] Copying Documentation.docc
[9/22] Write swift-version-24593BA9C3E375BF.txt
[11/45] Emitting module Parser
[12/45] Compiling Parser Match.swift
[13/45] Emitting module ArgumentParserToolInfo
[14/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/46] Wrapping AST for ArgumentParserToolInfo for debugging
[17/80] Compiling Parser CharacterSet+ext.swift
[18/80] Emitting module Path
[19/81] Compiling ArgumentParser ArgumentHelp.swift
[20/81] Compiling ArgumentParser CompletionKind.swift
[21/81] Compiling SemanticVersion resource_bundle_accessor.swift
[22/81] Compiling Parser Parser+zip.swift
[23/81] Compiling Parser Parser.swift
[24/82] Compiling Path Pathish.swift
[28/82] Compiling ArgumentParser Errors.swift
[29/82] Compiling ArgumentParser Flag.swift
[30/82] Compiling ArgumentParser NameSpecification.swift
[31/82] Compiling Path Path+StringConvertibles.swift
[32/82] Compiling Path Path+FileManager.swift
[33/82] Compiling Path Path+ls.swift
[36/86] Emitting module ShellOut
[37/86] Compiling ShellOut ShellOut.swift
[38/86] Compiling SemanticVersion NSRegularExpression+ext.swift
[39/86] Compiling SemanticVersion SemanticVersion.swift
[40/86] Emitting module SemanticVersion
[40/88] Wrapping AST for Parser for debugging
[44/88] Compiling Path Path->Bool.swift
[45/88] Compiling Path Path.swift
[46/89] Emitting module ArgumentParser
[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 ParsedValues.swift
[52/89] Compiling ArgumentParser ParserError.swift
[53/89] Compiling ArgumentParser SplitArguments.swift
[54/89] Compiling ArgumentParser DumpHelpGenerator.swift
[55/89] Compiling ArgumentParser HelpCommand.swift
[56/89] Compiling ArgumentParser HelpGenerator.swift
[57/89] Compiling ArgumentParser MessageInfo.swift
[58/89] Compiling ArgumentParser UsageGenerator.swift
[59/89] Compiling ArgumentParser ArgumentSet.swift
[60/89] Compiling ArgumentParser CommandParser.swift
[61/89] Compiling ArgumentParser InputOrigin.swift
[62/89] Compiling ArgumentParser Name.swift
[63/89] Compiling ArgumentParser Parsed.swift
[64/89] Compiling ArgumentParser CollectionExtensions.swift
[65/89] Compiling ArgumentParser SequenceExtensions.swift
[66/89] Compiling ArgumentParser StringExtensions.swift
[67/89] Compiling ArgumentParser Tree.swift
[68/89] Compiling ArgumentParser Option.swift
[69/89] Compiling ArgumentParser OptionGroup.swift
[70/89] Compiling ArgumentParser CommandConfiguration.swift
[71/89] Compiling ArgumentParser EnumerableFlag.swift
[72/89] Compiling ArgumentParser ExpressibleByArgument.swift
[73/89] Compiling ArgumentParser BashCompletionsGenerator.swift
[74/89] Compiling ArgumentParser CompletionsGenerator.swift
[75/89] Compiling ArgumentParser FishCompletionsGenerator.swift
[76/89] Compiling ArgumentParser ZshCompletionsGenerator.swift
[77/89] Compiling ArgumentParser Argument.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 Progress.swift
[86/109] Compiling ArenaCore RefSpec.swift
[87/109] 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
               ~~~~~~~~~~ ^~~~~~
[88/109] 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
               ~~~~~~~~~~ ^~~~~~
[89/109] 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
               ~~~~~~~~~~ ^~~~~~
[90/111] Compiling ArenaCore String+ext.swift
[91/111] Compiling ArenaCore Version.swift
[92/111] Emitting module ArenaCore
[93/111] Compiling ArenaCore PlatformVersion.swift
[94/111] Compiling ArenaCore PlaygroundBook.swift
[95/111] Compiling ArenaCore Requirement.swift
[96/111] Compiling ArenaCore Scheme.swift
[97/111] Compiling ArenaCore Environment.swift
[98/111] Compiling ArenaCore Extensions.swift
[99/111] Compiling ArenaCore FileManager.swift
[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 Helpers.swift
[3/11] Compiling ArenaCore Manifest.swift
[4/17] Emitting module ArenaCore
[5/17] 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 Parser+ext.swift
[7/19] Compiling ArenaCore String+ext.swift
[8/19] Compiling ArenaCore Scheme.swift
[9/19] Compiling ArenaCore Extensions.swift
[10/19] Compiling ArenaCore PlaygroundBook.swift
[11/19] Compiling ArenaCore PackageGenerator.swift
[12/19] Compiling ArenaCore Dependency.swift
[13/19] Compiling ArenaCore ArenaCommand.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2