Build Information
Failed to build swift-aria2, reference 0.0.1 (eb07c0), with Swift 6.3 for Linux on 17 Apr 2026 23:43:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/McNight/Swift-Aria2.git
Reference: 0.0.1
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
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at eb07c02 Initial commit
Cloned https://github.com/McNight/Swift-Aria2.git
Revision (git rev-parse @):
eb07c02cba617ded3cb8a5f5c1af33dc6ce4f3bd
SUCCESS checkout https://github.com/McNight/Swift-Aria2.git at 0.0.1
========================================
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-4609320-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 (1.18s)
[8304/18962] Fetching noora
Fetched https://github.com/tuist/Noora from cache (6.84s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (7.39s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.46s)
Fetching https://github.com/tuist/path
Fetching https://github.com/apple/swift-log
[1/401] Fetching path
Fetching https://github.com/onevcat/Rainbow
Fetched https://github.com/tuist/path from cache (0.29s)
[1/6635] Fetching swift-log
[4381/8077] Fetching swift-log, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.31s)
Fetched https://github.com/apple/swift-log from cache (0.88s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.35s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (4.46s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (3.09s)
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
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/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.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 Logging LogHandler.swift
[16/55] Compiling Rainbow StringGenerator.swift
[17/55] Compiling Rainbow Style.swift
[18/56] Emitting module Rainbow
[19/56] Compiling Rainbow ConditionalStyleBuilder.swift
[20/56] Compiling Rainbow ControlCode.swift
[21/56] Compiling Logging LogEvent.swift
[22/56] Compiling Rainbow String+ConditionalStyling.swift
[23/56] Compiling Rainbow String+Rainbow.swift
[24/56] Emitting module Path
[25/56] Compiling Path Path.swift
[26/57] Wrapping AST for Path for debugging
[28/57] Emitting module ArgumentParserToolInfo
[29/57] Compiling ArgumentParserToolInfo ToolInfo.swift
[30/59] Wrapping AST for ArgumentParserToolInfo for debugging
[32/104] Compiling Logging MetadataProvider.swift
[33/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/104] Compiling ArgumentParser CompletionsGenerator.swift
[35/104] Compiling Logging Locks.swift
[36/104] Compiling ArgumentParser ArgumentHelp.swift
[37/104] Compiling ArgumentParser ArgumentVisibility.swift
[38/104] Compiling ArgumentParser Argument.swift
[39/104] Compiling ArgumentParser ArgumentDiscussion.swift
[40/104] Compiling ArgumentParser Option.swift
[41/104] Compiling ArgumentParser OptionGroup.swift
[42/104] Compiling Rainbow StyledStringBuilder.swift
[44/105] Compiling Logging Logging.swift
[46/106] Compiling ArgumentParser ParentCommand.swift
[47/106] Compiling ArgumentParser AsyncParsableCommand.swift
[48/106] Compiling ArgumentParser CommandConfiguration.swift
[49/106] Compiling ArgumentParser CommandGroup.swift
[50/106] Compiling ArgumentParser EnumerableFlag.swift
[51/106] Compiling ArgumentParser ExpressibleByArgument.swift
[52/106] Compiling ArgumentParser ParsableArguments.swift
[53/106] Emitting module ArgumentParser
[56/106] Compiling ArgumentParser FishCompletionsGenerator.swift
[57/106] Compiling ArgumentParser ZshCompletionsGenerator.swift
[60/112] Wrapping AST for Logging for debugging
[61/113] Wrapping AST for Rainbow for debugging
[63/151] Compiling Noora LockIsolated.swift
[64/151] Compiling Noora Renderer.swift
[65/151] Compiling Noora Spinner.swift
[66/151] Compiling Noora StandardPipelines.swift
[67/151] Compiling Noora Terminal.swift
[68/151] Compiling ArgumentParser SwiftExtensions.swift
[69/151] Compiling ArgumentParser InputOrigin.swift
[70/151] Compiling ArgumentParser Name.swift
[71/151] Compiling ArgumentParser Parsed.swift
[72/151] Compiling ArgumentParser ParsedValues.swift
[73/151] Compiling ArgumentParser ParserError.swift
[74/151] Compiling ArgumentParser SplitArguments.swift
[75/151] Compiling Noora TableStyle.swift
[76/151] Compiling Noora UpdatingSelectableTable.swift
[77/151] Compiling Noora UpdatingTable.swift
[78/151] Compiling Noora TextPrompt.swift
[79/151] Compiling Noora YesOrNoChoicePrompt.swift
[80/151] Compiling Noora Content.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/151] 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
[82/151] Emitting module Noora
[83/156] Compiling ArgumentParser Tree.swift
[84/156] Compiling ArgumentParser CodingKeyValidator.swift
[85/156] Compiling ArgumentParser NonsenseFlagsValidator.swift
[86/156] Compiling ArgumentParser ParsableArgumentsValidation.swift
[87/156] Compiling ArgumentParser PositionalArgumentsValidator.swift
[88/156] Compiling ArgumentParser UniqueNamesValidator.swift
[89/156] Compiling Noora SelectableTable.swift
[90/156] Compiling Noora Table.swift
[91/156] Compiling Noora TableColumn.swift
[92/156] Compiling Noora TableData.swift
[93/156] Compiling Noora TableRenderer.swift
[94/156] Compiling Noora Stack.swift
[95/156] Compiling Noora Character+isPrintable.swift
[96/156] Compiling Noora String+Rainbow.swift
[97/156] Compiling Noora String+ValidatableError.swift
[98/156] Compiling Noora Noora.swift
[99/156] Compiling Noora TerminalText+DisplayWidth.swift
[100/156] Compiling Noora TerminalText.swift
[101/156] Compiling Noora ValidatableError.swift
[103/157] Compiling Noora NooraError.swift
[104/157] Compiling Noora NooraMock.swift
[105/157] Compiling Noora StandardPipelineType.swift
[106/157] Compiling Noora Theme.swift
[107/157] Compiling Noora KeyStrokeListener.swift
[107/157] Wrapping AST for ArgumentParser for debugging
[114/157] Compiling Noora InputValidating.swift
[115/157] Compiling Noora LengthValidationRule.swift
[116/157] Compiling Noora NonEmptyValidationRule.swift
[117/157] Compiling Noora RegexValidationRule.swift
[118/157] Compiling Noora Validator.swift
[128/157] Compiling Noora ValidatableRule.swift
[129/157] Compiling Noora ValidationError.swift
[135/157] Compiling Noora PaginatedTable.swift
[141/157] Compiling Noora Alert.swift
[142/157] Compiling Noora CollapsibleStep.swift
[143/157] Compiling Noora MultipleChoicePrompt.swift
[144/157] Compiling Noora ProgressBarStep.swift
[145/157] Compiling Noora ProgressStep.swift
[146/157] Compiling Noora SingleChoicePrompt.swift
[147/158] Wrapping AST for Noora for debugging
[148/158] Write Objects.LinkFileList
[149/158] Archiving libNoora.a
[151/158] Compiling SwiftAria2 aria.swift
[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