Build Information
Failed to build swift-aria2, reference 0.0.1 (eb07c0), with Swift 6.2 for Linux on 26 Dec 2025 17:29:12 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/finestructure/spi-images:basic-6.2-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.2
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/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e1f50347098d838026a020bb7d0f8bade3d7b84d6d497429b7cf821cdf4fc3d1
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora
[1/16705] Fetching noora
[1004/33692] Fetching noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.44s)
Fetched https://github.com/tuist/Noora from cache (6.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (8.37s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (0.33s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/path
Fetching https://github.com/apple/swift-log
[1/381] Fetching path
[382/1793] Fetching path, rainbow
[1794/7552] Fetching path, rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.30s)
[4182/6140] Fetching path, swift-log
Fetched https://github.com/tuist/path from cache (0.45s)
Fetched https://github.com/apple/swift-log from cache (0.45s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.78s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (0.32s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.29s)
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
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/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.53.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/26] Compiling CxxAria2 handle.cpp
[14/54] Emitting module ArgumentParserToolInfo
[15/54] Emitting module Rainbow
[16/55] Compiling Rainbow String+ConditionalStyling.swift
[17/55] Compiling Rainbow String+Rainbow.swift
[18/55] Compiling Rainbow StringGenerator.swift
[19/55] Compiling Rainbow Style.swift
[20/55] Emitting module Path
[21/55] Compiling Path Path.swift
[22/56] Wrapping AST for Path for debugging
[24/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/57] Wrapping AST for ArgumentParserToolInfo for debugging
[27/103] Compiling Logging MetadataProvider.swift
[28/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/103] Compiling ArgumentParser CompletionsGenerator.swift
[32/103] Compiling Rainbow StyledStringBuilder.swift
[33/103] Compiling Logging Locks.swift
[34/103] Compiling Logging Logging.swift
[35/103] Compiling Logging LogHandler.swift
[36/103] Emitting module Logging
[37/104] Compiling ArgumentParser Argument.swift
[38/104] Compiling ArgumentParser ArgumentDiscussion.swift
[39/104] Compiling ArgumentParser Option.swift
[40/104] Compiling ArgumentParser OptionGroup.swift
[41/104] Compiling ArgumentParser ArgumentHelp.swift
[42/104] Compiling ArgumentParser ArgumentVisibility.swift
[44/105] Wrapping AST for Logging for debugging
[45/105] Wrapping AST for Rainbow for debugging
[47/144] Compiling Noora TerminalText+DisplayWidth.swift
[48/144] Compiling Noora TerminalText.swift
[49/144] Compiling Noora ValidatableError.swift
[50/144] Compiling Noora ValidatableRule.swift
[51/144] Compiling Noora ValidationError.swift
[52/149] Compiling Noora NooraError.swift
[53/149] Compiling Noora NooraMock.swift
[54/149] Compiling Noora StandardPipelineType.swift
[55/149] Compiling Noora Theme.swift
[56/149] Compiling Noora KeyStrokeListener.swift
[57/149] Compiling Noora LockIsolated.swift
[58/149] Compiling Noora Renderer.swift
[59/149] Compiling Noora Spinner.swift
[60/149] Compiling Noora StandardPipelines.swift
[61/149] Compiling Noora Terminal.swift
[68/155] Compiling Noora InputValidating.swift
[69/155] Compiling Noora LengthValidationRule.swift
[70/155] Compiling Noora NonEmptyValidationRule.swift
[71/155] Compiling Noora RegexValidationRule.swift
[72/155] Compiling Noora Validator.swift
[73/155] Compiling Noora Stack.swift
[74/155] Compiling Noora Character+isPrintable.swift
[75/155] Compiling Noora String+Rainbow.swift
[76/155] Compiling Noora String+ValidatableError.swift
[77/155] Compiling Noora Noora.swift
[84/155] Compiling Noora TableStyle.swift
[85/155] Compiling Noora UpdatingSelectableTable.swift
[86/155] Compiling Noora UpdatingTable.swift
[87/155] Compiling Noora TextPrompt.swift
[88/155] Compiling Noora YesOrNoChoicePrompt.swift
[89/155] Compiling Noora Content.swift
[90/155] Compiling Noora PaginatedTable.swift
[91/155] Compiling Noora SelectableTable.swift
[92/155] Compiling Noora Table.swift
[93/155] Compiling Noora TableColumn.swift
[94/155] Compiling Noora TableData.swift
[95/155] Compiling Noora TableRenderer.swift
[96/155] Compiling Noora Alert.swift
[97/155] Compiling Noora CollapsibleStep.swift
[98/155] Compiling Noora MultipleChoicePrompt.swift
[99/155] Compiling Noora ProgressBarStep.swift
[100/155] Compiling Noora ProgressStep.swift
[101/155] Compiling Noora SingleChoicePrompt.swift
[103/155] Emitting module ArgumentParser
[111/155] Compiling ArgumentParser Tree.swift
[112/155] Compiling ArgumentParser CodingKeyValidator.swift
[113/155] Compiling ArgumentParser NonsenseFlagsValidator.swift
[114/155] Compiling ArgumentParser ParsableArgumentsValidation.swift
[115/155] Compiling ArgumentParser PositionalArgumentsValidator.swift
[116/155] Compiling ArgumentParser UniqueNamesValidator.swift
[121/155] Compiling ArgumentParser UsageGenerator.swift
[122/155] Compiling ArgumentParser CollectionExtensions.swift
[123/155] Emitting module Noora
[130/156] Wrapping AST for Noora for debugging
[131/156] Write Objects.LinkFileList
[132/156] Archiving libNoora.a
[147/157] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/157] Compiling SwiftAria2 aria.swift
[150/157] 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
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:389:11: warning: 'import_owned' Swift attribute ignored on type 'vector': type is not copyable or destructible [#ClangDeclarationImport]
387 | */
388 | template<typename _Tp, typename _Alloc = std::allocator<_Tp> >
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| `- warning: 'import_owned' Swift attribute ignored on type 'vector': type is not copyable or destructible [#ClangDeclarationImport]
390 | {
391 | #ifdef _GLIBCXX_CONCEPT_CHECKS
[#ClangDeclarationImport]: <https://docs.swift.org/compiler/documentation/diagnostics/clang-declaration-import>
[151/157] 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
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:389:11: warning: 'import_owned' Swift attribute ignored on type 'vector': type is not copyable or destructible [#ClangDeclarationImport]
387 | */
388 | template<typename _Tp, typename _Alloc = std::allocator<_Tp> >
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| `- warning: 'import_owned' Swift attribute ignored on type 'vector': type is not copyable or destructible [#ClangDeclarationImport]
390 | {
391 | #ifdef _GLIBCXX_CONCEPT_CHECKS
[#ClangDeclarationImport]: <https://docs.swift.org/compiler/documentation/diagnostics/clang-declaration-import>
[152/157] Compiling SwiftAria2 session.swift
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:389:11: warning: 'import_owned' Swift attribute ignored on type 'vector': type is not copyable or destructible [#ClangDeclarationImport]
387 | */
388 | template<typename _Tp, typename _Alloc = std::allocator<_Tp> >
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| `- warning: 'import_owned' Swift attribute ignored on type 'vector': type is not copyable or destructible [#ClangDeclarationImport]
390 | {
391 | #ifdef _GLIBCXX_CONCEPT_CHECKS
/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 | }
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/system_error:202:5: note: function 'error_code' unavailable (cannot import)
200 | : _M_value(0), _M_cat(&system_category()) { }
201 |
202 | error_code(int __v, const error_category& __cat) noexcept
| | `- note: parameter '__cat' unavailable (cannot import)
| `- note: function 'error_code' unavailable (cannot import)
203 | : _M_value(__v), _M_cat(&__cat) { }
204 |
:
208 | { *this = make_error_code(__e); }
209 |
210 | void
| `- note: function 'assign' unavailable (cannot import)
211 | assign(int __v, const error_category& __cat) noexcept
| `- note: parameter '__cat' unavailable (cannot import)
212 | {
213 | _M_value = __v;
:
229 | value() const noexcept { return _M_value; }
230 |
231 | const error_category&
| |- note: function 'category' unavailable (cannot import)
| `- note: return type unavailable (cannot import)
232 | category() const noexcept { return *_M_cat; }
233 |
:
301 | : _M_value(0), _M_cat(&generic_category()) { }
302 |
303 | error_condition(int __v, const error_category& __cat) noexcept
| | `- note: parameter '__cat' unavailable (cannot import)
| `- note: function 'error_condition' unavailable (cannot import)
304 | : _M_value(__v), _M_cat(&__cat) { }
305 |
:
309 | { *this = make_error_condition(__e); }
310 |
311 | void
| `- note: function 'assign' unavailable (cannot import)
312 | assign(int __v, const error_category& __cat) noexcept
| `- note: parameter '__cat' unavailable (cannot import)
313 | {
314 | _M_value = __v;
:
331 | value() const noexcept { return _M_value; }
332 |
333 | const error_category&
| |- note: function 'category' unavailable (cannot import)
| `- note: return type unavailable (cannot import)
334 | category() const noexcept { return *_M_cat; }
335 |
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/typeindex:57:5: note: function 'type_index' unavailable (cannot import)
55 | struct type_index
56 | {
57 | type_index(const type_info& __rhs) noexcept
| | `- note: parameter '__rhs' unavailable (cannot import)
| `- note: function 'type_index' unavailable (cannot import)
58 | : _M_target(&__rhs) { }
59 |
[#ClangDeclarationImport]: <https://docs.swift.org/compiler/documentation/diagnostics/clang-declaration-import>
BUILD FAILURE 6.2 linux