Build Information
Failed to build swift-aria2, reference 0.0.1 (eb07c0), with Swift 6.0 for Linux on 26 Dec 2025 17:29:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 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.0
Building package at path: $PWD
https://github.com/McNight/Swift-Aria2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/tuist/Noora
Fetching https://github.com/apple/swift-argument-parser.git
[1/16987] Fetching swift-argument-parser
[171/33692] Fetching swift-argument-parser, noora
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.79s)
[5873/16705] Fetching noora
Fetched https://github.com/tuist/Noora from cache (6.09s)
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.37s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (0.66s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/1412] Fetching rainbow
[1399/1793] Fetching rainbow, path
Fetched https://github.com/tuist/path from cache (0.23s)
[1413/7171] Fetching rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.25s)
[173/5759] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.46s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.59s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (0.78s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (5.48s)
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.0
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/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.53.0
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/26] Write sources
[11/26] Compiling CxxAria2 handle.cpp
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/54] Emitting module Logging
[15/54] Compiling Rainbow StringGenerator.swift
[16/54] Compiling Rainbow Style.swift
[17/55] Emitting module Path
[18/55] Compiling Path Path.swift
[19/56] Wrapping AST for Path for debugging
[21/56] Emitting module ArgumentParserToolInfo
[22/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/57] Wrapping AST for ArgumentParserToolInfo for debugging
[25/57] Compiling Logging MetadataProvider.swift
[26/57] Compiling Rainbow ConditionalStyleBuilder.swift
[27/57] Compiling Rainbow ControlCode.swift
[28/57] Compiling Rainbow String+ConditionalStyling.swift
[29/57] Compiling Rainbow String+Rainbow.swift
[30/57] Compiling Rainbow HSLColorConverter.swift
[31/57] Compiling Rainbow ModesExtractor.swift
[32/57] Compiling Rainbow OutputTarget.swift
[33/57] Compiling Rainbow Rainbow.swift
[34/103] Emitting module Rainbow
[35/103] Compiling ArgumentParser ParentCommand.swift
[36/103] Compiling ArgumentParser AsyncParsableCommand.swift
[37/103] Compiling ArgumentParser CommandConfiguration.swift
[38/103] Compiling ArgumentParser CommandGroup.swift
[39/103] Compiling Rainbow StyledStringBuilder.swift
[41/104] Compiling Logging LogHandler.swift
[42/104] Compiling Logging Logging.swift
[43/104] Compiling Logging Locks.swift
[44/105] Wrapping AST for Rainbow for debugging
[45/105] Wrapping AST for Logging for debugging
[47/144] Emitting module Noora
[48/149] Compiling Noora LengthValidationRule.swift
[49/149] Compiling Noora NonEmptyValidationRule.swift
[50/149] Compiling Noora RegexValidationRule.swift
[51/149] Compiling Noora Validator.swift
[52/149] Compiling ArgumentParser StringExtensions.swift
[53/149] Compiling ArgumentParser SwiftExtensions.swift
[54/155] Emitting module ArgumentParser
[55/155] Compiling Noora TerminalText+DisplayWidth.swift
[56/155] Compiling Noora TerminalText.swift
[57/155] Compiling Noora ValidatableError.swift
[58/155] Compiling Noora ValidatableRule.swift
[59/155] Compiling Noora ValidationError.swift
[60/155] Compiling Noora LockIsolated.swift
[61/155] Compiling Noora Renderer.swift
[62/155] Compiling Noora Spinner.swift
[63/155] Compiling Noora StandardPipelines.swift
[64/155] Compiling Noora Terminal.swift
[65/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/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
[67/155] Compiling Noora NooraError.swift
[68/155] Compiling Noora NooraMock.swift
[69/155] Compiling Noora StandardPipelineType.swift
[70/155] Compiling Noora Theme.swift
[71/155] Compiling Noora KeyStrokeListener.swift
[72/155] Compiling Noora Alert.swift
[73/155] Compiling Noora CollapsibleStep.swift
[74/155] Compiling Noora MultipleChoicePrompt.swift
[75/155] Compiling Noora ProgressBarStep.swift
[76/155] Compiling Noora ProgressStep.swift
[77/155] Compiling Noora SingleChoicePrompt.swift
[78/155] Compiling Noora TableStyle.swift
[80/155] Compiling Noora UpdatingSelectableTable.swift
[81/155] Compiling Noora UpdatingTable.swift
[82/155] Compiling Noora TextPrompt.swift
[83/155] Compiling Noora YesOrNoChoicePrompt.swift
[84/155] Compiling Noora Content.swift
[85/155] Compiling Noora TableData.swift
[86/155] Compiling Noora TableRenderer.swift
[91/155] Compiling Noora Stack.swift
[92/155] Compiling Noora Character+isPrintable.swift
[93/155] Compiling Noora String+Rainbow.swift
[94/155] Compiling Noora String+ValidatableError.swift
[95/155] Compiling Noora Noora.swift
[96/155] Compiling Noora InputValidating.swift
[101/155] Compiling Noora PaginatedTable.swift
[102/155] Compiling Noora SelectableTable.swift
[103/155] Compiling Noora Table.swift
[104/155] Compiling Noora TableColumn.swift
[107/155] Compiling ArgumentParser Tree.swift
[108/155] Compiling ArgumentParser CodingKeyValidator.swift
[109/155] Compiling ArgumentParser NonsenseFlagsValidator.swift
[110/155] Compiling ArgumentParser ParsableArgumentsValidation.swift
[111/155] Compiling ArgumentParser PositionalArgumentsValidator.swift
[112/155] Compiling ArgumentParser UniqueNamesValidator.swift
[119/155] 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 | }
[120/155] 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
BUILD FAILURE 6.0 linux