Build Information
Failed to build swift-aria2, reference main (e1ea84), with Swift 6.0 for Linux on 26 Dec 2025 17:32:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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.0
Building package at path: $PWD
https://github.com/McNight/Swift-Aria2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d9a15f93bf2b54d4a5c29ad13249b33c1decc55763b749502648fc1aee8d297b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora
[1/16987] Fetching swift-argument-parser
[681/33692] Fetching swift-argument-parser, noora
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.97s)
Fetched https://github.com/tuist/Noora from cache (7.18s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (1.44s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (3.63s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/381] Fetching path
[47/1793] Fetching path, rainbow
[1441/7552] Fetching path, rainbow, swift-log
Fetched https://github.com/tuist/path from cache (0.59s)
Fetched https://github.com/onevcat/Rainbow from cache (0.60s)
Fetched https://github.com/apple/swift-log from cache (0.74s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (4.57s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (1.17s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (4.60s)
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.53.0
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.8.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.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/26] Write sources
[11/26] Write swift-version-24593BA9C3E375BF.txt
[12/26] Compiling CxxAria2 handle.cpp
[14/54] Emitting module ArgumentParserToolInfo
[15/54] Emitting module Logging
[16/54] Emitting module Rainbow
[17/55] Compiling Rainbow StringGenerator.swift
[18/55] Compiling Rainbow Style.swift
[19/55] Emitting module Path
[20/55] Compiling Path Path.swift
[21/56] Compiling Rainbow String+ConditionalStyling.swift
[22/56] Compiling Rainbow String+Rainbow.swift
[23/56] Wrapping AST for Path for debugging
[25/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/57] Compiling Rainbow BackgroundColor.swift
[28/57] Compiling Rainbow CodesParser.swift
[29/57] Compiling Rainbow OutputTarget.swift
[30/57] Compiling Rainbow Rainbow.swift
[31/57] Compiling Logging Locks.swift
[31/57] Wrapping AST for ArgumentParserToolInfo for debugging
[33/57] Compiling Logging MetadataProvider.swift
[34/57] Compiling Rainbow Color.swift
[35/57] Compiling Rainbow ColorApproximation.swift
[36/57] Compiling Rainbow HSLColorConverter.swift
[37/57] Compiling Rainbow ModesExtractor.swift
[38/57] Compiling Rainbow ConditionalStyleBuilder.swift
[39/57] Compiling Rainbow ControlCode.swift
[40/57] Compiling Rainbow StyledStringBuilder.swift
[41/69] Wrapping AST for Rainbow for debugging
[43/104] Compiling Logging LogHandler.swift
[44/104] Compiling Logging Logging.swift
[45/105] Wrapping AST for Logging for debugging
[47/144] Emitting module Noora
[48/144] Compiling Noora TerminalText+DisplayWidth.swift
[49/144] Compiling Noora TerminalText.swift
[50/144] Compiling Noora ValidatableError.swift
[51/144] Compiling Noora ValidatableRule.swift
[52/144] Compiling Noora ValidationError.swift
[53/149] Compiling Noora LockIsolated.swift
[54/149] Compiling Noora Renderer.swift
[55/149] Compiling Noora Spinner.swift
[56/149] Compiling Noora StandardPipelines.swift
[57/149] Compiling Noora Terminal.swift
[63/149] Compiling Noora InputValidating.swift
[64/155] Emitting module ArgumentParser
[65/155] Compiling Noora NooraError.swift
[66/155] Compiling Noora NooraMock.swift
[67/155] Compiling Noora StandardPipelineType.swift
[68/155] Compiling Noora Theme.swift
[69/155] Compiling Noora KeyStrokeListener.swift
[71/155] Compiling Noora LengthValidationRule.swift
[72/155] Compiling Noora NonEmptyValidationRule.swift
[73/155] Compiling Noora RegexValidationRule.swift
[74/155] Compiling Noora Validator.swift
[79/155] Compiling ArgumentParser ParserError.swift
[80/155] Compiling ArgumentParser SplitArguments.swift
[81/155] Compiling Noora Stack.swift
[82/155] Compiling Noora Character+isPrintable.swift
[83/155] Compiling Noora String+Rainbow.swift
[84/155] Compiling Noora String+ValidatableError.swift
[85/155] Compiling Noora Noora.swift
[86/155] Compiling ArgumentParser Tree.swift
[87/155] Compiling ArgumentParser CodingKeyValidator.swift
[88/155] Compiling ArgumentParser NonsenseFlagsValidator.swift
[89/155] Compiling ArgumentParser ParsableArgumentsValidation.swift
[90/155] Compiling ArgumentParser PositionalArgumentsValidator.swift
[91/155] Compiling ArgumentParser UniqueNamesValidator.swift
[92/155] Compiling Noora PaginatedTable.swift
[93/155] Compiling Noora SelectableTable.swift
[94/155] Compiling Noora Table.swift
[95/155] Compiling Noora TableColumn.swift
[96/155] Compiling Noora TableData.swift
[97/155] Compiling Noora TableRenderer.swift
[98/155] Compiling Noora TableStyle.swift
[99/155] Compiling Noora UpdatingSelectableTable.swift
[100/155] Compiling Noora UpdatingTable.swift
[101/155] Compiling Noora TextPrompt.swift
[102/155] Compiling Noora YesOrNoChoicePrompt.swift
[103/155] Compiling Noora Content.swift
[111/155] Compiling Noora Alert.swift
[112/155] Compiling Noora CollapsibleStep.swift
[113/155] Compiling Noora MultipleChoicePrompt.swift
[114/155] Compiling Noora ProgressBarStep.swift
[115/155] Compiling Noora ProgressStep.swift
[116/155] Compiling Noora SingleChoicePrompt.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[118/155] Emitting module SwiftAria2
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
/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
[119/155] Compiling SwiftAria2 aria.swift
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
[126/156] Wrapping AST for Noora for debugging
[127/156] Write Objects.LinkFileList
[128/156] Archiving libNoora.a
[150/157] Compiling SwiftAria2 handle.swift
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
/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
[151/157] Compiling SwiftAria2 session.swift
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
/host/spi-builder-workspace/Sources/SwiftAria2/session.swift:56:9: error: cannot convert return expression of type 'Array<std.vector<CUnsignedLong, 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, allocator<CUnsignedLong>>.Element>' (aka 'Array<UInt>') to return type '[aria2.A2Gid]' (aka 'Array<UInt64>')
| `- note: arguments to generic parameter 'Element' ('std.vector<CUnsignedLong, allocator<CUnsignedLong>>.Element' (aka 'UInt') and 'aria2.A2Gid' (aka 'UInt64')) are expected to be equal
57 | }
58 |
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
<unknown>:0: warning: 'import_owned' swift attribute ignored on type 'vector': type is not copyable or destructible
/host/spi-builder-workspace/Sources/SwiftAria2/session.swift:60:86: error: cannot convert value of type 'std.vector<CUnsignedLong, 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, allocator<CUnsignedLong>>.Element' (aka 'UInt') to expected argument type 'aria2.A2Gid' (aka 'UInt64')
61 | }
62 | }
[151/157] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.0 linux