The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-aria2, reference main (e1ea84), with Swift 6.3 for Linux on 17 Apr 2026 23:43:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/McNight/Swift-Aria2.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/McNight/Swift-Aria2
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e1ea84a Update dependencies
Cloned https://github.com/McNight/Swift-Aria2.git
Revision (git rev-parse @):
e1ea84a507aadfd5e405a426d52fd6a872ae7625
SUCCESS checkout https://github.com/McNight/Swift-Aria2.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/McNight/Swift-Aria2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora
[1/18962] Fetching noora
[2/36491] Fetching noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.97s)
Fetched https://github.com/tuist/Noora from cache (6.20s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (6.92s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.75s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/401] Fetching path
[318/1843] Fetching path, rainbow
[1760/8478] Fetching path, rainbow, swift-log
Fetched https://github.com/tuist/path from cache (0.58s)
[2836/8077] Fetching rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.58s)
[1593/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.07s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (5.62s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (4.53s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.77s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Write sources
[11/26] Write swift-version-24593BA9C3E375BF.txt
[12/51] Compiling CxxAria2 handle.cpp
[14/55] Emitting module Logging
[15/55] Compiling Rainbow StringGenerator.swift
[16/55] Compiling Rainbow Style.swift
[17/56] Compiling Logging LogEvent.swift
[18/56] Compiling Rainbow String+ConditionalStyling.swift
[19/56] Compiling Rainbow String+Rainbow.swift
[20/56] Emitting module Path
[21/56] Compiling Path Path.swift
[23/57] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/57] Emitting module ArgumentParserToolInfo
[25/58] Wrapping AST for Path for debugging
[26/58] Wrapping AST for ArgumentParserToolInfo for debugging
[28/58] Compiling Logging MetadataProvider.swift
[29/58] Compiling Logging Locks.swift
[30/104] Compiling ArgumentParser Argument.swift
[31/104] Compiling ArgumentParser ArgumentDiscussion.swift
[32/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/104] Compiling ArgumentParser CompletionsGenerator.swift
[36/104] Compiling ArgumentParser ArgumentHelp.swift
[37/104] Compiling ArgumentParser ParsableCommand.swift
[38/104] Emitting module Rainbow
[39/104] Compiling ArgumentParser ArgumentDecoder.swift
[40/104] Compiling ArgumentParser ArgumentDefinition.swift
[41/104] Compiling Logging Logging.swift
[42/104] Compiling Logging LogHandler.swift
[44/105] Compiling Rainbow StyledStringBuilder.swift
[45/106] Wrapping AST for Logging for debugging
[46/106] Wrapping AST for Rainbow for debugging
[48/145] Compiling Noora TerminalText+DisplayWidth.swift
[49/145] Compiling Noora TerminalText.swift
[50/145] Compiling Noora ValidatableError.swift
[51/145] Compiling Noora ValidatableRule.swift
[52/145] Compiling Noora ValidationError.swift
[53/150] Emitting module Noora
[54/150] Compiling Noora NooraError.swift
[55/150] Compiling Noora NooraMock.swift
[56/150] Compiling Noora StandardPipelineType.swift
[57/150] Compiling Noora Theme.swift
[58/150] Compiling Noora KeyStrokeListener.swift
[59/150] Compiling Noora InputValidating.swift
[60/150] Compiling Noora LengthValidationRule.swift
[61/150] Compiling Noora NonEmptyValidationRule.swift
[62/150] Compiling Noora RegexValidationRule.swift
[63/150] Compiling Noora Validator.swift
[68/150] Compiling ArgumentParser StringExtensions.swift
[69/150] Compiling ArgumentParser SwiftExtensions.swift
[70/150] Compiling Noora LockIsolated.swift
[71/150] Compiling Noora Renderer.swift
[72/150] Compiling Noora Spinner.swift
[73/150] Compiling Noora StandardPipelines.swift
[74/150] Compiling Noora Terminal.swift
[75/156] Compiling Noora UpdatingSelectableTable.swift
[76/156] Compiling Noora UpdatingTable.swift
[77/156] Compiling Noora TextPrompt.swift
[78/156] Compiling Noora YesOrNoChoicePrompt.swift
[79/156] Compiling Noora Content.swift
[82/156] Emitting module ArgumentParser
[83/156] Compiling Noora TableStyle.swift
[89/156] Compiling Noora Stack.swift
[90/156] Compiling Noora Character+isPrintable.swift
[91/156] Compiling Noora String+Rainbow.swift
[92/156] Compiling Noora String+ValidatableError.swift
[93/156] Compiling Noora Noora.swift
[101/156] Compiling Noora PaginatedTable.swift
[102/156] Compiling Noora SelectableTable.swift
[103/156] Compiling Noora Table.swift
[104/156] Compiling Noora TableColumn.swift
[105/156] Compiling Noora TableData.swift
[106/156] Compiling Noora TableRenderer.swift
[107/156] Compiling Noora Alert.swift
[108/156] Compiling Noora CollapsibleStep.swift
[109/156] Compiling Noora MultipleChoicePrompt.swift
[110/156] Compiling Noora ProgressBarStep.swift
[111/156] Compiling Noora ProgressStep.swift
[112/156] Compiling Noora SingleChoicePrompt.swift
[114/156] Compiling ArgumentParser Tree.swift
[115/156] Compiling ArgumentParser CodingKeyValidator.swift
[116/156] Compiling ArgumentParser NonsenseFlagsValidator.swift
[117/156] Compiling ArgumentParser ParsableArgumentsValidation.swift
[118/156] Compiling ArgumentParser PositionalArgumentsValidator.swift
[119/156] Compiling ArgumentParser UniqueNamesValidator.swift
[138/157] Wrapping AST for Noora for debugging
[139/157] Write Objects.LinkFileList
[140/157] Archiving libNoora.a
[148/158] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[150/158] Compiling SwiftAria2 aria.swift
[151/158] Emitting module SwiftAria2
/host/spi-builder-workspace/Sources/SwiftAria2/handle.swift:5:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 |
 4 | public final class DownloadHandle {
 5 |     package typealias CompletionHandler = (URL?, URLResponse?, (any Error)?) -> Void
   |                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 |     package var completionHandler: CompletionHandler?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[152/158] Compiling SwiftAria2 handle.swift
/host/spi-builder-workspace/Sources/SwiftAria2/handle.swift:5:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 |
 4 | public final class DownloadHandle {
 5 |     package typealias CompletionHandler = (URL?, URLResponse?, (any Error)?) -> Void
   |                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 |     package var completionHandler: CompletionHandler?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[153/158] Compiling SwiftAria2 session.swift
/host/spi-builder-workspace/Sources/SwiftAria2/session.swift:56:9: error: cannot convert return expression of type 'Array<std.vector<CUnsignedLong, std.allocator<CUnsignedLong>>.Element>' (aka 'Array<UInt>') to return type '[aria2.A2Gid]' (aka 'Array<UInt64>')
 54 |
 55 |     var getActiveDownloadIDs: [aria2.A2Gid] {
 56 |         Array(aria2.getActiveDownload(sessionPtr))
    |         |- error: cannot convert return expression of type 'Array<std.vector<CUnsignedLong, std.allocator<CUnsignedLong>>.Element>' (aka 'Array<UInt>') to return type '[aria2.A2Gid]' (aka 'Array<UInt64>')
    |         `- note: arguments to generic parameter 'Element' ('std.vector<CUnsignedLong, std.allocator<CUnsignedLong>>.Element' (aka 'UInt') and 'aria2.A2Gid' (aka 'UInt64')) are expected to be equal
 57 |     }
 58 |
/host/spi-builder-workspace/Sources/SwiftAria2/session.swift:60:86: error: cannot convert value of type 'std.vector<CUnsignedLong, std.allocator<CUnsignedLong>>.Element' (aka 'UInt') to expected argument type 'aria2.A2Gid' (aka 'UInt64')
 58 |
 59 |     var getActiveDownloadHandles: [DownloadHandle] {
 60 |         aria2.getActiveDownload(sessionPtr).map { DownloadHandle(session: self, gid: $0) }
    |                                                                                      `- error: cannot convert value of type 'std.vector<CUnsignedLong, std.allocator<CUnsignedLong>>.Element' (aka 'UInt') to expected argument type 'aria2.A2Gid' (aka 'UInt64')
 61 |     }
 62 | }
BUILD FAILURE 6.3 linux